freeclimb 1.0.1 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +80 -0
- data/Gemfile.lock +1 -1
- data/README.md +67 -42
- data/docs/AccountRequest.md +3 -5
- data/docs/AccountResult.md +12 -12
- data/docs/AccountResultAllOf.md +8 -8
- data/docs/AddToConference.md +35 -0
- data/docs/AddToConferenceAllOf.md +35 -0
- data/docs/ApplicationList.md +9 -9
- data/docs/ApplicationListAllOf.md +2 -2
- data/docs/ApplicationRequest.md +8 -10
- data/docs/ApplicationResult.md +14 -14
- data/docs/ApplicationResultAllOf.md +10 -10
- data/docs/AvailableNumber.md +7 -7
- data/docs/AvailableNumberList.md +9 -9
- data/docs/AvailableNumberListAllOf.md +2 -2
- data/docs/BuyIncomingNumberRequest.md +4 -6
- data/docs/CallList.md +9 -9
- data/docs/CallListAllOf.md +2 -2
- data/docs/CallResult.md +20 -20
- data/docs/CallResultAllOf.md +16 -16
- data/docs/ConferenceList.md +9 -9
- data/docs/ConferenceListAllOf.md +2 -2
- data/docs/ConferenceParticipantList.md +9 -9
- data/docs/ConferenceParticipantListAllOf.md +2 -2
- data/docs/ConferenceParticipantResult.md +11 -11
- data/docs/ConferenceParticipantResultAllOf.md +7 -7
- data/docs/ConferenceResult.md +15 -15
- data/docs/ConferenceResultAllOf.md +11 -11
- data/docs/CreateConference.md +27 -0
- data/docs/CreateConferenceAllOf.md +27 -0
- data/docs/CreateConferenceRequest.md +6 -8
- data/docs/DefaultApi.md +22 -38
- data/docs/Dequeue.md +16 -0
- data/docs/Enqueue.md +23 -0
- data/docs/EnqueueAllOf.md +23 -0
- data/docs/FilterLogsRequest.md +2 -4
- data/docs/GetDigits.md +33 -0
- data/docs/GetDigitsAllOf.md +33 -0
- data/docs/GetSpeech.md +41 -0
- data/docs/GetSpeechAllOf.md +41 -0
- data/docs/IncomingNumberList.md +9 -9
- data/docs/IncomingNumberListAllOf.md +2 -2
- data/docs/IncomingNumberRequest.md +3 -5
- data/docs/IncomingNumberResult.md +14 -14
- data/docs/IncomingNumberResultAllOf.md +10 -10
- data/docs/LogList.md +9 -9
- data/docs/LogListAllOf.md +2 -2
- data/docs/LogResult.md +8 -8
- data/docs/MakeCallRequest.md +11 -11
- data/docs/MessageRequest.md +10 -12
- data/docs/MessageRequestAllOf.md +6 -8
- data/docs/MessageResult.md +14 -14
- data/docs/MessageResultAllOf.md +10 -10
- data/docs/MessagesList.md +9 -9
- data/docs/MessagesListAllOf.md +2 -2
- data/docs/MutableResourceModel.md +5 -5
- data/docs/OutDial.md +35 -0
- data/docs/OutDialAllOf.md +35 -0
- data/docs/PaginationModel.md +8 -8
- data/docs/Pause.md +17 -0
- data/docs/PauseAllOf.md +17 -0
- data/docs/PerclCommand.md +17 -0
- data/docs/PerclScript.md +17 -0
- data/docs/Play.md +23 -0
- data/docs/PlayAllOf.md +23 -0
- data/docs/PlayEarlyMedia.md +17 -0
- data/docs/PlayEarlyMediaAllOf.md +17 -0
- data/docs/QueueList.md +9 -9
- data/docs/QueueListAllOf.md +2 -2
- data/docs/QueueMember.md +6 -6
- data/docs/QueueMemberList.md +9 -9
- data/docs/QueueMemberListAllOf.md +2 -2
- data/docs/QueueRequest.md +3 -5
- data/docs/QueueResult.md +12 -12
- data/docs/QueueResultAllOf.md +8 -8
- data/docs/RecordUtterance.md +27 -0
- data/docs/RecordUtteranceAllOf.md +27 -0
- data/docs/RecordingList.md +9 -9
- data/docs/RecordingListAllOf.md +2 -2
- data/docs/RecordingResult.md +10 -10
- data/docs/RecordingResultAllOf.md +6 -6
- data/docs/Redirect.md +17 -0
- data/docs/RedirectAllOf.md +17 -0
- data/docs/RemoveFromConference.md +17 -0
- data/docs/RemoveFromConferenceAllOf.md +17 -0
- data/docs/Say.md +25 -0
- data/docs/SayAllOf.md +25 -0
- data/docs/SendDigits.md +21 -0
- data/docs/SendDigitsAllOf.md +21 -0
- data/docs/SetListen.md +19 -0
- data/docs/SetListenAllOf.md +19 -0
- data/docs/SetTalk.md +19 -0
- data/docs/SetTalkAllOf.md +19 -0
- data/docs/Sms.md +23 -0
- data/docs/SmsAllOf.md +23 -0
- data/docs/StartRecordCall.md +16 -0
- data/docs/TerminateConference.md +17 -0
- data/docs/TerminateConferenceAllOf.md +17 -0
- data/docs/UpdateCallRequest.md +2 -4
- data/docs/UpdateConferenceParticipantRequest.md +3 -5
- data/docs/UpdateConferenceRequest.md +4 -6
- data/freeclimb-2.1.0.gem +0 -0
- data/lib/freeclimb.rb +69 -2
- data/lib/freeclimb/api/default_api.rb +42 -34
- data/lib/freeclimb/api_client.rb +1 -1
- data/lib/freeclimb/models/account_request.rb +4 -14
- data/lib/freeclimb/models/add_to_conference.rb +320 -0
- data/lib/freeclimb/models/add_to_conference_all_of.rb +307 -0
- data/lib/freeclimb/models/application_request.rb +4 -14
- data/lib/freeclimb/models/buy_incoming_number_request.rb +4 -14
- data/lib/freeclimb/models/create_conference.rb +275 -0
- data/lib/freeclimb/models/create_conference_all_of.rb +262 -0
- data/lib/freeclimb/models/create_conference_request.rb +4 -14
- data/lib/freeclimb/models/dequeue.rb +209 -0
- data/lib/freeclimb/models/enqueue.rb +265 -0
- data/lib/freeclimb/models/enqueue_all_of.rb +252 -0
- data/lib/freeclimb/models/filter_logs_request.rb +4 -14
- data/lib/freeclimb/models/get_digits.rb +307 -0
- data/lib/freeclimb/models/get_digits_all_of.rb +294 -0
- data/lib/freeclimb/models/get_speech.rb +352 -0
- data/lib/freeclimb/models/get_speech_all_of.rb +339 -0
- data/lib/freeclimb/models/incoming_number_request.rb +4 -14
- data/lib/freeclimb/models/make_call_request.rb +14 -14
- data/lib/freeclimb/models/message_request.rb +1 -11
- data/lib/freeclimb/models/message_request_all_of.rb +1 -11
- 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 +330 -0
- data/lib/freeclimb/models/out_dial_all_of.rb +317 -0
- data/lib/freeclimb/models/pause.rb +225 -0
- data/lib/freeclimb/models/{dequeue_member_request.rb → pause_all_of.rb} +16 -11
- data/lib/freeclimb/models/percl_command.rb +211 -0
- data/lib/freeclimb/models/percl_script.rb +210 -0
- data/lib/freeclimb/models/play.rb +255 -0
- data/lib/freeclimb/models/play_all_of.rb +242 -0
- data/lib/freeclimb/models/play_early_media.rb +225 -0
- data/lib/freeclimb/models/play_early_media_all_of.rb +212 -0
- data/lib/freeclimb/models/queue_request.rb +4 -14
- data/lib/freeclimb/models/record_utterance.rb +275 -0
- data/lib/freeclimb/models/record_utterance_all_of.rb +262 -0
- data/lib/freeclimb/models/redirect.rb +220 -0
- data/lib/freeclimb/models/redirect_all_of.rb +207 -0
- data/lib/freeclimb/models/remove_from_conference.rb +225 -0
- data/lib/freeclimb/models/remove_from_conference_all_of.rb +212 -0
- data/lib/freeclimb/models/say.rb +265 -0
- data/lib/freeclimb/models/say_all_of.rb +252 -0
- data/lib/freeclimb/models/send_digits.rb +245 -0
- data/lib/freeclimb/models/send_digits_all_of.rb +232 -0
- data/lib/freeclimb/models/set_listen.rb +235 -0
- data/lib/freeclimb/models/set_listen_all_of.rb +222 -0
- data/lib/freeclimb/models/set_talk.rb +235 -0
- data/lib/freeclimb/models/set_talk_all_of.rb +222 -0
- data/lib/freeclimb/models/sms.rb +265 -0
- data/lib/freeclimb/models/sms_all_of.rb +252 -0
- data/lib/freeclimb/models/start_record_call.rb +209 -0
- data/lib/freeclimb/models/terminate_conference.rb +225 -0
- data/lib/freeclimb/models/terminate_conference_all_of.rb +212 -0
- data/lib/freeclimb/models/update_call_request.rb +4 -14
- data/lib/freeclimb/models/update_conference_participant_request.rb +4 -14
- data/lib/freeclimb/models/update_conference_request.rb +4 -14
- data/lib/freeclimb/version.rb +1 -1
- data/spec/api/default_api_spec.rb +9 -24
- data/spec/models/add_to_conference_spec.rb +95 -0
- data/spec/models/create_conference_spec.rb +71 -0
- data/spec/models/{dequeue_member_request_spec.rb → dequeue_spec.rb} +8 -7
- data/spec/models/enqueue_spec.rb +59 -0
- data/spec/models/get_digits_spec.rb +83 -0
- data/spec/models/get_speech_spec.rb +113 -0
- data/spec/models/out_dial_spec.rb +89 -0
- data/spec/models/pause_spec.rb +41 -0
- data/spec/models/percl_command_spec.rb +41 -0
- data/spec/models/percl_script_spec.rb +41 -0
- data/spec/models/play_early_media_spec.rb +41 -0
- data/spec/models/play_spec.rb +53 -0
- data/spec/models/record_utterance_spec.rb +71 -0
- data/spec/models/redirect_spec.rb +41 -0
- data/spec/models/remove_from_conference_spec.rb +41 -0
- data/spec/models/say_spec.rb +65 -0
- data/spec/models/send_digits_spec.rb +47 -0
- data/spec/models/set_listen_spec.rb +47 -0
- data/spec/models/set_talk_spec.rb +47 -0
- data/spec/models/sms_spec.rb +59 -0
- data/spec/models/start_record_call_spec.rb +35 -0
- data/spec/models/terminate_conference_spec.rb +41 -0
- metadata +128 -34
- data/docs/DequeueMemberRequest.md +0 -17
- data/docs/Percl.md +0 -697
- data/lib/percl/calls.rb +0 -43
- data/lib/percl/conference_participants.rb +0 -40
- data/lib/percl/conferences.rb +0 -21
- data/lib/percl/ivr.rb +0 -63
- data/lib/percl/jsonable.rb +0 -23
- data/lib/percl/percl.rb +0 -29
- data/lib/percl/queue_members.rb +0 -15
- data/lib/percl/recordings.rb +0 -15
- data/lib/percl/sms.rb +0 -11
- data/spec/percl/calls_spec.rb +0 -111
- data/spec/percl/conference_participant_spec.rb +0 -96
- data/spec/percl/conference_spec.rb +0 -46
- data/spec/percl/ivr_spec.rb +0 -155
- data/spec/percl/jsonable_spec.rb +0 -28
- data/spec/percl/percl_spec.rb +0 -31
- data/spec/percl/queue_members_spec.rb +0 -35
- data/spec/percl/recordings_spec.rb +0 -32
- data/spec/percl/sms_spec.rb +0 -29
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]
|
@@ -16,16 +16,16 @@ Name | Type | Description | Notes
|
|
16
16
|
## Code Sample
|
17
17
|
|
18
18
|
```ruby
|
19
|
-
require '
|
19
|
+
require 'freeclimb'
|
20
20
|
|
21
|
-
instance = Freeclimb::MessageResultAllOf.new(account_id:
|
22
|
-
message_id:
|
23
|
-
status:
|
24
|
-
from:
|
25
|
-
to:
|
26
|
-
text:
|
27
|
-
direction:
|
28
|
-
notification_url:
|
21
|
+
instance = Freeclimb::MessageResultAllOf.new(account_id: nil,
|
22
|
+
message_id: nil,
|
23
|
+
status: nil,
|
24
|
+
from: nil,
|
25
|
+
to: nil,
|
26
|
+
text: nil,
|
27
|
+
direction: nil,
|
28
|
+
notification_url: nil)
|
29
29
|
```
|
30
30
|
|
31
31
|
|
data/docs/MessagesList.md
CHANGED
@@ -16,16 +16,16 @@ Name | Type | Description | Notes
|
|
16
16
|
## Code Sample
|
17
17
|
|
18
18
|
```ruby
|
19
|
-
require '
|
19
|
+
require 'freeclimb'
|
20
20
|
|
21
|
-
instance = Freeclimb::MessagesList.new(total:
|
22
|
-
start:
|
23
|
-
_end:
|
24
|
-
page:
|
25
|
-
num_pages:
|
26
|
-
page_size:
|
27
|
-
next_page_uri:
|
28
|
-
messages:
|
21
|
+
instance = Freeclimb::MessagesList.new(total: nil,
|
22
|
+
start: nil,
|
23
|
+
_end: nil,
|
24
|
+
page: nil,
|
25
|
+
num_pages: nil,
|
26
|
+
page_size: nil,
|
27
|
+
next_page_uri: nil,
|
28
|
+
messages: nil)
|
29
29
|
```
|
30
30
|
|
31
31
|
|
data/docs/MessagesListAllOf.md
CHANGED
@@ -12,12 +12,12 @@ Name | Type | Description | Notes
|
|
12
12
|
## Code Sample
|
13
13
|
|
14
14
|
```ruby
|
15
|
-
require '
|
15
|
+
require 'freeclimb'
|
16
16
|
|
17
|
-
instance = Freeclimb::MutableResourceModel.new(uri:
|
18
|
-
date_created:
|
19
|
-
date_updated:
|
20
|
-
revision:
|
17
|
+
instance = Freeclimb::MutableResourceModel.new(uri: nil,
|
18
|
+
date_created: nil,
|
19
|
+
date_updated: nil,
|
20
|
+
revision: nil)
|
21
21
|
```
|
22
22
|
|
23
23
|
|
data/docs/OutDial.md
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# Freeclimb::OutDial
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**action_url** | **String** | URL to which FreeClimb sends an HTTP POST request. |
|
8
|
+
**call_connect_url** | **String** | URL to which FreeClimb makes an HTTP POST request informing the result of the OutDial. |
|
9
|
+
**calling_number** | **Float** | he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb. |
|
10
|
+
**destination** | **Float** | E.164 representation of the phone number to Call. |
|
11
|
+
**if_machine** | **String** | Specifies how FreeClimb should handle this OutDial if an answering machine answers the Call. Valid values: `redirect` invokes the ifMachineUrl for instructions. `hangup` hangs up the Call. The ifMachineUrl will not be invoked. | [optional]
|
12
|
+
**if_machine_url** | **String** | When the `ifMachine` flag is set to `redirect`, this attribute specifies a URL to which FreeClimb makes 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`. Otherwise, it should not be included. | [optional]
|
13
|
+
**send_digits** | **String** | DTMF tones to play to the outdialed Call. This is typically used to dial a number and then dial an extension. | [optional]
|
14
|
+
**status_callback_url** | **String** | When the outdialed Call leg terminates, FreeClimb sends a `callStatus` Webhook to the `statusCallbackUrl`. This is a notification only; any PerCL command returned is ignored. | [optional]
|
15
|
+
**timeout** | **Integer** | Maximum time in seconds the `OutDial` command waits for the called party to answer the Call. When a timeout occurs, FreeClimb invokes the `callConnectUrl` Webhook to report that the out-dialed Call has ended with a status of `noAnswer`. | [optional]
|
16
|
+
**privacy_mode** | **Boolean** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [optional]
|
17
|
+
|
18
|
+
## Code Sample
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'freeclimb'
|
22
|
+
|
23
|
+
instance = Freeclimb::OutDial.new(action_url: nil,
|
24
|
+
call_connect_url: nil,
|
25
|
+
calling_number: nil,
|
26
|
+
destination: nil,
|
27
|
+
if_machine: nil,
|
28
|
+
if_machine_url: nil,
|
29
|
+
send_digits: nil,
|
30
|
+
status_callback_url: nil,
|
31
|
+
timeout: nil,
|
32
|
+
privacy_mode: nil)
|
33
|
+
```
|
34
|
+
|
35
|
+
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# Freeclimb::OutDialAllOf
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**action_url** | **String** | URL to which FreeClimb sends an HTTP POST request. |
|
8
|
+
**call_connect_url** | **String** | URL to which FreeClimb makes an HTTP POST request informing the result of the OutDial. |
|
9
|
+
**calling_number** | **Float** | he caller ID to show to the called party when FreeClimb calls. This can be one of the following: The To or From number provided in the first Webhook to your webserver. Any phone number you have purchased from FreeClimb. |
|
10
|
+
**destination** | **Float** | E.164 representation of the phone number to Call. |
|
11
|
+
**if_machine** | **String** | Specifies how FreeClimb should handle this OutDial if an answering machine answers the Call. Valid values: `redirect` invokes the ifMachineUrl for instructions. `hangup` hangs up the Call. The ifMachineUrl will not be invoked. | [optional]
|
12
|
+
**if_machine_url** | **String** | When the `ifMachine` flag is set to `redirect`, this attribute specifies a URL to which FreeClimb makes 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`. Otherwise, it should not be included. | [optional]
|
13
|
+
**send_digits** | **String** | DTMF tones to play to the outdialed Call. This is typically used to dial a number and then dial an extension. | [optional]
|
14
|
+
**status_callback_url** | **String** | When the outdialed Call leg terminates, FreeClimb sends a `callStatus` Webhook to the `statusCallbackUrl`. This is a notification only; any PerCL command returned is ignored. | [optional]
|
15
|
+
**timeout** | **Integer** | Maximum time in seconds the `OutDial` command waits for the called party to answer the Call. When a timeout occurs, FreeClimb invokes the `callConnectUrl` Webhook to report that the out-dialed Call has ended with a status of `noAnswer`. | [optional]
|
16
|
+
**privacy_mode** | **Boolean** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [optional]
|
17
|
+
|
18
|
+
## Code Sample
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'freeclimb'
|
22
|
+
|
23
|
+
instance = Freeclimb::OutDialAllOf.new(action_url: nil,
|
24
|
+
call_connect_url: nil,
|
25
|
+
calling_number: nil,
|
26
|
+
destination: nil,
|
27
|
+
if_machine: nil,
|
28
|
+
if_machine_url: nil,
|
29
|
+
send_digits: nil,
|
30
|
+
status_callback_url: nil,
|
31
|
+
timeout: nil,
|
32
|
+
privacy_mode: nil)
|
33
|
+
```
|
34
|
+
|
35
|
+
|
data/docs/PaginationModel.md
CHANGED
@@ -15,15 +15,15 @@ Name | Type | Description | Notes
|
|
15
15
|
## Code Sample
|
16
16
|
|
17
17
|
```ruby
|
18
|
-
require '
|
18
|
+
require 'freeclimb'
|
19
19
|
|
20
|
-
instance = Freeclimb::PaginationModel.new(total:
|
21
|
-
start:
|
22
|
-
_end:
|
23
|
-
page:
|
24
|
-
num_pages:
|
25
|
-
page_size:
|
26
|
-
next_page_uri:
|
20
|
+
instance = Freeclimb::PaginationModel.new(total: nil,
|
21
|
+
start: nil,
|
22
|
+
_end: nil,
|
23
|
+
page: nil,
|
24
|
+
num_pages: nil,
|
25
|
+
page_size: nil,
|
26
|
+
next_page_uri: nil)
|
27
27
|
```
|
28
28
|
|
29
29
|
|
data/docs/Pause.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# Freeclimb::Pause
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**length** | **Integer** | Length in milliseconds. FreeClimb will wait silently before continuing on. |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'freeclimb'
|
13
|
+
|
14
|
+
instance = Freeclimb::Pause.new(length: nil)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/PauseAllOf.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# Freeclimb::PauseAllOf
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**length** | **Integer** | Length in milliseconds. FreeClimb will wait silently before continuing on. |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'freeclimb'
|
13
|
+
|
14
|
+
instance = Freeclimb::PauseAllOf.new(length: nil)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# Freeclimb::PerclCommand
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**command** | **String** | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'freeclimb'
|
13
|
+
|
14
|
+
instance = Freeclimb::PerclCommand.new(command: nil)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/PerclScript.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# Freeclimb::PerclScript
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**commands** | [**Array<PerclCommand>**](PerclCommand.md) | A JSON array of PerCL commands | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'freeclimb'
|
13
|
+
|
14
|
+
instance = Freeclimb::PerclScript.new(commands: nil)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/Play.md
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# Freeclimb::Play
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**file** | **String** | RL of the audio file to be played to the caller. The URL can be the `recordingUrl` generated from the `RecordUtterance` or `StartRecordCall` PerCL commands. |
|
8
|
+
**loop** | **Integer** | Number of times the audio file is played. Specifying '0' causes the Play action to loop until the Call is hung up. | [optional]
|
9
|
+
**conference_id** | **String** | ID of the Conference the audio should be rendered to. If this is not specified, the audio is by default rendered to the caller associated with the call leg that corresponds to the current PerCL execution context. The call leg associated with this command must be in the specified Conference or the command will return an error. | [optional]
|
10
|
+
**privacy_mode** | **Boolean** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'freeclimb'
|
16
|
+
|
17
|
+
instance = Freeclimb::Play.new(file: nil,
|
18
|
+
loop: nil,
|
19
|
+
conference_id: nil,
|
20
|
+
privacy_mode: nil)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
data/docs/PlayAllOf.md
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# Freeclimb::PlayAllOf
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**file** | **String** | RL of the audio file to be played to the caller. The URL can be the `recordingUrl` generated from the `RecordUtterance` or `StartRecordCall` PerCL commands. |
|
8
|
+
**loop** | **Integer** | Number of times the audio file is played. Specifying '0' causes the Play action to loop until the Call is hung up. | [optional]
|
9
|
+
**conference_id** | **String** | ID of the Conference the audio should be rendered to. If this is not specified, the audio is by default rendered to the caller associated with the call leg that corresponds to the current PerCL execution context. The call leg associated with this command must be in the specified Conference or the command will return an error. | [optional]
|
10
|
+
**privacy_mode** | **Boolean** | Parameter `privacyMode` will not log the `text` as required by PCI compliance. | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'freeclimb'
|
16
|
+
|
17
|
+
instance = Freeclimb::PlayAllOf.new(file: nil,
|
18
|
+
loop: nil,
|
19
|
+
conference_id: nil,
|
20
|
+
privacy_mode: nil)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# Freeclimb::PlayEarlyMedia
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**file** | **String** | RL of the audio file to be played to the caller. The URL can be the `recordingUrl` generated from the `RecordUtterance` or `StartRecordCall` PerCL commands or any accessible URL. FreeClimb will respect Cache-Control headers for this file. Use these to limit repeated requests for unchanged audio. If no Cache-Control header is provided, the file will be cached for seven days by default. |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'freeclimb'
|
13
|
+
|
14
|
+
instance = Freeclimb::PlayEarlyMedia.new(file: nil)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# Freeclimb::PlayEarlyMediaAllOf
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**file** | **String** | RL of the audio file to be played to the caller. The URL can be the `recordingUrl` generated from the `RecordUtterance` or `StartRecordCall` PerCL commands or any accessible URL. FreeClimb will respect Cache-Control headers for this file. Use these to limit repeated requests for unchanged audio. If no Cache-Control header is provided, the file will be cached for seven days by default. |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'freeclimb'
|
13
|
+
|
14
|
+
instance = Freeclimb::PlayEarlyMediaAllOf.new(file: nil)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/QueueList.md
CHANGED
@@ -16,16 +16,16 @@ Name | Type | Description | Notes
|
|
16
16
|
## Code Sample
|
17
17
|
|
18
18
|
```ruby
|
19
|
-
require '
|
19
|
+
require 'freeclimb'
|
20
20
|
|
21
|
-
instance = Freeclimb::QueueList.new(total:
|
22
|
-
start:
|
23
|
-
_end:
|
24
|
-
page:
|
25
|
-
num_pages:
|
26
|
-
page_size:
|
27
|
-
next_page_uri:
|
28
|
-
queues:
|
21
|
+
instance = Freeclimb::QueueList.new(total: nil,
|
22
|
+
start: nil,
|
23
|
+
_end: nil,
|
24
|
+
page: nil,
|
25
|
+
num_pages: nil,
|
26
|
+
page_size: nil,
|
27
|
+
next_page_uri: nil,
|
28
|
+
queues: nil)
|
29
29
|
```
|
30
30
|
|
31
31
|
|
data/docs/QueueListAllOf.md
CHANGED
data/docs/QueueMember.md
CHANGED
@@ -13,13 +13,13 @@ Name | Type | Description | Notes
|
|
13
13
|
## Code Sample
|
14
14
|
|
15
15
|
```ruby
|
16
|
-
require '
|
16
|
+
require 'freeclimb'
|
17
17
|
|
18
|
-
instance = Freeclimb::QueueMember.new(uri:
|
19
|
-
call_id:
|
20
|
-
wait_time:
|
21
|
-
position:
|
22
|
-
date_enqueued:
|
18
|
+
instance = Freeclimb::QueueMember.new(uri: nil,
|
19
|
+
call_id: nil,
|
20
|
+
wait_time: nil,
|
21
|
+
position: nil,
|
22
|
+
date_enqueued: nil)
|
23
23
|
```
|
24
24
|
|
25
25
|
|
data/docs/QueueMemberList.md
CHANGED
@@ -16,16 +16,16 @@ Name | Type | Description | Notes
|
|
16
16
|
## Code Sample
|
17
17
|
|
18
18
|
```ruby
|
19
|
-
require '
|
19
|
+
require 'freeclimb'
|
20
20
|
|
21
|
-
instance = Freeclimb::QueueMemberList.new(total:
|
22
|
-
start:
|
23
|
-
_end:
|
24
|
-
page:
|
25
|
-
num_pages:
|
26
|
-
page_size:
|
27
|
-
next_page_uri:
|
28
|
-
queue_members:
|
21
|
+
instance = Freeclimb::QueueMemberList.new(total: nil,
|
22
|
+
start: nil,
|
23
|
+
_end: nil,
|
24
|
+
page: nil,
|
25
|
+
num_pages: nil,
|
26
|
+
page_size: nil,
|
27
|
+
next_page_uri: nil,
|
28
|
+
queue_members: nil)
|
29
29
|
```
|
30
30
|
|
31
31
|
|
@@ -9,9 +9,9 @@ Name | Type | Description | Notes
|
|
9
9
|
## Code Sample
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'freeclimb'
|
13
13
|
|
14
|
-
instance = Freeclimb::QueueMemberListAllOf.new(queue_members:
|
14
|
+
instance = Freeclimb::QueueMemberListAllOf.new(queue_members: nil)
|
15
15
|
```
|
16
16
|
|
17
17
|
|