freeclimb 5.1.0 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/Gemfile +4 -5
- data/Gemfile.lock +18 -5
- data/README.md +4 -4
- data/Rakefile +1 -1
- data/docs/CreateConferenceRequest.md +1 -1
- data/docs/DefaultApi.md +1 -1
- data/freeclimb.gemspec +21 -26
- data/lib/freeclimb/api/default_api.rb +878 -878
- data/lib/freeclimb/api_client.rb +78 -83
- data/lib/freeclimb/api_error.rb +17 -19
- data/lib/freeclimb/configuration.rb +27 -29
- data/lib/freeclimb/models/account_request.rb +36 -41
- data/lib/freeclimb/models/account_result.rb +88 -92
- data/lib/freeclimb/models/account_status.rb +12 -14
- data/lib/freeclimb/models/account_type.rb +12 -14
- data/lib/freeclimb/models/add_to_conference.rb +81 -85
- data/lib/freeclimb/models/add_to_conference_notification_webhook.rb +99 -103
- data/lib/freeclimb/models/add_to_queue_notification_webhook.rb +78 -82
- data/lib/freeclimb/models/answered_by.rb +12 -14
- data/lib/freeclimb/models/application_list.rb +74 -78
- data/lib/freeclimb/models/application_request.rb +66 -70
- data/lib/freeclimb/models/application_result.rb +100 -104
- data/lib/freeclimb/models/available_number.rb +66 -70
- data/lib/freeclimb/models/available_number_list.rb +74 -78
- data/lib/freeclimb/models/barge_in_reason.rb +12 -14
- data/lib/freeclimb/models/buy_incoming_number_request.rb +41 -45
- data/lib/freeclimb/models/call_control_webhook.rb +56 -61
- data/lib/freeclimb/models/call_direction.rb +12 -14
- data/lib/freeclimb/models/call_ended_reason.rb +12 -14
- data/lib/freeclimb/models/call_list.rb +74 -78
- data/lib/freeclimb/models/call_result.rb +142 -146
- data/lib/freeclimb/models/call_status.rb +12 -14
- data/lib/freeclimb/models/call_status_webhook.rb +84 -88
- data/lib/freeclimb/models/capabilities.rb +55 -59
- data/lib/freeclimb/models/completion_request.rb +32 -36
- data/lib/freeclimb/models/completion_result.rb +36 -40
- data/lib/freeclimb/models/completion_result_status.rb +12 -14
- data/lib/freeclimb/models/conference_list.rb +74 -78
- data/lib/freeclimb/models/conference_participant_list.rb +74 -78
- data/lib/freeclimb/models/conference_participant_result.rb +88 -92
- data/lib/freeclimb/models/conference_recording_status_webhook.rb +99 -103
- data/lib/freeclimb/models/conference_result.rb +106 -110
- data/lib/freeclimb/models/conference_status.rb +12 -14
- data/lib/freeclimb/models/conference_status_webhook.rb +102 -106
- data/lib/freeclimb/models/create_conference.rb +60 -63
- data/lib/freeclimb/models/create_conference_request.rb +55 -54
- data/lib/freeclimb/models/create_conference_webhook.rb +102 -106
- data/lib/freeclimb/models/create_web_rtc_token.rb +42 -46
- data/lib/freeclimb/models/dequeue.rb +28 -33
- data/lib/freeclimb/models/dequeue_webhook.rb +89 -93
- data/lib/freeclimb/models/enqueue.rb +48 -52
- data/lib/freeclimb/models/filter_logs_request.rb +31 -35
- data/lib/freeclimb/models/get_digits.rb +73 -77
- data/lib/freeclimb/models/get_digits_reason.rb +12 -14
- data/lib/freeclimb/models/get_digits_webhook.rb +93 -97
- data/lib/freeclimb/models/get_speech.rb +94 -97
- data/lib/freeclimb/models/get_speech_reason.rb +12 -14
- data/lib/freeclimb/models/get_speech_webhook.rb +118 -122
- data/lib/freeclimb/models/grammar_file_built_in.rb +12 -14
- data/lib/freeclimb/models/grammar_type.rb +12 -14
- data/lib/freeclimb/models/hangup.rb +34 -39
- data/lib/freeclimb/models/if_machine.rb +12 -14
- data/lib/freeclimb/models/inbound_call_webhook.rb +85 -89
- data/lib/freeclimb/models/incoming_number_list.rb +74 -78
- data/lib/freeclimb/models/incoming_number_request.rb +41 -45
- data/lib/freeclimb/models/incoming_number_result.rb +122 -126
- data/lib/freeclimb/models/language.rb +12 -14
- data/lib/freeclimb/models/leave_conference_webhook.rb +79 -83
- data/lib/freeclimb/models/log_level.rb +12 -14
- data/lib/freeclimb/models/log_list.rb +74 -78
- data/lib/freeclimb/models/log_result.rb +67 -71
- data/lib/freeclimb/models/machine_detected_webhook.rb +89 -93
- data/lib/freeclimb/models/machine_type.rb +12 -14
- data/lib/freeclimb/models/make_call_request.rb +77 -81
- data/lib/freeclimb/models/message_delivery_webhook.rb +81 -86
- data/lib/freeclimb/models/message_direction.rb +12 -14
- data/lib/freeclimb/models/message_request.rb +72 -75
- data/lib/freeclimb/models/message_result.rb +135 -139
- data/lib/freeclimb/models/message_status.rb +12 -14
- data/lib/freeclimb/models/message_status_webhook.rb +86 -90
- data/lib/freeclimb/models/messages_list.rb +74 -78
- data/lib/freeclimb/models/mutable_resource_model.rb +46 -51
- data/lib/freeclimb/models/out_dial.rb +80 -84
- data/lib/freeclimb/models/out_dial_api_connect_webhook.rb +84 -88
- data/lib/freeclimb/models/out_dial_connect_webhook.rb +84 -88
- data/lib/freeclimb/models/out_dial_start_webhook.rb +90 -94
- data/lib/freeclimb/models/pagination_model.rb +67 -71
- data/lib/freeclimb/models/park.rb +44 -48
- data/lib/freeclimb/models/pause.rb +33 -37
- data/lib/freeclimb/models/percl_command.rb +36 -40
- data/lib/freeclimb/models/percl_script.rb +32 -36
- data/lib/freeclimb/models/play.rb +44 -48
- data/lib/freeclimb/models/play_beep.rb +12 -14
- data/lib/freeclimb/models/play_early_media.rb +33 -37
- data/lib/freeclimb/models/queue_list.rb +74 -78
- data/lib/freeclimb/models/queue_member.rb +55 -59
- data/lib/freeclimb/models/queue_member_list.rb +74 -78
- data/lib/freeclimb/models/queue_request.rb +37 -42
- data/lib/freeclimb/models/queue_result.rb +88 -92
- data/lib/freeclimb/models/queue_result_status.rb +12 -14
- data/lib/freeclimb/models/queue_wait_webhook.rb +94 -98
- data/lib/freeclimb/models/record_utterance.rb +63 -67
- data/lib/freeclimb/models/record_utterance_term_reason.rb +12 -14
- data/lib/freeclimb/models/record_webhook.rb +119 -123
- data/lib/freeclimb/models/recording_list.rb +74 -78
- data/lib/freeclimb/models/recording_result.rb +76 -80
- data/lib/freeclimb/models/redirect.rb +33 -37
- data/lib/freeclimb/models/redirect_webhook.rb +84 -88
- data/lib/freeclimb/models/reject.rb +34 -39
- data/lib/freeclimb/models/remove_from_conference.rb +28 -33
- data/lib/freeclimb/models/remove_from_queue_notification_webhook.rb +89 -93
- data/lib/freeclimb/models/request_type.rb +12 -14
- data/lib/freeclimb/models/say.rb +49 -53
- data/lib/freeclimb/models/send_digits.rb +43 -47
- data/lib/freeclimb/models/set_dtmf_pass_through.rb +34 -39
- data/lib/freeclimb/models/set_listen.rb +34 -39
- data/lib/freeclimb/models/set_talk.rb +34 -39
- data/lib/freeclimb/models/sms.rb +48 -52
- data/lib/freeclimb/models/sms_ten_dlc_brand.rb +187 -190
- data/lib/freeclimb/models/sms_ten_dlc_brand_alt_business_id_type.rb +12 -14
- data/lib/freeclimb/models/sms_ten_dlc_brand_entity_type.rb +12 -14
- data/lib/freeclimb/models/sms_ten_dlc_brand_identity_status.rb +12 -14
- data/lib/freeclimb/models/sms_ten_dlc_brand_relationship.rb +12 -14
- data/lib/freeclimb/models/sms_ten_dlc_brand_stock_exchange.rb +12 -14
- data/lib/freeclimb/models/sms_ten_dlc_brands_list_result.rb +74 -78
- data/lib/freeclimb/models/sms_ten_dlc_campaign.rb +226 -229
- data/lib/freeclimb/models/sms_ten_dlc_campaign_status.rb +12 -14
- data/lib/freeclimb/models/sms_ten_dlc_campaigns_list_result.rb +74 -78
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaign.rb +186 -189
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaign_brand.rb +84 -87
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaign_status.rb +12 -14
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaigns_list_result.rb +74 -78
- data/lib/freeclimb/models/sms_toll_free_campaign.rb +61 -64
- data/lib/freeclimb/models/sms_toll_free_campaign_registration_status.rb +12 -14
- data/lib/freeclimb/models/sms_toll_free_campaigns_list_result.rb +74 -78
- data/lib/freeclimb/models/start_record_call.rb +28 -33
- data/lib/freeclimb/models/terminate_conference.rb +28 -33
- data/lib/freeclimb/models/tfn.rb +31 -35
- data/lib/freeclimb/models/tfn_campaign.rb +76 -79
- data/lib/freeclimb/models/transcribe_reason.rb +12 -14
- data/lib/freeclimb/models/transcribe_term_reason.rb +12 -14
- data/lib/freeclimb/models/transcribe_utterance.rb +61 -65
- data/lib/freeclimb/models/transcribe_utterance_record.rb +43 -47
- data/lib/freeclimb/models/transcribe_webhook.rb +150 -154
- data/lib/freeclimb/models/unpark.rb +28 -33
- data/lib/freeclimb/models/update_call_request.rb +31 -35
- data/lib/freeclimb/models/update_call_request_status.rb +12 -14
- data/lib/freeclimb/models/update_conference_participant_request.rb +41 -46
- data/lib/freeclimb/models/update_conference_request.rb +41 -45
- data/lib/freeclimb/models/update_conference_request_status.rb +12 -14
- data/lib/freeclimb/models/webhook.rb +32 -37
- data/lib/freeclimb/utils/request_verifier.rb +14 -14
- data/lib/freeclimb/utils/signature_information.rb +8 -8
- data/lib/freeclimb/version.rb +10 -12
- data/lib/freeclimb.rb +156 -158
- data/openapi.json +3 -0
- data/package.json +1 -1
- data/spec/api/default_api_spec.rb +492 -676
- data/spec/api_client_spec.rb +100 -102
- data/spec/configuration_spec.rb +16 -18
- data/spec/models/account_request_spec.rb +104 -233
- data/spec/models/account_result_spec.rb +393 -1013
- data/spec/models/account_status_spec.rb +27 -30
- data/spec/models/account_type_spec.rb +24 -27
- data/spec/models/add_to_conference_notification_webhook_spec.rb +464 -1197
- data/spec/models/add_to_conference_spec.rb +354 -850
- data/spec/models/add_to_queue_notification_webhook_spec.rb +341 -864
- data/spec/models/answered_by_spec.rb +24 -27
- data/spec/models/application_list_spec.rb +289 -646
- data/spec/models/application_request_spec.rb +265 -679
- data/spec/models/application_result_spec.rb +444 -1184
- data/spec/models/available_number_list_spec.rb +289 -646
- data/spec/models/available_number_spec.rb +271 -650
- data/spec/models/barge_in_reason_spec.rb +27 -30
- data/spec/models/buy_incoming_number_request_spec.rb +136 -322
- data/spec/models/call_control_webhook_spec.rb +203 -503
- data/spec/models/call_direction_spec.rb +27 -30
- data/spec/models/call_ended_reason_spec.rb +107 -110
- data/spec/models/call_list_spec.rb +289 -646
- data/spec/models/call_result_spec.rb +679 -1778
- data/spec/models/call_status_spec.rb +47 -50
- data/spec/models/call_status_webhook_spec.rb +413 -990
- data/spec/models/capabilities_spec.rb +202 -411
- data/spec/models/completion_request_spec.rb +75 -143
- data/spec/models/completion_result_spec.rb +104 -231
- data/spec/models/completion_result_status_spec.rb +24 -27
- data/spec/models/conference_list_spec.rb +289 -646
- data/spec/models/conference_participant_list_spec.rb +289 -646
- data/spec/models/conference_participant_result_spec.rb +384 -938
- data/spec/models/conference_recording_status_webhook_spec.rb +464 -1197
- data/spec/models/conference_result_spec.rb +489 -1263
- data/spec/models/conference_status_spec.rb +31 -34
- data/spec/models/conference_status_webhook_spec.rb +464 -1197
- data/spec/models/create_conference_request_spec.rb +204 -485
- data/spec/models/create_conference_spec.rb +237 -557
- data/spec/models/create_conference_webhook_spec.rb +464 -1197
- data/spec/models/create_web_rtc_token_spec.rb +136 -307
- data/spec/models/dequeue_spec.rb +14 -17
- data/spec/models/dequeue_webhook_spec.rb +400 -1021
- data/spec/models/enqueue_spec.rb +169 -412
- data/spec/models/filter_logs_request_spec.rb +73 -145
- data/spec/models/get_digits_reason_spec.rb +31 -34
- data/spec/models/get_digits_spec.rb +326 -737
- data/spec/models/get_digits_webhook_spec.rb +435 -1127
- data/spec/models/get_speech_reason_spec.rb +39 -42
- data/spec/models/get_speech_spec.rb +399 -1036
- data/spec/models/get_speech_webhook_spec.rb +608 -1553
- data/spec/models/grammar_file_built_in_spec.rb +75 -78
- data/spec/models/grammar_type_spec.rb +24 -27
- data/spec/models/hangup_spec.rb +73 -145
- data/spec/models/if_machine_spec.rb +24 -27
- data/spec/models/inbound_call_webhook_spec.rb +371 -951
- data/spec/models/incoming_number_list_spec.rb +289 -646
- data/spec/models/incoming_number_request_spec.rb +136 -322
- data/spec/models/incoming_number_result_spec.rb +573 -1489
- data/spec/models/language_spec.rb +120 -123
- data/spec/models/leave_conference_webhook_spec.rb +341 -864
- data/spec/models/log_level_spec.rb +27 -30
- data/spec/models/log_list_spec.rb +289 -646
- data/spec/models/log_result_spec.rb +272 -667
- data/spec/models/machine_detected_webhook_spec.rb +401 -1036
- data/spec/models/machine_type_spec.rb +24 -27
- data/spec/models/make_call_request_spec.rb +353 -905
- data/spec/models/message_delivery_webhook_spec.rb +357 -942
- data/spec/models/message_direction_spec.rb +24 -27
- data/spec/models/message_request_spec.rb +324 -818
- data/spec/models/message_result_spec.rb +647 -1710
- data/spec/models/message_status_spec.rb +60 -63
- data/spec/models/message_status_webhook_spec.rb +405 -1045
- data/spec/models/messages_list_spec.rb +289 -646
- data/spec/models/mutable_resource_model_spec.rb +168 -395
- data/spec/models/out_dial_api_connect_webhook_spec.rb +371 -951
- data/spec/models/out_dial_connect_webhook_spec.rb +371 -951
- data/spec/models/out_dial_spec.rb +354 -903
- data/spec/models/out_dial_start_webhook_spec.rb +401 -1038
- data/spec/models/pagination_model_spec.rb +259 -577
- data/spec/models/park_spec.rb +136 -322
- data/spec/models/pause_spec.rb +72 -128
- data/spec/models/percl_command_spec.rb +76 -145
- data/spec/models/percl_script_spec.rb +73 -127
- data/spec/models/play_beep_spec.rb +31 -34
- data/spec/models/play_early_media_spec.rb +73 -145
- data/spec/models/play_spec.rb +135 -287
- data/spec/models/queue_list_spec.rb +289 -646
- data/spec/models/queue_member_list_spec.rb +289 -646
- data/spec/models/queue_member_spec.rb +199 -467
- data/spec/models/queue_request_spec.rb +103 -216
- data/spec/models/queue_result_spec.rb +388 -965
- data/spec/models/queue_result_status_spec.rb +31 -34
- data/spec/models/queue_wait_webhook_spec.rb +429 -1091
- data/spec/models/record_utterance_spec.rb +263 -591
- data/spec/models/record_utterance_term_reason_spec.rb +31 -34
- data/spec/models/record_webhook_spec.rb +605 -1548
- data/spec/models/recording_list_spec.rb +289 -646
- data/spec/models/recording_result_spec.rb +323 -819
- data/spec/models/redirect_spec.rb +73 -145
- data/spec/models/redirect_webhook_spec.rb +371 -951
- data/spec/models/reject_spec.rb +73 -145
- data/spec/models/remove_from_conference_spec.rb +14 -17
- data/spec/models/remove_from_queue_notification_webhook_spec.rb +404 -1023
- data/spec/models/request_type_spec.rb +107 -110
- data/spec/models/say_spec.rb +168 -377
- data/spec/models/send_digits_spec.rb +135 -287
- data/spec/models/set_dtmf_pass_through_spec.rb +74 -127
- data/spec/models/set_listen_spec.rb +74 -127
- data/spec/models/set_talk_spec.rb +74 -127
- data/spec/models/sms_spec.rb +169 -412
- data/spec/models/sms_ten_dlc_brand_alt_business_id_type_spec.rb +31 -34
- data/spec/models/sms_ten_dlc_brand_entity_type_spec.rb +35 -38
- data/spec/models/sms_ten_dlc_brand_identity_status_spec.rb +31 -34
- data/spec/models/sms_ten_dlc_brand_relationship_spec.rb +35 -38
- data/spec/models/sms_ten_dlc_brand_spec.rb +1082 -2746
- data/spec/models/sms_ten_dlc_brand_stock_exchange_spec.rb +124 -127
- data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +289 -646
- data/spec/models/sms_ten_dlc_campaign_spec.rb +1139 -2881
- data/spec/models/sms_ten_dlc_campaign_status_spec.rb +24 -27
- data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +289 -646
- data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +406 -1004
- data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +961 -2393
- data/spec/models/sms_ten_dlc_partner_campaign_status_spec.rb +24 -27
- data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +289 -646
- data/spec/models/sms_toll_free_campaign_registration_status_spec.rb +35 -38
- data/spec/models/sms_toll_free_campaign_spec.rb +270 -666
- data/spec/models/sms_toll_free_campaigns_list_result_spec.rb +289 -646
- data/spec/models/start_record_call_spec.rb +14 -17
- data/spec/models/terminate_conference_spec.rb +14 -17
- data/spec/models/tfn_campaign_spec.rb +330 -858
- data/spec/models/tfn_spec.rb +73 -145
- data/spec/models/transcribe_reason_spec.rb +35 -38
- data/spec/models/transcribe_term_reason_spec.rb +24 -27
- data/spec/models/transcribe_utterance_record_spec.rb +134 -270
- data/spec/models/transcribe_utterance_spec.rb +236 -523
- data/spec/models/transcribe_webhook_spec.rb +749 -1918
- data/spec/models/unpark_spec.rb +14 -17
- data/spec/models/update_call_request_spec.rb +74 -143
- data/spec/models/update_call_request_status_spec.rb +24 -27
- data/spec/models/update_conference_participant_request_spec.rb +137 -268
- data/spec/models/update_conference_request_spec.rb +140 -321
- data/spec/models/update_conference_request_status_spec.rb +24 -27
- data/spec/models/webhook_spec.rb +68 -137
- data/spec/quickstart_spec.rb +5 -5
- data/spec/spec_helper.rb +92 -100
- data/spec/utils/request_verifier_spec.rb +70 -71
- data/spec/utils/signature_information_spec.rb +23 -23
- data/yarn.lock +9 -0
- metadata +3 -151
@@ -1,33 +1,31 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
#
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
require
|
14
|
-
require 'json'
|
15
|
-
require 'facets/string/snakecase'
|
1
|
+
# #FreeClimb API
|
2
|
+
#
|
3
|
+
# 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.
|
4
|
+
#
|
5
|
+
# The version of the OpenAPI document: 1.0.0
|
6
|
+
# Contact: support@freeclimb.com
|
7
|
+
# Generated by: https://openapi-generator.tech
|
8
|
+
# OpenAPI Generator version: 7.9.0
|
9
|
+
#
|
10
|
+
|
11
|
+
require "spec_helper"
|
12
|
+
require "json"
|
13
|
+
require "facets/string/snakecase"
|
16
14
|
|
17
15
|
# Unit tests for Freeclimb::DefaultApi
|
18
16
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
17
|
# Please update as you see appropriate
|
20
|
-
describe
|
18
|
+
describe "DefaultApi" do
|
21
19
|
before do
|
22
20
|
# run before each test
|
23
21
|
Freeclimb.configure do |config|
|
24
22
|
# Configure HTTP basic authorization: fc
|
25
|
-
config.scheme =
|
26
|
-
config.host =
|
27
|
-
config.base_path =
|
23
|
+
config.scheme = "http"
|
24
|
+
config.host = "http://127.0.0.1:4010/"
|
25
|
+
config.base_path = "/"
|
28
26
|
config.server_index = nil
|
29
|
-
config.username =
|
30
|
-
config.password =
|
27
|
+
config.username = "ACCOUNT_ID"
|
28
|
+
config.password = "API_KEY"
|
31
29
|
end
|
32
30
|
|
33
31
|
@api_client = Freeclimb::ApiClient.new
|
@@ -35,63 +33,63 @@ describe 'DefaultApi' do
|
|
35
33
|
Freeclimb::File = Tempfile
|
36
34
|
|
37
35
|
@api_instance = Freeclimb::DefaultApi.new(@api_client)
|
38
|
-
@buy_incoming_number_request_buy_a_phone_number_test_value = Freeclimb::BuyIncomingNumberRequest.new({
|
39
|
-
|
40
|
-
@create_conference_request_create_a_conference_test_value = Freeclimb::CreateConferenceRequest.new({
|
36
|
+
@buy_incoming_number_request_buy_a_phone_number_test_value = Freeclimb::BuyIncomingNumberRequest.new({phone_number: "phone_number_example"})
|
37
|
+
|
38
|
+
@create_conference_request_create_a_conference_test_value = Freeclimb::CreateConferenceRequest.new({_alias: "alias_example", play_beep: Freeclimb::PlayBeep::ALWAYS, record: true, wait_url: "https://wait_url_example.com", status_callback_url: "https://status_callback_url_example.com"})
|
41
39
|
|
42
40
|
@queue_request_create_a_queue_test_value = Freeclimb::QueueRequest.new
|
43
41
|
|
44
42
|
@application_request_create_an_application_test_value = Freeclimb::ApplicationRequest.new
|
45
|
-
|
46
|
-
@recording_id_delete_a_recording_test_value = 'recordingId_example'
|
47
43
|
|
48
|
-
@
|
44
|
+
@recording_id_delete_a_recording_test_value = "recordingId_example"
|
45
|
+
|
46
|
+
@application_id_delete_an_application_test_value = "applicationId_example"
|
49
47
|
|
50
|
-
@phone_number_id_delete_an_incoming_number_test_value =
|
48
|
+
@phone_number_id_delete_an_incoming_number_test_value = "phoneNumberId_example"
|
51
49
|
|
52
|
-
@queue_id_dequeue_a_member_test_value =
|
50
|
+
@queue_id_dequeue_a_member_test_value = "queueId_example"
|
53
51
|
|
54
|
-
@call_id_dequeue_a_member_test_value =
|
52
|
+
@call_id_dequeue_a_member_test_value = "callId_example"
|
55
53
|
|
56
|
-
@queue_id_dequeue_head_member_test_value =
|
54
|
+
@queue_id_dequeue_head_member_test_value = "queueId_example"
|
57
55
|
|
58
|
-
@recording_id_download_a_recording_file_test_value =
|
56
|
+
@recording_id_download_a_recording_file_test_value = "recordingId_example"
|
59
57
|
|
60
|
-
@filter_logs_request_filter_logs_test_value = Freeclimb::FilterLogsRequest.new({
|
58
|
+
@filter_logs_request_filter_logs_test_value = Freeclimb::FilterLogsRequest.new({pql: "pql_example"})
|
61
59
|
|
62
|
-
@call_id_get_a_call_test_value =
|
60
|
+
@call_id_get_a_call_test_value = "callId_example"
|
63
61
|
|
64
|
-
@conference_id_get_a_conference_test_value =
|
62
|
+
@conference_id_get_a_conference_test_value = "conferenceId_example"
|
65
63
|
|
66
|
-
@queue_id_get_a_member_test_value =
|
64
|
+
@queue_id_get_a_member_test_value = "queueId_example"
|
67
65
|
|
68
|
-
@call_id_get_a_member_test_value =
|
66
|
+
@call_id_get_a_member_test_value = "callId_example"
|
69
67
|
|
70
|
-
@conference_id_get_a_participant_test_value =
|
68
|
+
@conference_id_get_a_participant_test_value = "conferenceId_example"
|
71
69
|
|
72
|
-
@call_id_get_a_participant_test_value =
|
70
|
+
@call_id_get_a_participant_test_value = "callId_example"
|
73
71
|
|
74
|
-
@queue_id_get_a_queue_test_value =
|
72
|
+
@queue_id_get_a_queue_test_value = "queueId_example"
|
75
73
|
|
76
|
-
@recording_id_get_a_recording_test_value =
|
74
|
+
@recording_id_get_a_recording_test_value = "recordingId_example"
|
77
75
|
|
78
|
-
@application_id_get_an_application_test_value =
|
76
|
+
@application_id_get_an_application_test_value = "applicationId_example"
|
79
77
|
|
80
|
-
@phone_number_id_get_an_incoming_number_test_value =
|
78
|
+
@phone_number_id_get_an_incoming_number_test_value = "phoneNumberId_example"
|
81
79
|
|
82
|
-
@message_id_get_an_sms_message_test_value =
|
80
|
+
@message_id_get_an_sms_message_test_value = "messageId_example"
|
83
81
|
|
84
|
-
@queue_id_get_head_member_test_value =
|
82
|
+
@queue_id_get_head_member_test_value = "queueId_example"
|
85
83
|
|
86
|
-
@alias_list_active_queues_test_value =
|
84
|
+
@alias_list_active_queues_test_value = "alias_example"
|
87
85
|
|
88
|
-
@alias_list_applications_test_value =
|
86
|
+
@alias_list_applications_test_value = "alias_example"
|
89
87
|
|
90
|
-
@phone_number_list_available_numbers_test_value =
|
88
|
+
@phone_number_list_available_numbers_test_value = "phoneNumberId_example"
|
91
89
|
|
92
|
-
@region_list_available_numbers_test_value =
|
90
|
+
@region_list_available_numbers_test_value = "region_example"
|
93
91
|
|
94
|
-
@country_list_available_numbers_test_value =
|
92
|
+
@country_list_available_numbers_test_value = "country_example"
|
95
93
|
|
96
94
|
@voice_enabled_list_available_numbers_test_value = true
|
97
95
|
|
@@ -107,45 +105,45 @@ describe 'DefaultApi' do
|
|
107
105
|
|
108
106
|
@capabilities_short_code_list_available_numbers_test_value = true
|
109
107
|
|
110
|
-
@call_id_list_call_logs_test_value =
|
108
|
+
@call_id_list_call_logs_test_value = "callId_example"
|
111
109
|
|
112
|
-
@call_id_list_call_recordings_test_value =
|
110
|
+
@call_id_list_call_recordings_test_value = "callId_example"
|
113
111
|
|
114
|
-
@date_created_list_call_recordings_test_value =
|
112
|
+
@date_created_list_call_recordings_test_value = "dateCreated_example"
|
115
113
|
|
116
|
-
@active_list_calls_test_value = false
|
114
|
+
@active_list_calls_test_value = false
|
117
115
|
|
118
|
-
@to_list_calls_test_value =
|
116
|
+
@to_list_calls_test_value = "to_example"
|
119
117
|
|
120
|
-
@_from_list_calls_test_value =
|
118
|
+
@_from_list_calls_test_value = "from_example"
|
121
119
|
|
122
120
|
@status_list_calls_test_value = Freeclimb::CallStatus::QUEUED
|
123
121
|
|
124
|
-
@start_time_list_calls_test_value =
|
122
|
+
@start_time_list_calls_test_value = "startTime_example"
|
125
123
|
|
126
|
-
@end_time_list_calls_test_value =
|
124
|
+
@end_time_list_calls_test_value = "endTime_example"
|
127
125
|
|
128
|
-
@parent_call_id_list_calls_test_value =
|
126
|
+
@parent_call_id_list_calls_test_value = "parentCallId_example"
|
129
127
|
|
130
|
-
@application_id_list_calls_test_value = [
|
128
|
+
@application_id_list_calls_test_value = ["AP0123456789ABCDEFabcedf000000000000000001", "AP0123456789ABCDEFabcedf000000000000000002", "AP0123456789ABCDEFabcedf000000000000000002"]
|
131
129
|
|
132
|
-
@status_list_conferences_test_value =
|
130
|
+
@status_list_conferences_test_value = "status_example"
|
133
131
|
|
134
|
-
@alias_list_conferences_test_value =
|
132
|
+
@alias_list_conferences_test_value = "alias_example"
|
135
133
|
|
136
|
-
@date_created_list_conferences_test_value =
|
134
|
+
@date_created_list_conferences_test_value = "dateCreated_example"
|
137
135
|
|
138
|
-
@date_updated_list_conferences_test_value =
|
139
|
-
|
140
|
-
@phone_number_list_incoming_numbers_test_value = 'phoneNumberId_example'
|
136
|
+
@date_updated_list_conferences_test_value = "dateUpdated_example"
|
141
137
|
|
142
|
-
@
|
138
|
+
@phone_number_list_incoming_numbers_test_value = "phoneNumberId_example"
|
143
139
|
|
144
|
-
@
|
140
|
+
@alias_list_incoming_numbers_test_value = "alias_example"
|
145
141
|
|
146
|
-
@
|
142
|
+
@region_list_incoming_numbers_test_value = "region_example"
|
147
143
|
|
148
|
-
@
|
144
|
+
@country_list_incoming_numbers_test_value = "country_example"
|
145
|
+
|
146
|
+
@application_id_list_incoming_numbers_test_value = "applicationId_example"
|
149
147
|
|
150
148
|
@has_application_list_incoming_numbers_test_value = false
|
151
149
|
|
@@ -163,67 +161,67 @@ describe 'DefaultApi' do
|
|
163
161
|
|
164
162
|
@capabilities_short_code_list_incoming_numbers_test_value = true
|
165
163
|
|
166
|
-
@queue_id_list_members_test_value =
|
164
|
+
@queue_id_list_members_test_value = "queueId_example"
|
167
165
|
|
168
|
-
@conference_id_list_participants_test_value =
|
166
|
+
@conference_id_list_participants_test_value = "conferenceId_example"
|
169
167
|
|
170
168
|
@talk_list_participants_test_value = true
|
171
169
|
|
172
170
|
@listen_list_participants_test_value = true
|
173
171
|
|
174
|
-
@to_list_sms_messages_test_value =
|
172
|
+
@to_list_sms_messages_test_value = "to_example"
|
175
173
|
|
176
|
-
@_from_list_sms_messages_test_value =
|
174
|
+
@_from_list_sms_messages_test_value = "from_example"
|
177
175
|
|
178
|
-
@begin_time_list_sms_messages_test_value =
|
176
|
+
@begin_time_list_sms_messages_test_value = "beginTime_example"
|
179
177
|
|
180
|
-
@end_time_list_sms_messages_test_value =
|
178
|
+
@end_time_list_sms_messages_test_value = "endTime_example"
|
181
179
|
|
182
180
|
@direction_list_sms_messages_test_value = Freeclimb::MessageDirection::INBOUND
|
183
181
|
|
184
|
-
@conference_id_remove_a_participant_test_value =
|
182
|
+
@conference_id_remove_a_participant_test_value = "conferenceId_example"
|
185
183
|
|
186
|
-
@call_id_remove_a_participant_test_value =
|
184
|
+
@call_id_remove_a_participant_test_value = "callId_example"
|
187
185
|
|
188
|
-
@recording_id_stream_a_recording_file_test_value =
|
186
|
+
@recording_id_stream_a_recording_file_test_value = "recordingId_example"
|
189
187
|
|
190
|
-
@conference_id_update_a_conference_test_value =
|
188
|
+
@conference_id_update_a_conference_test_value = "conferenceId_example"
|
191
189
|
|
192
|
-
@call_id_update_a_live_call_test_value =
|
190
|
+
@call_id_update_a_live_call_test_value = "callId_example"
|
193
191
|
|
194
|
-
@conference_id_update_a_participant_test_value =
|
192
|
+
@conference_id_update_a_participant_test_value = "conferenceId_example"
|
195
193
|
|
196
|
-
@call_id_update_a_participant_test_value =
|
194
|
+
@call_id_update_a_participant_test_value = "callId_example"
|
197
195
|
|
198
|
-
@queue_id_update_a_queue_test_value =
|
196
|
+
@queue_id_update_a_queue_test_value = "queueId_example"
|
199
197
|
|
200
|
-
@application_id_update_an_application_test_value =
|
198
|
+
@application_id_update_an_application_test_value = "applicationId_example"
|
201
199
|
|
202
|
-
@phone_number_id_update_an_incoming_number_test_value =
|
200
|
+
@phone_number_id_update_an_incoming_number_test_value = "phoneNumberId_example"
|
203
201
|
|
204
202
|
@offnet_list_incoming_numbers_test_value = true
|
205
203
|
|
206
|
-
@call_id_list_recordings_test_value =
|
204
|
+
@call_id_list_recordings_test_value = "callId_example"
|
207
205
|
|
208
|
-
@conference_id_list_recordings_test_value =
|
206
|
+
@conference_id_list_recordings_test_value = "conferenceId_example"
|
209
207
|
|
210
|
-
@date_created_list_recordings_test_value =
|
208
|
+
@date_created_list_recordings_test_value = "dateCreated_example"
|
211
209
|
|
212
|
-
@brand_id_get_ten_dlc_sms_campaigns_test_value =
|
210
|
+
@brand_id_get_ten_dlc_sms_campaigns_test_value = "BX56XX4"
|
213
211
|
|
214
|
-
@brand_id_get_ten_dlc_sms_partner_campaigns_test_value =
|
212
|
+
@brand_id_get_ten_dlc_sms_partner_campaigns_test_value = "BX56XX4"
|
215
213
|
|
216
|
-
@brand_id_get_ten_dlc_sms_brand_test_value =
|
214
|
+
@brand_id_get_ten_dlc_sms_brand_test_value = "BX56XX4"
|
217
215
|
|
218
|
-
@campaign_id_get_ten_dlc_sms_campaign_test_value =
|
216
|
+
@campaign_id_get_ten_dlc_sms_campaign_test_value = "CX56XX4"
|
219
217
|
|
220
|
-
@campaign_id_get_ten_dlc_sms_partner_campaign_test_value =
|
218
|
+
@campaign_id_get_ten_dlc_sms_partner_campaign_test_value = "CX56XX4"
|
221
219
|
|
222
220
|
@has_campaign_list_incoming_numbers_test_value = true
|
223
221
|
|
224
|
-
@campaign_id_list_sms_messages_test_value =
|
222
|
+
@campaign_id_list_sms_messages_test_value = "CX56XX4"
|
225
223
|
|
226
|
-
@brand_id_list_sms_messages_test_value =
|
224
|
+
@brand_id_list_sms_messages_test_value = "BX56XX4"
|
227
225
|
|
228
226
|
@is10_dlc_list_sms_messages_test_value = true
|
229
227
|
|
@@ -231,29 +229,29 @@ describe 'DefaultApi' do
|
|
231
229
|
|
232
230
|
@application_request_update_an_application_test_value = Freeclimb::ApplicationRequest.new
|
233
231
|
|
234
|
-
@make_call_request_make_a_call_test_value = Freeclimb::MakeCallRequest.new({
|
232
|
+
@make_call_request_make_a_call_test_value = Freeclimb::MakeCallRequest.new({from: "from_example", to: "to_example"})
|
233
|
+
|
234
|
+
@message_request_send_an_sms_message_test_value = Freeclimb::MessageRequest.new({from: "from_example", to: "to_example", text: "text_example"})
|
235
235
|
|
236
|
-
@
|
236
|
+
@update_conference_request_update_a_conference_test_value = Freeclimb::UpdateConferenceRequest.new({_alias: "alias_example", play_beep: Freeclimb::PlayBeep::ALWAYS, status: Freeclimb::UpdateConferenceRequestStatus::EMPTY})
|
237
237
|
|
238
|
-
@
|
238
|
+
@update_call_request_update_a_live_call_test_value = Freeclimb::UpdateCallRequest.new({status: Freeclimb::UpdateCallRequestStatus::CANCELED})
|
239
239
|
|
240
|
-
@
|
241
|
-
|
242
|
-
@update_conference_participant_request_update_a_participant_test_value = Freeclimb::UpdateConferenceParticipantRequest.new
|
240
|
+
@update_conference_participant_request_update_a_participant_test_value = Freeclimb::UpdateConferenceParticipantRequest.new
|
243
241
|
|
244
242
|
@account_request_update_an_account_test_value = Freeclimb::AccountRequest.new
|
245
243
|
|
246
244
|
@incoming_number_request_update_an_incoming_number_test_value = Freeclimb::IncomingNumberRequest.new
|
247
|
-
|
248
|
-
@campaign_id_get_toll_free_sms_campaign_test_value = 'CX56XX4'
|
249
245
|
|
250
|
-
@
|
246
|
+
@campaign_id_get_toll_free_sms_campaign_test_value = "CX56XX4"
|
247
|
+
|
248
|
+
@conference_id_list_conference_recordings_test_value = "conferenceId_example"
|
251
249
|
|
252
|
-
@create_web_rtc_token_make_a_webrtc_jwt_test_value = Freeclimb::CreateWebRTCToken.new({
|
250
|
+
@create_web_rtc_token_make_a_webrtc_jwt_test_value = Freeclimb::CreateWebRTCToken.new({to: "to_example", from: "from_example", uses: 2})
|
253
251
|
|
254
|
-
@knowledge_base_id_create_knowledge_base_completion_test_value =
|
252
|
+
@knowledge_base_id_create_knowledge_base_completion_test_value = "knowledgeBaseId_example"
|
255
253
|
|
256
|
-
@completion_request_create_knowledge_base_completion_test_value = Freeclimb::CompletionRequest.new({
|
254
|
+
@completion_request_create_knowledge_base_completion_test_value = Freeclimb::CompletionRequest.new({query: "query_example"})
|
257
255
|
end
|
258
256
|
|
259
257
|
after do
|
@@ -261,8 +259,8 @@ describe 'DefaultApi' do
|
|
261
259
|
# run after each test
|
262
260
|
end
|
263
261
|
|
264
|
-
describe
|
265
|
-
it
|
262
|
+
describe "test an instance of DefaultApi" do
|
263
|
+
it "should create an instance of DefaultApi" do
|
266
264
|
expect(@api_instance).to be_instance_of(Freeclimb::DefaultApi)
|
267
265
|
end
|
268
266
|
end
|
@@ -272,19 +270,17 @@ describe 'DefaultApi' do
|
|
272
270
|
# @param buy_incoming_number_request Incoming Number transaction details
|
273
271
|
# @param [Hash] opts the optional parameters
|
274
272
|
# @return [IncomingNumberResult]
|
275
|
-
describe
|
276
|
-
it
|
277
|
-
|
273
|
+
describe "buy_a_phone_number test" do
|
274
|
+
it "should work" do
|
278
275
|
buy_incoming_number_request = @buy_incoming_number_request_buy_a_phone_number_test_value
|
279
|
-
|
276
|
+
|
280
277
|
result = @api_instance.buy_a_phone_number(
|
281
278
|
buy_incoming_number_request,
|
282
279
|
{}
|
283
280
|
)
|
284
|
-
|
285
|
-
|
281
|
+
|
286
282
|
expect(result).to be_a Freeclimb::IncomingNumberResult
|
287
|
-
|
283
|
+
|
288
284
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
289
285
|
end
|
290
286
|
end
|
@@ -294,21 +290,18 @@ describe 'DefaultApi' do
|
|
294
290
|
# @param [Hash] opts the optional parameters
|
295
291
|
# @option opts [CreateConferenceRequest] :create_conference_request Conference to create
|
296
292
|
# @return [ConferenceResult]
|
297
|
-
describe
|
298
|
-
it
|
299
|
-
|
293
|
+
describe "create_a_conference test" do
|
294
|
+
it "should work" do
|
300
295
|
create_conference_request = @create_conference_request_create_a_conference_test_value
|
301
|
-
|
296
|
+
|
302
297
|
result = @api_instance.create_a_conference(
|
303
|
-
|
304
298
|
{
|
305
|
-
:
|
299
|
+
create_conference_request: create_conference_request
|
306
300
|
}
|
307
301
|
)
|
308
|
-
|
309
|
-
|
302
|
+
|
310
303
|
expect(result).to be_a Freeclimb::ConferenceResult
|
311
|
-
|
304
|
+
|
312
305
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
313
306
|
end
|
314
307
|
end
|
@@ -318,21 +311,18 @@ describe 'DefaultApi' do
|
|
318
311
|
# @param [Hash] opts the optional parameters
|
319
312
|
# @option opts [QueueRequest] :queue_request Queue details used to create a queue
|
320
313
|
# @return [QueueResult]
|
321
|
-
describe
|
322
|
-
it
|
323
|
-
|
314
|
+
describe "create_a_queue test" do
|
315
|
+
it "should work" do
|
324
316
|
queue_request = @queue_request_create_a_queue_test_value
|
325
|
-
|
317
|
+
|
326
318
|
result = @api_instance.create_a_queue(
|
327
|
-
|
328
319
|
{
|
329
|
-
:
|
320
|
+
queue_request: queue_request
|
330
321
|
}
|
331
322
|
)
|
332
|
-
|
333
|
-
|
323
|
+
|
334
324
|
expect(result).to be_a Freeclimb::QueueResult
|
335
|
-
|
325
|
+
|
336
326
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
337
327
|
end
|
338
328
|
end
|
@@ -342,21 +332,18 @@ describe 'DefaultApi' do
|
|
342
332
|
# @param [Hash] opts the optional parameters
|
343
333
|
# @option opts [ApplicationRequest] :application_request Application Details
|
344
334
|
# @return [ApplicationResult]
|
345
|
-
describe
|
346
|
-
it
|
347
|
-
|
335
|
+
describe "create_an_application test" do
|
336
|
+
it "should work" do
|
348
337
|
application_request = @application_request_create_an_application_test_value
|
349
|
-
|
338
|
+
|
350
339
|
result = @api_instance.create_an_application(
|
351
|
-
|
352
340
|
{
|
353
|
-
:
|
341
|
+
application_request: application_request
|
354
342
|
}
|
355
343
|
)
|
356
|
-
|
357
|
-
|
344
|
+
|
358
345
|
expect(result).to be_a Freeclimb::ApplicationResult
|
359
|
-
|
346
|
+
|
360
347
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
361
348
|
end
|
362
349
|
end
|
@@ -367,22 +354,20 @@ describe 'DefaultApi' do
|
|
367
354
|
# @param [Hash] opts the optional parameters
|
368
355
|
# @option opts [CompletionRequest] :completion_request Completion request details
|
369
356
|
# @return [CompletionResult]
|
370
|
-
describe
|
371
|
-
it
|
372
|
-
|
357
|
+
describe "create_knowledge_base_completion test" do
|
358
|
+
it "should work" do
|
373
359
|
knowledge_base_id = @knowledge_base_id_create_knowledge_base_completion_test_value
|
374
360
|
completion_request = @completion_request_create_knowledge_base_completion_test_value
|
375
|
-
|
361
|
+
|
376
362
|
result = @api_instance.create_knowledge_base_completion(
|
377
363
|
knowledge_base_id,
|
378
364
|
{
|
379
|
-
:
|
365
|
+
completion_request: completion_request
|
380
366
|
}
|
381
367
|
)
|
382
|
-
|
383
|
-
|
368
|
+
|
384
369
|
expect(result).to be_a Freeclimb::CompletionResult
|
385
|
-
|
370
|
+
|
386
371
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
387
372
|
end
|
388
373
|
end
|
@@ -392,18 +377,15 @@ describe 'DefaultApi' do
|
|
392
377
|
# @param recording_id String that uniquely identifies this recording resource.
|
393
378
|
# @param [Hash] opts the optional parameters
|
394
379
|
# @return [nil]
|
395
|
-
describe
|
396
|
-
it
|
397
|
-
|
380
|
+
describe "delete_a_recording test" do
|
381
|
+
it "should work" do
|
398
382
|
recording_id = @recording_id_delete_a_recording_test_value
|
399
|
-
|
383
|
+
|
400
384
|
result = @api_instance.delete_a_recording(
|
401
385
|
recording_id,
|
402
386
|
{}
|
403
387
|
)
|
404
|
-
|
405
|
-
|
406
|
-
|
388
|
+
|
407
389
|
expect(result).to be_nil
|
408
390
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
409
391
|
end
|
@@ -414,18 +396,15 @@ describe 'DefaultApi' do
|
|
414
396
|
# @param application_id String that uniquely identifies this application resource.
|
415
397
|
# @param [Hash] opts the optional parameters
|
416
398
|
# @return [nil]
|
417
|
-
describe
|
418
|
-
it
|
419
|
-
|
399
|
+
describe "delete_an_application test" do
|
400
|
+
it "should work" do
|
420
401
|
application_id = @application_id_delete_an_application_test_value
|
421
|
-
|
402
|
+
|
422
403
|
result = @api_instance.delete_an_application(
|
423
404
|
application_id,
|
424
405
|
{}
|
425
406
|
)
|
426
|
-
|
427
|
-
|
428
|
-
|
407
|
+
|
429
408
|
expect(result).to be_nil
|
430
409
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
431
410
|
end
|
@@ -436,18 +415,15 @@ describe 'DefaultApi' do
|
|
436
415
|
# @param phone_number_id String that uniquely identifies this phone number resource.
|
437
416
|
# @param [Hash] opts the optional parameters
|
438
417
|
# @return [nil]
|
439
|
-
describe
|
440
|
-
it
|
441
|
-
|
418
|
+
describe "delete_an_incoming_number test" do
|
419
|
+
it "should work" do
|
442
420
|
phone_number_id = @phone_number_id_delete_an_incoming_number_test_value
|
443
|
-
|
421
|
+
|
444
422
|
result = @api_instance.delete_an_incoming_number(
|
445
423
|
phone_number_id,
|
446
424
|
{}
|
447
425
|
)
|
448
|
-
|
449
|
-
|
450
|
-
|
426
|
+
|
451
427
|
expect(result).to be_nil
|
452
428
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
453
429
|
end
|
@@ -459,20 +435,18 @@ describe 'DefaultApi' do
|
|
459
435
|
# @param call_id ID if the Call that the Member belongs to
|
460
436
|
# @param [Hash] opts the optional parameters
|
461
437
|
# @return [QueueMember]
|
462
|
-
describe
|
463
|
-
it
|
464
|
-
|
438
|
+
describe "dequeue_a_member test" do
|
439
|
+
it "should work" do
|
465
440
|
queue_id = @queue_id_dequeue_a_member_test_value
|
466
441
|
call_id = @call_id_dequeue_a_member_test_value
|
467
|
-
|
442
|
+
|
468
443
|
result = @api_instance.dequeue_a_member(
|
469
444
|
queue_id, call_id,
|
470
445
|
{}
|
471
446
|
)
|
472
|
-
|
473
|
-
|
447
|
+
|
474
448
|
expect(result).to be_a Freeclimb::QueueMember
|
475
|
-
|
449
|
+
|
476
450
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
477
451
|
end
|
478
452
|
end
|
@@ -482,19 +456,17 @@ describe 'DefaultApi' do
|
|
482
456
|
# @param queue_id String that uniquely identifies this queue resource.
|
483
457
|
# @param [Hash] opts the optional parameters
|
484
458
|
# @return [QueueMember]
|
485
|
-
describe
|
486
|
-
it
|
487
|
-
|
459
|
+
describe "dequeue_head_member test" do
|
460
|
+
it "should work" do
|
488
461
|
queue_id = @queue_id_dequeue_head_member_test_value
|
489
|
-
|
462
|
+
|
490
463
|
result = @api_instance.dequeue_head_member(
|
491
464
|
queue_id,
|
492
465
|
{}
|
493
466
|
)
|
494
|
-
|
495
|
-
|
467
|
+
|
496
468
|
expect(result).to be_a Freeclimb::QueueMember
|
497
|
-
|
469
|
+
|
498
470
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
499
471
|
end
|
500
472
|
end
|
@@ -504,19 +476,17 @@ describe 'DefaultApi' do
|
|
504
476
|
# @param recording_id String that uniquely identifies this recording resource.
|
505
477
|
# @param [Hash] opts the optional parameters
|
506
478
|
# @return [File]
|
507
|
-
describe
|
508
|
-
it
|
509
|
-
|
479
|
+
describe "download_a_recording_file test" do
|
480
|
+
it "should work" do
|
510
481
|
recording_id = @recording_id_download_a_recording_file_test_value
|
511
|
-
|
482
|
+
|
512
483
|
result = @api_instance.download_a_recording_file(
|
513
484
|
recording_id,
|
514
485
|
{}
|
515
486
|
)
|
516
|
-
|
517
|
-
|
487
|
+
|
518
488
|
expect(result).to be_a Freeclimb::File
|
519
|
-
|
489
|
+
|
520
490
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
521
491
|
end
|
522
492
|
end
|
@@ -526,19 +496,17 @@ describe 'DefaultApi' do
|
|
526
496
|
# @param filter_logs_request Filter logs request paramters
|
527
497
|
# @param [Hash] opts the optional parameters
|
528
498
|
# @return [LogList]
|
529
|
-
describe
|
530
|
-
it
|
531
|
-
|
499
|
+
describe "filter_logs test" do
|
500
|
+
it "should work" do
|
532
501
|
filter_logs_request = @filter_logs_request_filter_logs_test_value
|
533
|
-
|
502
|
+
|
534
503
|
result = @api_instance.filter_logs(
|
535
504
|
filter_logs_request,
|
536
505
|
{}
|
537
506
|
)
|
538
|
-
|
539
|
-
|
507
|
+
|
540
508
|
expect(result).to be_a Freeclimb::LogList
|
541
|
-
|
509
|
+
|
542
510
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
543
511
|
end
|
544
512
|
end
|
@@ -548,19 +516,17 @@ describe 'DefaultApi' do
|
|
548
516
|
# @param call_id String that uniquely identifies this call resource.
|
549
517
|
# @param [Hash] opts the optional parameters
|
550
518
|
# @return [CallResult]
|
551
|
-
describe
|
552
|
-
it
|
553
|
-
|
519
|
+
describe "get_a_call test" do
|
520
|
+
it "should work" do
|
554
521
|
call_id = @call_id_get_a_call_test_value
|
555
|
-
|
522
|
+
|
556
523
|
result = @api_instance.get_a_call(
|
557
524
|
call_id,
|
558
525
|
{}
|
559
526
|
)
|
560
|
-
|
561
|
-
|
527
|
+
|
562
528
|
expect(result).to be_a Freeclimb::CallResult
|
563
|
-
|
529
|
+
|
564
530
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
565
531
|
end
|
566
532
|
end
|
@@ -570,19 +536,17 @@ describe 'DefaultApi' do
|
|
570
536
|
# @param conference_id A string that uniquely identifies this conference resource.
|
571
537
|
# @param [Hash] opts the optional parameters
|
572
538
|
# @return [ConferenceResult]
|
573
|
-
describe
|
574
|
-
it
|
575
|
-
|
539
|
+
describe "get_a_conference test" do
|
540
|
+
it "should work" do
|
576
541
|
conference_id = @conference_id_get_a_conference_test_value
|
577
|
-
|
542
|
+
|
578
543
|
result = @api_instance.get_a_conference(
|
579
544
|
conference_id,
|
580
545
|
{}
|
581
546
|
)
|
582
|
-
|
583
|
-
|
547
|
+
|
584
548
|
expect(result).to be_a Freeclimb::ConferenceResult
|
585
|
-
|
549
|
+
|
586
550
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
587
551
|
end
|
588
552
|
end
|
@@ -593,20 +557,18 @@ describe 'DefaultApi' do
|
|
593
557
|
# @param call_id ID of the Call that the Member belongs to
|
594
558
|
# @param [Hash] opts the optional parameters
|
595
559
|
# @return [QueueMember]
|
596
|
-
describe
|
597
|
-
it
|
598
|
-
|
560
|
+
describe "get_a_member test" do
|
561
|
+
it "should work" do
|
599
562
|
queue_id = @queue_id_get_a_member_test_value
|
600
563
|
call_id = @call_id_get_a_member_test_value
|
601
|
-
|
564
|
+
|
602
565
|
result = @api_instance.get_a_member(
|
603
566
|
queue_id, call_id,
|
604
567
|
{}
|
605
568
|
)
|
606
|
-
|
607
|
-
|
569
|
+
|
608
570
|
expect(result).to be_a Freeclimb::QueueMember
|
609
|
-
|
571
|
+
|
610
572
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
611
573
|
end
|
612
574
|
end
|
@@ -617,20 +579,18 @@ describe 'DefaultApi' do
|
|
617
579
|
# @param call_id ID of the Call associated with this participant.
|
618
580
|
# @param [Hash] opts the optional parameters
|
619
581
|
# @return [ConferenceParticipantResult]
|
620
|
-
describe
|
621
|
-
it
|
622
|
-
|
582
|
+
describe "get_a_participant test" do
|
583
|
+
it "should work" do
|
623
584
|
conference_id = @conference_id_get_a_participant_test_value
|
624
585
|
call_id = @call_id_get_a_participant_test_value
|
625
|
-
|
586
|
+
|
626
587
|
result = @api_instance.get_a_participant(
|
627
588
|
conference_id, call_id,
|
628
589
|
{}
|
629
590
|
)
|
630
|
-
|
631
|
-
|
591
|
+
|
632
592
|
expect(result).to be_a Freeclimb::ConferenceParticipantResult
|
633
|
-
|
593
|
+
|
634
594
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
635
595
|
end
|
636
596
|
end
|
@@ -640,19 +600,17 @@ describe 'DefaultApi' do
|
|
640
600
|
# @param queue_id A string that uniquely identifies this queue resource.
|
641
601
|
# @param [Hash] opts the optional parameters
|
642
602
|
# @return [QueueResult]
|
643
|
-
describe
|
644
|
-
it
|
645
|
-
|
603
|
+
describe "get_a_queue test" do
|
604
|
+
it "should work" do
|
646
605
|
queue_id = @queue_id_get_a_queue_test_value
|
647
|
-
|
606
|
+
|
648
607
|
result = @api_instance.get_a_queue(
|
649
608
|
queue_id,
|
650
609
|
{}
|
651
610
|
)
|
652
|
-
|
653
|
-
|
611
|
+
|
654
612
|
expect(result).to be_a Freeclimb::QueueResult
|
655
|
-
|
613
|
+
|
656
614
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
657
615
|
end
|
658
616
|
end
|
@@ -662,19 +620,17 @@ describe 'DefaultApi' do
|
|
662
620
|
# @param recording_id String that uniquely identifies this recording resource.
|
663
621
|
# @param [Hash] opts the optional parameters
|
664
622
|
# @return [RecordingResult]
|
665
|
-
describe
|
666
|
-
it
|
667
|
-
|
623
|
+
describe "get_a_recording test" do
|
624
|
+
it "should work" do
|
668
625
|
recording_id = @recording_id_get_a_recording_test_value
|
669
|
-
|
626
|
+
|
670
627
|
result = @api_instance.get_a_recording(
|
671
628
|
recording_id,
|
672
629
|
{}
|
673
630
|
)
|
674
|
-
|
675
|
-
|
631
|
+
|
676
632
|
expect(result).to be_a Freeclimb::RecordingResult
|
677
|
-
|
633
|
+
|
678
634
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
679
635
|
end
|
680
636
|
end
|
@@ -683,18 +639,14 @@ describe 'DefaultApi' do
|
|
683
639
|
# Get an Account
|
684
640
|
# @param [Hash] opts the optional parameters
|
685
641
|
# @return [AccountResult]
|
686
|
-
describe
|
687
|
-
it
|
688
|
-
|
689
|
-
|
642
|
+
describe "get_an_account test" do
|
643
|
+
it "should work" do
|
690
644
|
result = @api_instance.get_an_account(
|
691
|
-
|
692
645
|
{}
|
693
646
|
)
|
694
|
-
|
695
|
-
|
647
|
+
|
696
648
|
expect(result).to be_a Freeclimb::AccountResult
|
697
|
-
|
649
|
+
|
698
650
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
699
651
|
end
|
700
652
|
end
|
@@ -704,19 +656,17 @@ describe 'DefaultApi' do
|
|
704
656
|
# @param application_id A string that uniquely identifies this application resource.
|
705
657
|
# @param [Hash] opts the optional parameters
|
706
658
|
# @return [ApplicationResult]
|
707
|
-
describe
|
708
|
-
it
|
709
|
-
|
659
|
+
describe "get_an_application test" do
|
660
|
+
it "should work" do
|
710
661
|
application_id = @application_id_get_an_application_test_value
|
711
|
-
|
662
|
+
|
712
663
|
result = @api_instance.get_an_application(
|
713
664
|
application_id,
|
714
665
|
{}
|
715
666
|
)
|
716
|
-
|
717
|
-
|
667
|
+
|
718
668
|
expect(result).to be_a Freeclimb::ApplicationResult
|
719
|
-
|
669
|
+
|
720
670
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
721
671
|
end
|
722
672
|
end
|
@@ -726,19 +676,17 @@ describe 'DefaultApi' do
|
|
726
676
|
# @param phone_number_id String that uniquely identifies this phone number resource.
|
727
677
|
# @param [Hash] opts the optional parameters
|
728
678
|
# @return [IncomingNumberResult]
|
729
|
-
describe
|
730
|
-
it
|
731
|
-
|
679
|
+
describe "get_an_incoming_number test" do
|
680
|
+
it "should work" do
|
732
681
|
phone_number_id = @phone_number_id_get_an_incoming_number_test_value
|
733
|
-
|
682
|
+
|
734
683
|
result = @api_instance.get_an_incoming_number(
|
735
684
|
phone_number_id,
|
736
685
|
{}
|
737
686
|
)
|
738
|
-
|
739
|
-
|
687
|
+
|
740
688
|
expect(result).to be_a Freeclimb::IncomingNumberResult
|
741
|
-
|
689
|
+
|
742
690
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
743
691
|
end
|
744
692
|
end
|
@@ -748,19 +696,17 @@ describe 'DefaultApi' do
|
|
748
696
|
# @param message_id String that uniquely identifies this Message resource.
|
749
697
|
# @param [Hash] opts the optional parameters
|
750
698
|
# @return [MessageResult]
|
751
|
-
describe
|
752
|
-
it
|
753
|
-
|
699
|
+
describe "get_an_sms_message test" do
|
700
|
+
it "should work" do
|
754
701
|
message_id = @message_id_get_an_sms_message_test_value
|
755
|
-
|
702
|
+
|
756
703
|
result = @api_instance.get_an_sms_message(
|
757
704
|
message_id,
|
758
705
|
{}
|
759
706
|
)
|
760
|
-
|
761
|
-
|
707
|
+
|
762
708
|
expect(result).to be_a Freeclimb::MessageResult
|
763
|
-
|
709
|
+
|
764
710
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
765
711
|
end
|
766
712
|
end
|
@@ -770,19 +716,17 @@ describe 'DefaultApi' do
|
|
770
716
|
# @param queue_id String that uniquely identifies the Queue that the Member belongs to.
|
771
717
|
# @param [Hash] opts the optional parameters
|
772
718
|
# @return [QueueMember]
|
773
|
-
describe
|
774
|
-
it
|
775
|
-
|
719
|
+
describe "get_head_member test" do
|
720
|
+
it "should work" do
|
776
721
|
queue_id = @queue_id_get_head_member_test_value
|
777
|
-
|
722
|
+
|
778
723
|
result = @api_instance.get_head_member(
|
779
724
|
queue_id,
|
780
725
|
{}
|
781
726
|
)
|
782
|
-
|
783
|
-
|
727
|
+
|
784
728
|
expect(result).to be_a Freeclimb::QueueMember
|
785
|
-
|
729
|
+
|
786
730
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
787
731
|
end
|
788
732
|
end
|
@@ -792,19 +736,17 @@ describe 'DefaultApi' do
|
|
792
736
|
# @param brand_id String that uniquely identifies this brand resource.
|
793
737
|
# @param [Hash] opts the optional parameters
|
794
738
|
# @return [SMSTenDLCBrand]
|
795
|
-
describe
|
796
|
-
it
|
797
|
-
|
739
|
+
describe "get_ten_dlc_sms_brand test" do
|
740
|
+
it "should work" do
|
798
741
|
brand_id = @brand_id_get_ten_dlc_sms_brand_test_value
|
799
|
-
|
742
|
+
|
800
743
|
result = @api_instance.get_ten_dlc_sms_brand(
|
801
744
|
brand_id,
|
802
745
|
{}
|
803
746
|
)
|
804
|
-
|
805
|
-
|
747
|
+
|
806
748
|
expect(result).to be_a Freeclimb::SMSTenDLCBrand
|
807
|
-
|
749
|
+
|
808
750
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
809
751
|
end
|
810
752
|
end
|
@@ -813,18 +755,14 @@ describe 'DefaultApi' do
|
|
813
755
|
# Get list of SMS 10DLC Brands
|
814
756
|
# @param [Hash] opts the optional parameters
|
815
757
|
# @return [SMSTenDLCBrandsListResult]
|
816
|
-
describe
|
817
|
-
it
|
818
|
-
|
819
|
-
|
758
|
+
describe "get_ten_dlc_sms_brands test" do
|
759
|
+
it "should work" do
|
820
760
|
result = @api_instance.get_ten_dlc_sms_brands(
|
821
|
-
|
822
761
|
{}
|
823
762
|
)
|
824
|
-
|
825
|
-
|
763
|
+
|
826
764
|
expect(result).to be_a Freeclimb::SMSTenDLCBrandsListResult
|
827
|
-
|
765
|
+
|
828
766
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
829
767
|
end
|
830
768
|
end
|
@@ -834,19 +772,17 @@ describe 'DefaultApi' do
|
|
834
772
|
# @param campaign_id String that uniquely identifies this campaign resource.
|
835
773
|
# @param [Hash] opts the optional parameters
|
836
774
|
# @return [SMSTenDLCCampaign]
|
837
|
-
describe
|
838
|
-
it
|
839
|
-
|
775
|
+
describe "get_ten_dlc_sms_campaign test" do
|
776
|
+
it "should work" do
|
840
777
|
campaign_id = @campaign_id_get_ten_dlc_sms_campaign_test_value
|
841
|
-
|
778
|
+
|
842
779
|
result = @api_instance.get_ten_dlc_sms_campaign(
|
843
780
|
campaign_id,
|
844
781
|
{}
|
845
782
|
)
|
846
|
-
|
847
|
-
|
783
|
+
|
848
784
|
expect(result).to be_a Freeclimb::SMSTenDLCCampaign
|
849
|
-
|
785
|
+
|
850
786
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
851
787
|
end
|
852
788
|
end
|
@@ -856,21 +792,18 @@ describe 'DefaultApi' do
|
|
856
792
|
# @param [Hash] opts the optional parameters
|
857
793
|
# @option opts [String] :brand_id The unique identifier for a brand
|
858
794
|
# @return [SMSTenDLCCampaignsListResult]
|
859
|
-
describe
|
860
|
-
it
|
861
|
-
|
795
|
+
describe "get_ten_dlc_sms_campaigns test" do
|
796
|
+
it "should work" do
|
862
797
|
brand_id = @brand_id_get_ten_dlc_sms_campaigns_test_value
|
863
|
-
|
798
|
+
|
864
799
|
result = @api_instance.get_ten_dlc_sms_campaigns(
|
865
|
-
|
866
800
|
{
|
867
|
-
:
|
801
|
+
brand_id: brand_id
|
868
802
|
}
|
869
803
|
)
|
870
|
-
|
871
|
-
|
804
|
+
|
872
805
|
expect(result).to be_a Freeclimb::SMSTenDLCCampaignsListResult
|
873
|
-
|
806
|
+
|
874
807
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
875
808
|
end
|
876
809
|
end
|
@@ -880,19 +813,17 @@ describe 'DefaultApi' do
|
|
880
813
|
# @param campaign_id String that uniquely identifies this campaign resource.
|
881
814
|
# @param [Hash] opts the optional parameters
|
882
815
|
# @return [SMSTenDLCPartnerCampaign]
|
883
|
-
describe
|
884
|
-
it
|
885
|
-
|
816
|
+
describe "get_ten_dlc_sms_partner_campaign test" do
|
817
|
+
it "should work" do
|
886
818
|
campaign_id = @campaign_id_get_ten_dlc_sms_partner_campaign_test_value
|
887
|
-
|
819
|
+
|
888
820
|
result = @api_instance.get_ten_dlc_sms_partner_campaign(
|
889
821
|
campaign_id,
|
890
822
|
{}
|
891
823
|
)
|
892
|
-
|
893
|
-
|
824
|
+
|
894
825
|
expect(result).to be_a Freeclimb::SMSTenDLCPartnerCampaign
|
895
|
-
|
826
|
+
|
896
827
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
897
828
|
end
|
898
829
|
end
|
@@ -902,21 +833,18 @@ describe 'DefaultApi' do
|
|
902
833
|
# @param [Hash] opts the optional parameters
|
903
834
|
# @option opts [String] :brand_id The unique identifier for a brand
|
904
835
|
# @return [SMSTenDLCPartnerCampaignsListResult]
|
905
|
-
describe
|
906
|
-
it
|
907
|
-
|
836
|
+
describe "get_ten_dlc_sms_partner_campaigns test" do
|
837
|
+
it "should work" do
|
908
838
|
brand_id = @brand_id_get_ten_dlc_sms_partner_campaigns_test_value
|
909
|
-
|
839
|
+
|
910
840
|
result = @api_instance.get_ten_dlc_sms_partner_campaigns(
|
911
|
-
|
912
841
|
{
|
913
|
-
:
|
842
|
+
brand_id: brand_id
|
914
843
|
}
|
915
844
|
)
|
916
|
-
|
917
|
-
|
845
|
+
|
918
846
|
expect(result).to be_a Freeclimb::SMSTenDLCPartnerCampaignsListResult
|
919
|
-
|
847
|
+
|
920
848
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
921
849
|
end
|
922
850
|
end
|
@@ -926,19 +854,17 @@ describe 'DefaultApi' do
|
|
926
854
|
# @param campaign_id String that uniquely identifies this TollFree Campaign resource.
|
927
855
|
# @param [Hash] opts the optional parameters
|
928
856
|
# @return [SMSTollFreeCampaign]
|
929
|
-
describe
|
930
|
-
it
|
931
|
-
|
857
|
+
describe "get_toll_free_sms_campaign test" do
|
858
|
+
it "should work" do
|
932
859
|
campaign_id = @campaign_id_get_toll_free_sms_campaign_test_value
|
933
|
-
|
860
|
+
|
934
861
|
result = @api_instance.get_toll_free_sms_campaign(
|
935
862
|
campaign_id,
|
936
863
|
{}
|
937
864
|
)
|
938
|
-
|
939
|
-
|
865
|
+
|
940
866
|
expect(result).to be_a Freeclimb::SMSTollFreeCampaign
|
941
|
-
|
867
|
+
|
942
868
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
943
869
|
end
|
944
870
|
end
|
@@ -947,18 +873,14 @@ describe 'DefaultApi' do
|
|
947
873
|
# Get list of TollFree Campaigns
|
948
874
|
# @param [Hash] opts the optional parameters
|
949
875
|
# @return [SMSTollFreeCampaignsListResult]
|
950
|
-
describe
|
951
|
-
it
|
952
|
-
|
953
|
-
|
876
|
+
describe "get_toll_free_sms_campaigns test" do
|
877
|
+
it "should work" do
|
954
878
|
result = @api_instance.get_toll_free_sms_campaigns(
|
955
|
-
|
956
879
|
{}
|
957
880
|
)
|
958
|
-
|
959
|
-
|
881
|
+
|
960
882
|
expect(result).to be_a Freeclimb::SMSTollFreeCampaignsListResult
|
961
|
-
|
883
|
+
|
962
884
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
963
885
|
end
|
964
886
|
end
|
@@ -968,21 +890,18 @@ describe 'DefaultApi' do
|
|
968
890
|
# @param [Hash] opts the optional parameters
|
969
891
|
# @option opts [String] :_alias Return only the Queue resources with aliases that exactly match this name.
|
970
892
|
# @return [QueueList]
|
971
|
-
describe
|
972
|
-
it
|
973
|
-
|
893
|
+
describe "list_active_queues test" do
|
894
|
+
it "should work" do
|
974
895
|
_alias = @_alias_list_active_queues_test_value
|
975
|
-
|
896
|
+
|
976
897
|
result = @api_instance.list_active_queues(
|
977
|
-
|
978
898
|
{
|
979
|
-
:
|
899
|
+
_alias: _alias
|
980
900
|
}
|
981
901
|
)
|
982
|
-
|
983
|
-
|
902
|
+
|
984
903
|
expect(result).to be_a Freeclimb::QueueList
|
985
|
-
|
904
|
+
|
986
905
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
987
906
|
end
|
988
907
|
end
|
@@ -991,18 +910,14 @@ describe 'DefaultApi' do
|
|
991
910
|
# List All Account Logs
|
992
911
|
# @param [Hash] opts the optional parameters
|
993
912
|
# @return [LogList]
|
994
|
-
describe
|
995
|
-
it
|
996
|
-
|
997
|
-
|
913
|
+
describe "list_all_account_logs test" do
|
914
|
+
it "should work" do
|
998
915
|
result = @api_instance.list_all_account_logs(
|
999
|
-
|
1000
916
|
{}
|
1001
917
|
)
|
1002
|
-
|
1003
|
-
|
918
|
+
|
1004
919
|
expect(result).to be_a Freeclimb::LogList
|
1005
|
-
|
920
|
+
|
1006
921
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1007
922
|
end
|
1008
923
|
end
|
@@ -1012,21 +927,18 @@ describe 'DefaultApi' do
|
|
1012
927
|
# @param [Hash] opts the optional parameters
|
1013
928
|
# @option opts [String] :_alias Return only applications with aliases that exactly match this value.
|
1014
929
|
# @return [ApplicationList]
|
1015
|
-
describe
|
1016
|
-
it
|
1017
|
-
|
930
|
+
describe "list_applications test" do
|
931
|
+
it "should work" do
|
1018
932
|
_alias = @_alias_list_applications_test_value
|
1019
|
-
|
933
|
+
|
1020
934
|
result = @api_instance.list_applications(
|
1021
|
-
|
1022
935
|
{
|
1023
|
-
:
|
936
|
+
_alias: _alias
|
1024
937
|
}
|
1025
938
|
)
|
1026
|
-
|
1027
|
-
|
939
|
+
|
1028
940
|
expect(result).to be_a Freeclimb::ApplicationList
|
1029
|
-
|
941
|
+
|
1030
942
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1031
943
|
end
|
1032
944
|
end
|
@@ -1039,15 +951,14 @@ describe 'DefaultApi' do
|
|
1039
951
|
# @option opts [String] :country Country of this phone number.
|
1040
952
|
# @option opts [Boolean] :voice_enabled Indicates whether the phone number can handle Calls. Typically set to true for all numbers.
|
1041
953
|
# @option opts [Boolean] :sms_enabled Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers.
|
1042
|
-
# @option opts [Boolean] :capabilities_voice
|
1043
|
-
# @option opts [Boolean] :capabilities_sms
|
1044
|
-
# @option opts [Boolean] :capabilities_toll_free
|
1045
|
-
# @option opts [Boolean] :capabilities_ten_dlc
|
1046
|
-
# @option opts [Boolean] :capabilities_short_code
|
954
|
+
# @option opts [Boolean] :capabilities_voice
|
955
|
+
# @option opts [Boolean] :capabilities_sms
|
956
|
+
# @option opts [Boolean] :capabilities_toll_free
|
957
|
+
# @option opts [Boolean] :capabilities_ten_dlc
|
958
|
+
# @option opts [Boolean] :capabilities_short_code
|
1047
959
|
# @return [AvailableNumberList]
|
1048
|
-
describe
|
1049
|
-
it
|
1050
|
-
|
960
|
+
describe "list_available_numbers test" do
|
961
|
+
it "should work" do
|
1051
962
|
phone_number = @phone_number_list_available_numbers_test_value
|
1052
963
|
region = @region_list_available_numbers_test_value
|
1053
964
|
country = @country_list_available_numbers_test_value
|
@@ -1058,17 +969,15 @@ describe 'DefaultApi' do
|
|
1058
969
|
capabilities_toll_free = @capabilities_toll_free_list_available_numbers_test_value
|
1059
970
|
capabilities_ten_dlc = @capabilities_ten_dlc_list_available_numbers_test_value
|
1060
971
|
capabilities_short_code = @capabilities_short_code_list_available_numbers_test_value
|
1061
|
-
|
972
|
+
|
1062
973
|
result = @api_instance.list_available_numbers(
|
1063
|
-
|
1064
974
|
{
|
1065
|
-
:
|
975
|
+
phone_number: phone_number, region: region, country: country, voice_enabled: voice_enabled, sms_enabled: sms_enabled, capabilities_voice: capabilities_voice, capabilities_sms: capabilities_sms, capabilities_toll_free: capabilities_toll_free, capabilities_ten_dlc: capabilities_ten_dlc, capabilities_short_code: capabilities_short_code
|
1066
976
|
}
|
1067
977
|
)
|
1068
|
-
|
1069
|
-
|
978
|
+
|
1070
979
|
expect(result).to be_a Freeclimb::AvailableNumberList
|
1071
|
-
|
980
|
+
|
1072
981
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1073
982
|
end
|
1074
983
|
end
|
@@ -1078,19 +987,17 @@ describe 'DefaultApi' do
|
|
1078
987
|
# @param call_id String that uniquely identifies this call resource.
|
1079
988
|
# @param [Hash] opts the optional parameters
|
1080
989
|
# @return [LogList]
|
1081
|
-
describe
|
1082
|
-
it
|
1083
|
-
|
990
|
+
describe "list_call_logs test" do
|
991
|
+
it "should work" do
|
1084
992
|
call_id = @call_id_list_call_logs_test_value
|
1085
|
-
|
993
|
+
|
1086
994
|
result = @api_instance.list_call_logs(
|
1087
995
|
call_id,
|
1088
996
|
{}
|
1089
997
|
)
|
1090
|
-
|
1091
|
-
|
998
|
+
|
1092
999
|
expect(result).to be_a Freeclimb::LogList
|
1093
|
-
|
1000
|
+
|
1094
1001
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1095
1002
|
end
|
1096
1003
|
end
|
@@ -1101,22 +1008,20 @@ describe 'DefaultApi' do
|
|
1101
1008
|
# @param [Hash] opts the optional parameters
|
1102
1009
|
# @option opts [String] :date_created Only show recordings created on the specified date, in the form *YYYY-MM-DD*.
|
1103
1010
|
# @return [RecordingList]
|
1104
|
-
describe
|
1105
|
-
it
|
1106
|
-
|
1011
|
+
describe "list_call_recordings test" do
|
1012
|
+
it "should work" do
|
1107
1013
|
call_id = @call_id_list_call_recordings_test_value
|
1108
1014
|
date_created = @date_created_list_call_recordings_test_value
|
1109
|
-
|
1015
|
+
|
1110
1016
|
result = @api_instance.list_call_recordings(
|
1111
1017
|
call_id,
|
1112
1018
|
{
|
1113
|
-
:
|
1019
|
+
date_created: date_created
|
1114
1020
|
}
|
1115
1021
|
)
|
1116
|
-
|
1117
|
-
|
1022
|
+
|
1118
1023
|
expect(result).to be_a Freeclimb::RecordingList
|
1119
|
-
|
1024
|
+
|
1120
1025
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1121
1026
|
end
|
1122
1027
|
end
|
@@ -1133,9 +1038,8 @@ describe 'DefaultApi' do
|
|
1133
1038
|
# @option opts [String] :parent_call_id Only show Calls spawned by the call with this ID.
|
1134
1039
|
# @option opts [Array<String>] :application_id Only show calls belonging to the given applicationId. This parameter can be repeated to return calls from multiple Applications.
|
1135
1040
|
# @return [CallList]
|
1136
|
-
describe
|
1137
|
-
it
|
1138
|
-
|
1041
|
+
describe "list_calls test" do
|
1042
|
+
it "should work" do
|
1139
1043
|
active = @active_list_calls_test_value
|
1140
1044
|
to = @to_list_calls_test_value
|
1141
1045
|
from = @from_list_calls_test_value
|
@@ -1144,17 +1048,15 @@ describe 'DefaultApi' do
|
|
1144
1048
|
end_time = @end_time_list_calls_test_value
|
1145
1049
|
parent_call_id = @parent_call_id_list_calls_test_value
|
1146
1050
|
application_id = @application_id_list_calls_test_value
|
1147
|
-
|
1051
|
+
|
1148
1052
|
result = @api_instance.list_calls(
|
1149
|
-
|
1150
1053
|
{
|
1151
|
-
:
|
1054
|
+
active: active, to: to, from: from, status: status, start_time: start_time, end_time: end_time, parent_call_id: parent_call_id, application_id: application_id
|
1152
1055
|
}
|
1153
1056
|
)
|
1154
|
-
|
1155
|
-
|
1057
|
+
|
1156
1058
|
expect(result).to be_a Freeclimb::CallList
|
1157
|
-
|
1059
|
+
|
1158
1060
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1159
1061
|
end
|
1160
1062
|
end
|
@@ -1166,23 +1068,21 @@ describe 'DefaultApi' do
|
|
1166
1068
|
# @option opts [String] :call_id Show only Recordings made during the Call with this ID.
|
1167
1069
|
# @option opts [String] :date_created Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
|
1168
1070
|
# @return [RecordingList]
|
1169
|
-
describe
|
1170
|
-
it
|
1171
|
-
|
1071
|
+
describe "list_conference_recordings test" do
|
1072
|
+
it "should work" do
|
1172
1073
|
conference_id = @conference_id_list_conference_recordings_test_value
|
1173
1074
|
call_id = @call_id_list_conference_recordings_test_value
|
1174
1075
|
date_created = @date_created_list_conference_recordings_test_value
|
1175
|
-
|
1076
|
+
|
1176
1077
|
result = @api_instance.list_conference_recordings(
|
1177
1078
|
conference_id,
|
1178
1079
|
{
|
1179
|
-
:
|
1080
|
+
call_id: call_id, date_created: date_created
|
1180
1081
|
}
|
1181
1082
|
)
|
1182
|
-
|
1183
|
-
|
1083
|
+
|
1184
1084
|
expect(result).to be_a Freeclimb::RecordingList
|
1185
|
-
|
1085
|
+
|
1186
1086
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1187
1087
|
end
|
1188
1088
|
end
|
@@ -1195,24 +1095,21 @@ describe 'DefaultApi' do
|
|
1195
1095
|
# @option opts [String] :date_created Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*.
|
1196
1096
|
# @option opts [String] :date_updated Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*.
|
1197
1097
|
# @return [ConferenceList]
|
1198
|
-
describe
|
1199
|
-
it
|
1200
|
-
|
1098
|
+
describe "list_conferences test" do
|
1099
|
+
it "should work" do
|
1201
1100
|
status = @status_list_conferences_test_value
|
1202
1101
|
_alias = @_alias_list_conferences_test_value
|
1203
1102
|
date_created = @date_created_list_conferences_test_value
|
1204
1103
|
date_updated = @date_updated_list_conferences_test_value
|
1205
|
-
|
1104
|
+
|
1206
1105
|
result = @api_instance.list_conferences(
|
1207
|
-
|
1208
1106
|
{
|
1209
|
-
:
|
1107
|
+
status: status, _alias: _alias, date_created: date_created, date_updated: date_updated
|
1210
1108
|
}
|
1211
1109
|
)
|
1212
|
-
|
1213
|
-
|
1110
|
+
|
1214
1111
|
expect(result).to be_a Freeclimb::ConferenceList
|
1215
|
-
|
1112
|
+
|
1216
1113
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1217
1114
|
end
|
1218
1115
|
end
|
@@ -1229,17 +1126,16 @@ describe 'DefaultApi' do
|
|
1229
1126
|
# @option opts [Boolean] :voice_enabled Indicates whether the phone number can handle Calls. Typically set to true for all numbers.
|
1230
1127
|
# @option opts [Boolean] :sms_enabled Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers.
|
1231
1128
|
# @option opts [Boolean] :has_campaign Indication of whether the phone number has a campaign associated with it
|
1232
|
-
# @option opts [Boolean] :capabilities_voice
|
1233
|
-
# @option opts [Boolean] :capabilities_sms
|
1234
|
-
# @option opts [Boolean] :capabilities_toll_free
|
1235
|
-
# @option opts [Boolean] :capabilities_ten_dlc
|
1236
|
-
# @option opts [Boolean] :capabilities_short_code
|
1129
|
+
# @option opts [Boolean] :capabilities_voice
|
1130
|
+
# @option opts [Boolean] :capabilities_sms
|
1131
|
+
# @option opts [Boolean] :capabilities_toll_free
|
1132
|
+
# @option opts [Boolean] :capabilities_ten_dlc
|
1133
|
+
# @option opts [Boolean] :capabilities_short_code
|
1237
1134
|
# @option opts [String] :tfn_campaign_id Only show incoming phone number resources that have been assigned to the provided TFNCampaign ID.
|
1238
1135
|
# @option opts [Boolean] :offnet Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource.
|
1239
1136
|
# @return [IncomingNumberList]
|
1240
|
-
describe
|
1241
|
-
it
|
1242
|
-
|
1137
|
+
describe "list_incoming_numbers test" do
|
1138
|
+
it "should work" do
|
1243
1139
|
phone_number = @phone_number_list_incoming_numbers_test_value
|
1244
1140
|
_alias = @_alias_list_incoming_numbers_test_value
|
1245
1141
|
region = @region_list_incoming_numbers_test_value
|
@@ -1256,17 +1152,15 @@ describe 'DefaultApi' do
|
|
1256
1152
|
capabilities_short_code = @capabilities_short_code_list_incoming_numbers_test_value
|
1257
1153
|
tfn_campaign_id = @tfn_campaign_id_list_incoming_numbers_test_value
|
1258
1154
|
offnet = @offnet_list_incoming_numbers_test_value
|
1259
|
-
|
1155
|
+
|
1260
1156
|
result = @api_instance.list_incoming_numbers(
|
1261
|
-
|
1262
1157
|
{
|
1263
|
-
:
|
1158
|
+
phone_number: phone_number, _alias: _alias, region: region, country: country, application_id: application_id, has_application: has_application, voice_enabled: voice_enabled, sms_enabled: sms_enabled, has_campaign: has_campaign, capabilities_voice: capabilities_voice, capabilities_sms: capabilities_sms, capabilities_toll_free: capabilities_toll_free, capabilities_ten_dlc: capabilities_ten_dlc, capabilities_short_code: capabilities_short_code, tfn_campaign_id: tfn_campaign_id, offnet: offnet
|
1264
1159
|
}
|
1265
1160
|
)
|
1266
|
-
|
1267
|
-
|
1161
|
+
|
1268
1162
|
expect(result).to be_a Freeclimb::IncomingNumberList
|
1269
|
-
|
1163
|
+
|
1270
1164
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1271
1165
|
end
|
1272
1166
|
end
|
@@ -1276,19 +1170,17 @@ describe 'DefaultApi' do
|
|
1276
1170
|
# @param queue_id String that uniquely identifies the Queue that the Member belongs to.
|
1277
1171
|
# @param [Hash] opts the optional parameters
|
1278
1172
|
# @return [QueueMemberList]
|
1279
|
-
describe
|
1280
|
-
it
|
1281
|
-
|
1173
|
+
describe "list_members test" do
|
1174
|
+
it "should work" do
|
1282
1175
|
queue_id = @queue_id_list_members_test_value
|
1283
|
-
|
1176
|
+
|
1284
1177
|
result = @api_instance.list_members(
|
1285
1178
|
queue_id,
|
1286
1179
|
{}
|
1287
1180
|
)
|
1288
|
-
|
1289
|
-
|
1181
|
+
|
1290
1182
|
expect(result).to be_a Freeclimb::QueueMemberList
|
1291
|
-
|
1183
|
+
|
1292
1184
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1293
1185
|
end
|
1294
1186
|
end
|
@@ -1301,24 +1193,22 @@ describe 'DefaultApi' do
|
|
1301
1193
|
# @option opts [Boolean] :listen Only show Participants with the listen privilege.
|
1302
1194
|
# @option opts [Boolean] :dtmf_pass_through Only show Participants with the dtmfPassThrough privilege.
|
1303
1195
|
# @return [ConferenceParticipantList]
|
1304
|
-
describe
|
1305
|
-
it
|
1306
|
-
|
1196
|
+
describe "list_participants test" do
|
1197
|
+
it "should work" do
|
1307
1198
|
conference_id = @conference_id_list_participants_test_value
|
1308
1199
|
talk = @talk_list_participants_test_value
|
1309
1200
|
listen = @listen_list_participants_test_value
|
1310
1201
|
dtmf_pass_through = @dtmf_pass_through_list_participants_test_value
|
1311
|
-
|
1202
|
+
|
1312
1203
|
result = @api_instance.list_participants(
|
1313
1204
|
conference_id,
|
1314
1205
|
{
|
1315
|
-
:
|
1206
|
+
talk: talk, listen: listen, dtmf_pass_through: dtmf_pass_through
|
1316
1207
|
}
|
1317
1208
|
)
|
1318
|
-
|
1319
|
-
|
1209
|
+
|
1320
1210
|
expect(result).to be_a Freeclimb::ConferenceParticipantList
|
1321
|
-
|
1211
|
+
|
1322
1212
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1323
1213
|
end
|
1324
1214
|
end
|
@@ -1330,23 +1220,20 @@ describe 'DefaultApi' do
|
|
1330
1220
|
# @option opts [String] :conference_id Show only Recordings made during the conference with this ID.
|
1331
1221
|
# @option opts [String] :date_created Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
|
1332
1222
|
# @return [RecordingList]
|
1333
|
-
describe
|
1334
|
-
it
|
1335
|
-
|
1223
|
+
describe "list_recordings test" do
|
1224
|
+
it "should work" do
|
1336
1225
|
call_id = @call_id_list_recordings_test_value
|
1337
1226
|
conference_id = @conference_id_list_recordings_test_value
|
1338
1227
|
date_created = @date_created_list_recordings_test_value
|
1339
|
-
|
1228
|
+
|
1340
1229
|
result = @api_instance.list_recordings(
|
1341
|
-
|
1342
1230
|
{
|
1343
|
-
:
|
1231
|
+
call_id: call_id, conference_id: conference_id, date_created: date_created
|
1344
1232
|
}
|
1345
1233
|
)
|
1346
|
-
|
1347
|
-
|
1234
|
+
|
1348
1235
|
expect(result).to be_a Freeclimb::RecordingList
|
1349
|
-
|
1236
|
+
|
1350
1237
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1351
1238
|
end
|
1352
1239
|
end
|
@@ -1363,9 +1250,8 @@ describe 'DefaultApi' do
|
|
1363
1250
|
# @option opts [String] :brand_id Only show messages associated with this brand ID
|
1364
1251
|
# @option opts [Boolean] :is10_dlc Only show messages that were sent as part of a 10DLC campaign.
|
1365
1252
|
# @return [MessagesList]
|
1366
|
-
describe
|
1367
|
-
it
|
1368
|
-
|
1253
|
+
describe "list_sms_messages test" do
|
1254
|
+
it "should work" do
|
1369
1255
|
to = @to_list_sms_messages_test_value
|
1370
1256
|
from = @from_list_sms_messages_test_value
|
1371
1257
|
begin_time = @begin_time_list_sms_messages_test_value
|
@@ -1374,17 +1260,15 @@ describe 'DefaultApi' do
|
|
1374
1260
|
campaign_id = @campaign_id_list_sms_messages_test_value
|
1375
1261
|
brand_id = @brand_id_list_sms_messages_test_value
|
1376
1262
|
is10_dlc = @is10_dlc_list_sms_messages_test_value
|
1377
|
-
|
1263
|
+
|
1378
1264
|
result = @api_instance.list_sms_messages(
|
1379
|
-
|
1380
1265
|
{
|
1381
|
-
:
|
1266
|
+
to: to, from: from, begin_time: begin_time, end_time: end_time, direction: direction, campaign_id: campaign_id, brand_id: brand_id, is10_dlc: is10_dlc
|
1382
1267
|
}
|
1383
1268
|
)
|
1384
|
-
|
1385
|
-
|
1269
|
+
|
1386
1270
|
expect(result).to be_a Freeclimb::MessagesList
|
1387
|
-
|
1271
|
+
|
1388
1272
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1389
1273
|
end
|
1390
1274
|
end
|
@@ -1394,21 +1278,18 @@ describe 'DefaultApi' do
|
|
1394
1278
|
# @param [Hash] opts the optional parameters
|
1395
1279
|
# @option opts [MakeCallRequest] :make_call_request Call details for making a call
|
1396
1280
|
# @return [CallResult]
|
1397
|
-
describe
|
1398
|
-
it
|
1399
|
-
|
1281
|
+
describe "make_a_call test" do
|
1282
|
+
it "should work" do
|
1400
1283
|
make_call_request = @make_call_request_make_a_call_test_value
|
1401
|
-
|
1284
|
+
|
1402
1285
|
result = @api_instance.make_a_call(
|
1403
|
-
|
1404
1286
|
{
|
1405
|
-
:
|
1287
|
+
make_call_request: make_call_request
|
1406
1288
|
}
|
1407
1289
|
)
|
1408
|
-
|
1409
|
-
|
1290
|
+
|
1410
1291
|
expect(result).to be_a Freeclimb::CallResult
|
1411
|
-
|
1292
|
+
|
1412
1293
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1413
1294
|
end
|
1414
1295
|
end
|
@@ -1418,19 +1299,16 @@ describe 'DefaultApi' do
|
|
1418
1299
|
# @param create_web_rtc_token Information needed to craft a JWT compatible with the platforms WebRTC APIs
|
1419
1300
|
# @param [Hash] opts the optional parameters
|
1420
1301
|
# @return [String]
|
1421
|
-
describe
|
1422
|
-
it
|
1423
|
-
|
1302
|
+
describe "make_a_webrtc_jwt test" do
|
1303
|
+
it "should work" do
|
1424
1304
|
create_web_rtc_token = @create_web_rtc_token_make_a_webrtc_jwt_test_value
|
1425
|
-
|
1305
|
+
|
1426
1306
|
result = @api_instance.make_a_webrtc_jwt(
|
1427
1307
|
create_web_rtc_token,
|
1428
1308
|
{}
|
1429
1309
|
)
|
1430
|
-
true
|
1431
1310
|
expect(result).to be_a String
|
1432
|
-
|
1433
|
-
|
1311
|
+
|
1434
1312
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1435
1313
|
end
|
1436
1314
|
end
|
@@ -1441,19 +1319,16 @@ describe 'DefaultApi' do
|
|
1441
1319
|
# @param call_id ID of the Call associated with this participant.
|
1442
1320
|
# @param [Hash] opts the optional parameters
|
1443
1321
|
# @return [nil]
|
1444
|
-
describe
|
1445
|
-
it
|
1446
|
-
|
1322
|
+
describe "remove_a_participant test" do
|
1323
|
+
it "should work" do
|
1447
1324
|
conference_id = @conference_id_remove_a_participant_test_value
|
1448
1325
|
call_id = @call_id_remove_a_participant_test_value
|
1449
|
-
|
1326
|
+
|
1450
1327
|
result = @api_instance.remove_a_participant(
|
1451
1328
|
conference_id, call_id,
|
1452
1329
|
{}
|
1453
1330
|
)
|
1454
|
-
|
1455
|
-
|
1456
|
-
|
1331
|
+
|
1457
1332
|
expect(result).to be_nil
|
1458
1333
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1459
1334
|
end
|
@@ -1464,19 +1339,17 @@ describe 'DefaultApi' do
|
|
1464
1339
|
# @param message_request Details to create a message
|
1465
1340
|
# @param [Hash] opts the optional parameters
|
1466
1341
|
# @return [MessageResult]
|
1467
|
-
describe
|
1468
|
-
it
|
1469
|
-
|
1342
|
+
describe "send_an_sms_message test" do
|
1343
|
+
it "should work" do
|
1470
1344
|
message_request = @message_request_send_an_sms_message_test_value
|
1471
|
-
|
1345
|
+
|
1472
1346
|
result = @api_instance.send_an_sms_message(
|
1473
1347
|
message_request,
|
1474
1348
|
{}
|
1475
1349
|
)
|
1476
|
-
|
1477
|
-
|
1350
|
+
|
1478
1351
|
expect(result).to be_a Freeclimb::MessageResult
|
1479
|
-
|
1352
|
+
|
1480
1353
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1481
1354
|
end
|
1482
1355
|
end
|
@@ -1486,19 +1359,17 @@ describe 'DefaultApi' do
|
|
1486
1359
|
# @param recording_id String that uniquely identifies this recording resource.
|
1487
1360
|
# @param [Hash] opts the optional parameters
|
1488
1361
|
# @return [File]
|
1489
|
-
describe
|
1490
|
-
it
|
1491
|
-
|
1362
|
+
describe "stream_a_recording_file test" do
|
1363
|
+
it "should work" do
|
1492
1364
|
recording_id = @recording_id_stream_a_recording_file_test_value
|
1493
|
-
|
1365
|
+
|
1494
1366
|
result = @api_instance.stream_a_recording_file(
|
1495
1367
|
recording_id,
|
1496
1368
|
{}
|
1497
1369
|
)
|
1498
|
-
|
1499
|
-
|
1370
|
+
|
1500
1371
|
expect(result).to be_a Freeclimb::File
|
1501
|
-
|
1372
|
+
|
1502
1373
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1503
1374
|
end
|
1504
1375
|
end
|
@@ -1509,21 +1380,18 @@ describe 'DefaultApi' do
|
|
1509
1380
|
# @param [Hash] opts the optional parameters
|
1510
1381
|
# @option opts [UpdateConferenceRequest] :update_conference_request Conference Details to update
|
1511
1382
|
# @return [nil]
|
1512
|
-
describe
|
1513
|
-
it
|
1514
|
-
|
1383
|
+
describe "update_a_conference test" do
|
1384
|
+
it "should work" do
|
1515
1385
|
conference_id = @conference_id_update_a_conference_test_value
|
1516
1386
|
update_conference_request = @update_conference_request_update_a_conference_test_value
|
1517
|
-
|
1387
|
+
|
1518
1388
|
result = @api_instance.update_a_conference(
|
1519
1389
|
conference_id,
|
1520
1390
|
{
|
1521
|
-
:
|
1391
|
+
update_conference_request: update_conference_request
|
1522
1392
|
}
|
1523
1393
|
)
|
1524
|
-
|
1525
|
-
|
1526
|
-
|
1394
|
+
|
1527
1395
|
expect(result).to be_nil
|
1528
1396
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1529
1397
|
end
|
@@ -1535,19 +1403,16 @@ describe 'DefaultApi' do
|
|
1535
1403
|
# @param update_call_request Call details to update
|
1536
1404
|
# @param [Hash] opts the optional parameters
|
1537
1405
|
# @return [nil]
|
1538
|
-
describe
|
1539
|
-
it
|
1540
|
-
|
1406
|
+
describe "update_a_live_call test" do
|
1407
|
+
it "should work" do
|
1541
1408
|
call_id = @call_id_update_a_live_call_test_value
|
1542
1409
|
update_call_request = @update_call_request_update_a_live_call_test_value
|
1543
|
-
|
1410
|
+
|
1544
1411
|
result = @api_instance.update_a_live_call(
|
1545
1412
|
call_id, update_call_request,
|
1546
1413
|
{}
|
1547
1414
|
)
|
1548
|
-
|
1549
|
-
|
1550
|
-
|
1415
|
+
|
1551
1416
|
expect(result).to be_nil
|
1552
1417
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1553
1418
|
end
|
@@ -1560,23 +1425,21 @@ describe 'DefaultApi' do
|
|
1560
1425
|
# @param [Hash] opts the optional parameters
|
1561
1426
|
# @option opts [UpdateConferenceParticipantRequest] :update_conference_participant_request Conference participant details to update
|
1562
1427
|
# @return [ConferenceParticipantResult]
|
1563
|
-
describe
|
1564
|
-
it
|
1565
|
-
|
1428
|
+
describe "update_a_participant test" do
|
1429
|
+
it "should work" do
|
1566
1430
|
conference_id = @conference_id_update_a_participant_test_value
|
1567
1431
|
call_id = @call_id_update_a_participant_test_value
|
1568
1432
|
update_conference_participant_request = @update_conference_participant_request_update_a_participant_test_value
|
1569
|
-
|
1433
|
+
|
1570
1434
|
result = @api_instance.update_a_participant(
|
1571
1435
|
conference_id, call_id,
|
1572
1436
|
{
|
1573
|
-
:
|
1437
|
+
update_conference_participant_request: update_conference_participant_request
|
1574
1438
|
}
|
1575
1439
|
)
|
1576
|
-
|
1577
|
-
|
1440
|
+
|
1578
1441
|
expect(result).to be_a Freeclimb::ConferenceParticipantResult
|
1579
|
-
|
1442
|
+
|
1580
1443
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1581
1444
|
end
|
1582
1445
|
end
|
@@ -1587,22 +1450,20 @@ describe 'DefaultApi' do
|
|
1587
1450
|
# @param [Hash] opts the optional parameters
|
1588
1451
|
# @option opts [QueueRequest] :queue_request Queue Details to update
|
1589
1452
|
# @return [QueueResult]
|
1590
|
-
describe
|
1591
|
-
it
|
1592
|
-
|
1453
|
+
describe "update_a_queue test" do
|
1454
|
+
it "should work" do
|
1593
1455
|
queue_id = @queue_id_update_a_queue_test_value
|
1594
1456
|
queue_request = @queue_request_update_a_queue_test_value
|
1595
|
-
|
1457
|
+
|
1596
1458
|
result = @api_instance.update_a_queue(
|
1597
1459
|
queue_id,
|
1598
1460
|
{
|
1599
|
-
:
|
1461
|
+
queue_request: queue_request
|
1600
1462
|
}
|
1601
1463
|
)
|
1602
|
-
|
1603
|
-
|
1464
|
+
|
1604
1465
|
expect(result).to be_a Freeclimb::QueueResult
|
1605
|
-
|
1466
|
+
|
1606
1467
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1607
1468
|
end
|
1608
1469
|
end
|
@@ -1612,20 +1473,16 @@ describe 'DefaultApi' do
|
|
1612
1473
|
# @param [Hash] opts the optional parameters
|
1613
1474
|
# @option opts [AccountRequest] :account_request Account details to update
|
1614
1475
|
# @return [nil]
|
1615
|
-
describe
|
1616
|
-
it
|
1617
|
-
|
1476
|
+
describe "update_an_account test" do
|
1477
|
+
it "should work" do
|
1618
1478
|
account_request = @account_request_update_an_account_test_value
|
1619
|
-
|
1479
|
+
|
1620
1480
|
result = @api_instance.update_an_account(
|
1621
|
-
|
1622
1481
|
{
|
1623
|
-
:
|
1482
|
+
account_request: account_request
|
1624
1483
|
}
|
1625
1484
|
)
|
1626
|
-
|
1627
|
-
|
1628
|
-
|
1485
|
+
|
1629
1486
|
expect(result).to be_nil
|
1630
1487
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1631
1488
|
end
|
@@ -1637,22 +1494,20 @@ describe 'DefaultApi' do
|
|
1637
1494
|
# @param [Hash] opts the optional parameters
|
1638
1495
|
# @option opts [ApplicationRequest] :application_request Application details to update.
|
1639
1496
|
# @return [ApplicationResult]
|
1640
|
-
describe
|
1641
|
-
it
|
1642
|
-
|
1497
|
+
describe "update_an_application test" do
|
1498
|
+
it "should work" do
|
1643
1499
|
application_id = @application_id_update_an_application_test_value
|
1644
1500
|
application_request = @application_request_update_an_application_test_value
|
1645
|
-
|
1501
|
+
|
1646
1502
|
result = @api_instance.update_an_application(
|
1647
1503
|
application_id,
|
1648
1504
|
{
|
1649
|
-
:
|
1505
|
+
application_request: application_request
|
1650
1506
|
}
|
1651
1507
|
)
|
1652
|
-
|
1653
|
-
|
1508
|
+
|
1654
1509
|
expect(result).to be_a Freeclimb::ApplicationResult
|
1655
|
-
|
1510
|
+
|
1656
1511
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1657
1512
|
end
|
1658
1513
|
end
|
@@ -1663,22 +1518,20 @@ describe 'DefaultApi' do
|
|
1663
1518
|
# @param [Hash] opts the optional parameters
|
1664
1519
|
# @option opts [IncomingNumberRequest] :incoming_number_request Incoming Number details to update
|
1665
1520
|
# @return [IncomingNumberResult]
|
1666
|
-
describe
|
1667
|
-
it
|
1668
|
-
|
1521
|
+
describe "update_an_incoming_number test" do
|
1522
|
+
it "should work" do
|
1669
1523
|
phone_number_id = @phone_number_id_update_an_incoming_number_test_value
|
1670
1524
|
incoming_number_request = @incoming_number_request_update_an_incoming_number_test_value
|
1671
|
-
|
1525
|
+
|
1672
1526
|
result = @api_instance.update_an_incoming_number(
|
1673
1527
|
phone_number_id,
|
1674
1528
|
{
|
1675
|
-
:
|
1529
|
+
incoming_number_request: incoming_number_request
|
1676
1530
|
}
|
1677
1531
|
)
|
1678
|
-
|
1679
|
-
|
1532
|
+
|
1680
1533
|
expect(result).to be_a Freeclimb::IncomingNumberResult
|
1681
|
-
|
1534
|
+
|
1682
1535
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1683
1536
|
end
|
1684
1537
|
end
|
@@ -1688,11 +1541,10 @@ describe 'DefaultApi' do
|
|
1688
1541
|
# @param filter_logs_request Filter logs request paramters
|
1689
1542
|
# @param [Hash] opts the optional parameters
|
1690
1543
|
# @return [LogList]
|
1691
|
-
describe
|
1692
|
-
it
|
1693
|
-
|
1544
|
+
describe "filter_logs_get_next_page test" do
|
1545
|
+
it "should work" do
|
1694
1546
|
filter_logs_request = @filter_logs_request_filter_logs_test_value
|
1695
|
-
|
1547
|
+
|
1696
1548
|
result = @api_instance.filter_logs(
|
1697
1549
|
filter_logs_request,
|
1698
1550
|
{}
|
@@ -1708,12 +1560,9 @@ describe 'DefaultApi' do
|
|
1708
1560
|
# Get list of SMS 10DLC Brands
|
1709
1561
|
# @param [Hash] opts the optional parameters
|
1710
1562
|
# @return [SMSTenDLCBrandsListResult]
|
1711
|
-
describe
|
1712
|
-
it
|
1713
|
-
|
1714
|
-
|
1563
|
+
describe "get_ten_dlc_sms_brands_get_next_page test" do
|
1564
|
+
it "should work" do
|
1715
1565
|
result = @api_instance.get_ten_dlc_sms_brands(
|
1716
|
-
|
1717
1566
|
{}
|
1718
1567
|
)
|
1719
1568
|
result.next_page_uri = "/Accounts/{accountId}/Messages/10DLC/Brands?cursor=1"
|
@@ -1728,15 +1577,13 @@ describe 'DefaultApi' do
|
|
1728
1577
|
# @param [Hash] opts the optional parameters
|
1729
1578
|
# @option opts [String] :brand_id The unique identifier for a brand
|
1730
1579
|
# @return [SMSTenDLCCampaignsListResult]
|
1731
|
-
describe
|
1732
|
-
it
|
1733
|
-
|
1580
|
+
describe "get_ten_dlc_sms_campaigns_get_next_page test" do
|
1581
|
+
it "should work" do
|
1734
1582
|
brand_id = @brand_id_get_ten_dlc_sms_campaigns_test_value
|
1735
|
-
|
1583
|
+
|
1736
1584
|
result = @api_instance.get_ten_dlc_sms_campaigns(
|
1737
|
-
|
1738
1585
|
{
|
1739
|
-
:
|
1586
|
+
brand_id: brand_id
|
1740
1587
|
}
|
1741
1588
|
)
|
1742
1589
|
result.next_page_uri = "/Accounts/{accountId}/Messages/10DLC/Campaigns?cursor=1"
|
@@ -1751,15 +1598,13 @@ describe 'DefaultApi' do
|
|
1751
1598
|
# @param [Hash] opts the optional parameters
|
1752
1599
|
# @option opts [String] :brand_id The unique identifier for a brand
|
1753
1600
|
# @return [SMSTenDLCPartnerCampaignsListResult]
|
1754
|
-
describe
|
1755
|
-
it
|
1756
|
-
|
1601
|
+
describe "get_ten_dlc_sms_partner_campaigns_get_next_page test" do
|
1602
|
+
it "should work" do
|
1757
1603
|
brand_id = @brand_id_get_ten_dlc_sms_partner_campaigns_test_value
|
1758
|
-
|
1604
|
+
|
1759
1605
|
result = @api_instance.get_ten_dlc_sms_partner_campaigns(
|
1760
|
-
|
1761
1606
|
{
|
1762
|
-
:
|
1607
|
+
brand_id: brand_id
|
1763
1608
|
}
|
1764
1609
|
)
|
1765
1610
|
result.next_page_uri = "/Accounts/{accountId}/Messages/10DLC/PartnerCampaigns?cursor=1"
|
@@ -1773,12 +1618,9 @@ describe 'DefaultApi' do
|
|
1773
1618
|
# Get list of TollFree Campaigns
|
1774
1619
|
# @param [Hash] opts the optional parameters
|
1775
1620
|
# @return [SMSTollFreeCampaignsListResult]
|
1776
|
-
describe
|
1777
|
-
it
|
1778
|
-
|
1779
|
-
|
1621
|
+
describe "get_toll_free_sms_campaigns_get_next_page test" do
|
1622
|
+
it "should work" do
|
1780
1623
|
result = @api_instance.get_toll_free_sms_campaigns(
|
1781
|
-
|
1782
1624
|
{}
|
1783
1625
|
)
|
1784
1626
|
result.next_page_uri = "/Accounts/{accountId}/Messages/TollFree/Campaigns?cursor=1"
|
@@ -1793,15 +1635,13 @@ describe 'DefaultApi' do
|
|
1793
1635
|
# @param [Hash] opts the optional parameters
|
1794
1636
|
# @option opts [String] :_alias Return only the Queue resources with aliases that exactly match this name.
|
1795
1637
|
# @return [QueueList]
|
1796
|
-
describe
|
1797
|
-
it
|
1798
|
-
|
1638
|
+
describe "list_active_queues_get_next_page test" do
|
1639
|
+
it "should work" do
|
1799
1640
|
_alias = @_alias_list_active_queues_test_value
|
1800
|
-
|
1641
|
+
|
1801
1642
|
result = @api_instance.list_active_queues(
|
1802
|
-
|
1803
1643
|
{
|
1804
|
-
:
|
1644
|
+
_alias: _alias
|
1805
1645
|
}
|
1806
1646
|
)
|
1807
1647
|
result.next_page_uri = "/Accounts/{accountId}/Queues?cursor=1"
|
@@ -1815,12 +1655,9 @@ describe 'DefaultApi' do
|
|
1815
1655
|
# List All Account Logs
|
1816
1656
|
# @param [Hash] opts the optional parameters
|
1817
1657
|
# @return [LogList]
|
1818
|
-
describe
|
1819
|
-
it
|
1820
|
-
|
1821
|
-
|
1658
|
+
describe "list_all_account_logs_get_next_page test" do
|
1659
|
+
it "should work" do
|
1822
1660
|
result = @api_instance.list_all_account_logs(
|
1823
|
-
|
1824
1661
|
{}
|
1825
1662
|
)
|
1826
1663
|
result.next_page_uri = "/Accounts/{accountId}/Logs?cursor=1"
|
@@ -1835,15 +1672,13 @@ describe 'DefaultApi' do
|
|
1835
1672
|
# @param [Hash] opts the optional parameters
|
1836
1673
|
# @option opts [String] :_alias Return only applications with aliases that exactly match this value.
|
1837
1674
|
# @return [ApplicationList]
|
1838
|
-
describe
|
1839
|
-
it
|
1840
|
-
|
1675
|
+
describe "list_applications_get_next_page test" do
|
1676
|
+
it "should work" do
|
1841
1677
|
_alias = @_alias_list_applications_test_value
|
1842
|
-
|
1678
|
+
|
1843
1679
|
result = @api_instance.list_applications(
|
1844
|
-
|
1845
1680
|
{
|
1846
|
-
:
|
1681
|
+
_alias: _alias
|
1847
1682
|
}
|
1848
1683
|
)
|
1849
1684
|
result.next_page_uri = "/Accounts/{accountId}/Applications?cursor=1"
|
@@ -1861,15 +1696,14 @@ describe 'DefaultApi' do
|
|
1861
1696
|
# @option opts [String] :country Country of this phone number.
|
1862
1697
|
# @option opts [Boolean] :voice_enabled Indicates whether the phone number can handle Calls. Typically set to true for all numbers.
|
1863
1698
|
# @option opts [Boolean] :sms_enabled Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers.
|
1864
|
-
# @option opts [Boolean] :capabilities_voice
|
1865
|
-
# @option opts [Boolean] :capabilities_sms
|
1866
|
-
# @option opts [Boolean] :capabilities_toll_free
|
1867
|
-
# @option opts [Boolean] :capabilities_ten_dlc
|
1868
|
-
# @option opts [Boolean] :capabilities_short_code
|
1699
|
+
# @option opts [Boolean] :capabilities_voice
|
1700
|
+
# @option opts [Boolean] :capabilities_sms
|
1701
|
+
# @option opts [Boolean] :capabilities_toll_free
|
1702
|
+
# @option opts [Boolean] :capabilities_ten_dlc
|
1703
|
+
# @option opts [Boolean] :capabilities_short_code
|
1869
1704
|
# @return [AvailableNumberList]
|
1870
|
-
describe
|
1871
|
-
it
|
1872
|
-
|
1705
|
+
describe "list_available_numbers_get_next_page test" do
|
1706
|
+
it "should work" do
|
1873
1707
|
phone_number = @phone_number_list_available_numbers_test_value
|
1874
1708
|
region = @region_list_available_numbers_test_value
|
1875
1709
|
country = @country_list_available_numbers_test_value
|
@@ -1880,11 +1714,10 @@ describe 'DefaultApi' do
|
|
1880
1714
|
capabilities_toll_free = @capabilities_toll_free_list_available_numbers_test_value
|
1881
1715
|
capabilities_ten_dlc = @capabilities_ten_dlc_list_available_numbers_test_value
|
1882
1716
|
capabilities_short_code = @capabilities_short_code_list_available_numbers_test_value
|
1883
|
-
|
1717
|
+
|
1884
1718
|
result = @api_instance.list_available_numbers(
|
1885
|
-
|
1886
1719
|
{
|
1887
|
-
:
|
1720
|
+
phone_number: phone_number, region: region, country: country, voice_enabled: voice_enabled, sms_enabled: sms_enabled, capabilities_voice: capabilities_voice, capabilities_sms: capabilities_sms, capabilities_toll_free: capabilities_toll_free, capabilities_ten_dlc: capabilities_ten_dlc, capabilities_short_code: capabilities_short_code
|
1888
1721
|
}
|
1889
1722
|
)
|
1890
1723
|
result.next_page_uri = "/AvailablePhoneNumbers?cursor=1"
|
@@ -1899,11 +1732,10 @@ describe 'DefaultApi' do
|
|
1899
1732
|
# @param call_id String that uniquely identifies this call resource.
|
1900
1733
|
# @param [Hash] opts the optional parameters
|
1901
1734
|
# @return [LogList]
|
1902
|
-
describe
|
1903
|
-
it
|
1904
|
-
|
1735
|
+
describe "list_call_logs_get_next_page test" do
|
1736
|
+
it "should work" do
|
1905
1737
|
call_id = @call_id_list_call_logs_test_value
|
1906
|
-
|
1738
|
+
|
1907
1739
|
result = @api_instance.list_call_logs(
|
1908
1740
|
call_id,
|
1909
1741
|
{}
|
@@ -1921,16 +1753,15 @@ describe 'DefaultApi' do
|
|
1921
1753
|
# @param [Hash] opts the optional parameters
|
1922
1754
|
# @option opts [String] :date_created Only show recordings created on the specified date, in the form *YYYY-MM-DD*.
|
1923
1755
|
# @return [RecordingList]
|
1924
|
-
describe
|
1925
|
-
it
|
1926
|
-
|
1756
|
+
describe "list_call_recordings_get_next_page test" do
|
1757
|
+
it "should work" do
|
1927
1758
|
call_id = @call_id_list_call_recordings_test_value
|
1928
1759
|
date_created = @date_created_list_call_recordings_test_value
|
1929
|
-
|
1760
|
+
|
1930
1761
|
result = @api_instance.list_call_recordings(
|
1931
1762
|
call_id,
|
1932
1763
|
{
|
1933
|
-
:
|
1764
|
+
date_created: date_created
|
1934
1765
|
}
|
1935
1766
|
)
|
1936
1767
|
result.next_page_uri = "/Accounts/{accountId}/Calls/{callId}/Recordings?cursor=1"
|
@@ -1952,9 +1783,8 @@ describe 'DefaultApi' do
|
|
1952
1783
|
# @option opts [String] :parent_call_id Only show Calls spawned by the call with this ID.
|
1953
1784
|
# @option opts [Array<String>] :application_id Only show calls belonging to the given applicationId. This parameter can be repeated to return calls from multiple Applications.
|
1954
1785
|
# @return [CallList]
|
1955
|
-
describe
|
1956
|
-
it
|
1957
|
-
|
1786
|
+
describe "list_calls_get_next_page test" do
|
1787
|
+
it "should work" do
|
1958
1788
|
active = @active_list_calls_test_value
|
1959
1789
|
to = @to_list_calls_test_value
|
1960
1790
|
from = @from_list_calls_test_value
|
@@ -1963,11 +1793,10 @@ describe 'DefaultApi' do
|
|
1963
1793
|
end_time = @end_time_list_calls_test_value
|
1964
1794
|
parent_call_id = @parent_call_id_list_calls_test_value
|
1965
1795
|
application_id = @application_id_list_calls_test_value
|
1966
|
-
|
1796
|
+
|
1967
1797
|
result = @api_instance.list_calls(
|
1968
|
-
|
1969
1798
|
{
|
1970
|
-
:
|
1799
|
+
active: active, to: to, from: from, status: status, start_time: start_time, end_time: end_time, parent_call_id: parent_call_id, application_id: application_id
|
1971
1800
|
}
|
1972
1801
|
)
|
1973
1802
|
result.next_page_uri = "/Accounts/{accountId}/Calls?cursor=1"
|
@@ -1984,17 +1813,16 @@ describe 'DefaultApi' do
|
|
1984
1813
|
# @option opts [String] :call_id Show only Recordings made during the Call with this ID.
|
1985
1814
|
# @option opts [String] :date_created Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
|
1986
1815
|
# @return [RecordingList]
|
1987
|
-
describe
|
1988
|
-
it
|
1989
|
-
|
1816
|
+
describe "list_conference_recordings_get_next_page test" do
|
1817
|
+
it "should work" do
|
1990
1818
|
conference_id = @conference_id_list_conference_recordings_test_value
|
1991
1819
|
call_id = @call_id_list_conference_recordings_test_value
|
1992
1820
|
date_created = @date_created_list_conference_recordings_test_value
|
1993
|
-
|
1821
|
+
|
1994
1822
|
result = @api_instance.list_conference_recordings(
|
1995
1823
|
conference_id,
|
1996
1824
|
{
|
1997
|
-
:
|
1825
|
+
call_id: call_id, date_created: date_created
|
1998
1826
|
}
|
1999
1827
|
)
|
2000
1828
|
result.next_page_uri = "/Accounts/{accountId}/Conferences/{conferenceId}/Recordings?cursor=1"
|
@@ -2012,18 +1840,16 @@ describe 'DefaultApi' do
|
|
2012
1840
|
# @option opts [String] :date_created Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*.
|
2013
1841
|
# @option opts [String] :date_updated Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*.
|
2014
1842
|
# @return [ConferenceList]
|
2015
|
-
describe
|
2016
|
-
it
|
2017
|
-
|
1843
|
+
describe "list_conferences_get_next_page test" do
|
1844
|
+
it "should work" do
|
2018
1845
|
status = @status_list_conferences_test_value
|
2019
1846
|
_alias = @_alias_list_conferences_test_value
|
2020
1847
|
date_created = @date_created_list_conferences_test_value
|
2021
1848
|
date_updated = @date_updated_list_conferences_test_value
|
2022
|
-
|
1849
|
+
|
2023
1850
|
result = @api_instance.list_conferences(
|
2024
|
-
|
2025
1851
|
{
|
2026
|
-
:
|
1852
|
+
status: status, _alias: _alias, date_created: date_created, date_updated: date_updated
|
2027
1853
|
}
|
2028
1854
|
)
|
2029
1855
|
result.next_page_uri = "/Accounts/{accountId}/Conferences?cursor=1"
|
@@ -2045,17 +1871,16 @@ describe 'DefaultApi' do
|
|
2045
1871
|
# @option opts [Boolean] :voice_enabled Indicates whether the phone number can handle Calls. Typically set to true for all numbers.
|
2046
1872
|
# @option opts [Boolean] :sms_enabled Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers.
|
2047
1873
|
# @option opts [Boolean] :has_campaign Indication of whether the phone number has a campaign associated with it
|
2048
|
-
# @option opts [Boolean] :capabilities_voice
|
2049
|
-
# @option opts [Boolean] :capabilities_sms
|
2050
|
-
# @option opts [Boolean] :capabilities_toll_free
|
2051
|
-
# @option opts [Boolean] :capabilities_ten_dlc
|
2052
|
-
# @option opts [Boolean] :capabilities_short_code
|
1874
|
+
# @option opts [Boolean] :capabilities_voice
|
1875
|
+
# @option opts [Boolean] :capabilities_sms
|
1876
|
+
# @option opts [Boolean] :capabilities_toll_free
|
1877
|
+
# @option opts [Boolean] :capabilities_ten_dlc
|
1878
|
+
# @option opts [Boolean] :capabilities_short_code
|
2053
1879
|
# @option opts [String] :tfn_campaign_id Only show incoming phone number resources that have been assigned to the provided TFNCampaign ID.
|
2054
1880
|
# @option opts [Boolean] :offnet Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource.
|
2055
1881
|
# @return [IncomingNumberList]
|
2056
|
-
describe
|
2057
|
-
it
|
2058
|
-
|
1882
|
+
describe "list_incoming_numbers_get_next_page test" do
|
1883
|
+
it "should work" do
|
2059
1884
|
phone_number = @phone_number_list_incoming_numbers_test_value
|
2060
1885
|
_alias = @_alias_list_incoming_numbers_test_value
|
2061
1886
|
region = @region_list_incoming_numbers_test_value
|
@@ -2072,11 +1897,10 @@ describe 'DefaultApi' do
|
|
2072
1897
|
capabilities_short_code = @capabilities_short_code_list_incoming_numbers_test_value
|
2073
1898
|
tfn_campaign_id = @tfn_campaign_id_list_incoming_numbers_test_value
|
2074
1899
|
offnet = @offnet_list_incoming_numbers_test_value
|
2075
|
-
|
1900
|
+
|
2076
1901
|
result = @api_instance.list_incoming_numbers(
|
2077
|
-
|
2078
1902
|
{
|
2079
|
-
:
|
1903
|
+
phone_number: phone_number, _alias: _alias, region: region, country: country, application_id: application_id, has_application: has_application, voice_enabled: voice_enabled, sms_enabled: sms_enabled, has_campaign: has_campaign, capabilities_voice: capabilities_voice, capabilities_sms: capabilities_sms, capabilities_toll_free: capabilities_toll_free, capabilities_ten_dlc: capabilities_ten_dlc, capabilities_short_code: capabilities_short_code, tfn_campaign_id: tfn_campaign_id, offnet: offnet
|
2080
1904
|
}
|
2081
1905
|
)
|
2082
1906
|
result.next_page_uri = "/Accounts/{accountId}/IncomingPhoneNumbers?cursor=1"
|
@@ -2091,11 +1915,10 @@ describe 'DefaultApi' do
|
|
2091
1915
|
# @param queue_id String that uniquely identifies the Queue that the Member belongs to.
|
2092
1916
|
# @param [Hash] opts the optional parameters
|
2093
1917
|
# @return [QueueMemberList]
|
2094
|
-
describe
|
2095
|
-
it
|
2096
|
-
|
1918
|
+
describe "list_members_get_next_page test" do
|
1919
|
+
it "should work" do
|
2097
1920
|
queue_id = @queue_id_list_members_test_value
|
2098
|
-
|
1921
|
+
|
2099
1922
|
result = @api_instance.list_members(
|
2100
1923
|
queue_id,
|
2101
1924
|
{}
|
@@ -2115,18 +1938,17 @@ describe 'DefaultApi' do
|
|
2115
1938
|
# @option opts [Boolean] :listen Only show Participants with the listen privilege.
|
2116
1939
|
# @option opts [Boolean] :dtmf_pass_through Only show Participants with the dtmfPassThrough privilege.
|
2117
1940
|
# @return [ConferenceParticipantList]
|
2118
|
-
describe
|
2119
|
-
it
|
2120
|
-
|
1941
|
+
describe "list_participants_get_next_page test" do
|
1942
|
+
it "should work" do
|
2121
1943
|
conference_id = @conference_id_list_participants_test_value
|
2122
1944
|
talk = @talk_list_participants_test_value
|
2123
1945
|
listen = @listen_list_participants_test_value
|
2124
1946
|
dtmf_pass_through = @dtmf_pass_through_list_participants_test_value
|
2125
|
-
|
1947
|
+
|
2126
1948
|
result = @api_instance.list_participants(
|
2127
1949
|
conference_id,
|
2128
1950
|
{
|
2129
|
-
:
|
1951
|
+
talk: talk, listen: listen, dtmf_pass_through: dtmf_pass_through
|
2130
1952
|
}
|
2131
1953
|
)
|
2132
1954
|
result.next_page_uri = "/Accounts/{accountId}/Conferences/{conferenceId}/Participants?cursor=1"
|
@@ -2143,17 +1965,15 @@ describe 'DefaultApi' do
|
|
2143
1965
|
# @option opts [String] :conference_id Show only Recordings made during the conference with this ID.
|
2144
1966
|
# @option opts [String] :date_created Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
|
2145
1967
|
# @return [RecordingList]
|
2146
|
-
describe
|
2147
|
-
it
|
2148
|
-
|
1968
|
+
describe "list_recordings_get_next_page test" do
|
1969
|
+
it "should work" do
|
2149
1970
|
call_id = @call_id_list_recordings_test_value
|
2150
1971
|
conference_id = @conference_id_list_recordings_test_value
|
2151
1972
|
date_created = @date_created_list_recordings_test_value
|
2152
|
-
|
1973
|
+
|
2153
1974
|
result = @api_instance.list_recordings(
|
2154
|
-
|
2155
1975
|
{
|
2156
|
-
:
|
1976
|
+
call_id: call_id, conference_id: conference_id, date_created: date_created
|
2157
1977
|
}
|
2158
1978
|
)
|
2159
1979
|
result.next_page_uri = "/Accounts/{accountId}/Recordings?cursor=1"
|
@@ -2175,9 +1995,8 @@ describe 'DefaultApi' do
|
|
2175
1995
|
# @option opts [String] :brand_id Only show messages associated with this brand ID
|
2176
1996
|
# @option opts [Boolean] :is10_dlc Only show messages that were sent as part of a 10DLC campaign.
|
2177
1997
|
# @return [MessagesList]
|
2178
|
-
describe
|
2179
|
-
it
|
2180
|
-
|
1998
|
+
describe "list_sms_messages_get_next_page test" do
|
1999
|
+
it "should work" do
|
2181
2000
|
to = @to_list_sms_messages_test_value
|
2182
2001
|
from = @from_list_sms_messages_test_value
|
2183
2002
|
begin_time = @begin_time_list_sms_messages_test_value
|
@@ -2186,11 +2005,10 @@ describe 'DefaultApi' do
|
|
2186
2005
|
campaign_id = @campaign_id_list_sms_messages_test_value
|
2187
2006
|
brand_id = @brand_id_list_sms_messages_test_value
|
2188
2007
|
is10_dlc = @is10_dlc_list_sms_messages_test_value
|
2189
|
-
|
2008
|
+
|
2190
2009
|
result = @api_instance.list_sms_messages(
|
2191
|
-
|
2192
2010
|
{
|
2193
|
-
:
|
2011
|
+
to: to, from: from, begin_time: begin_time, end_time: end_time, direction: direction, campaign_id: campaign_id, brand_id: brand_id, is10_dlc: is10_dlc
|
2194
2012
|
}
|
2195
2013
|
)
|
2196
2014
|
result.next_page_uri = "/Accounts/{accountId}/Messages?cursor=1"
|
@@ -2199,6 +2017,4 @@ describe 'DefaultApi' do
|
|
2199
2017
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2200
2018
|
end
|
2201
2019
|
end
|
2202
|
-
|
2203
2020
|
end
|
2204
|
-
|