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/ConferenceResult.md
CHANGED
@@ -22,22 +22,22 @@ Name | Type | Description | Notes
|
|
22
22
|
## Code Sample
|
23
23
|
|
24
24
|
```ruby
|
25
|
-
require '
|
25
|
+
require 'freeclimb'
|
26
26
|
|
27
|
-
instance = Freeclimb::ConferenceResult.new(uri:
|
28
|
-
date_created:
|
29
|
-
date_updated:
|
30
|
-
revision:
|
31
|
-
conference_id:
|
32
|
-
account_id:
|
33
|
-
_alias:
|
34
|
-
play_beep:
|
35
|
-
record:
|
36
|
-
status:
|
37
|
-
wait_url:
|
38
|
-
action_url:
|
39
|
-
status_callback_url:
|
40
|
-
subresource_uris:
|
27
|
+
instance = Freeclimb::ConferenceResult.new(uri: nil,
|
28
|
+
date_created: nil,
|
29
|
+
date_updated: nil,
|
30
|
+
revision: nil,
|
31
|
+
conference_id: nil,
|
32
|
+
account_id: nil,
|
33
|
+
_alias: nil,
|
34
|
+
play_beep: nil,
|
35
|
+
record: nil,
|
36
|
+
status: nil,
|
37
|
+
wait_url: nil,
|
38
|
+
action_url: nil,
|
39
|
+
status_callback_url: nil,
|
40
|
+
subresource_uris: nil)
|
41
41
|
```
|
42
42
|
|
43
43
|
|
@@ -18,18 +18,18 @@ Name | Type | Description | Notes
|
|
18
18
|
## Code Sample
|
19
19
|
|
20
20
|
```ruby
|
21
|
-
require '
|
21
|
+
require 'freeclimb'
|
22
22
|
|
23
|
-
instance = Freeclimb::ConferenceResultAllOf.new(conference_id:
|
24
|
-
account_id:
|
25
|
-
_alias:
|
26
|
-
play_beep:
|
27
|
-
record:
|
28
|
-
status:
|
29
|
-
wait_url:
|
30
|
-
action_url:
|
31
|
-
status_callback_url:
|
32
|
-
subresource_uris:
|
23
|
+
instance = Freeclimb::ConferenceResultAllOf.new(conference_id: nil,
|
24
|
+
account_id: nil,
|
25
|
+
_alias: nil,
|
26
|
+
play_beep: nil,
|
27
|
+
record: nil,
|
28
|
+
status: nil,
|
29
|
+
wait_url: nil,
|
30
|
+
action_url: nil,
|
31
|
+
status_callback_url: nil,
|
32
|
+
subresource_uris: nil)
|
33
33
|
```
|
34
34
|
|
35
35
|
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Freeclimb::CreateConference
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**action_url** | **String** | This URL is invoked once the Conference is successfully created. Actions on the Conference, such as adding Participants, can be performed via the PerCL script returned in the response. |
|
8
|
+
**_alias** | **Boolean** | Descriptive name for the Conference. | [optional]
|
9
|
+
**play_beep** | **String** | Indicates whether to play a beep when a Participant enters or leaves the Conference. either `always`, `never`, `entryOnly`, or `exitOnly`. Leaving this unset will make conference default to `always` | [optional]
|
10
|
+
**record** | **Boolean** | When set to `true`, the entire Conference is recorded. The `statusCallbackUrl` of the Conference will receive a `conferenceRecordingEnded` Webhook when the Conference transitions from the `inProgress` to empty state. | [optional]
|
11
|
+
**status_callback_url** | **Boolean** | This URL is invoked when the status of the Conference changes or when a recording of the Conference has become available. | [optional]
|
12
|
+
**wait_url** | **String** | If specified, this URL provides the custom hold music for the Conference when it is in the populated state. This attribute is always fetched using HTTP GET and is fetched just once – when the Conference is created. The URL must be an audio file that is reachable and readable by FreeClimb. | [optional]
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'freeclimb'
|
18
|
+
|
19
|
+
instance = Freeclimb::CreateConference.new(action_url: nil,
|
20
|
+
_alias: nil,
|
21
|
+
play_beep: nil,
|
22
|
+
record: nil,
|
23
|
+
status_callback_url: nil,
|
24
|
+
wait_url: nil)
|
25
|
+
```
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Freeclimb::CreateConferenceAllOf
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**action_url** | **String** | This URL is invoked once the Conference is successfully created. Actions on the Conference, such as adding Participants, can be performed via the PerCL script returned in the response. |
|
8
|
+
**_alias** | **Boolean** | Descriptive name for the Conference. | [optional]
|
9
|
+
**play_beep** | **String** | Indicates whether to play a beep when a Participant enters or leaves the Conference. either `always`, `never`, `entryOnly`, or `exitOnly`. Leaving this unset will make conference default to `always` | [optional]
|
10
|
+
**record** | **Boolean** | When set to `true`, the entire Conference is recorded. The `statusCallbackUrl` of the Conference will receive a `conferenceRecordingEnded` Webhook when the Conference transitions from the `inProgress` to empty state. | [optional]
|
11
|
+
**status_callback_url** | **Boolean** | This URL is invoked when the status of the Conference changes or when a recording of the Conference has become available. | [optional]
|
12
|
+
**wait_url** | **String** | If specified, this URL provides the custom hold music for the Conference when it is in the populated state. This attribute is always fetched using HTTP GET and is fetched just once – when the Conference is created. The URL must be an audio file that is reachable and readable by FreeClimb. | [optional]
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'freeclimb'
|
18
|
+
|
19
|
+
instance = Freeclimb::CreateConferenceAllOf.new(action_url: nil,
|
20
|
+
_alias: nil,
|
21
|
+
play_beep: nil,
|
22
|
+
record: nil,
|
23
|
+
status_callback_url: nil,
|
24
|
+
wait_url: nil)
|
25
|
+
```
|
26
|
+
|
27
|
+
|
@@ -9,19 +9,17 @@ Name | Type | Description | Notes
|
|
9
9
|
**record** | **Boolean** | Setting to `true` 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 — 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 \"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: <requestId>). | [optional]
|
13
12
|
|
14
13
|
## Code Sample
|
15
14
|
|
16
15
|
```ruby
|
17
|
-
require '
|
16
|
+
require 'freeclimb'
|
18
17
|
|
19
|
-
instance = Freeclimb::CreateConferenceRequest.new(_alias:
|
20
|
-
play_beep:
|
21
|
-
record:
|
22
|
-
wait_url:
|
23
|
-
status_callback_url:
|
24
|
-
request_id: null)
|
18
|
+
instance = Freeclimb::CreateConferenceRequest.new(_alias: nil,
|
19
|
+
play_beep: nil,
|
20
|
+
record: nil,
|
21
|
+
wait_url: nil,
|
22
|
+
status_callback_url: nil)
|
25
23
|
```
|
26
24
|
|
27
25
|
|
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
|
|
@@ -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
|
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
|
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**:
|
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
|
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
|
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**:
|
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(
|
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
|
-
|
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(
|
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 |
|
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(
|
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
|
-
|
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(
|
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 |
|
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,
|
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
|
-
|
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,
|
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 |
|
2200
|
+
**update_call_request** | [**UpdateCallRequest**](UpdateCallRequest.md)| Call details to update |
|
2217
2201
|
|
2218
2202
|
### Return type
|
2219
2203
|
|
data/docs/Dequeue.md
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# Freeclimb::Dequeue
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
|
8
|
+
## Code Sample
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'freeclimb'
|
12
|
+
|
13
|
+
instance = Freeclimb::Dequeue.new()
|
14
|
+
```
|
15
|
+
|
16
|
+
|
data/docs/Enqueue.md
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# Freeclimb::Enqueue
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**action_url** | **String** | A request is made to this URL when the Call leaves the Queue, which can occur if enqueue of the Call fails or when the call is dequeued via the `Dequeue` command, the REST API (POST to Queue Member resource), or the caller hangs up. |
|
8
|
+
**notification_url** | **String** | URL to be invoked when the call enters the queue. The request to the URL contains the standard request parameters.This is a notification only; any PerCL returned will be ignored. | [optional]
|
9
|
+
**queue_id** | **String** | ID of the Queue to which to add the Call. If the Queue does not exist, it will be created. The ID must start with QU followed by 40 hex characters. |
|
10
|
+
**wait_url** | **String** | A request is made to this URL when the Call leaves the Queue, which can occur if enqueue of the Call fails or when the call is dequeued via the `Dequeue` command, the REST API (POST to Queue Member resource), or the caller hangs up. |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'freeclimb'
|
16
|
+
|
17
|
+
instance = Freeclimb::Enqueue.new(action_url: nil,
|
18
|
+
notification_url: nil,
|
19
|
+
queue_id: nil,
|
20
|
+
wait_url: nil)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Freeclimb::EnqueueAllOf
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**action_url** | **String** | A request is made to this URL when the Call leaves the Queue, which can occur if enqueue of the Call fails or when the call is dequeued via the `Dequeue` command, the REST API (POST to Queue Member resource), or the caller hangs up. |
|
8
|
+
**notification_url** | **String** | URL to be invoked when the call enters the queue. The request to the URL contains the standard request parameters.This is a notification only; any PerCL returned will be ignored. | [optional]
|
9
|
+
**queue_id** | **String** | ID of the Queue to which to add the Call. If the Queue does not exist, it will be created. The ID must start with QU followed by 40 hex characters. |
|
10
|
+
**wait_url** | **String** | A request is made to this URL when the Call leaves the Queue, which can occur if enqueue of the Call fails or when the call is dequeued via the `Dequeue` command, the REST API (POST to Queue Member resource), or the caller hangs up. |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'freeclimb'
|
16
|
+
|
17
|
+
instance = Freeclimb::EnqueueAllOf.new(action_url: nil,
|
18
|
+
notification_url: nil,
|
19
|
+
queue_id: nil,
|
20
|
+
wait_url: nil)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
data/docs/FilterLogsRequest.md
CHANGED
@@ -5,15 +5,13 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pql** | **String** | The filter query for retrieving logs. See **Performance Query Language** below. |
|
8
|
-
**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: <requestId>). | [optional]
|
9
8
|
|
10
9
|
## Code Sample
|
11
10
|
|
12
11
|
```ruby
|
13
|
-
require '
|
12
|
+
require 'freeclimb'
|
14
13
|
|
15
|
-
instance = Freeclimb::FilterLogsRequest.new(pql:
|
16
|
-
request_id: null)
|
14
|
+
instance = Freeclimb::FilterLogsRequest.new(pql: nil)
|
17
15
|
```
|
18
16
|
|
19
17
|
|
data/docs/GetDigits.md
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
# Freeclimb::GetDigits
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**action_url** | **String** | When the Caller has finished entering digits, FreeClimb will make an HTTP POST request to this URL. A PerCL response is expected to continue handling the Call. Make sure to keep “http://“ in the URL. |
|
8
|
+
**digit_timeout_ms** | **Integer** | Maximum time in milliseconds that FreeClimb will wait for the Caller to press any digit after the last digit entered, before making a determination that a `timeout` has occurred and moving on to make the request to the actionUrl to submit the results of the `GetDigits` command. This timeout interval begins and resets after each digit entered. | [optional]
|
9
|
+
**finish_on_key** | **String** | Digit that causes the input sequence to be deemed complete. This attribute defers to the `timeout` attribute – so, if a `timeout` occurs, then the command terminates regardless of the value of `finishOnKey`. | [optional]
|
10
|
+
**flush_buffer** | **Boolean** | If set to true, the FreeClimb platform starts with an empty DTMF buffer to store the digits entered by the caller. If set to false, FreeClimb will append the user inputs to the end of the existing digits buffer and will return digits from the start of the digits buffer. | [optional]
|
11
|
+
**initial_timeout_ms** | **String** | Maximum time in milliseconds that FreeClimb will wait for the Caller to press the first digit before making a determination that a `timeout` has occurred and moving on to make the request to the `actionUrl` to submit the results of the `GetDigits` command. This timeout interval begins when all nested commands have been fully executed. | [optional]
|
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
|
+
**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
|
+
**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]
|
16
|
+
|
17
|
+
## Code Sample
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'freeclimb'
|
21
|
+
|
22
|
+
instance = Freeclimb::GetDigits.new(action_url: nil,
|
23
|
+
digit_timeout_ms: nil,
|
24
|
+
finish_on_key: nil,
|
25
|
+
flush_buffer: nil,
|
26
|
+
initial_timeout_ms: nil,
|
27
|
+
max_digits: nil,
|
28
|
+
min_digits: nil,
|
29
|
+
prompts: nil,
|
30
|
+
privacy_mode: nil)
|
31
|
+
```
|
32
|
+
|
33
|
+
|