freeclimb 2.0.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +95 -0
- data/Gemfile.lock +1 -1
- data/README.md +11 -4
- data/docs/DefaultApi.md +16 -24
- data/docs/GetDigits.md +3 -1
- data/docs/GetDigitsAllOf.md +3 -1
- data/docs/GetSpeech.md +2 -2
- data/docs/GetSpeechAllOf.md +2 -2
- data/docs/Hangup.md +17 -0
- data/docs/HangupAllOf.md +17 -0
- data/docs/MakeCallRequest.md +3 -1
- data/docs/MessageResult.md +1 -1
- data/docs/MessageResultAllOf.md +1 -1
- data/docs/OutDial.md +3 -1
- data/docs/OutDialAllOf.md +3 -1
- data/docs/Play.md +3 -1
- data/docs/PlayAllOf.md +3 -1
- data/docs/RecordUtterance.md +3 -1
- data/docs/RecordUtteranceAllOf.md +3 -1
- data/docs/Redirect.md +1 -1
- data/docs/RedirectAllOf.md +1 -1
- data/docs/Reject.md +17 -0
- data/docs/RejectAllOf.md +17 -0
- data/docs/Say.md +2 -2
- data/docs/SayAllOf.md +2 -2
- data/docs/SendDigits.md +3 -1
- data/docs/SendDigitsAllOf.md +3 -1
- data/freeclimb-2.0.3.gem +0 -0
- data/freeclimb-2.1.0.gem +0 -0
- data/lib/freeclimb.rb +4 -0
- data/lib/freeclimb/api/default_api.rb +40 -24
- data/lib/freeclimb/api_client.rb +1 -1
- data/lib/freeclimb/models/get_digits.rb +14 -4
- data/lib/freeclimb/models/get_digits_all_of.rb +14 -4
- data/lib/freeclimb/models/get_speech.rb +8 -8
- data/lib/freeclimb/models/get_speech_all_of.rb +8 -8
- data/lib/freeclimb/models/hangup.rb +220 -0
- data/lib/freeclimb/models/hangup_all_of.rb +207 -0
- data/lib/freeclimb/models/make_call_request.rb +14 -4
- data/lib/freeclimb/models/message_result.rb +3 -3
- data/lib/freeclimb/models/message_result_all_of.rb +3 -3
- data/lib/freeclimb/models/out_dial.rb +14 -4
- data/lib/freeclimb/models/out_dial_all_of.rb +14 -4
- data/lib/freeclimb/models/play.rb +14 -4
- data/lib/freeclimb/models/play_all_of.rb +14 -4
- data/lib/freeclimb/models/record_utterance.rb +14 -4
- data/lib/freeclimb/models/record_utterance_all_of.rb +14 -4
- data/lib/freeclimb/models/redirect.rb +7 -2
- data/lib/freeclimb/models/redirect_all_of.rb +6 -1
- data/lib/freeclimb/models/reject.rb +220 -0
- data/lib/freeclimb/models/reject_all_of.rb +207 -0
- data/lib/freeclimb/models/say.rb +8 -8
- data/lib/freeclimb/models/say_all_of.rb +8 -8
- data/lib/freeclimb/models/send_digits.rb +14 -4
- data/lib/freeclimb/models/send_digits_all_of.rb +14 -4
- data/lib/freeclimb/version.rb +1 -1
- data/spec/api/default_api_spec.rb +7 -14
- data/spec/models/hangup_spec.rb +41 -0
- data/spec/models/reject_spec.rb +41 -0
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b2432d5b30385e65f3c0e9a9fc9c2731de5cd03377ef0df110269772cb3d1fd
|
4
|
+
data.tar.gz: eb91292c2fa6fa794fbf1c0c7c5925b79c023a6eea28d167848d9c9aa6f91036
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 648bb6a97a082a2baf5b5edf02effb1312f98ae1cc67e4b309e843905abd98343b8805e9f6e365be7d96517d4b5f6b5bd09cf0f791c3cf5dadd9ecac90128e82
|
7
|
+
data.tar.gz: f238c728fac55b34900af24c2d37072ede3948fd73460ea4f6c9aad62237153095473dc47813d7fba0ea25b1d76aba72be90bc6379420497cc1e6129070cdca5
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,95 @@
|
|
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
|
+
|
11
|
+
<a name="2.1.1"></a>
|
12
|
+
## [2.1.1] - 2020-12-16
|
13
|
+
### Added
|
14
|
+
- Add `privacyMode` option to RecordUtterance PerCL command
|
15
|
+
|
16
|
+
<a name="2.1.0"></a>
|
17
|
+
## [2.1.0] - 2020-12-16
|
18
|
+
### Added
|
19
|
+
- Add `Reject` PerCL command
|
20
|
+
- Add `Hangup` PerCL command
|
21
|
+
|
22
|
+
### Fixed
|
23
|
+
- Updated description and requirement of `action_url` attribute of `Redirect` PerCL command
|
24
|
+
|
25
|
+
<a name="2.0.3"></a>
|
26
|
+
## [2.0.3] - 2020-12-16
|
27
|
+
### Added
|
28
|
+
- Additional message statuses for TFN functionality
|
29
|
+
|
30
|
+
<a name="2.0.2"></a>
|
31
|
+
## [2.0.2] - 2020-08-13
|
32
|
+
### Added
|
33
|
+
- Add `privacyMode` option
|
34
|
+
|
35
|
+
<a name="1.2.1"></a>
|
36
|
+
## [1.2.1] - 2020-10-14
|
37
|
+
### Changed
|
38
|
+
- Rename `setPersyUrl` to `setUrl`
|
39
|
+
|
40
|
+
### Fixed
|
41
|
+
- Properly handle empty response bodies
|
42
|
+
- Other Minor bug fixes
|
43
|
+
|
44
|
+
<a name="1.2"></a>
|
45
|
+
## [1.2] - 2019-10-16
|
46
|
+
### Changed
|
47
|
+
- Persephony is now FreeClimb
|
48
|
+
- Code cleanup
|
49
|
+
- Documentation Updates
|
50
|
+
- Test Update
|
51
|
+
|
52
|
+
### Fixed
|
53
|
+
- Update common response handler to not use bodu twice
|
54
|
+
|
55
|
+
<a name="1.1.1"></a>
|
56
|
+
## [1.1.1] - 2019-06-27
|
57
|
+
### Changed
|
58
|
+
- Minor updates to docs and code cleanup
|
59
|
+
|
60
|
+
|
61
|
+
<a name="1.1.0"></a>
|
62
|
+
## [1.1.0] - 2019-06-07
|
63
|
+
### Pull Requests
|
64
|
+
- Merge pull request [#22](https://gitlab.vailsys.com/vail-cloud-services/fc-boilerplates/javascript-sdk/issues/22) from PersephonyAPI/maintenance
|
65
|
+
|
66
|
+
|
67
|
+
<a name="1.0.0"></a>
|
68
|
+
## [1.0.0] - 2019-06-04
|
69
|
+
### Changed
|
70
|
+
- Change default api target
|
71
|
+
|
72
|
+
|
73
|
+
<a name="0.1.0"></a>
|
74
|
+
## [0.1.0] - 2019-05-30
|
75
|
+
### Added
|
76
|
+
- `PlayEarlyMedia` PerCL Command
|
77
|
+
|
78
|
+
<a name="0.0.2"></a>
|
79
|
+
## [0.0.2] - 2018-11-29
|
80
|
+
### Remove
|
81
|
+
- Remove `callConnectUrl` and `statusCallbackUrl` from api.calls#create
|
82
|
+
|
83
|
+
<a name="0.0.1"></a>
|
84
|
+
## [0.0.1] - 2018-11-13
|
85
|
+
### Added
|
86
|
+
- PerCL Support
|
87
|
+
- FreeClimb API Support
|
88
|
+
- README, LICENSE
|
89
|
+
- docs
|
90
|
+
|
91
|
+
### Changed
|
92
|
+
- Initial Release
|
93
|
+
|
94
|
+
|
95
|
+
[Unreleased]: https://github.com/FreeClimbAPI/ruby-sdk/compare/v1.0.1...HEAD
|
data/Gemfile.lock
CHANGED
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: 2.
|
8
|
+
- Package version: 2.1.1
|
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-2.
|
24
|
+
gem install ./freeclimb-2.1.1.gem
|
25
25
|
```
|
26
26
|
|
27
|
-
(for development, run `gem install --dev ./freeclimb-2.
|
27
|
+
(for development, run `gem install --dev ./freeclimb-2.1.1.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', '~> 2.
|
33
|
+
gem 'freeclimb', '~> 2.1.1'
|
34
34
|
|
35
35
|
### Install from Ruby gems
|
36
36
|
```shell
|
@@ -185,6 +185,8 @@ Class | Method | HTTP request | Description
|
|
185
185
|
- [Freeclimb::GetDigitsAllOf](docs/GetDigitsAllOf.md)
|
186
186
|
- [Freeclimb::GetSpeech](docs/GetSpeech.md)
|
187
187
|
- [Freeclimb::GetSpeechAllOf](docs/GetSpeechAllOf.md)
|
188
|
+
- [Freeclimb::Hangup](docs/Hangup.md)
|
189
|
+
- [Freeclimb::HangupAllOf](docs/HangupAllOf.md)
|
188
190
|
- [Freeclimb::IncomingNumberList](docs/IncomingNumberList.md)
|
189
191
|
- [Freeclimb::IncomingNumberListAllOf](docs/IncomingNumberListAllOf.md)
|
190
192
|
- [Freeclimb::IncomingNumberRequest](docs/IncomingNumberRequest.md)
|
@@ -228,6 +230,8 @@ Class | Method | HTTP request | Description
|
|
228
230
|
- [Freeclimb::RecordingResultAllOf](docs/RecordingResultAllOf.md)
|
229
231
|
- [Freeclimb::Redirect](docs/Redirect.md)
|
230
232
|
- [Freeclimb::RedirectAllOf](docs/RedirectAllOf.md)
|
233
|
+
- [Freeclimb::Reject](docs/Reject.md)
|
234
|
+
- [Freeclimb::RejectAllOf](docs/RejectAllOf.md)
|
231
235
|
- [Freeclimb::RemoveFromConference](docs/RemoveFromConference.md)
|
232
236
|
- [Freeclimb::RemoveFromConferenceAllOf](docs/RemoveFromConferenceAllOf.md)
|
233
237
|
- [Freeclimb::Say](docs/Say.md)
|
@@ -255,3 +259,6 @@ Class | Method | HTTP request | Description
|
|
255
259
|
|
256
260
|
- **Type**: HTTP basic authentication
|
257
261
|
|
262
|
+
## Getting Help
|
263
|
+
|
264
|
+
If you are experiencing difficulties, [contact support](https://freeclimb.com/support).
|
data/docs/DefaultApi.md
CHANGED
@@ -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(
|
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
|
-
|
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(
|
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 |
|
138
|
+
**buy_incoming_number_request** | [**BuyIncomingNumberRequest**](BuyIncomingNumberRequest.md)| Incoming Number transaction details |
|
141
139
|
|
142
140
|
### Return type
|
143
141
|
|
@@ -619,7 +617,7 @@ Name | Type | Description | Notes
|
|
619
617
|
|
620
618
|
## filter_logs
|
621
619
|
|
622
|
-
> LogList filter_logs(
|
620
|
+
> LogList filter_logs(filter_logs_request)
|
623
621
|
|
624
622
|
Filter Logs
|
625
623
|
|
@@ -636,13 +634,11 @@ Freeclimb.configure do |config|
|
|
636
634
|
end
|
637
635
|
|
638
636
|
api_instance = Freeclimb::DefaultApi.new
|
639
|
-
|
640
|
-
filter_logs_request: Freeclimb::FilterLogsRequest.new # FilterLogsRequest | Filter logs request paramters
|
641
|
-
}
|
637
|
+
filter_logs_request = Freeclimb::FilterLogsRequest.new # FilterLogsRequest | Filter logs request paramters
|
642
638
|
|
643
639
|
begin
|
644
640
|
#Filter Logs
|
645
|
-
result = api_instance.filter_logs(
|
641
|
+
result = api_instance.filter_logs(filter_logs_request)
|
646
642
|
p result
|
647
643
|
rescue Freeclimb::ApiError => e
|
648
644
|
puts "Exception when calling DefaultApi->filter_logs: #{e}"
|
@@ -654,7 +650,7 @@ end
|
|
654
650
|
|
655
651
|
Name | Type | Description | Notes
|
656
652
|
------------- | ------------- | ------------- | -------------
|
657
|
-
**filter_logs_request** | [**FilterLogsRequest**](FilterLogsRequest.md)| Filter logs request paramters |
|
653
|
+
**filter_logs_request** | [**FilterLogsRequest**](FilterLogsRequest.md)| Filter logs request paramters |
|
658
654
|
|
659
655
|
### Return type
|
660
656
|
|
@@ -2010,7 +2006,7 @@ nil (empty response body)
|
|
2010
2006
|
|
2011
2007
|
## send_an_sms_message
|
2012
2008
|
|
2013
|
-
> MessageResult send_an_sms_message(
|
2009
|
+
> MessageResult send_an_sms_message(message_request)
|
2014
2010
|
|
2015
2011
|
Send an SMS Message
|
2016
2012
|
|
@@ -2027,13 +2023,11 @@ Freeclimb.configure do |config|
|
|
2027
2023
|
end
|
2028
2024
|
|
2029
2025
|
api_instance = Freeclimb::DefaultApi.new
|
2030
|
-
|
2031
|
-
message_request: Freeclimb::MessageRequest.new # MessageRequest | Details to create a message
|
2032
|
-
}
|
2026
|
+
message_request = Freeclimb::MessageRequest.new # MessageRequest | Details to create a message
|
2033
2027
|
|
2034
2028
|
begin
|
2035
2029
|
#Send an SMS Message
|
2036
|
-
result = api_instance.send_an_sms_message(
|
2030
|
+
result = api_instance.send_an_sms_message(message_request)
|
2037
2031
|
p result
|
2038
2032
|
rescue Freeclimb::ApiError => e
|
2039
2033
|
puts "Exception when calling DefaultApi->send_an_sms_message: #{e}"
|
@@ -2045,7 +2039,7 @@ end
|
|
2045
2039
|
|
2046
2040
|
Name | Type | Description | Notes
|
2047
2041
|
------------- | ------------- | ------------- | -------------
|
2048
|
-
**message_request** | [**MessageRequest**](MessageRequest.md)| Details to create a message |
|
2042
|
+
**message_request** | [**MessageRequest**](MessageRequest.md)| Details to create a message |
|
2049
2043
|
|
2050
2044
|
### Return type
|
2051
2045
|
|
@@ -2169,7 +2163,7 @@ Name | Type | Description | Notes
|
|
2169
2163
|
|
2170
2164
|
## update_a_live_call
|
2171
2165
|
|
2172
|
-
> update_a_live_call(call_id,
|
2166
|
+
> update_a_live_call(call_id, update_call_request)
|
2173
2167
|
|
2174
2168
|
Update a Live Call
|
2175
2169
|
|
@@ -2187,13 +2181,11 @@ end
|
|
2187
2181
|
|
2188
2182
|
api_instance = Freeclimb::DefaultApi.new
|
2189
2183
|
call_id = 'call_id_example' # String | String that uniquely identifies this call resource.
|
2190
|
-
|
2191
|
-
update_call_request: Freeclimb::UpdateCallRequest.new # UpdateCallRequest | Call details to update
|
2192
|
-
}
|
2184
|
+
update_call_request = Freeclimb::UpdateCallRequest.new # UpdateCallRequest | Call details to update
|
2193
2185
|
|
2194
2186
|
begin
|
2195
2187
|
#Update a Live Call
|
2196
|
-
api_instance.update_a_live_call(call_id,
|
2188
|
+
api_instance.update_a_live_call(call_id, update_call_request)
|
2197
2189
|
rescue Freeclimb::ApiError => e
|
2198
2190
|
puts "Exception when calling DefaultApi->update_a_live_call: #{e}"
|
2199
2191
|
end
|
@@ -2205,7 +2197,7 @@ end
|
|
2205
2197
|
Name | Type | Description | Notes
|
2206
2198
|
------------- | ------------- | ------------- | -------------
|
2207
2199
|
**call_id** | **String**| String that uniquely identifies this call resource. |
|
2208
|
-
**update_call_request** | [**UpdateCallRequest**](UpdateCallRequest.md)| Call details to update |
|
2200
|
+
**update_call_request** | [**UpdateCallRequest**](UpdateCallRequest.md)| Call details to update |
|
2209
2201
|
|
2210
2202
|
### Return type
|
2211
2203
|
|
data/docs/GetDigits.md
CHANGED
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
|
|
12
12
|
**max_digits** | **Integer** | Maximum number of digits expected in the input. If the terminating digit is not entered and the caller has entered the maximum number of digits allowed, the `GetDigits` command terminates regardless of the value of `finishOnKey`. | [optional]
|
13
13
|
**min_digits** | **Integer** | Minimum number of digits expected in the input. If specified, FreeClimb will return the collected digits only if the Caller has entered at least that many digits. | [optional]
|
14
14
|
**prompts** | [**Array<PerclCommand>**](PerclCommand.md) | JSON array of PerCL commands to nest within the `GetDigits` command. The `Say`, `Play`, and `Pause` commands can be used. The nested actions are executed while FreeClimb is waiting for input from the Caller. | [optional]
|
15
|
+
**privacy_mode** | **Boolean** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [optional]
|
15
16
|
|
16
17
|
## Code Sample
|
17
18
|
|
@@ -25,7 +26,8 @@ instance = Freeclimb::GetDigits.new(action_url: nil,
|
|
25
26
|
initial_timeout_ms: nil,
|
26
27
|
max_digits: nil,
|
27
28
|
min_digits: nil,
|
28
|
-
prompts: nil
|
29
|
+
prompts: nil,
|
30
|
+
privacy_mode: nil)
|
29
31
|
```
|
30
32
|
|
31
33
|
|
data/docs/GetDigitsAllOf.md
CHANGED
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
|
|
12
12
|
**max_digits** | **Integer** | Maximum number of digits expected in the input. If the terminating digit is not entered and the caller has entered the maximum number of digits allowed, the `GetDigits` command terminates regardless of the value of `finishOnKey`. | [optional]
|
13
13
|
**min_digits** | **Integer** | Minimum number of digits expected in the input. If specified, FreeClimb will return the collected digits only if the Caller has entered at least that many digits. | [optional]
|
14
14
|
**prompts** | [**Array<PerclCommand>**](PerclCommand.md) | JSON array of PerCL commands to nest within the `GetDigits` command. The `Say`, `Play`, and `Pause` commands can be used. The nested actions are executed while FreeClimb is waiting for input from the Caller. | [optional]
|
15
|
+
**privacy_mode** | **Boolean** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [optional]
|
15
16
|
|
16
17
|
## Code Sample
|
17
18
|
|
@@ -25,7 +26,8 @@ instance = Freeclimb::GetDigitsAllOf.new(action_url: nil,
|
|
25
26
|
initial_timeout_ms: nil,
|
26
27
|
max_digits: nil,
|
27
28
|
min_digits: nil,
|
28
|
-
prompts: nil
|
29
|
+
prompts: nil,
|
30
|
+
privacy_mode: nil)
|
29
31
|
```
|
30
32
|
|
31
33
|
|
data/docs/GetSpeech.md
CHANGED
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
|
|
16
16
|
**sensitivity_level** | **Float** | The speech recognizer supports a variable level of sound sensitivity. The sensitivityLevel attribute allows for filtering out background noise, so it is not mistaken for speech. Values are between 0.0 and 1.0 | [optional]
|
17
17
|
**speech_complete_timeout_ms** | **Integer** | Parameter `speechCompleteTimeoutMs` specifies the length of silence required following user speech before the speech recognizer finalizes a result. This timeout applies when the recognizer currently has a complete match against an active grammar. Reasonable speech complete timeout values are typically in the range of 0.3 seconds to 1.0 seconds. | [optional]
|
18
18
|
**speech_incomplete_timeout_ms** | **Integer** | Parameter `speechIncompleteTimeoutMs` specifies the length of silence following user speech after which a recognizer finalizes a result. This timeout applies when the speech prior to the silence is an incomplete match of all active grammars. Timeout `speechIncompleteTimeoutMs` is usually longer than `speechCompleteTimeoutMs` to allow users to pause mid-utterance. | [optional]
|
19
|
-
**
|
19
|
+
**privacy_mode** | **Boolean** | Parameter privacyMode will not log the `text` as required by PCI compliance. | [optional]
|
20
20
|
|
21
21
|
## Code Sample
|
22
22
|
|
@@ -35,7 +35,7 @@ instance = Freeclimb::GetSpeech.new(action_url: nil,
|
|
35
35
|
sensitivity_level: nil,
|
36
36
|
speech_complete_timeout_ms: nil,
|
37
37
|
speech_incomplete_timeout_ms: nil,
|
38
|
-
|
38
|
+
privacy_mode: nil)
|
39
39
|
```
|
40
40
|
|
41
41
|
|
data/docs/GetSpeechAllOf.md
CHANGED
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
|
|
16
16
|
**sensitivity_level** | **Float** | The speech recognizer supports a variable level of sound sensitivity. The sensitivityLevel attribute allows for filtering out background noise, so it is not mistaken for speech. Values are between 0.0 and 1.0 | [optional]
|
17
17
|
**speech_complete_timeout_ms** | **Integer** | Parameter `speechCompleteTimeoutMs` specifies the length of silence required following user speech before the speech recognizer finalizes a result. This timeout applies when the recognizer currently has a complete match against an active grammar. Reasonable speech complete timeout values are typically in the range of 0.3 seconds to 1.0 seconds. | [optional]
|
18
18
|
**speech_incomplete_timeout_ms** | **Integer** | Parameter `speechIncompleteTimeoutMs` specifies the length of silence following user speech after which a recognizer finalizes a result. This timeout applies when the speech prior to the silence is an incomplete match of all active grammars. Timeout `speechIncompleteTimeoutMs` is usually longer than `speechCompleteTimeoutMs` to allow users to pause mid-utterance. | [optional]
|
19
|
-
**
|
19
|
+
**privacy_mode** | **Boolean** | Parameter privacyMode will not log the `text` as required by PCI compliance. | [optional]
|
20
20
|
|
21
21
|
## Code Sample
|
22
22
|
|
@@ -35,7 +35,7 @@ instance = Freeclimb::GetSpeechAllOf.new(action_url: nil,
|
|
35
35
|
sensitivity_level: nil,
|
36
36
|
speech_complete_timeout_ms: nil,
|
37
37
|
speech_incomplete_timeout_ms: nil,
|
38
|
-
|
38
|
+
privacy_mode: nil)
|
39
39
|
```
|
40
40
|
|
41
41
|
|
data/docs/Hangup.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# Freeclimb::Hangup
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**reason** | **String** | The user defined reason for the hangup. In general, applications should use a set of enumerated values that are predefined to cover all exit points of the Call flows for the given application. | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'freeclimb'
|
13
|
+
|
14
|
+
instance = Freeclimb::Hangup.new(reason: nil)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/HangupAllOf.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# Freeclimb::HangupAllOf
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**reason** | **String** | The user defined reason for the hangup. In general, applications should use a set of enumerated values that are predefined to cover all exit points of the Call flows for the given application. | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'freeclimb'
|
13
|
+
|
14
|
+
instance = Freeclimb::HangupAllOf.new(reason: nil)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/MakeCallRequest.md
CHANGED
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
|
|
12
12
|
**if_machine_url** | **String** | This attribute specifies a URL to which FreeClimb will make a POST request when an answering machine or a fax machine is detected. This URL is required if the ifMachine flag is set to redirect. When ifMachine is set to hangup, ifMachineUrl must not be included in the request. For more information, see **ifMachineUrl example** below. | [optional]
|
13
13
|
**timeout** | **Integer** | Number of seconds that FreeClimb should allow the phone to ring before assuming there is no answer. Default is 30 seconds. Maximum allowed ring-time is determined by the target phone's provider. Note that most providers limit ring-time to 120 seconds. | [optional]
|
14
14
|
**parent_call_id** | **String** | The ID of the parent Call in the case that this new Call is meant to be treated as a child of an existing Call. This attribute should be included when possible to reduce latency when adding child calls to Conferences containing the parent Call. A call can only be used as a parent once the call is in progress or as an inbound call that is still ringing. An outbound call is considered to be in progress once the outdialConnect or outdialApiConnect webhook is invoked. An inbound call is ringing when the inbound webhook is invoked. | [optional]
|
15
|
+
**privacy_mode** | **Boolean** | Activate privacy mode in order to obscure log data that can potentially expose private information. | [optional]
|
15
16
|
|
16
17
|
## Code Sample
|
17
18
|
|
@@ -25,7 +26,8 @@ instance = Freeclimb::MakeCallRequest.new(from: nil,
|
|
25
26
|
if_machine: nil,
|
26
27
|
if_machine_url: nil,
|
27
28
|
timeout: nil,
|
28
|
-
parent_call_id: nil
|
29
|
+
parent_call_id: nil,
|
30
|
+
privacy_mode: nil)
|
29
31
|
```
|
30
32
|
|
31
33
|
|
data/docs/MessageResult.md
CHANGED
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
10
10
|
**revision** | **Integer** | Revision count for the resource. This count is set to 1 on creation and is incremented every time it is updated. | [optional]
|
11
11
|
**account_id** | **String** | String that uniquely identifies this account resource. | [optional]
|
12
12
|
**message_id** | **String** | String that uniquely identifies this message resource | [optional]
|
13
|
-
**status** | **String** | Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received | [optional]
|
13
|
+
**status** | **String** | Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received, undelivered, expired, deleted, and unknown | [optional]
|
14
14
|
**from** | **String** | Phone number in E.164 format that sent the message. | [optional]
|
15
15
|
**to** | **String** | Phone number in E.164 format that received the message. | [optional]
|
16
16
|
**text** | **String** | Message contents | [optional]
|
data/docs/MessageResultAllOf.md
CHANGED
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**account_id** | **String** | String that uniquely identifies this account resource. | [optional]
|
8
8
|
**message_id** | **String** | String that uniquely identifies this message resource | [optional]
|
9
|
-
**status** | **String** | Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received | [optional]
|
9
|
+
**status** | **String** | Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received, undelivered, expired, deleted, and unknown | [optional]
|
10
10
|
**from** | **String** | Phone number in E.164 format that sent the message. | [optional]
|
11
11
|
**to** | **String** | Phone number in E.164 format that received the message. | [optional]
|
12
12
|
**text** | **String** | Message contents | [optional]
|