freeclimb 3.0.2 → 4.0.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 +22 -0
- data/Gemfile +4 -1
- data/Gemfile.lock +33 -19
- data/README.md +40 -35
- data/docs/AccountRequest.md +9 -8
- data/docs/AccountResult.md +27 -26
- data/docs/AccountResultAllOf.md +19 -18
- data/docs/AddToConference.md +25 -24
- data/docs/AddToConferenceAllOf.md +25 -24
- data/docs/ApplicationList.md +21 -20
- data/docs/ApplicationListAllOf.md +7 -6
- data/docs/ApplicationRequest.md +19 -18
- data/docs/ApplicationResult.md +31 -30
- data/docs/ApplicationResultAllOf.md +23 -22
- data/docs/AvailableNumber.md +19 -14
- data/docs/AvailableNumberList.md +21 -20
- data/docs/AvailableNumberListAllOf.md +7 -6
- data/docs/BuyIncomingNumberRequest.md +11 -10
- data/docs/CallList.md +21 -20
- data/docs/CallListAllOf.md +7 -6
- data/docs/CallResult.md +43 -42
- data/docs/CallResultAllOf.md +35 -34
- data/docs/Capabilities.md +26 -0
- data/docs/ConferenceList.md +21 -20
- data/docs/ConferenceListAllOf.md +7 -6
- data/docs/ConferenceParticipantList.md +21 -20
- data/docs/ConferenceParticipantListAllOf.md +7 -6
- data/docs/ConferenceParticipantResult.md +25 -24
- data/docs/ConferenceParticipantResultAllOf.md +17 -16
- data/docs/ConferenceResult.md +33 -32
- data/docs/ConferenceResultAllOf.md +25 -24
- data/docs/CreateConference.md +17 -16
- data/docs/CreateConferenceAllOf.md +17 -16
- data/docs/CreateConferenceRequest.md +15 -14
- data/docs/DefaultApi.md +1625 -647
- data/docs/Dequeue.md +3 -4
- data/docs/Enqueue.md +13 -12
- data/docs/EnqueueAllOf.md +13 -12
- data/docs/FilterLogsRequest.md +7 -6
- data/docs/GetDigits.md +23 -22
- data/docs/GetDigitsAllOf.md +23 -22
- data/docs/GetSpeech.md +31 -30
- data/docs/GetSpeechAllOf.md +31 -30
- data/docs/Hangup.md +7 -6
- data/docs/HangupAllOf.md +7 -6
- data/docs/IncomingNumberList.md +21 -20
- data/docs/IncomingNumberListAllOf.md +7 -6
- data/docs/IncomingNumberRequest.md +9 -8
- data/docs/IncomingNumberResult.md +35 -30
- data/docs/IncomingNumberResultAllOf.md +27 -22
- data/docs/LogList.md +21 -20
- data/docs/LogListAllOf.md +7 -6
- data/docs/LogResult.md +19 -18
- data/docs/MakeCallRequest.md +25 -24
- data/docs/MessageRequest.md +23 -22
- data/docs/MessageRequestAllOf.md +15 -14
- data/docs/MessageResult.md +29 -28
- data/docs/MessageResultAllOf.md +21 -20
- data/docs/MessagesList.md +21 -20
- data/docs/MessagesListAllOf.md +7 -6
- data/docs/MutableResourceModel.md +13 -12
- data/docs/OutDial.md +25 -24
- data/docs/OutDialAllOf.md +25 -24
- data/docs/PaginationModel.md +19 -18
- data/docs/Park.md +22 -0
- data/docs/ParkAllOf.md +22 -0
- data/docs/Pause.md +7 -6
- data/docs/PauseAllOf.md +7 -6
- data/docs/PerclCommand.md +7 -6
- data/docs/PerclScript.md +7 -6
- data/docs/Play.md +13 -12
- data/docs/PlayAllOf.md +13 -12
- data/docs/PlayEarlyMedia.md +7 -6
- data/docs/PlayEarlyMediaAllOf.md +7 -6
- data/docs/QueueList.md +21 -20
- data/docs/QueueListAllOf.md +7 -6
- data/docs/QueueMember.md +15 -14
- data/docs/QueueMemberList.md +21 -20
- data/docs/QueueMemberListAllOf.md +7 -6
- data/docs/QueueRequest.md +9 -8
- data/docs/QueueResult.md +27 -26
- data/docs/QueueResultAllOf.md +19 -18
- data/docs/RecordUtterance.md +19 -18
- data/docs/RecordUtteranceAllOf.md +19 -18
- data/docs/RecordingList.md +21 -20
- data/docs/RecordingListAllOf.md +7 -6
- data/docs/RecordingResult.md +23 -22
- data/docs/RecordingResultAllOf.md +15 -14
- data/docs/Redirect.md +7 -6
- data/docs/RedirectAllOf.md +7 -6
- data/docs/Reject.md +7 -6
- data/docs/RejectAllOf.md +7 -6
- data/docs/RemoveFromConference.md +7 -6
- data/docs/RemoveFromConferenceAllOf.md +7 -6
- data/docs/Say.md +15 -14
- data/docs/SayAllOf.md +15 -14
- data/docs/SendDigits.md +11 -10
- data/docs/SendDigitsAllOf.md +11 -10
- data/docs/SetListen.md +9 -8
- data/docs/SetListenAllOf.md +9 -8
- data/docs/SetTalk.md +9 -8
- data/docs/SetTalkAllOf.md +9 -8
- data/docs/Sms.md +13 -12
- data/docs/SmsAllOf.md +13 -12
- data/docs/StartRecordCall.md +3 -4
- data/docs/TerminateConference.md +7 -6
- data/docs/TerminateConferenceAllOf.md +7 -6
- data/docs/Unpark.md +15 -0
- data/docs/UpdateCallRequest.md +7 -6
- data/docs/UpdateConferenceParticipantRequest.md +9 -8
- data/docs/UpdateConferenceRequest.md +11 -10
- data/freeclimb.gemspec +3 -4
- data/lib/freeclimb/api/default_api.rb +434 -278
- data/lib/freeclimb/api_client.rb +55 -51
- data/lib/freeclimb/api_error.rb +2 -2
- data/lib/freeclimb/configuration.rb +41 -11
- data/lib/freeclimb/models/account_request.rb +20 -8
- data/lib/freeclimb/models/account_result.rb +39 -8
- data/lib/freeclimb/models/account_result_all_of.rb +39 -8
- data/lib/freeclimb/models/add_to_conference.rb +21 -8
- data/lib/freeclimb/models/add_to_conference_all_of.rb +20 -8
- data/lib/freeclimb/models/application_list.rb +28 -8
- data/lib/freeclimb/models/application_list_all_of.rb +21 -8
- data/lib/freeclimb/models/application_request.rb +20 -8
- data/lib/freeclimb/models/application_result.rb +29 -8
- data/lib/freeclimb/models/application_result_all_of.rb +29 -8
- data/lib/freeclimb/models/available_number.rb +46 -9
- data/lib/freeclimb/models/available_number_list.rb +28 -8
- data/lib/freeclimb/models/available_number_list_all_of.rb +21 -8
- data/lib/freeclimb/models/buy_incoming_number_request.rb +20 -8
- data/lib/freeclimb/models/call_list.rb +28 -8
- data/lib/freeclimb/models/call_list_all_of.rb +21 -8
- data/lib/freeclimb/models/call_result.rb +35 -8
- data/lib/freeclimb/models/call_result_all_of.rb +35 -8
- data/lib/freeclimb/models/capabilities.rb +265 -0
- data/lib/freeclimb/models/conference_list.rb +28 -8
- data/lib/freeclimb/models/conference_list_all_of.rb +21 -8
- data/lib/freeclimb/models/conference_participant_list.rb +28 -8
- data/lib/freeclimb/models/conference_participant_list_all_of.rb +21 -8
- data/lib/freeclimb/models/conference_participant_result.rb +26 -8
- data/lib/freeclimb/models/conference_participant_result_all_of.rb +26 -8
- data/lib/freeclimb/models/conference_result.rb +30 -8
- data/lib/freeclimb/models/conference_result_all_of.rb +30 -8
- data/lib/freeclimb/models/create_conference.rb +21 -8
- data/lib/freeclimb/models/create_conference_all_of.rb +20 -8
- data/lib/freeclimb/models/create_conference_request.rb +20 -8
- data/lib/freeclimb/models/dequeue.rb +21 -8
- data/lib/freeclimb/models/enqueue.rb +21 -8
- data/lib/freeclimb/models/enqueue_all_of.rb +20 -8
- data/lib/freeclimb/models/filter_logs_request.rb +20 -8
- data/lib/freeclimb/models/get_digits.rb +21 -8
- data/lib/freeclimb/models/get_digits_all_of.rb +20 -8
- data/lib/freeclimb/models/get_speech.rb +21 -8
- data/lib/freeclimb/models/get_speech_all_of.rb +20 -8
- data/lib/freeclimb/models/hangup.rb +21 -8
- data/lib/freeclimb/models/hangup_all_of.rb +20 -8
- data/lib/freeclimb/models/incoming_number_list.rb +28 -8
- data/lib/freeclimb/models/incoming_number_list_all_of.rb +21 -8
- data/lib/freeclimb/models/incoming_number_request.rb +20 -8
- data/lib/freeclimb/models/incoming_number_result.rb +50 -9
- data/lib/freeclimb/models/incoming_number_result_all_of.rb +50 -9
- data/lib/freeclimb/models/log_list.rb +28 -8
- data/lib/freeclimb/models/log_list_all_of.rb +21 -8
- data/lib/freeclimb/models/log_result.rb +27 -8
- data/lib/freeclimb/models/make_call_request.rb +22 -8
- data/lib/freeclimb/models/message_request.rb +20 -8
- data/lib/freeclimb/models/message_request_all_of.rb +20 -8
- data/lib/freeclimb/models/message_result.rb +28 -8
- data/lib/freeclimb/models/message_result_all_of.rb +28 -8
- data/lib/freeclimb/models/messages_list.rb +28 -8
- data/lib/freeclimb/models/messages_list_all_of.rb +21 -8
- data/lib/freeclimb/models/mutable_resource_model.rb +20 -8
- data/lib/freeclimb/models/out_dial.rb +21 -8
- data/lib/freeclimb/models/out_dial_all_of.rb +20 -8
- data/lib/freeclimb/models/pagination_model.rb +27 -8
- data/lib/freeclimb/models/park.rb +263 -0
- data/lib/freeclimb/models/park_all_of.rb +249 -0
- data/lib/freeclimb/models/pause.rb +21 -8
- data/lib/freeclimb/models/pause_all_of.rb +20 -8
- data/lib/freeclimb/models/percl_command.rb +38 -8
- data/lib/freeclimb/models/percl_script.rb +24 -8
- data/lib/freeclimb/models/play.rb +21 -8
- data/lib/freeclimb/models/play_all_of.rb +20 -8
- data/lib/freeclimb/models/play_early_media.rb +21 -8
- data/lib/freeclimb/models/play_early_media_all_of.rb +20 -8
- data/lib/freeclimb/models/queue_list.rb +28 -8
- data/lib/freeclimb/models/queue_list_all_of.rb +21 -8
- data/lib/freeclimb/models/queue_member.rb +25 -8
- data/lib/freeclimb/models/queue_member_list.rb +28 -8
- data/lib/freeclimb/models/queue_member_list_all_of.rb +21 -8
- data/lib/freeclimb/models/queue_request.rb +22 -8
- data/lib/freeclimb/models/queue_result.rb +27 -8
- data/lib/freeclimb/models/queue_result_all_of.rb +27 -8
- data/lib/freeclimb/models/record_utterance.rb +21 -8
- data/lib/freeclimb/models/record_utterance_all_of.rb +20 -8
- data/lib/freeclimb/models/recording_list.rb +28 -8
- data/lib/freeclimb/models/recording_list_all_of.rb +21 -8
- data/lib/freeclimb/models/recording_result.rb +25 -8
- data/lib/freeclimb/models/recording_result_all_of.rb +25 -8
- data/lib/freeclimb/models/redirect.rb +21 -8
- data/lib/freeclimb/models/redirect_all_of.rb +20 -8
- data/lib/freeclimb/models/reject.rb +21 -8
- data/lib/freeclimb/models/reject_all_of.rb +20 -8
- data/lib/freeclimb/models/remove_from_conference.rb +21 -8
- data/lib/freeclimb/models/remove_from_conference_all_of.rb +20 -8
- data/lib/freeclimb/models/say.rb +23 -8
- data/lib/freeclimb/models/say_all_of.rb +22 -8
- data/lib/freeclimb/models/send_digits.rb +21 -8
- data/lib/freeclimb/models/send_digits_all_of.rb +20 -8
- data/lib/freeclimb/models/set_listen.rb +21 -8
- data/lib/freeclimb/models/set_listen_all_of.rb +20 -8
- data/lib/freeclimb/models/set_talk.rb +21 -8
- data/lib/freeclimb/models/set_talk_all_of.rb +20 -8
- data/lib/freeclimb/models/sms.rb +21 -8
- data/lib/freeclimb/models/sms_all_of.rb +20 -8
- data/lib/freeclimb/models/start_record_call.rb +21 -8
- data/lib/freeclimb/models/terminate_conference.rb +21 -8
- data/lib/freeclimb/models/terminate_conference_all_of.rb +20 -8
- data/lib/freeclimb/models/unpark.rb +222 -0
- data/lib/freeclimb/models/update_call_request.rb +20 -8
- data/lib/freeclimb/models/update_conference_participant_request.rb +20 -8
- data/lib/freeclimb/models/update_conference_request.rb +20 -8
- data/lib/freeclimb/version.rb +3 -3
- data/lib/freeclimb.rb +28 -52
- data/spec/api/default_api_spec.rb +1004 -21
- data/spec/api_client_spec.rb +5 -5
- data/spec/configuration_spec.rb +10 -10
- data/spec/factories.rb +80 -0
- data/spec/models/account_request_spec.rb +5 -12
- data/spec/models/account_result_spec.rb +10 -13
- data/spec/models/add_to_conference_spec.rb +5 -12
- data/spec/models/application_list_spec.rb +5 -12
- data/spec/models/application_request_spec.rb +5 -12
- data/spec/models/application_result_spec.rb +5 -12
- data/spec/models/available_number_list_spec.rb +5 -12
- data/spec/models/available_number_spec.rb +11 -12
- data/spec/models/buy_incoming_number_request_spec.rb +5 -12
- data/spec/models/call_list_spec.rb +5 -12
- data/spec/models/call_result_spec.rb +6 -13
- data/spec/models/{say_all_of_spec.rb → capabilities_spec.rb} +13 -20
- data/spec/models/conference_list_spec.rb +5 -12
- data/spec/models/conference_participant_list_spec.rb +5 -12
- data/spec/models/conference_participant_result_spec.rb +5 -12
- data/spec/models/conference_result_spec.rb +7 -14
- data/spec/models/create_conference_request_spec.rb +6 -13
- data/spec/models/create_conference_spec.rb +5 -12
- data/spec/models/dequeue_spec.rb +5 -12
- data/spec/models/enqueue_spec.rb +5 -12
- data/spec/models/filter_logs_request_spec.rb +5 -12
- data/spec/models/get_digits_spec.rb +5 -12
- data/spec/models/get_speech_spec.rb +5 -12
- data/spec/models/hangup_spec.rb +5 -12
- data/spec/models/incoming_number_list_spec.rb +5 -12
- data/spec/models/incoming_number_request_spec.rb +5 -12
- data/spec/models/incoming_number_result_spec.rb +11 -12
- data/spec/models/log_list_spec.rb +5 -12
- data/spec/models/log_result_spec.rb +6 -13
- data/spec/models/make_call_request_spec.rb +5 -12
- data/spec/models/message_request_spec.rb +5 -12
- data/spec/models/message_result_spec.rb +6 -13
- data/spec/models/messages_list_spec.rb +5 -12
- data/spec/models/mutable_resource_model_spec.rb +5 -12
- data/spec/models/out_dial_spec.rb +5 -12
- data/spec/models/pagination_model_spec.rb +5 -12
- data/spec/models/{enqueue_all_of_spec.rb → park_spec.rb} +11 -24
- data/spec/models/pause_spec.rb +5 -12
- data/spec/models/percl_command_spec.rb +5 -12
- data/spec/models/percl_script_spec.rb +5 -12
- data/spec/models/play_early_media_spec.rb +5 -12
- data/spec/models/play_spec.rb +5 -12
- data/spec/models/queue_list_spec.rb +5 -12
- data/spec/models/queue_member_list_spec.rb +5 -12
- data/spec/models/queue_member_spec.rb +5 -12
- data/spec/models/queue_request_spec.rb +5 -12
- data/spec/models/queue_result_spec.rb +5 -12
- data/spec/models/record_utterance_spec.rb +5 -12
- data/spec/models/recording_list_spec.rb +5 -12
- data/spec/models/recording_result_spec.rb +5 -12
- data/spec/models/redirect_spec.rb +5 -12
- data/spec/models/reject_spec.rb +5 -12
- data/spec/models/remove_from_conference_spec.rb +5 -12
- data/spec/models/say_spec.rb +5 -12
- data/spec/models/send_digits_spec.rb +5 -12
- data/spec/models/set_listen_spec.rb +5 -12
- data/spec/models/set_talk_spec.rb +5 -12
- data/spec/models/sms_spec.rb +5 -12
- data/spec/models/start_record_call_spec.rb +5 -12
- data/spec/models/terminate_conference_spec.rb +5 -12
- data/spec/models/{pause_all_of_spec.rb → unpark_spec.rb} +8 -21
- data/spec/models/update_call_request_spec.rb +6 -13
- data/spec/models/update_conference_participant_request_spec.rb +5 -12
- data/spec/models/update_conference_request_spec.rb +6 -13
- data/spec/quickstart_spec.rb +10 -0
- data/spec/spec_helper.rb +61 -2
- metadata +75 -162
- data/lib/freeclimb/utils.rb +0 -34
- data/spec/api/web_mocks.rb +0 -473
- data/spec/models/account_result_all_of_spec.rb +0 -81
- data/spec/models/add_to_conference_all_of_spec.rb +0 -95
- data/spec/models/application_list_all_of_spec.rb +0 -41
- data/spec/models/application_result_all_of_spec.rb +0 -89
- data/spec/models/available_number_list_all_of_spec.rb +0 -41
- data/spec/models/call_list_all_of_spec.rb +0 -41
- data/spec/models/call_result_all_of_spec.rb +0 -129
- data/spec/models/conference_list_all_of_spec.rb +0 -41
- data/spec/models/conference_participant_list_all_of_spec.rb +0 -41
- data/spec/models/conference_participant_result_all_of_spec.rb +0 -71
- data/spec/models/conference_result_all_of_spec.rb +0 -103
- data/spec/models/create_conference_all_of_spec.rb +0 -71
- data/spec/models/get_digits_all_of_spec.rb +0 -89
- data/spec/models/get_speech_all_of_spec.rb +0 -113
- data/spec/models/hangup_all_of_spec.rb +0 -41
- data/spec/models/incoming_number_list_all_of_spec.rb +0 -41
- data/spec/models/incoming_number_result_all_of_spec.rb +0 -89
- data/spec/models/log_list_all_of_spec.rb +0 -41
- data/spec/models/message_request_all_of_spec.rb +0 -65
- data/spec/models/message_result_all_of_spec.rb +0 -87
- data/spec/models/messages_list_all_of_spec.rb +0 -41
- data/spec/models/out_dial_all_of_spec.rb +0 -95
- data/spec/models/play_all_of_spec.rb +0 -59
- data/spec/models/play_early_media_all_of_spec.rb +0 -41
- data/spec/models/queue_list_all_of_spec.rb +0 -41
- data/spec/models/queue_member_list_all_of_spec.rb +0 -41
- data/spec/models/queue_result_all_of_spec.rb +0 -77
- data/spec/models/record_utterance_all_of_spec.rb +0 -77
- data/spec/models/recording_list_all_of_spec.rb +0 -41
- data/spec/models/recording_result_all_of_spec.rb +0 -65
- data/spec/models/redirect_all_of_spec.rb +0 -41
- data/spec/models/reject_all_of_spec.rb +0 -41
- data/spec/models/remove_from_conference_all_of_spec.rb +0 -41
- data/spec/models/send_digits_all_of_spec.rb +0 -53
- data/spec/models/set_listen_all_of_spec.rb +0 -47
- data/spec/models/set_talk_all_of_spec.rb +0 -47
- data/spec/models/sms_all_of_spec.rb +0 -59
- data/spec/models/terminate_conference_all_of_spec.rb +0 -41
data/spec/api/web_mocks.rb
DELETED
@@ -1,473 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
|
4
|
-
module ResponseMocks
|
5
|
-
INCOMING_PHONE_NUMBER = '
|
6
|
-
{
|
7
|
-
"uri":"/Accounts/{accountId}/IncomingPhoneNumbers/PN3bf967f7e197abed0a8b4f163f0ee62688881364",
|
8
|
-
"dateCreated":"Thu, 13 Oct 2019 17:16:05 GMT",
|
9
|
-
"dateUpdated":"Thu, 13 Oct 2019 17:16:10 GMT",
|
10
|
-
"revision":1,
|
11
|
-
"phoneNumberId":"PN3bf967f7e197abed0a8b4f163f0ee62688881364",
|
12
|
-
"accountId":"{account_id}",
|
13
|
-
"applicationId":"APfc31da0abae9482a9da39751ea4ef69ebde32dfe",
|
14
|
-
"phoneNumber":"+14135513872",
|
15
|
-
"alias":"(413) 551-3872",
|
16
|
-
"region":"MA",
|
17
|
-
"country":"US",
|
18
|
-
"voiceEnabled":true,
|
19
|
-
"smsEnabled":true
|
20
|
-
}'
|
21
|
-
|
22
|
-
CONFERENCE_RESULT = '
|
23
|
-
{
|
24
|
-
"uri":"/Accounts/{account_id}/Conferences/CF63e537ae01efa3bb10934b0d7fdb4d5057617a3c",
|
25
|
-
"revision":1,
|
26
|
-
"dateCreated":"Thu, 13 Oct 2019 18:04:24 GMT",
|
27
|
-
"dateUpdated":"Thu, 13 Oct 2019 18:04:24 GMT",
|
28
|
-
"conferenceId":"CF63e537ae01efa3bb10934b0d7fdb4d5057617a3c",
|
29
|
-
"accountId":"{account_id}",
|
30
|
-
"alias":"test",
|
31
|
-
"playBeep":"always",
|
32
|
-
"record":false,
|
33
|
-
"status":"empty",
|
34
|
-
"waitUrl":"http://myapp/waitaudio",
|
35
|
-
"statusCallbackUrl":"http://myserver/confstatuscallback",
|
36
|
-
"subresourceUris":{
|
37
|
-
"participants":"/Accounts/{account_id}/Conferences/CF63e537ae01efa3bb10934b0d7fdb4d5057617a3c/Participants",
|
38
|
-
"recordings":"/Accounts/{account_id}/Conferences/CF63e537ae01efa3bb10934b0d7fdb4d5057617a3c/Recordings"
|
39
|
-
}
|
40
|
-
}'
|
41
|
-
|
42
|
-
QUEUE_RESULT = '{
|
43
|
-
"uri":"/Accounts/{account_id}/Queues/QUc82cf641d98e785b8e65a894e4563a899e52f000",
|
44
|
-
"dateCreated":"Thu, 13 Oct 2019 18:28:01 GMT",
|
45
|
-
"dateUpdated":"Thu, 13 Oct 2019 18:28:01 GMT",
|
46
|
-
"revision":1,
|
47
|
-
"accountId":"{account_id}",
|
48
|
-
"queueId":"QUc82cf641d98e785b8e65a894e4563a899e52f000",
|
49
|
-
"alias":"the queue",
|
50
|
-
"maxSize":200,
|
51
|
-
"currentSize":1,
|
52
|
-
"averageWaitTime":0,
|
53
|
-
"subresourceUris":{
|
54
|
-
"members":"/Accounts/{account_id}/Queues/QUc82cf641d98e785b8e65a894e4563a899e52f000/Members"
|
55
|
-
}
|
56
|
-
}'
|
57
|
-
|
58
|
-
APPLICATION_RESULT = '{
|
59
|
-
"uri":"/Accounts/{account_id}/Applications/APfc31da0abae9482a9da39751ea4ef69ebde32dfe",
|
60
|
-
"revision":1,
|
61
|
-
"dateCreated":"Thu, 13 Oct 2019 17:46:28 GMT",
|
62
|
-
"dateUpdated":"Thu, 13 Oct 2019 17:46:28 GMT",
|
63
|
-
"applicationId":"APfc31da0abae9482a9da39751ea4ef69ebde32dfe",
|
64
|
-
"accountId":"{account_id}",
|
65
|
-
"alias":"SampleApplication",
|
66
|
-
"voiceUrl":"http://myapp.com/inbound-call",
|
67
|
-
"voiceFallbackUrl":"http://myapp.com/inbound-call-fallback",
|
68
|
-
"callConnectUrl":"http://myapp.com/outbound-connect",
|
69
|
-
"statusCallbackUrl":"http://myapp.com/call-status",
|
70
|
-
"smsUrl":"http://myapp.com/inbound-sms",
|
71
|
-
"smsFallbackUrl":"http://myapp.com/inbound-sms-fallback"
|
72
|
-
}'
|
73
|
-
|
74
|
-
QUEUE_MEMBER_RESULT = '{
|
75
|
-
"uri":"/Accounts/{account_id}/Queues/QUe12f9737b02c2348d5a793074b34b3b57a2ecf20/Members/CA4969498ffd3b811acb8ab7f7d6d2cd5ab40f5140",
|
76
|
-
"callId":"CA4969498ffd3b811acb8ab7f7d6d2cd5ab40f5140",
|
77
|
-
"waitTime":15,
|
78
|
-
"position":1,
|
79
|
-
"dateEnqueued":"Thu, 13 Oct 2019 18:38:30 GMT"
|
80
|
-
}'
|
81
|
-
|
82
|
-
LOG_LIST_RESULT = '{
|
83
|
-
"end":5,
|
84
|
-
"logs":[
|
85
|
-
{
|
86
|
-
"timestamp":5474083373405444832,
|
87
|
-
"level":"warning",
|
88
|
-
"requestId":"RQadd26da69146693985ddba1d7a9e70c1834b530d",
|
89
|
-
"accountId":"{account_id}",
|
90
|
-
"callId":"CA9867c2f910a120eccf9beb991ac2370dff862b22",
|
91
|
-
"message":"Fix the fixes",
|
92
|
-
"metadata":{
|
93
|
-
"confId":"CF386ee6698071e9d171165bdf66195ed0a8b52f48",
|
94
|
-
"memberId":"QMc5dbb50754b86e3fc0ad7aee9ed0f7c155971dcd",
|
95
|
-
"test":"test value"
|
96
|
-
}
|
97
|
-
},
|
98
|
-
{
|
99
|
-
"timestamp":5407855525769595085,
|
100
|
-
"level":"error",
|
101
|
-
"requestId":"RQ5c1842013a4dc46dc9139b22235f2792e43cbb58",
|
102
|
-
"accountId":"{account_id}",
|
103
|
-
"callId":"CA491dbace4532efdb225b54912b0e680edff39588",
|
104
|
-
"message":"They\'re inside the interface, use the back-end PHP alarm to transmit their monitor!",
|
105
|
-
"metadata":{
|
106
|
-
"confId":"CF8047f0704dd15f9f70f6e5ab15d0666d62a82e2d",
|
107
|
-
"memberId":"QMcfa1b5c47b092e769fb88e46f760214b16163a29",
|
108
|
-
"test":"test value"
|
109
|
-
}
|
110
|
-
},
|
111
|
-
{
|
112
|
-
"timestamp":1475591665000002,
|
113
|
-
"level":"error",
|
114
|
-
"requestId":"RQ1234567890123456789012345678901234567892",
|
115
|
-
"accountId":"{account_id}",
|
116
|
-
"callId":null,
|
117
|
-
"message":"test message 3",
|
118
|
-
"metadata":{
|
119
|
-
"test":"test value"
|
120
|
-
}
|
121
|
-
}
|
122
|
-
],
|
123
|
-
"nextPageUri":null,
|
124
|
-
"numPages":1,
|
125
|
-
"page":0,
|
126
|
-
"pageSize":100,
|
127
|
-
"start":0,
|
128
|
-
"total":5
|
129
|
-
}'
|
130
|
-
|
131
|
-
CALL_RESULT = '{
|
132
|
-
"uri":"/Accounts/{account_id}/Calls/CA721d58cbeb725da23534375643ff8113f3050241",
|
133
|
-
"revision":1,
|
134
|
-
"dateCreated":"Thu, 13 Oct 2019 17:51:56 GMT",
|
135
|
-
"dateUpdated":"Thu, 13 Oct 2019 19:51:50 GMT",
|
136
|
-
"callId":"CA721d58cbeb725da23534375643ff8113f3050241",
|
137
|
-
"parentCallId":"CA78d058cbeb725da23534375643ff8113f30593ef",
|
138
|
-
"accountId":"{account_id}",
|
139
|
-
"from":"+12093231234",
|
140
|
-
"to":"+12098900611",
|
141
|
-
"phoneNumberId":"PN234f58cbeb725da23534375643ff8113f30500ab",
|
142
|
-
"status":"queued",
|
143
|
-
"startTime":"Thu, 13 Oct 2019 17:51:56 GMT",
|
144
|
-
"connectTime":"Thu, 13 Oct 2019 17:51:59 GMT",
|
145
|
-
"endTime":"Thu, 13 Oct 2019 17:59:54 GMT",
|
146
|
-
"duration":478,
|
147
|
-
"connectDuration": 475,
|
148
|
-
"direction":"outboundDial",
|
149
|
-
"answeredBy":"human",
|
150
|
-
"subresourceUris":{
|
151
|
-
"logs":"/Accounts/{account_id}/Calls/CA721d58cbeb725da23534375643ff8113f3050241/Logs",
|
152
|
-
"recordings":"/Accounts/{account_id}/Calls/CA721d58cbeb725da23534375643ff8113f3050241/Recordings"
|
153
|
-
}
|
154
|
-
}'
|
155
|
-
CONFERENCE_PARTICIPANT_RESULT = '{
|
156
|
-
"accountId":"{account_id}",
|
157
|
-
"conferenceId":"CFd0cc3ab95118aaa597039793a1692313fa9c4936",
|
158
|
-
"callId":"CAef219e4e9152a4b31888620cf391adcae5b6f18c",
|
159
|
-
"uri":"/Accounts/{account_id}/Conferences/CFd0cc3ab95118aaa597039793a1692313fa9c4936/Participants/CAef219e4e9152a4b31888620cf391adcae5b6f18c",
|
160
|
-
"dateCreated":"Thu, 13 Oct 2019 18:23:31 GMT",
|
161
|
-
"dateUpdated":"Thu, 13 Oct 2019 18:23:31 GMT",
|
162
|
-
"revision":1,
|
163
|
-
"talk":true,
|
164
|
-
"listen":true,
|
165
|
-
"startConfOnEnter":true
|
166
|
-
}'
|
167
|
-
|
168
|
-
ACCOUNT_RESULT = '{
|
169
|
-
"uri":"/Accounts/{accountId}",
|
170
|
-
"revision":1,
|
171
|
-
"dateCreated":"Thu, 13 Oct 2019 16:59:34 GMT",
|
172
|
-
"dateUpdated":"Thu, 13 Oct 2019 16:59:34 GMT",
|
173
|
-
"accountId":"{account_id}",
|
174
|
-
"apiKey":"428e487a035b837ac2f47f2236ec553550ed2628",
|
175
|
-
"alias":"boostrap account",
|
176
|
-
"label":"customer service",
|
177
|
-
"type":"trial",
|
178
|
-
"status":"active",
|
179
|
-
"subresourceUris":
|
180
|
-
{
|
181
|
-
"applications":"/Accounts/{account_id}/Applications",
|
182
|
-
"calls":"/Accounts/{account_id}/Calls",
|
183
|
-
"availablePhoneNumbers":"/Accounts/{account_id}/AvailablePhoneNumbers",
|
184
|
-
"conferences":"/Accounts/{account_id}/Conferences",
|
185
|
-
"incomingPhoneNumbers":"/Accounts/{account_id}/IncomingPhoneNumbers",
|
186
|
-
"logs":"/Accounts/{account_id}/Logs",
|
187
|
-
"recordings":"/Accounts/{account_id}/Recordings",
|
188
|
-
"queues":"/Accounts/{account_id}/Queues"
|
189
|
-
}
|
190
|
-
}'
|
191
|
-
|
192
|
-
MESSAGE_RESULT = '{
|
193
|
-
"uri":"/Accounts/{account_id}/Messages/SM721d58cbeb725da23534375643ff8113f3050241",
|
194
|
-
"revision":1,
|
195
|
-
"dateCreated":"Thu, 13 Oct 2019 17:51:56 GMT",
|
196
|
-
"dateUpdated":"Thu, 13 Oct 2019 19:51:50 GMT",
|
197
|
-
"messageId":"SM721d58cbeb725da23534375643ff8113f3050241",
|
198
|
-
"accountId":"{account_id}",
|
199
|
-
"from":"+12093231234",
|
200
|
-
"to":"+12098900611",
|
201
|
-
"text":"SMS message sent during a phone call.",
|
202
|
-
"direction":"outbound",
|
203
|
-
"notificationUrl": "http://myapp.com/message-status-notification",
|
204
|
-
"status": "sent"
|
205
|
-
}'
|
206
|
-
|
207
|
-
QUEUE_LIST_RESULT = '{
|
208
|
-
"total":1,
|
209
|
-
"start":0,
|
210
|
-
"end":0,
|
211
|
-
"page":0,
|
212
|
-
"numPages":1,
|
213
|
-
"pageSize":100,
|
214
|
-
"nextPageUri":null,
|
215
|
-
"queues":[
|
216
|
-
{
|
217
|
-
"uri":"/Accounts/{account_id}/Queues/QUeda6c00620d92ec306fa8780aa824352fcd1367a",
|
218
|
-
"dateCreated":"Thu, 13 Oct 2019 18:31:48 GMT",
|
219
|
-
"dateUpdated":"Thu, 13 Oct 2019 18:31:48 GMT",
|
220
|
-
"revision":1,
|
221
|
-
"accountId":"{account_id}",
|
222
|
-
"queueId":"QUeda6c00620d92ec306fa8780aa824352fcd1367a",
|
223
|
-
"alias":"the number",
|
224
|
-
"maxSize":100,
|
225
|
-
"currentSize":0,
|
226
|
-
"averageWaitTime":0,
|
227
|
-
"subresourceUris":{
|
228
|
-
"members":"/Accounts/{account_id}/Queues/QUeda6c00620d92ec306fa8780aa824352fcd1367a/Members"
|
229
|
-
}
|
230
|
-
}
|
231
|
-
]
|
232
|
-
}'
|
233
|
-
|
234
|
-
APPLICATION_LIST_RESULT = '{
|
235
|
-
"total":1,
|
236
|
-
"start":0,
|
237
|
-
"end":0,
|
238
|
-
"page":0,
|
239
|
-
"numPages":1,
|
240
|
-
"pageSize":100,
|
241
|
-
"nextPageUri":null,
|
242
|
-
"applications":[
|
243
|
-
{
|
244
|
-
"uri":"/Accounts/{account_id}/Applications/APec9ba3847dd3c0327abb2fa5f385a1a6195e2870",
|
245
|
-
"revision":1,
|
246
|
-
"dateCreated":"Thu, 13 Oct 2019 17:49:21 GMT",
|
247
|
-
"dateUpdated":"Thu, 13 Oct 2019 17:49:21 GMT",
|
248
|
-
"applicationId":"APec9ba3847dd3c0327abb2fa5f385a1a6195e2870",
|
249
|
-
"accountId":"{account_id}",
|
250
|
-
"alias":"SampleApplication",
|
251
|
-
"voiceUrl":"http://myapp.com/inbound-call",
|
252
|
-
"voiceFallbackUrl":"http://myapp.com/inbound-call-fallback",
|
253
|
-
"callConnectUrl":"http://myapp.com/outbound-connect",
|
254
|
-
"statusCallbackUrl":"http://myapp.com/call-status",
|
255
|
-
"smsUrl":"http://myapp.com/inbound-sms",
|
256
|
-
"smsFallbackUrl":"http://myapp.com/inbound-sms-fallback"
|
257
|
-
}
|
258
|
-
]
|
259
|
-
}'
|
260
|
-
|
261
|
-
AVAILABLE_NUMBER_LIST = '{
|
262
|
-
"total":35,
|
263
|
-
"start":0,
|
264
|
-
"end":19,
|
265
|
-
"page":0,
|
266
|
-
"numPages":2,
|
267
|
-
"pageSize":100,
|
268
|
-
"nextPageUri":"/AvailablePhoneNumbers?cursor=82402c5eefa67219b554e22c63cfb1b92ade8744",
|
269
|
-
"availablePhoneNumbers":[
|
270
|
-
{
|
271
|
-
"phoneNumber":"+14135513872",
|
272
|
-
"voiceEnabled":true,
|
273
|
-
"smsEnabled":true,
|
274
|
-
"alias":"(413) 551-3872",
|
275
|
-
"region":"MA",
|
276
|
-
"country":"US"
|
277
|
-
},
|
278
|
-
{
|
279
|
-
"phoneNumber":"+19135513873",
|
280
|
-
"voiceEnabled":true,
|
281
|
-
"smsEnabled":true,
|
282
|
-
"alias":"(913) 551-3873",
|
283
|
-
"region":"KS",
|
284
|
-
"country":"US"
|
285
|
-
}
|
286
|
-
]
|
287
|
-
}'
|
288
|
-
|
289
|
-
RECORDING_LIST_RESULT = '{
|
290
|
-
"total":1,
|
291
|
-
"start":1,
|
292
|
-
"end":0,
|
293
|
-
"page":0,
|
294
|
-
"numPages":1,
|
295
|
-
"pageSize":100,
|
296
|
-
"nextPageUri":null,
|
297
|
-
"recordings":[
|
298
|
-
{
|
299
|
-
"uri":"/Accounts/{account_id}/Recordings/RE2849364d11dacd7c1e64afb3fd8c8f707a2080b4",
|
300
|
-
"dateCreated":"Thu, 13 Oct 2019 18:49:11 GMT",
|
301
|
-
"dateUpdated":"Thu, 13 Oct 2019 18:49:11 GMT",
|
302
|
-
"revision":1,
|
303
|
-
"recordingId":"RE2849364d11dacd7c1e64afb3fd8c8f707a2080b4",
|
304
|
-
"accountId":"{account_id}",
|
305
|
-
"callId":"CA600933ba07a208317820ddabe8aa0c33e4cbd675",
|
306
|
-
"durationSec":3
|
307
|
-
}
|
308
|
-
]
|
309
|
-
}'
|
310
|
-
|
311
|
-
CALL_LIST_RESULT = '{
|
312
|
-
"total":1,
|
313
|
-
"start":0,
|
314
|
-
"end":0,
|
315
|
-
"page":0,
|
316
|
-
"numPages":1,
|
317
|
-
"pageSize":100,
|
318
|
-
"nextPageUri":null,
|
319
|
-
"calls":[
|
320
|
-
{
|
321
|
-
"uri":"/Accounts/{account_id}/Calls/CA771fa1c54cdac17a8c1f0a66cdd1d5dae11b98a1",
|
322
|
-
"revision":1,
|
323
|
-
"dateCreated":"Thu, 13 Oct 2019 17:56:15 GMT",
|
324
|
-
"dateUpdated":"Thu, 13 Oct 2019 17:56:15 GMT",
|
325
|
-
"callId":"CA771fa1c54cdac17a8c1f0a66cdd1d5dae11b98a1",
|
326
|
-
"parentCallId":null,
|
327
|
-
"accountId":"{account_id}",
|
328
|
-
"from":"+12098231234",
|
329
|
-
"to":"+12098900611",
|
330
|
-
"phoneNumberId":"PNfffda1c54cdac17a8c1f0a66cdd1d5dae11b123d",
|
331
|
-
"status":"queued",
|
332
|
-
"startTime":"Thu, 24 Oct 2019 12:21:15 GMT",
|
333
|
-
"connectTime":"Thu, 24 Oct 2019 12:21:18 GMT",
|
334
|
-
"endTime":"Thu, 24 Oct 2019 12:32:18 GMT",
|
335
|
-
"duration":663,
|
336
|
-
"connectDuration":660,
|
337
|
-
"direction":"outboundAPI",
|
338
|
-
"answeredBy":"human",
|
339
|
-
"subresourceUris":{
|
340
|
-
"logs":"/Accounts/{account_id}/Calls/CA771fa1c54cdac17a8c1f0a66cdd1d5dae11b98a1/Logs",
|
341
|
-
"recordings":"/Accounts/{account_id}/Calls/CA771fa1c54cdac17a8c1f0a66cdd1d5dae11b98a1/Recordings"
|
342
|
-
}
|
343
|
-
}
|
344
|
-
]
|
345
|
-
}'
|
346
|
-
|
347
|
-
CONFERNECE_LIST_RESULT = '{
|
348
|
-
"total":1,
|
349
|
-
"start":0,
|
350
|
-
"end":0,
|
351
|
-
"page":0,
|
352
|
-
"numPages":1,
|
353
|
-
"pageSize":100,
|
354
|
-
"nextPageUri":null,
|
355
|
-
"conferences":[
|
356
|
-
{
|
357
|
-
"uri":"/Accounts/{account_id}/Conferences/CFf85f0cb5b546b737c9b807f037b008c8ab621b6e",
|
358
|
-
"revision":1,
|
359
|
-
"dateCreated":"Thu, 13 Oct 2019 18:19:39 GMT",
|
360
|
-
"dateUpdated":"Thu, 13 Oct 2019 18:19:39 GMT",
|
361
|
-
"conferenceId":"CFf85f0cb5b546b737c9b807f037b008c8ab621b6e",
|
362
|
-
"accountId":"{account_id}",
|
363
|
-
"alias":"the number",
|
364
|
-
"playBeep":"always",
|
365
|
-
"record":false,
|
366
|
-
"status":"empty",
|
367
|
-
"waitUrl":"http://myapp/waitaudio",
|
368
|
-
"statusCallbackUrl":"http://myserver/confstatuscallback",
|
369
|
-
"subresourceUris":{
|
370
|
-
"participants":"/Accounts/{account_id}/Conferences/CFf85f0cb5b546b737c9b807f037b008c8ab621b6e/Participants",
|
371
|
-
"recordings":"/Accounts/{account_id}/Conferences/CFf85f0cb5b546b737c9b807f037b008c8ab621b6e/Recordings"
|
372
|
-
}
|
373
|
-
}
|
374
|
-
]
|
375
|
-
}'
|
376
|
-
|
377
|
-
INCOMING_PHONE_NUMBER_LIST_RESULT = '{
|
378
|
-
"total":1,
|
379
|
-
"start":0,
|
380
|
-
"end":0,
|
381
|
-
"page":0,
|
382
|
-
"numPages":1,
|
383
|
-
"pageSize":100,
|
384
|
-
"nextPageUri":null,
|
385
|
-
"incomingPhoneNumbers":[
|
386
|
-
{
|
387
|
-
"uri":"/Accounts/{accountId}/IncomingPhoneNumbers/PN280479a655d90ab71b24d8258ee07210aff8f7b3",
|
388
|
-
"dateCreated":"Thu, 13 Oct 2019 17:44:22 GMT",
|
389
|
-
"dateUpdated":"Thu, 13 Oct 2019 17:44:23 GMT",
|
390
|
-
"revision":1,
|
391
|
-
"phoneNumberId":"PN280479a655d90ab71b24d8258ee07210aff8f7b3",
|
392
|
-
"accountId":"{account_id}",
|
393
|
-
"applicationId":"APfc31da0abae9482a9da39751ea4ef69ebde32dfe",
|
394
|
-
"phoneNumber":"+14195533872",
|
395
|
-
"alias":"(419) 553-3872",
|
396
|
-
"region":"OH",
|
397
|
-
"country":"US",
|
398
|
-
"voiceEnabled":true,
|
399
|
-
"smsEnabled":true
|
400
|
-
}
|
401
|
-
]
|
402
|
-
}'
|
403
|
-
|
404
|
-
QUEUE_MEMBER_RESULT = '{
|
405
|
-
"total":1,
|
406
|
-
"start":0,
|
407
|
-
"end":0,
|
408
|
-
"page":0,
|
409
|
-
"numPages":1,
|
410
|
-
"pageSize":100,
|
411
|
-
"nextPageUri":null,
|
412
|
-
"queueMembers":[
|
413
|
-
{
|
414
|
-
"uri":"/Accounts/{account_id}/Queues/QUeda341f1fba015aa029a3342f23a3ae0c45e302b/Members/CAb933917ae0d3547bd65da77a4aa50e0329850401",
|
415
|
-
"callId":"CAb933917ae0d3547bd65da77a4aa50e0329850401",
|
416
|
-
"waitTime":0,
|
417
|
-
"position":1,
|
418
|
-
"dateEnqueued":"Thu, 13 Oct 2019 18:28:58 GMT"
|
419
|
-
}
|
420
|
-
]
|
421
|
-
}'
|
422
|
-
|
423
|
-
PARTICIPANT_LIST_RESULT = '{
|
424
|
-
"total":1,
|
425
|
-
"start":1,
|
426
|
-
"end":1,
|
427
|
-
"page":1,
|
428
|
-
"numPages":1,
|
429
|
-
"pageSize":100,
|
430
|
-
"nextPageUri":null,
|
431
|
-
"participants":[
|
432
|
-
{
|
433
|
-
"accountId":"{account_id}",
|
434
|
-
"conferenceId":"CFd0cc3ab95118aaa597039793a1692313fa9c4936",
|
435
|
-
"callId":"CAef219e4e9152a4b31888620cf391adcae5b6f18c",
|
436
|
-
"uri":"/Accounts/{account_id}/Conferences/CFd0cc3ab95118aaa597039793a1692313fa9c4936/Participants/CAef219e4e9152a4b31888620cf391adcae5b6f18c",
|
437
|
-
"dateCreated":"Thu, 13 Oct 2019 18:23:31 GMT",
|
438
|
-
"dateUpdated":"Thu, 13 Oct 2019 18:23:31 GMT",
|
439
|
-
"revision":1,
|
440
|
-
"talk":true,
|
441
|
-
"listen":true,
|
442
|
-
"startConfOnEnter":true
|
443
|
-
}
|
444
|
-
]
|
445
|
-
}'
|
446
|
-
|
447
|
-
MESSAGE_LIST_RESULT = '{
|
448
|
-
"total":1,
|
449
|
-
"start":0,
|
450
|
-
"end":0,
|
451
|
-
"page":0,
|
452
|
-
"numPages":1,
|
453
|
-
"pageSize":100,
|
454
|
-
"nextPageUri":null,
|
455
|
-
"messages":[
|
456
|
-
{
|
457
|
-
"uri":"/Accounts/{account_id}/Messages/SM771fa1c54cdac17a8c1f0a66cdd1d5dae11b98a1",
|
458
|
-
"revision":1,
|
459
|
-
"dateCreated":"Thu, 13 Oct 2019 17:56:15 GMT",
|
460
|
-
"dateUpdated":"Thu, 13 Oct 2019 17:56:15 GMT",
|
461
|
-
"messageId":"SM771fa1c54cdac17a8c1f0a66cdd1d5dae11b98a1",
|
462
|
-
"accountId":"{account_id}",
|
463
|
-
"from":"+12098231234",
|
464
|
-
"to":"+12098900611",
|
465
|
-
"text":"Outbound SMS message",
|
466
|
-
"direction":"outbound",
|
467
|
-
"notificationUrl": "http://myapp.com/message-status-notification",
|
468
|
-
"status": "sent"
|
469
|
-
}
|
470
|
-
]
|
471
|
-
}'
|
472
|
-
|
473
|
-
end
|
@@ -1,81 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#FreeClimb API
|
3
|
-
|
4
|
-
#FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.0-SNAPSHOT
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for Freeclimb::AccountResultAllOf
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'AccountResultAllOf' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = Freeclimb::AccountResultAllOf.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of AccountResultAllOf' do
|
31
|
-
it 'should create an instance of AccountResultAllOf' do
|
32
|
-
expect(@instance).to be_instance_of(Freeclimb::AccountResultAllOf)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "account_id"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
describe 'test attribute "api_key"' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
describe 'test attribute "_alias"' do
|
48
|
-
it 'should work' do
|
49
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
53
|
-
describe 'test attribute "label"' do
|
54
|
-
it 'should work' do
|
55
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
describe 'test attribute "type"' do
|
60
|
-
it 'should work' do
|
61
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
describe 'test attribute "status"' do
|
66
|
-
it 'should work' do
|
67
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["active", "suspended", "closed"])
|
69
|
-
# validator.allowable_values.each do |value|
|
70
|
-
# expect { @instance.status = value }.not_to raise_error
|
71
|
-
# end
|
72
|
-
end
|
73
|
-
end
|
74
|
-
|
75
|
-
describe 'test attribute "subresource_uris"' do
|
76
|
-
it 'should work' do
|
77
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
78
|
-
end
|
79
|
-
end
|
80
|
-
|
81
|
-
end
|
@@ -1,95 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#FreeClimb API
|
3
|
-
|
4
|
-
#FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.0-SNAPSHOT
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for Freeclimb::AddToConferenceAllOf
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'AddToConferenceAllOf' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = Freeclimb::AddToConferenceAllOf.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of AddToConferenceAllOf' do
|
31
|
-
it 'should create an instance of AddToConferenceAllOf' do
|
32
|
-
expect(@instance).to be_instance_of(Freeclimb::AddToConferenceAllOf)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "allow_call_control"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
describe 'test attribute "call_control_sequence"' do
|
42
|
-
it 'should work' do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
describe 'test attribute "call_control_url"' do
|
48
|
-
it 'should work' do
|
49
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
53
|
-
describe 'test attribute "conference_id"' do
|
54
|
-
it 'should work' do
|
55
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
describe 'test attribute "call_id"' do
|
60
|
-
it 'should work' do
|
61
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
describe 'test attribute "leave_conference_url"' do
|
66
|
-
it 'should work' do
|
67
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
describe 'test attribute "listen"' do
|
72
|
-
it 'should work' do
|
73
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
|
-
describe 'test attribute "notification_url"' do
|
78
|
-
it 'should work' do
|
79
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
-
end
|
81
|
-
end
|
82
|
-
|
83
|
-
describe 'test attribute "start_conf_on_enter"' do
|
84
|
-
it 'should work' do
|
85
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
-
end
|
87
|
-
end
|
88
|
-
|
89
|
-
describe 'test attribute "talk"' do
|
90
|
-
it 'should work' do
|
91
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
|
-
end
|
@@ -1,41 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#FreeClimb API
|
3
|
-
|
4
|
-
#FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.3.0-SNAPSHOT
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for Freeclimb::ApplicationListAllOf
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'ApplicationListAllOf' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = Freeclimb::ApplicationListAllOf.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of ApplicationListAllOf' do
|
31
|
-
it 'should create an instance of ApplicationListAllOf' do
|
32
|
-
expect(@instance).to be_instance_of(Freeclimb::ApplicationListAllOf)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "applications"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
|
-
end
|