freeclimb 1.0.3 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +89 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +11 -5
  5. data/docs/AccountRequest.md +1 -3
  6. data/docs/ApplicationRequest.md +1 -3
  7. data/docs/BuyIncomingNumberRequest.md +1 -3
  8. data/docs/CreateConferenceRequest.md +1 -3
  9. data/docs/DefaultApi.md +22 -38
  10. data/docs/FilterLogsRequest.md +1 -3
  11. data/docs/GetDigits.md +3 -1
  12. data/docs/GetDigitsAllOf.md +3 -1
  13. data/docs/GetSpeech.md +2 -2
  14. data/docs/GetSpeechAllOf.md +2 -2
  15. data/docs/Hangup.md +17 -0
  16. data/docs/HangupAllOf.md +17 -0
  17. data/docs/IncomingNumberRequest.md +1 -3
  18. data/docs/MakeCallRequest.md +3 -3
  19. data/docs/MessageRequest.md +0 -2
  20. data/docs/MessageRequestAllOf.md +0 -2
  21. data/docs/MessageResult.md +1 -1
  22. data/docs/MessageResultAllOf.md +1 -1
  23. data/docs/OutDial.md +3 -1
  24. data/docs/OutDialAllOf.md +3 -1
  25. data/docs/Play.md +3 -1
  26. data/docs/PlayAllOf.md +3 -1
  27. data/docs/QueueRequest.md +1 -3
  28. data/docs/Redirect.md +1 -1
  29. data/docs/RedirectAllOf.md +1 -1
  30. data/docs/Reject.md +17 -0
  31. data/docs/RejectAllOf.md +17 -0
  32. data/docs/Say.md +2 -2
  33. data/docs/SayAllOf.md +2 -2
  34. data/docs/SendDigits.md +3 -1
  35. data/docs/SendDigitsAllOf.md +3 -1
  36. data/docs/UpdateCallRequest.md +1 -3
  37. data/docs/UpdateConferenceParticipantRequest.md +1 -3
  38. data/docs/UpdateConferenceRequest.md +1 -3
  39. data/freeclimb-2.0.3.gem +0 -0
  40. data/lib/freeclimb.rb +4 -1
  41. data/lib/freeclimb/api/default_api.rb +42 -34
  42. data/lib/freeclimb/api_client.rb +1 -1
  43. data/lib/freeclimb/models/account_request.rb +4 -14
  44. data/lib/freeclimb/models/application_request.rb +4 -14
  45. data/lib/freeclimb/models/buy_incoming_number_request.rb +4 -14
  46. data/lib/freeclimb/models/create_conference_request.rb +4 -14
  47. data/lib/freeclimb/models/filter_logs_request.rb +4 -14
  48. data/lib/freeclimb/models/get_digits.rb +14 -4
  49. data/lib/freeclimb/models/get_digits_all_of.rb +14 -4
  50. data/lib/freeclimb/models/get_speech.rb +8 -8
  51. data/lib/freeclimb/models/get_speech_all_of.rb +8 -8
  52. data/lib/freeclimb/models/hangup.rb +220 -0
  53. data/lib/freeclimb/models/{dequeue_member_request.rb → hangup_all_of.rb} +11 -11
  54. data/lib/freeclimb/models/incoming_number_request.rb +4 -14
  55. data/lib/freeclimb/models/make_call_request.rb +14 -14
  56. data/lib/freeclimb/models/message_request.rb +1 -11
  57. data/lib/freeclimb/models/message_request_all_of.rb +1 -11
  58. data/lib/freeclimb/models/message_result.rb +3 -3
  59. data/lib/freeclimb/models/message_result_all_of.rb +3 -3
  60. data/lib/freeclimb/models/out_dial.rb +14 -4
  61. data/lib/freeclimb/models/out_dial_all_of.rb +14 -4
  62. data/lib/freeclimb/models/play.rb +14 -4
  63. data/lib/freeclimb/models/play_all_of.rb +14 -4
  64. data/lib/freeclimb/models/queue_request.rb +4 -14
  65. data/lib/freeclimb/models/redirect.rb +7 -2
  66. data/lib/freeclimb/models/redirect_all_of.rb +6 -1
  67. data/lib/freeclimb/models/reject.rb +220 -0
  68. data/lib/freeclimb/models/reject_all_of.rb +207 -0
  69. data/lib/freeclimb/models/say.rb +8 -8
  70. data/lib/freeclimb/models/say_all_of.rb +8 -8
  71. data/lib/freeclimb/models/send_digits.rb +14 -4
  72. data/lib/freeclimb/models/send_digits_all_of.rb +14 -4
  73. data/lib/freeclimb/models/update_call_request.rb +4 -14
  74. data/lib/freeclimb/models/update_conference_participant_request.rb +4 -14
  75. data/lib/freeclimb/models/update_conference_request.rb +4 -14
  76. data/lib/freeclimb/version.rb +1 -1
  77. data/spec/api/default_api_spec.rb +9 -24
  78. data/spec/models/hangup_spec.rb +41 -0
  79. data/spec/models/reject_spec.rb +41 -0
  80. metadata +16 -6
  81. data/docs/DequeueMemberRequest.md +0 -17
  82. data/spec/models/dequeue_member_request_spec.rb +0 -34
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96848f5e9258bdb1f080bd928925f8a8deb8def5956ffc3e848309eb956cacfe
4
- data.tar.gz: 9be42d0ea3f8d94043a01fea3a1bf7376e79ea1429db4dd6bfd91d268fff318f
3
+ metadata.gz: e154bc07735aebfee157d698a0dae1ffffed71bb6cf3a051805e027ad04aab9a
4
+ data.tar.gz: 2b7b6796a53c70ac1ba607725e4ef36febf565f30b048bfc97bed865f0852436
5
5
  SHA512:
6
- metadata.gz: 3da7ff28bbf1e87c054db51b174adccfcb0018014d80eba4ea4560fa62535cb984877dfdf8fd7c4960cc91252c35299fb4ff274e3a3f1d5a4e32e91dd741ec1e
7
- data.tar.gz: 1a0cf62e4a11071b5959642f17cba3a05a5e68f4d7a1cf7b4aed8cfa0bb3eb2bf385e206405b366ba91c30d3060666a4c3f275746f9ad1fa9e19ba3ae3b78632
6
+ metadata.gz: 2a604b6a3b6db99b9d091d2cdc12b3214d4126cbad0ebf1a451645a5066ae2ff6a6d52cc3eef3cade135b3a091ada73e57e79386e3e8cd4920272fef86b58eb5
7
+ data.tar.gz: 45d86984e83e1bb6981a86b4d3db0c673af5d7801a1203ee93be801c4641e4a945fa429a7ce5ae2654e664250102b18a6eccd3b4741a358e0c8d7775eb476b5f
@@ -0,0 +1,89 @@
1
+ # Ruby SDK Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ The format of this changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
5
+ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [Unreleased]
8
+ None
9
+
10
+ <a name="2.1.0"></a>
11
+ ## [2.1.0] - 2020-12-16
12
+ ### Added
13
+ - Add `Reject` PerCL command
14
+ - Add `Hangup` PerCL command
15
+
16
+ ### Fixed
17
+ - Updated description and requirement of `action_url` attribute of `Redirect` PerCL command
18
+
19
+ <a name="2.0.3"></a>
20
+ ## [2.0.3] - 2020-12-16
21
+ ### Added
22
+ - Additional message statuses for TFN functionality
23
+
24
+ <a name="2.0.2"></a>
25
+ ## [2.0.2] - 2020-08-13
26
+ ### Added
27
+ - Add `privacyMode` option
28
+
29
+ <a name="1.2.1"></a>
30
+ ## [1.2.1] - 2020-10-14
31
+ ### Changed
32
+ - Rename `setPersyUrl` to `setUrl`
33
+
34
+ ### Fixed
35
+ - Properly handle empty response bodies
36
+ - Other Minor bug fixes
37
+
38
+ <a name="1.2"></a>
39
+ ## [1.2] - 2019-10-16
40
+ ### Changed
41
+ - Persephony is now FreeClimb
42
+ - Code cleanup
43
+ - Documentation Updates
44
+ - Test Update
45
+
46
+ ### Fixed
47
+ - Update common response handler to not use bodu twice
48
+
49
+ <a name="1.1.1"></a>
50
+ ## [1.1.1] - 2019-06-27
51
+ ### Changed
52
+ - Minor updates to docs and code cleanup
53
+
54
+
55
+ <a name="1.1.0"></a>
56
+ ## [1.1.0] - 2019-06-07
57
+ ### Pull Requests
58
+ - Merge pull request [#22](https://gitlab.vailsys.com/vail-cloud-services/fc-boilerplates/javascript-sdk/issues/22) from PersephonyAPI/maintenance
59
+
60
+
61
+ <a name="1.0.0"></a>
62
+ ## [1.0.0] - 2019-06-04
63
+ ### Changed
64
+ - Change default api target
65
+
66
+
67
+ <a name="0.1.0"></a>
68
+ ## [0.1.0] - 2019-05-30
69
+ ### Added
70
+ - `PlayEarlyMedia` PerCL Command
71
+
72
+ <a name="0.0.2"></a>
73
+ ## [0.0.2] - 2018-11-29
74
+ ### Remove
75
+ - Remove `callConnectUrl` and `statusCallbackUrl` from api.calls#create
76
+
77
+ <a name="0.0.1"></a>
78
+ ## [0.0.1] - 2018-11-13
79
+ ### Added
80
+ - PerCL Support
81
+ - FreeClimb API Support
82
+ - README, LICENSE
83
+ - docs
84
+
85
+ ### Changed
86
+ - Initial Release
87
+
88
+
89
+ [Unreleased]: https://github.com/FreeClimbAPI/ruby-sdk/compare/v1.0.1...HEAD
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- freeclimb (1.0.2)
4
+ freeclimb (2.0.0)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
data/README.md CHANGED
@@ -5,7 +5,7 @@ FreeClimb is a cloud-based application programming interface (API) that puts the
5
5
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
6
6
 
7
7
  - API version: 1.0.0
8
- - Package version: 1.0.3
8
+ - Package version: 2.1.0
9
9
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
10
10
 
11
11
  ## Installation
@@ -21,16 +21,16 @@ gem build freeclimb.gemspec
21
21
  Then either install the gem locally:
22
22
 
23
23
  ```shell
24
- gem install ./freeclimb-1.0.3.gem
24
+ gem install ./freeclimb-2.1.0.gem
25
25
  ```
26
26
 
27
- (for development, run `gem install --dev ./freeclimb-1.0.3.gem` to install the development dependencies)
27
+ (for development, run `gem install --dev ./freeclimb-2.1.0.gem` to install the development dependencies)
28
28
 
29
29
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
30
30
 
31
31
  Finally add this to the Gemfile:
32
32
 
33
- gem 'freeclimb', '~> 1.0.3'
33
+ gem 'freeclimb', '~> 2.1.0'
34
34
 
35
35
  ### Install from Ruby gems
36
36
  ```shell
@@ -178,7 +178,6 @@ Class | Method | HTTP request | Description
178
178
  - [Freeclimb::CreateConferenceAllOf](docs/CreateConferenceAllOf.md)
179
179
  - [Freeclimb::CreateConferenceRequest](docs/CreateConferenceRequest.md)
180
180
  - [Freeclimb::Dequeue](docs/Dequeue.md)
181
- - [Freeclimb::DequeueMemberRequest](docs/DequeueMemberRequest.md)
182
181
  - [Freeclimb::Enqueue](docs/Enqueue.md)
183
182
  - [Freeclimb::EnqueueAllOf](docs/EnqueueAllOf.md)
184
183
  - [Freeclimb::FilterLogsRequest](docs/FilterLogsRequest.md)
@@ -186,6 +185,8 @@ Class | Method | HTTP request | Description
186
185
  - [Freeclimb::GetDigitsAllOf](docs/GetDigitsAllOf.md)
187
186
  - [Freeclimb::GetSpeech](docs/GetSpeech.md)
188
187
  - [Freeclimb::GetSpeechAllOf](docs/GetSpeechAllOf.md)
188
+ - [Freeclimb::Hangup](docs/Hangup.md)
189
+ - [Freeclimb::HangupAllOf](docs/HangupAllOf.md)
189
190
  - [Freeclimb::IncomingNumberList](docs/IncomingNumberList.md)
190
191
  - [Freeclimb::IncomingNumberListAllOf](docs/IncomingNumberListAllOf.md)
191
192
  - [Freeclimb::IncomingNumberRequest](docs/IncomingNumberRequest.md)
@@ -229,6 +230,8 @@ Class | Method | HTTP request | Description
229
230
  - [Freeclimb::RecordingResultAllOf](docs/RecordingResultAllOf.md)
230
231
  - [Freeclimb::Redirect](docs/Redirect.md)
231
232
  - [Freeclimb::RedirectAllOf](docs/RedirectAllOf.md)
233
+ - [Freeclimb::Reject](docs/Reject.md)
234
+ - [Freeclimb::RejectAllOf](docs/RejectAllOf.md)
232
235
  - [Freeclimb::RemoveFromConference](docs/RemoveFromConference.md)
233
236
  - [Freeclimb::RemoveFromConferenceAllOf](docs/RemoveFromConferenceAllOf.md)
234
237
  - [Freeclimb::Say](docs/Say.md)
@@ -256,3 +259,6 @@ Class | Method | HTTP request | Description
256
259
 
257
260
  - **Type**: HTTP basic authentication
258
261
 
262
+ ## Getting Help
263
+
264
+ If you are experiencing difficulties, [contact support](https://freeclimb.com/support).
@@ -6,7 +6,6 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **_alias** | **String** | Description for this account. | [optional]
8
8
  **label** | **String** | Group to which this account belongs. | [optional]
9
- **request_id** | **String** | RequestId for this request starting with prefix *RQ* followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response, e.g. X-Pulse-Request-Id: &lt;requestId&gt; | [optional]
10
9
 
11
10
  ## Code Sample
12
11
 
@@ -14,8 +13,7 @@ Name | Type | Description | Notes
14
13
  require 'freeclimb'
15
14
 
16
15
  instance = Freeclimb::AccountRequest.new(_alias: nil,
17
- label: nil,
18
- request_id: nil)
16
+ label: nil)
19
17
  ```
20
18
 
21
19
 
@@ -11,7 +11,6 @@ Name | Type | Description | Notes
11
11
  **status_callback_url** | **String** | The URL that FreeClimb will request to pass call status (such as call ended) to the application. Note: This is a notification only; any PerCL returned will be ignored. | [optional]
12
12
  **sms_url** | **String** | The URL that FreeClimb will request when a phone number assigned to this application receives an incoming SMS message. Used for inbound SMS only. Note: Any PerCL returned will be ignored. | [optional]
13
13
  **sms_fallback_url** | **String** | The URL that FreeClimb will request if it times out waiting for a response from the smsUrl. Used for inbound SMS only. Note: Any PerCL returned will be ignored. | [optional]
14
- **request_id** | **String** | The requestId for this request starting with prefix \&quot;RQ\&quot; followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response, e.g. X-Pulse-Request-Id: &lt;requestId&gt; | [optional]
15
14
 
16
15
  ## Code Sample
17
16
 
@@ -24,8 +23,7 @@ instance = Freeclimb::ApplicationRequest.new(_alias: nil,
24
23
  call_connect_url: nil,
25
24
  status_callback_url: nil,
26
25
  sms_url: nil,
27
- sms_fallback_url: nil,
28
- request_id: nil)
26
+ sms_fallback_url: nil)
29
27
  ```
30
28
 
31
29
 
@@ -7,7 +7,6 @@ Name | Type | Description | Notes
7
7
  **phone_number** | **String** | Phone number to purchase in E.164 format (as returned in the list of Available Phone Numbers). |
8
8
  **_alias** | **String** | Description for this new incoming phone number (max 64 characters). | [optional]
9
9
  **application_id** | **String** | ID of the application that should handle phone calls to the number. | [optional]
10
- **request_id** | **String** | RequestId for this request starting with prefix &#x60;RQ&#x60; followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response, (e.g., &#x60;X-Pulse-Request-Id: &lt;requestId&gt;&#x60;). | [optional]
11
10
 
12
11
  ## Code Sample
13
12
 
@@ -16,8 +15,7 @@ require 'freeclimb'
16
15
 
17
16
  instance = Freeclimb::BuyIncomingNumberRequest.new(phone_number: nil,
18
17
  _alias: nil,
19
- application_id: nil,
20
- request_id: nil)
18
+ application_id: nil)
21
19
  ```
22
20
 
23
21
 
@@ -9,7 +9,6 @@ Name | Type | Description | Notes
9
9
  **record** | **Boolean** | Setting to &#x60;true&#x60; records the entire Conference. | [optional]
10
10
  **wait_url** | **String** | If specified, a URL for the audio file that provides custom hold music for the Conference when it is in the populated state. Otherwise, FreeClimb uses a system default audio file. This is always fetched using HTTP GET and is fetched just once &amp;mdash; when the Conference is created. | [optional]
11
11
  **status_callback_url** | **String** | This URL is invoked when the status of the Conference changes. For more information, see **statusCallbackUrl** (below). | [optional]
12
- **request_id** | **String** | The requestId for this request starting with prefix \&quot;RQ\&quot; followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response (e.g., X-Pulse-Request-Id: &lt;requestId&gt;). | [optional]
13
12
 
14
13
  ## Code Sample
15
14
 
@@ -20,8 +19,7 @@ instance = Freeclimb::CreateConferenceRequest.new(_alias: nil,
20
19
  play_beep: nil,
21
20
  record: nil,
22
21
  wait_url: nil,
23
- status_callback_url: nil,
24
- request_id: nil)
22
+ status_callback_url: nil)
25
23
  ```
26
24
 
27
25
 
@@ -102,7 +102,7 @@ This endpoint does not need any parameter.
102
102
 
103
103
  ## buy_a_phone_number
104
104
 
105
- > IncomingNumberResult buy_a_phone_number(opts)
105
+ > IncomingNumberResult buy_a_phone_number(buy_incoming_number_request)
106
106
 
107
107
  Buy a Phone Number
108
108
 
@@ -119,13 +119,11 @@ Freeclimb.configure do |config|
119
119
  end
120
120
 
121
121
  api_instance = Freeclimb::DefaultApi.new
122
- opts = {
123
- buy_incoming_number_request: Freeclimb::BuyIncomingNumberRequest.new # BuyIncomingNumberRequest | Incoming Number transaction details
124
- }
122
+ buy_incoming_number_request = Freeclimb::BuyIncomingNumberRequest.new # BuyIncomingNumberRequest | Incoming Number transaction details
125
123
 
126
124
  begin
127
125
  #Buy a Phone Number
128
- result = api_instance.buy_a_phone_number(opts)
126
+ result = api_instance.buy_a_phone_number(buy_incoming_number_request)
129
127
  p result
130
128
  rescue Freeclimb::ApiError => e
131
129
  puts "Exception when calling DefaultApi->buy_a_phone_number: #{e}"
@@ -137,7 +135,7 @@ end
137
135
 
138
136
  Name | Type | Description | Notes
139
137
  ------------- | ------------- | ------------- | -------------
140
- **buy_incoming_number_request** | [**BuyIncomingNumberRequest**](BuyIncomingNumberRequest.md)| Incoming Number transaction details | [optional]
138
+ **buy_incoming_number_request** | [**BuyIncomingNumberRequest**](BuyIncomingNumberRequest.md)| Incoming Number transaction details |
141
139
 
142
140
  ### Return type
143
141
 
@@ -464,7 +462,7 @@ nil (empty response body)
464
462
 
465
463
  ## dequeue_a_member
466
464
 
467
- > QueueMember dequeue_a_member(queue_id, call_id, opts)
465
+ > QueueMember dequeue_a_member(queue_id, call_id)
468
466
 
469
467
  Dequeue a Member
470
468
 
@@ -483,13 +481,10 @@ end
483
481
  api_instance = Freeclimb::DefaultApi.new
484
482
  queue_id = 'queue_id_example' # String | String that uniquely identifies the Queue that the Member belongs to.
485
483
  call_id = 'call_id_example' # String | ID if the Call that the Member belongs to
486
- opts = {
487
- dequeue_member_request: Freeclimb::DequeueMemberRequest.new # DequeueMemberRequest | Dequeue member request details
488
- }
489
484
 
490
485
  begin
491
486
  #Dequeue a Member
492
- result = api_instance.dequeue_a_member(queue_id, call_id, opts)
487
+ result = api_instance.dequeue_a_member(queue_id, call_id)
493
488
  p result
494
489
  rescue Freeclimb::ApiError => e
495
490
  puts "Exception when calling DefaultApi->dequeue_a_member: #{e}"
@@ -503,7 +498,6 @@ Name | Type | Description | Notes
503
498
  ------------- | ------------- | ------------- | -------------
504
499
  **queue_id** | **String**| String that uniquely identifies the Queue that the Member belongs to. |
505
500
  **call_id** | **String**| ID if the Call that the Member belongs to |
506
- **dequeue_member_request** | [**DequeueMemberRequest**](DequeueMemberRequest.md)| Dequeue member request details | [optional]
507
501
 
508
502
  ### Return type
509
503
 
@@ -515,13 +509,13 @@ Name | Type | Description | Notes
515
509
 
516
510
  ### HTTP request headers
517
511
 
518
- - **Content-Type**: application/json
512
+ - **Content-Type**: Not defined
519
513
  - **Accept**: application/json
520
514
 
521
515
 
522
516
  ## dequeue_head_member
523
517
 
524
- > QueueMember dequeue_head_member(queue_id, opts)
518
+ > QueueMember dequeue_head_member(queue_id)
525
519
 
526
520
  Dequeue Head Member
527
521
 
@@ -539,13 +533,10 @@ end
539
533
 
540
534
  api_instance = Freeclimb::DefaultApi.new
541
535
  queue_id = 'queue_id_example' # String | String that uniquely identifies this queue resource.
542
- opts = {
543
- dequeue_member_request: Freeclimb::DequeueMemberRequest.new # DequeueMemberRequest | Dequeue head member request details
544
- }
545
536
 
546
537
  begin
547
538
  #Dequeue Head Member
548
- result = api_instance.dequeue_head_member(queue_id, opts)
539
+ result = api_instance.dequeue_head_member(queue_id)
549
540
  p result
550
541
  rescue Freeclimb::ApiError => e
551
542
  puts "Exception when calling DefaultApi->dequeue_head_member: #{e}"
@@ -558,7 +549,6 @@ end
558
549
  Name | Type | Description | Notes
559
550
  ------------- | ------------- | ------------- | -------------
560
551
  **queue_id** | **String**| String that uniquely identifies this queue resource. |
561
- **dequeue_member_request** | [**DequeueMemberRequest**](DequeueMemberRequest.md)| Dequeue head member request details | [optional]
562
552
 
563
553
  ### Return type
564
554
 
@@ -570,7 +560,7 @@ Name | Type | Description | Notes
570
560
 
571
561
  ### HTTP request headers
572
562
 
573
- - **Content-Type**: application/json
563
+ - **Content-Type**: Not defined
574
564
  - **Accept**: application/json
575
565
 
576
566
 
@@ -627,7 +617,7 @@ Name | Type | Description | Notes
627
617
 
628
618
  ## filter_logs
629
619
 
630
- > LogList filter_logs(opts)
620
+ > LogList filter_logs(filter_logs_request)
631
621
 
632
622
  Filter Logs
633
623
 
@@ -644,13 +634,11 @@ Freeclimb.configure do |config|
644
634
  end
645
635
 
646
636
  api_instance = Freeclimb::DefaultApi.new
647
- opts = {
648
- filter_logs_request: Freeclimb::FilterLogsRequest.new # FilterLogsRequest | Filter logs request paramters
649
- }
637
+ filter_logs_request = Freeclimb::FilterLogsRequest.new # FilterLogsRequest | Filter logs request paramters
650
638
 
651
639
  begin
652
640
  #Filter Logs
653
- result = api_instance.filter_logs(opts)
641
+ result = api_instance.filter_logs(filter_logs_request)
654
642
  p result
655
643
  rescue Freeclimb::ApiError => e
656
644
  puts "Exception when calling DefaultApi->filter_logs: #{e}"
@@ -662,7 +650,7 @@ end
662
650
 
663
651
  Name | Type | Description | Notes
664
652
  ------------- | ------------- | ------------- | -------------
665
- **filter_logs_request** | [**FilterLogsRequest**](FilterLogsRequest.md)| Filter logs request paramters | [optional]
653
+ **filter_logs_request** | [**FilterLogsRequest**](FilterLogsRequest.md)| Filter logs request paramters |
666
654
 
667
655
  ### Return type
668
656
 
@@ -2018,7 +2006,7 @@ nil (empty response body)
2018
2006
 
2019
2007
  ## send_an_sms_message
2020
2008
 
2021
- > MessageResult send_an_sms_message(opts)
2009
+ > MessageResult send_an_sms_message(message_request)
2022
2010
 
2023
2011
  Send an SMS Message
2024
2012
 
@@ -2035,13 +2023,11 @@ Freeclimb.configure do |config|
2035
2023
  end
2036
2024
 
2037
2025
  api_instance = Freeclimb::DefaultApi.new
2038
- opts = {
2039
- message_request: Freeclimb::MessageRequest.new # MessageRequest | Details to create a message
2040
- }
2026
+ message_request = Freeclimb::MessageRequest.new # MessageRequest | Details to create a message
2041
2027
 
2042
2028
  begin
2043
2029
  #Send an SMS Message
2044
- result = api_instance.send_an_sms_message(opts)
2030
+ result = api_instance.send_an_sms_message(message_request)
2045
2031
  p result
2046
2032
  rescue Freeclimb::ApiError => e
2047
2033
  puts "Exception when calling DefaultApi->send_an_sms_message: #{e}"
@@ -2053,7 +2039,7 @@ end
2053
2039
 
2054
2040
  Name | Type | Description | Notes
2055
2041
  ------------- | ------------- | ------------- | -------------
2056
- **message_request** | [**MessageRequest**](MessageRequest.md)| Details to create a message | [optional]
2042
+ **message_request** | [**MessageRequest**](MessageRequest.md)| Details to create a message |
2057
2043
 
2058
2044
  ### Return type
2059
2045
 
@@ -2177,7 +2163,7 @@ Name | Type | Description | Notes
2177
2163
 
2178
2164
  ## update_a_live_call
2179
2165
 
2180
- > update_a_live_call(call_id, opts)
2166
+ > update_a_live_call(call_id, update_call_request)
2181
2167
 
2182
2168
  Update a Live Call
2183
2169
 
@@ -2195,13 +2181,11 @@ end
2195
2181
 
2196
2182
  api_instance = Freeclimb::DefaultApi.new
2197
2183
  call_id = 'call_id_example' # String | String that uniquely identifies this call resource.
2198
- opts = {
2199
- update_call_request: Freeclimb::UpdateCallRequest.new # UpdateCallRequest | Call details to update
2200
- }
2184
+ update_call_request = Freeclimb::UpdateCallRequest.new # UpdateCallRequest | Call details to update
2201
2185
 
2202
2186
  begin
2203
2187
  #Update a Live Call
2204
- api_instance.update_a_live_call(call_id, opts)
2188
+ api_instance.update_a_live_call(call_id, update_call_request)
2205
2189
  rescue Freeclimb::ApiError => e
2206
2190
  puts "Exception when calling DefaultApi->update_a_live_call: #{e}"
2207
2191
  end
@@ -2213,7 +2197,7 @@ end
2213
2197
  Name | Type | Description | Notes
2214
2198
  ------------- | ------------- | ------------- | -------------
2215
2199
  **call_id** | **String**| String that uniquely identifies this call resource. |
2216
- **update_call_request** | [**UpdateCallRequest**](UpdateCallRequest.md)| Call details to update | [optional]
2200
+ **update_call_request** | [**UpdateCallRequest**](UpdateCallRequest.md)| Call details to update |
2217
2201
 
2218
2202
  ### Return type
2219
2203