freeclimb 5.0.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 +21 -1
- data/Gemfile +4 -4
- data/Gemfile.lock +34 -15
- data/README.md +5 -4
- data/Rakefile +1 -1
- data/docs/CreateConferenceRequest.md +1 -1
- data/docs/DefaultApi.md +1 -1
- data/docs/MessageResult.md +7 -1
- data/docs/TFNCampaign.md +34 -0
- 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 +28 -31
- 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 +30 -37
- 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 +150 -123
- 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 +30 -37
- 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 +30 -37
- data/lib/freeclimb/models/terminate_conference.rb +30 -37
- data/lib/freeclimb/models/tfn.rb +31 -35
- data/lib/freeclimb/models/tfn_campaign.rb +367 -0
- 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 +30 -37
- 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 -157
- data/openapi.json +96 -38
- data/package.json +1 -1
- data/spec/api/default_api_spec.rb +531 -793
- data/spec/api_client_spec.rb +100 -102
- data/spec/configuration_spec.rb +16 -18
- data/spec/models/account_request_spec.rb +106 -124
- data/spec/models/account_result_spec.rb +396 -453
- data/spec/models/account_status_spec.rb +28 -30
- data/spec/models/account_type_spec.rb +25 -27
- data/spec/models/add_to_conference_notification_webhook_spec.rb +465 -549
- data/spec/models/add_to_conference_spec.rb +355 -382
- data/spec/models/add_to_queue_notification_webhook_spec.rb +342 -402
- data/spec/models/answered_by_spec.rb +25 -27
- data/spec/models/application_list_spec.rb +290 -326
- data/spec/models/application_request_spec.rb +266 -289
- data/spec/models/application_result_spec.rb +445 -476
- data/spec/models/available_number_list_spec.rb +290 -326
- data/spec/models/available_number_spec.rb +279 -299
- data/spec/models/barge_in_reason_spec.rb +28 -30
- data/spec/models/buy_incoming_number_request_spec.rb +137 -156
- data/spec/models/call_control_webhook_spec.rb +204 -225
- data/spec/models/call_direction_spec.rb +28 -30
- data/spec/models/call_ended_reason_spec.rb +108 -110
- data/spec/models/call_list_spec.rb +290 -326
- data/spec/models/call_result_spec.rb +684 -772
- data/spec/models/call_status_spec.rb +48 -50
- data/spec/models/call_status_webhook_spec.rb +414 -492
- data/spec/models/capabilities_spec.rb +203 -223
- data/spec/models/completion_request_spec.rb +76 -92
- data/spec/models/completion_result_spec.rb +107 -143
- data/spec/models/completion_result_status_spec.rb +25 -27
- data/spec/models/conference_list_spec.rb +290 -326
- data/spec/models/conference_participant_list_spec.rb +290 -326
- data/spec/models/conference_participant_result_spec.rb +385 -414
- data/spec/models/conference_recording_status_webhook_spec.rb +465 -549
- data/spec/models/conference_result_spec.rb +492 -553
- data/spec/models/conference_status_spec.rb +32 -34
- data/spec/models/conference_status_webhook_spec.rb +465 -549
- data/spec/models/create_conference_request_spec.rb +205 -245
- data/spec/models/create_conference_spec.rb +237 -278
- data/spec/models/create_conference_webhook_spec.rb +465 -549
- data/spec/models/create_web_rtc_token_spec.rb +137 -159
- data/spec/models/dequeue_spec.rb +15 -17
- data/spec/models/dequeue_webhook_spec.rb +401 -465
- data/spec/models/enqueue_spec.rb +170 -190
- data/spec/models/filter_logs_request_spec.rb +74 -91
- data/spec/models/get_digits_reason_spec.rb +32 -34
- data/spec/models/get_digits_spec.rb +327 -361
- data/spec/models/get_digits_webhook_spec.rb +436 -517
- data/spec/models/get_speech_reason_spec.rb +40 -42
- data/spec/models/get_speech_spec.rb +400 -492
- data/spec/models/get_speech_webhook_spec.rb +608 -698
- data/spec/models/grammar_file_built_in_spec.rb +76 -78
- data/spec/models/grammar_type_spec.rb +25 -27
- data/spec/models/hangup_spec.rb +74 -91
- data/spec/models/if_machine_spec.rb +25 -27
- data/spec/models/inbound_call_webhook_spec.rb +372 -433
- data/spec/models/incoming_number_list_spec.rb +290 -326
- data/spec/models/incoming_number_request_spec.rb +137 -156
- data/spec/models/incoming_number_result_spec.rb +584 -613
- data/spec/models/language_spec.rb +121 -123
- data/spec/models/leave_conference_webhook_spec.rb +342 -402
- data/spec/models/log_level_spec.rb +28 -30
- data/spec/models/log_list_spec.rb +290 -326
- data/spec/models/log_result_spec.rb +275 -311
- data/spec/models/machine_detected_webhook_spec.rb +402 -482
- data/spec/models/machine_type_spec.rb +25 -27
- data/spec/models/make_call_request_spec.rb +354 -383
- data/spec/models/message_delivery_webhook_spec.rb +358 -384
- data/spec/models/message_direction_spec.rb +25 -27
- data/spec/models/message_request_spec.rb +325 -352
- data/spec/models/message_result_spec.rb +674 -598
- data/spec/models/message_status_spec.rb +61 -63
- data/spec/models/message_status_webhook_spec.rb +406 -451
- data/spec/models/messages_list_spec.rb +290 -326
- data/spec/models/mutable_resource_model_spec.rb +169 -191
- data/spec/models/out_dial_api_connect_webhook_spec.rb +372 -433
- data/spec/models/out_dial_connect_webhook_spec.rb +372 -433
- data/spec/models/out_dial_spec.rb +355 -401
- data/spec/models/out_dial_start_webhook_spec.rb +402 -464
- data/spec/models/pagination_model_spec.rb +260 -295
- data/spec/models/park_spec.rb +137 -156
- data/spec/models/pause_spec.rb +73 -92
- data/spec/models/percl_command_spec.rb +77 -94
- data/spec/models/percl_script_spec.rb +74 -91
- data/spec/models/play_beep_spec.rb +32 -34
- data/spec/models/play_early_media_spec.rb +74 -91
- data/spec/models/play_spec.rb +136 -157
- data/spec/models/queue_list_spec.rb +290 -326
- data/spec/models/queue_member_list_spec.rb +290 -326
- data/spec/models/queue_member_spec.rb +200 -225
- data/spec/models/queue_request_spec.rb +105 -125
- data/spec/models/queue_result_spec.rb +391 -419
- data/spec/models/queue_result_status_spec.rb +32 -34
- data/spec/models/queue_wait_webhook_spec.rb +430 -497
- data/spec/models/record_utterance_spec.rb +264 -291
- data/spec/models/record_utterance_term_reason_spec.rb +32 -34
- data/spec/models/record_webhook_spec.rb +605 -693
- data/spec/models/recording_list_spec.rb +290 -326
- data/spec/models/recording_result_spec.rb +324 -353
- data/spec/models/redirect_spec.rb +74 -91
- data/spec/models/redirect_webhook_spec.rb +372 -433
- data/spec/models/reject_spec.rb +74 -91
- data/spec/models/remove_from_conference_spec.rb +15 -17
- data/spec/models/remove_from_queue_notification_webhook_spec.rb +405 -487
- data/spec/models/request_type_spec.rb +108 -110
- data/spec/models/say_spec.rb +169 -191
- data/spec/models/send_digits_spec.rb +136 -157
- data/spec/models/set_dtmf_pass_through_spec.rb +75 -91
- data/spec/models/set_listen_spec.rb +75 -91
- data/spec/models/set_talk_spec.rb +75 -91
- data/spec/models/sms_spec.rb +170 -190
- data/spec/models/sms_ten_dlc_brand_alt_business_id_type_spec.rb +32 -34
- data/spec/models/sms_ten_dlc_brand_entity_type_spec.rb +36 -38
- data/spec/models/sms_ten_dlc_brand_identity_status_spec.rb +32 -34
- data/spec/models/sms_ten_dlc_brand_relationship_spec.rb +36 -38
- data/spec/models/sms_ten_dlc_brand_spec.rb +1083 -1201
- data/spec/models/sms_ten_dlc_brand_stock_exchange_spec.rb +125 -127
- data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +290 -326
- data/spec/models/sms_ten_dlc_campaign_spec.rb +1140 -1208
- data/spec/models/sms_ten_dlc_campaign_status_spec.rb +25 -27
- data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +290 -326
- data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +407 -425
- data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +965 -1015
- data/spec/models/sms_ten_dlc_partner_campaign_status_spec.rb +25 -27
- data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +290 -326
- data/spec/models/sms_toll_free_campaign_registration_status_spec.rb +36 -38
- data/spec/models/sms_toll_free_campaign_spec.rb +271 -314
- data/spec/models/sms_toll_free_campaigns_list_result_spec.rb +290 -326
- data/spec/models/start_record_call_spec.rb +15 -17
- data/spec/models/terminate_conference_spec.rb +15 -17
- data/spec/models/tfn_campaign_spec.rb +561 -0
- data/spec/models/tfn_spec.rb +74 -91
- data/spec/models/transcribe_reason_spec.rb +36 -38
- data/spec/models/transcribe_term_reason_spec.rb +25 -27
- data/spec/models/transcribe_utterance_record_spec.rb +135 -158
- data/spec/models/transcribe_utterance_spec.rb +245 -265
- data/spec/models/transcribe_webhook_spec.rb +750 -874
- data/spec/models/unpark_spec.rb +15 -17
- data/spec/models/update_call_request_spec.rb +75 -109
- data/spec/models/update_call_request_status_spec.rb +25 -27
- data/spec/models/update_conference_participant_request_spec.rb +138 -156
- data/spec/models/update_conference_request_spec.rb +141 -195
- data/spec/models/update_conference_request_status_spec.rb +25 -27
- data/spec/models/webhook_spec.rb +69 -86
- 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 +9 -153
@@ -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"
|
49
45
|
|
50
|
-
@
|
46
|
+
@application_id_delete_an_application_test_value = "applicationId_example"
|
51
47
|
|
52
|
-
@
|
48
|
+
@phone_number_id_delete_an_incoming_number_test_value = "phoneNumberId_example"
|
53
49
|
|
54
|
-
@
|
50
|
+
@queue_id_dequeue_a_member_test_value = "queueId_example"
|
55
51
|
|
56
|
-
@
|
52
|
+
@call_id_dequeue_a_member_test_value = "callId_example"
|
57
53
|
|
58
|
-
@
|
54
|
+
@queue_id_dequeue_head_member_test_value = "queueId_example"
|
59
55
|
|
60
|
-
@
|
56
|
+
@recording_id_download_a_recording_file_test_value = "recordingId_example"
|
61
57
|
|
62
|
-
@
|
58
|
+
@filter_logs_request_filter_logs_test_value = Freeclimb::FilterLogsRequest.new({pql: "pql_example"})
|
63
59
|
|
64
|
-
@
|
60
|
+
@call_id_get_a_call_test_value = "callId_example"
|
65
61
|
|
66
|
-
@
|
62
|
+
@conference_id_get_a_conference_test_value = "conferenceId_example"
|
67
63
|
|
68
|
-
@
|
64
|
+
@queue_id_get_a_member_test_value = "queueId_example"
|
69
65
|
|
70
|
-
@
|
66
|
+
@call_id_get_a_member_test_value = "callId_example"
|
71
67
|
|
72
|
-
@
|
68
|
+
@conference_id_get_a_participant_test_value = "conferenceId_example"
|
73
69
|
|
74
|
-
@
|
70
|
+
@call_id_get_a_participant_test_value = "callId_example"
|
75
71
|
|
76
|
-
@
|
72
|
+
@queue_id_get_a_queue_test_value = "queueId_example"
|
77
73
|
|
78
|
-
@
|
74
|
+
@recording_id_get_a_recording_test_value = "recordingId_example"
|
79
75
|
|
80
|
-
@
|
76
|
+
@application_id_get_an_application_test_value = "applicationId_example"
|
81
77
|
|
82
|
-
@
|
78
|
+
@phone_number_id_get_an_incoming_number_test_value = "phoneNumberId_example"
|
83
79
|
|
84
|
-
@
|
80
|
+
@message_id_get_an_sms_message_test_value = "messageId_example"
|
85
81
|
|
86
|
-
@
|
82
|
+
@queue_id_get_head_member_test_value = "queueId_example"
|
87
83
|
|
88
|
-
@
|
84
|
+
@alias_list_active_queues_test_value = "alias_example"
|
89
85
|
|
90
|
-
@
|
86
|
+
@alias_list_applications_test_value = "alias_example"
|
91
87
|
|
92
|
-
@
|
88
|
+
@phone_number_list_available_numbers_test_value = "phoneNumberId_example"
|
93
89
|
|
94
|
-
@
|
90
|
+
@region_list_available_numbers_test_value = "region_example"
|
91
|
+
|
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"
|
123
|
+
|
124
|
+
@end_time_list_calls_test_value = "endTime_example"
|
125
125
|
|
126
|
-
@
|
126
|
+
@parent_call_id_list_calls_test_value = "parentCallId_example"
|
127
127
|
|
128
|
-
@
|
128
|
+
@application_id_list_calls_test_value = ["AP0123456789ABCDEFabcedf000000000000000001", "AP0123456789ABCDEFabcedf000000000000000002", "AP0123456789ABCDEFabcedf000000000000000002"]
|
129
129
|
|
130
|
-
@
|
130
|
+
@status_list_conferences_test_value = "status_example"
|
131
131
|
|
132
|
-
@
|
132
|
+
@alias_list_conferences_test_value = "alias_example"
|
133
133
|
|
134
|
-
@
|
134
|
+
@date_created_list_conferences_test_value = "dateCreated_example"
|
135
135
|
|
136
|
-
@
|
136
|
+
@date_updated_list_conferences_test_value = "dateUpdated_example"
|
137
137
|
|
138
|
-
@
|
139
|
-
|
140
|
-
@phone_number_list_incoming_numbers_test_value = 'phoneNumberId_example'
|
138
|
+
@phone_number_list_incoming_numbers_test_value = "phoneNumberId_example"
|
141
139
|
|
142
|
-
@alias_list_incoming_numbers_test_value =
|
140
|
+
@alias_list_incoming_numbers_test_value = "alias_example"
|
143
141
|
|
144
|
-
@region_list_incoming_numbers_test_value =
|
142
|
+
@region_list_incoming_numbers_test_value = "region_example"
|
145
143
|
|
146
|
-
@country_list_incoming_numbers_test_value =
|
144
|
+
@country_list_incoming_numbers_test_value = "country_example"
|
147
145
|
|
148
|
-
@application_id_list_incoming_numbers_test_value =
|
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"})
|
235
233
|
|
236
|
-
@message_request_send_an_sms_message_test_value = Freeclimb::MessageRequest.new({
|
234
|
+
@message_request_send_an_sms_message_test_value = Freeclimb::MessageRequest.new({from: "from_example", to: "to_example", text: "text_example"})
|
237
235
|
|
238
|
-
@update_conference_request_update_a_conference_test_value = Freeclimb::UpdateConferenceRequest.new({
|
236
|
+
@update_conference_request_update_a_conference_test_value = Freeclimb::UpdateConferenceRequest.new({_alias: "alias_example", play_beep: Freeclimb::PlayBeep::ALWAYS, status: Freeclimb::UpdateConferenceRequestStatus::EMPTY})
|
239
237
|
|
240
|
-
@update_call_request_update_a_live_call_test_value = Freeclimb::UpdateCallRequest.new({
|
241
|
-
|
242
|
-
@update_conference_participant_request_update_a_participant_test_value = Freeclimb::UpdateConferenceParticipantRequest.new
|
238
|
+
@update_call_request_update_a_live_call_test_value = Freeclimb::UpdateCallRequest.new({status: Freeclimb::UpdateCallRequestStatus::CANCELED})
|
239
|
+
|
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,21 +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
|
-
{
|
283
|
-
|
284
|
-
}
|
279
|
+
{}
|
285
280
|
)
|
286
|
-
|
287
|
-
|
281
|
+
|
288
282
|
expect(result).to be_a Freeclimb::IncomingNumberResult
|
289
|
-
|
283
|
+
|
290
284
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
291
285
|
end
|
292
286
|
end
|
@@ -296,21 +290,18 @@ describe 'DefaultApi' do
|
|
296
290
|
# @param [Hash] opts the optional parameters
|
297
291
|
# @option opts [CreateConferenceRequest] :create_conference_request Conference to create
|
298
292
|
# @return [ConferenceResult]
|
299
|
-
describe
|
300
|
-
it
|
301
|
-
|
293
|
+
describe "create_a_conference test" do
|
294
|
+
it "should work" do
|
302
295
|
create_conference_request = @create_conference_request_create_a_conference_test_value
|
303
|
-
|
296
|
+
|
304
297
|
result = @api_instance.create_a_conference(
|
305
|
-
|
306
298
|
{
|
307
|
-
:
|
299
|
+
create_conference_request: create_conference_request
|
308
300
|
}
|
309
301
|
)
|
310
|
-
|
311
|
-
|
302
|
+
|
312
303
|
expect(result).to be_a Freeclimb::ConferenceResult
|
313
|
-
|
304
|
+
|
314
305
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
315
306
|
end
|
316
307
|
end
|
@@ -320,21 +311,18 @@ describe 'DefaultApi' do
|
|
320
311
|
# @param [Hash] opts the optional parameters
|
321
312
|
# @option opts [QueueRequest] :queue_request Queue details used to create a queue
|
322
313
|
# @return [QueueResult]
|
323
|
-
describe
|
324
|
-
it
|
325
|
-
|
314
|
+
describe "create_a_queue test" do
|
315
|
+
it "should work" do
|
326
316
|
queue_request = @queue_request_create_a_queue_test_value
|
327
|
-
|
317
|
+
|
328
318
|
result = @api_instance.create_a_queue(
|
329
|
-
|
330
319
|
{
|
331
|
-
:
|
320
|
+
queue_request: queue_request
|
332
321
|
}
|
333
322
|
)
|
334
|
-
|
335
|
-
|
323
|
+
|
336
324
|
expect(result).to be_a Freeclimb::QueueResult
|
337
|
-
|
325
|
+
|
338
326
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
339
327
|
end
|
340
328
|
end
|
@@ -344,21 +332,18 @@ describe 'DefaultApi' do
|
|
344
332
|
# @param [Hash] opts the optional parameters
|
345
333
|
# @option opts [ApplicationRequest] :application_request Application Details
|
346
334
|
# @return [ApplicationResult]
|
347
|
-
describe
|
348
|
-
it
|
349
|
-
|
335
|
+
describe "create_an_application test" do
|
336
|
+
it "should work" do
|
350
337
|
application_request = @application_request_create_an_application_test_value
|
351
|
-
|
338
|
+
|
352
339
|
result = @api_instance.create_an_application(
|
353
|
-
|
354
340
|
{
|
355
|
-
:
|
341
|
+
application_request: application_request
|
356
342
|
}
|
357
343
|
)
|
358
|
-
|
359
|
-
|
344
|
+
|
360
345
|
expect(result).to be_a Freeclimb::ApplicationResult
|
361
|
-
|
346
|
+
|
362
347
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
363
348
|
end
|
364
349
|
end
|
@@ -369,22 +354,20 @@ describe 'DefaultApi' do
|
|
369
354
|
# @param [Hash] opts the optional parameters
|
370
355
|
# @option opts [CompletionRequest] :completion_request Completion request details
|
371
356
|
# @return [CompletionResult]
|
372
|
-
describe
|
373
|
-
it
|
374
|
-
|
357
|
+
describe "create_knowledge_base_completion test" do
|
358
|
+
it "should work" do
|
375
359
|
knowledge_base_id = @knowledge_base_id_create_knowledge_base_completion_test_value
|
376
360
|
completion_request = @completion_request_create_knowledge_base_completion_test_value
|
377
|
-
|
361
|
+
|
378
362
|
result = @api_instance.create_knowledge_base_completion(
|
379
363
|
knowledge_base_id,
|
380
364
|
{
|
381
|
-
:
|
365
|
+
completion_request: completion_request
|
382
366
|
}
|
383
367
|
)
|
384
|
-
|
385
|
-
|
368
|
+
|
386
369
|
expect(result).to be_a Freeclimb::CompletionResult
|
387
|
-
|
370
|
+
|
388
371
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
389
372
|
end
|
390
373
|
end
|
@@ -394,20 +377,15 @@ describe 'DefaultApi' do
|
|
394
377
|
# @param recording_id String that uniquely identifies this recording resource.
|
395
378
|
# @param [Hash] opts the optional parameters
|
396
379
|
# @return [nil]
|
397
|
-
describe
|
398
|
-
it
|
399
|
-
|
380
|
+
describe "delete_a_recording test" do
|
381
|
+
it "should work" do
|
400
382
|
recording_id = @recording_id_delete_a_recording_test_value
|
401
|
-
|
383
|
+
|
402
384
|
result = @api_instance.delete_a_recording(
|
403
385
|
recording_id,
|
404
|
-
{
|
405
|
-
|
406
|
-
}
|
386
|
+
{}
|
407
387
|
)
|
408
|
-
|
409
|
-
|
410
|
-
|
388
|
+
|
411
389
|
expect(result).to be_nil
|
412
390
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
413
391
|
end
|
@@ -418,20 +396,15 @@ describe 'DefaultApi' do
|
|
418
396
|
# @param application_id String that uniquely identifies this application resource.
|
419
397
|
# @param [Hash] opts the optional parameters
|
420
398
|
# @return [nil]
|
421
|
-
describe
|
422
|
-
it
|
423
|
-
|
399
|
+
describe "delete_an_application test" do
|
400
|
+
it "should work" do
|
424
401
|
application_id = @application_id_delete_an_application_test_value
|
425
|
-
|
402
|
+
|
426
403
|
result = @api_instance.delete_an_application(
|
427
404
|
application_id,
|
428
|
-
{
|
429
|
-
|
430
|
-
}
|
405
|
+
{}
|
431
406
|
)
|
432
|
-
|
433
|
-
|
434
|
-
|
407
|
+
|
435
408
|
expect(result).to be_nil
|
436
409
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
437
410
|
end
|
@@ -442,20 +415,15 @@ describe 'DefaultApi' do
|
|
442
415
|
# @param phone_number_id String that uniquely identifies this phone number resource.
|
443
416
|
# @param [Hash] opts the optional parameters
|
444
417
|
# @return [nil]
|
445
|
-
describe
|
446
|
-
it
|
447
|
-
|
418
|
+
describe "delete_an_incoming_number test" do
|
419
|
+
it "should work" do
|
448
420
|
phone_number_id = @phone_number_id_delete_an_incoming_number_test_value
|
449
|
-
|
421
|
+
|
450
422
|
result = @api_instance.delete_an_incoming_number(
|
451
423
|
phone_number_id,
|
452
|
-
{
|
453
|
-
|
454
|
-
}
|
424
|
+
{}
|
455
425
|
)
|
456
|
-
|
457
|
-
|
458
|
-
|
426
|
+
|
459
427
|
expect(result).to be_nil
|
460
428
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
461
429
|
end
|
@@ -467,22 +435,18 @@ describe 'DefaultApi' do
|
|
467
435
|
# @param call_id ID if the Call that the Member belongs to
|
468
436
|
# @param [Hash] opts the optional parameters
|
469
437
|
# @return [QueueMember]
|
470
|
-
describe
|
471
|
-
it
|
472
|
-
|
438
|
+
describe "dequeue_a_member test" do
|
439
|
+
it "should work" do
|
473
440
|
queue_id = @queue_id_dequeue_a_member_test_value
|
474
441
|
call_id = @call_id_dequeue_a_member_test_value
|
475
|
-
|
442
|
+
|
476
443
|
result = @api_instance.dequeue_a_member(
|
477
444
|
queue_id, call_id,
|
478
|
-
{
|
479
|
-
|
480
|
-
}
|
445
|
+
{}
|
481
446
|
)
|
482
|
-
|
483
|
-
|
447
|
+
|
484
448
|
expect(result).to be_a Freeclimb::QueueMember
|
485
|
-
|
449
|
+
|
486
450
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
487
451
|
end
|
488
452
|
end
|
@@ -492,21 +456,17 @@ describe 'DefaultApi' do
|
|
492
456
|
# @param queue_id String that uniquely identifies this queue resource.
|
493
457
|
# @param [Hash] opts the optional parameters
|
494
458
|
# @return [QueueMember]
|
495
|
-
describe
|
496
|
-
it
|
497
|
-
|
459
|
+
describe "dequeue_head_member test" do
|
460
|
+
it "should work" do
|
498
461
|
queue_id = @queue_id_dequeue_head_member_test_value
|
499
|
-
|
462
|
+
|
500
463
|
result = @api_instance.dequeue_head_member(
|
501
464
|
queue_id,
|
502
|
-
{
|
503
|
-
|
504
|
-
}
|
465
|
+
{}
|
505
466
|
)
|
506
|
-
|
507
|
-
|
467
|
+
|
508
468
|
expect(result).to be_a Freeclimb::QueueMember
|
509
|
-
|
469
|
+
|
510
470
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
511
471
|
end
|
512
472
|
end
|
@@ -516,21 +476,17 @@ describe 'DefaultApi' do
|
|
516
476
|
# @param recording_id String that uniquely identifies this recording resource.
|
517
477
|
# @param [Hash] opts the optional parameters
|
518
478
|
# @return [File]
|
519
|
-
describe
|
520
|
-
it
|
521
|
-
|
479
|
+
describe "download_a_recording_file test" do
|
480
|
+
it "should work" do
|
522
481
|
recording_id = @recording_id_download_a_recording_file_test_value
|
523
|
-
|
482
|
+
|
524
483
|
result = @api_instance.download_a_recording_file(
|
525
484
|
recording_id,
|
526
|
-
{
|
527
|
-
|
528
|
-
}
|
485
|
+
{}
|
529
486
|
)
|
530
|
-
|
531
|
-
|
487
|
+
|
532
488
|
expect(result).to be_a Freeclimb::File
|
533
|
-
|
489
|
+
|
534
490
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
535
491
|
end
|
536
492
|
end
|
@@ -540,21 +496,17 @@ describe 'DefaultApi' do
|
|
540
496
|
# @param filter_logs_request Filter logs request paramters
|
541
497
|
# @param [Hash] opts the optional parameters
|
542
498
|
# @return [LogList]
|
543
|
-
describe
|
544
|
-
it
|
545
|
-
|
499
|
+
describe "filter_logs test" do
|
500
|
+
it "should work" do
|
546
501
|
filter_logs_request = @filter_logs_request_filter_logs_test_value
|
547
|
-
|
502
|
+
|
548
503
|
result = @api_instance.filter_logs(
|
549
504
|
filter_logs_request,
|
550
|
-
{
|
551
|
-
|
552
|
-
}
|
505
|
+
{}
|
553
506
|
)
|
554
|
-
|
555
|
-
|
507
|
+
|
556
508
|
expect(result).to be_a Freeclimb::LogList
|
557
|
-
|
509
|
+
|
558
510
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
559
511
|
end
|
560
512
|
end
|
@@ -564,21 +516,17 @@ describe 'DefaultApi' do
|
|
564
516
|
# @param call_id String that uniquely identifies this call resource.
|
565
517
|
# @param [Hash] opts the optional parameters
|
566
518
|
# @return [CallResult]
|
567
|
-
describe
|
568
|
-
it
|
569
|
-
|
519
|
+
describe "get_a_call test" do
|
520
|
+
it "should work" do
|
570
521
|
call_id = @call_id_get_a_call_test_value
|
571
|
-
|
522
|
+
|
572
523
|
result = @api_instance.get_a_call(
|
573
524
|
call_id,
|
574
|
-
{
|
575
|
-
|
576
|
-
}
|
525
|
+
{}
|
577
526
|
)
|
578
|
-
|
579
|
-
|
527
|
+
|
580
528
|
expect(result).to be_a Freeclimb::CallResult
|
581
|
-
|
529
|
+
|
582
530
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
583
531
|
end
|
584
532
|
end
|
@@ -588,21 +536,17 @@ describe 'DefaultApi' do
|
|
588
536
|
# @param conference_id A string that uniquely identifies this conference resource.
|
589
537
|
# @param [Hash] opts the optional parameters
|
590
538
|
# @return [ConferenceResult]
|
591
|
-
describe
|
592
|
-
it
|
593
|
-
|
539
|
+
describe "get_a_conference test" do
|
540
|
+
it "should work" do
|
594
541
|
conference_id = @conference_id_get_a_conference_test_value
|
595
|
-
|
542
|
+
|
596
543
|
result = @api_instance.get_a_conference(
|
597
544
|
conference_id,
|
598
|
-
{
|
599
|
-
|
600
|
-
}
|
545
|
+
{}
|
601
546
|
)
|
602
|
-
|
603
|
-
|
547
|
+
|
604
548
|
expect(result).to be_a Freeclimb::ConferenceResult
|
605
|
-
|
549
|
+
|
606
550
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
607
551
|
end
|
608
552
|
end
|
@@ -613,22 +557,18 @@ describe 'DefaultApi' do
|
|
613
557
|
# @param call_id ID of the Call that the Member belongs to
|
614
558
|
# @param [Hash] opts the optional parameters
|
615
559
|
# @return [QueueMember]
|
616
|
-
describe
|
617
|
-
it
|
618
|
-
|
560
|
+
describe "get_a_member test" do
|
561
|
+
it "should work" do
|
619
562
|
queue_id = @queue_id_get_a_member_test_value
|
620
563
|
call_id = @call_id_get_a_member_test_value
|
621
|
-
|
564
|
+
|
622
565
|
result = @api_instance.get_a_member(
|
623
566
|
queue_id, call_id,
|
624
|
-
{
|
625
|
-
|
626
|
-
}
|
567
|
+
{}
|
627
568
|
)
|
628
|
-
|
629
|
-
|
569
|
+
|
630
570
|
expect(result).to be_a Freeclimb::QueueMember
|
631
|
-
|
571
|
+
|
632
572
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
633
573
|
end
|
634
574
|
end
|
@@ -639,22 +579,18 @@ describe 'DefaultApi' do
|
|
639
579
|
# @param call_id ID of the Call associated with this participant.
|
640
580
|
# @param [Hash] opts the optional parameters
|
641
581
|
# @return [ConferenceParticipantResult]
|
642
|
-
describe
|
643
|
-
it
|
644
|
-
|
582
|
+
describe "get_a_participant test" do
|
583
|
+
it "should work" do
|
645
584
|
conference_id = @conference_id_get_a_participant_test_value
|
646
585
|
call_id = @call_id_get_a_participant_test_value
|
647
|
-
|
586
|
+
|
648
587
|
result = @api_instance.get_a_participant(
|
649
588
|
conference_id, call_id,
|
650
|
-
{
|
651
|
-
|
652
|
-
}
|
589
|
+
{}
|
653
590
|
)
|
654
|
-
|
655
|
-
|
591
|
+
|
656
592
|
expect(result).to be_a Freeclimb::ConferenceParticipantResult
|
657
|
-
|
593
|
+
|
658
594
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
659
595
|
end
|
660
596
|
end
|
@@ -664,21 +600,17 @@ describe 'DefaultApi' do
|
|
664
600
|
# @param queue_id A string that uniquely identifies this queue resource.
|
665
601
|
# @param [Hash] opts the optional parameters
|
666
602
|
# @return [QueueResult]
|
667
|
-
describe
|
668
|
-
it
|
669
|
-
|
603
|
+
describe "get_a_queue test" do
|
604
|
+
it "should work" do
|
670
605
|
queue_id = @queue_id_get_a_queue_test_value
|
671
|
-
|
606
|
+
|
672
607
|
result = @api_instance.get_a_queue(
|
673
608
|
queue_id,
|
674
|
-
{
|
675
|
-
|
676
|
-
}
|
609
|
+
{}
|
677
610
|
)
|
678
|
-
|
679
|
-
|
611
|
+
|
680
612
|
expect(result).to be_a Freeclimb::QueueResult
|
681
|
-
|
613
|
+
|
682
614
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
683
615
|
end
|
684
616
|
end
|
@@ -688,21 +620,17 @@ describe 'DefaultApi' do
|
|
688
620
|
# @param recording_id String that uniquely identifies this recording resource.
|
689
621
|
# @param [Hash] opts the optional parameters
|
690
622
|
# @return [RecordingResult]
|
691
|
-
describe
|
692
|
-
it
|
693
|
-
|
623
|
+
describe "get_a_recording test" do
|
624
|
+
it "should work" do
|
694
625
|
recording_id = @recording_id_get_a_recording_test_value
|
695
|
-
|
626
|
+
|
696
627
|
result = @api_instance.get_a_recording(
|
697
628
|
recording_id,
|
698
|
-
{
|
699
|
-
|
700
|
-
}
|
629
|
+
{}
|
701
630
|
)
|
702
|
-
|
703
|
-
|
631
|
+
|
704
632
|
expect(result).to be_a Freeclimb::RecordingResult
|
705
|
-
|
633
|
+
|
706
634
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
707
635
|
end
|
708
636
|
end
|
@@ -711,20 +639,14 @@ describe 'DefaultApi' do
|
|
711
639
|
# Get an Account
|
712
640
|
# @param [Hash] opts the optional parameters
|
713
641
|
# @return [AccountResult]
|
714
|
-
describe
|
715
|
-
it
|
716
|
-
|
717
|
-
|
642
|
+
describe "get_an_account test" do
|
643
|
+
it "should work" do
|
718
644
|
result = @api_instance.get_an_account(
|
719
|
-
|
720
|
-
{
|
721
|
-
|
722
|
-
}
|
645
|
+
{}
|
723
646
|
)
|
724
|
-
|
725
|
-
|
647
|
+
|
726
648
|
expect(result).to be_a Freeclimb::AccountResult
|
727
|
-
|
649
|
+
|
728
650
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
729
651
|
end
|
730
652
|
end
|
@@ -734,21 +656,17 @@ describe 'DefaultApi' do
|
|
734
656
|
# @param application_id A string that uniquely identifies this application resource.
|
735
657
|
# @param [Hash] opts the optional parameters
|
736
658
|
# @return [ApplicationResult]
|
737
|
-
describe
|
738
|
-
it
|
739
|
-
|
659
|
+
describe "get_an_application test" do
|
660
|
+
it "should work" do
|
740
661
|
application_id = @application_id_get_an_application_test_value
|
741
|
-
|
662
|
+
|
742
663
|
result = @api_instance.get_an_application(
|
743
664
|
application_id,
|
744
|
-
{
|
745
|
-
|
746
|
-
}
|
665
|
+
{}
|
747
666
|
)
|
748
|
-
|
749
|
-
|
667
|
+
|
750
668
|
expect(result).to be_a Freeclimb::ApplicationResult
|
751
|
-
|
669
|
+
|
752
670
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
753
671
|
end
|
754
672
|
end
|
@@ -758,21 +676,17 @@ describe 'DefaultApi' do
|
|
758
676
|
# @param phone_number_id String that uniquely identifies this phone number resource.
|
759
677
|
# @param [Hash] opts the optional parameters
|
760
678
|
# @return [IncomingNumberResult]
|
761
|
-
describe
|
762
|
-
it
|
763
|
-
|
679
|
+
describe "get_an_incoming_number test" do
|
680
|
+
it "should work" do
|
764
681
|
phone_number_id = @phone_number_id_get_an_incoming_number_test_value
|
765
|
-
|
682
|
+
|
766
683
|
result = @api_instance.get_an_incoming_number(
|
767
684
|
phone_number_id,
|
768
|
-
{
|
769
|
-
|
770
|
-
}
|
685
|
+
{}
|
771
686
|
)
|
772
|
-
|
773
|
-
|
687
|
+
|
774
688
|
expect(result).to be_a Freeclimb::IncomingNumberResult
|
775
|
-
|
689
|
+
|
776
690
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
777
691
|
end
|
778
692
|
end
|
@@ -782,21 +696,17 @@ describe 'DefaultApi' do
|
|
782
696
|
# @param message_id String that uniquely identifies this Message resource.
|
783
697
|
# @param [Hash] opts the optional parameters
|
784
698
|
# @return [MessageResult]
|
785
|
-
describe
|
786
|
-
it
|
787
|
-
|
699
|
+
describe "get_an_sms_message test" do
|
700
|
+
it "should work" do
|
788
701
|
message_id = @message_id_get_an_sms_message_test_value
|
789
|
-
|
702
|
+
|
790
703
|
result = @api_instance.get_an_sms_message(
|
791
704
|
message_id,
|
792
|
-
{
|
793
|
-
|
794
|
-
}
|
705
|
+
{}
|
795
706
|
)
|
796
|
-
|
797
|
-
|
707
|
+
|
798
708
|
expect(result).to be_a Freeclimb::MessageResult
|
799
|
-
|
709
|
+
|
800
710
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
801
711
|
end
|
802
712
|
end
|
@@ -806,21 +716,17 @@ describe 'DefaultApi' do
|
|
806
716
|
# @param queue_id String that uniquely identifies the Queue that the Member belongs to.
|
807
717
|
# @param [Hash] opts the optional parameters
|
808
718
|
# @return [QueueMember]
|
809
|
-
describe
|
810
|
-
it
|
811
|
-
|
719
|
+
describe "get_head_member test" do
|
720
|
+
it "should work" do
|
812
721
|
queue_id = @queue_id_get_head_member_test_value
|
813
|
-
|
722
|
+
|
814
723
|
result = @api_instance.get_head_member(
|
815
724
|
queue_id,
|
816
|
-
{
|
817
|
-
|
818
|
-
}
|
725
|
+
{}
|
819
726
|
)
|
820
|
-
|
821
|
-
|
727
|
+
|
822
728
|
expect(result).to be_a Freeclimb::QueueMember
|
823
|
-
|
729
|
+
|
824
730
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
825
731
|
end
|
826
732
|
end
|
@@ -830,21 +736,17 @@ describe 'DefaultApi' do
|
|
830
736
|
# @param brand_id String that uniquely identifies this brand resource.
|
831
737
|
# @param [Hash] opts the optional parameters
|
832
738
|
# @return [SMSTenDLCBrand]
|
833
|
-
describe
|
834
|
-
it
|
835
|
-
|
739
|
+
describe "get_ten_dlc_sms_brand test" do
|
740
|
+
it "should work" do
|
836
741
|
brand_id = @brand_id_get_ten_dlc_sms_brand_test_value
|
837
|
-
|
742
|
+
|
838
743
|
result = @api_instance.get_ten_dlc_sms_brand(
|
839
744
|
brand_id,
|
840
|
-
{
|
841
|
-
|
842
|
-
}
|
745
|
+
{}
|
843
746
|
)
|
844
|
-
|
845
|
-
|
747
|
+
|
846
748
|
expect(result).to be_a Freeclimb::SMSTenDLCBrand
|
847
|
-
|
749
|
+
|
848
750
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
849
751
|
end
|
850
752
|
end
|
@@ -853,20 +755,14 @@ describe 'DefaultApi' do
|
|
853
755
|
# Get list of SMS 10DLC Brands
|
854
756
|
# @param [Hash] opts the optional parameters
|
855
757
|
# @return [SMSTenDLCBrandsListResult]
|
856
|
-
describe
|
857
|
-
it
|
858
|
-
|
859
|
-
|
758
|
+
describe "get_ten_dlc_sms_brands test" do
|
759
|
+
it "should work" do
|
860
760
|
result = @api_instance.get_ten_dlc_sms_brands(
|
861
|
-
|
862
|
-
{
|
863
|
-
|
864
|
-
}
|
761
|
+
{}
|
865
762
|
)
|
866
|
-
|
867
|
-
|
763
|
+
|
868
764
|
expect(result).to be_a Freeclimb::SMSTenDLCBrandsListResult
|
869
|
-
|
765
|
+
|
870
766
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
871
767
|
end
|
872
768
|
end
|
@@ -876,21 +772,17 @@ describe 'DefaultApi' do
|
|
876
772
|
# @param campaign_id String that uniquely identifies this campaign resource.
|
877
773
|
# @param [Hash] opts the optional parameters
|
878
774
|
# @return [SMSTenDLCCampaign]
|
879
|
-
describe
|
880
|
-
it
|
881
|
-
|
775
|
+
describe "get_ten_dlc_sms_campaign test" do
|
776
|
+
it "should work" do
|
882
777
|
campaign_id = @campaign_id_get_ten_dlc_sms_campaign_test_value
|
883
|
-
|
778
|
+
|
884
779
|
result = @api_instance.get_ten_dlc_sms_campaign(
|
885
780
|
campaign_id,
|
886
|
-
{
|
887
|
-
|
888
|
-
}
|
781
|
+
{}
|
889
782
|
)
|
890
|
-
|
891
|
-
|
783
|
+
|
892
784
|
expect(result).to be_a Freeclimb::SMSTenDLCCampaign
|
893
|
-
|
785
|
+
|
894
786
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
895
787
|
end
|
896
788
|
end
|
@@ -900,21 +792,18 @@ describe 'DefaultApi' do
|
|
900
792
|
# @param [Hash] opts the optional parameters
|
901
793
|
# @option opts [String] :brand_id The unique identifier for a brand
|
902
794
|
# @return [SMSTenDLCCampaignsListResult]
|
903
|
-
describe
|
904
|
-
it
|
905
|
-
|
795
|
+
describe "get_ten_dlc_sms_campaigns test" do
|
796
|
+
it "should work" do
|
906
797
|
brand_id = @brand_id_get_ten_dlc_sms_campaigns_test_value
|
907
|
-
|
798
|
+
|
908
799
|
result = @api_instance.get_ten_dlc_sms_campaigns(
|
909
|
-
|
910
800
|
{
|
911
|
-
:
|
801
|
+
brand_id: brand_id
|
912
802
|
}
|
913
803
|
)
|
914
|
-
|
915
|
-
|
804
|
+
|
916
805
|
expect(result).to be_a Freeclimb::SMSTenDLCCampaignsListResult
|
917
|
-
|
806
|
+
|
918
807
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
919
808
|
end
|
920
809
|
end
|
@@ -924,21 +813,17 @@ describe 'DefaultApi' do
|
|
924
813
|
# @param campaign_id String that uniquely identifies this campaign resource.
|
925
814
|
# @param [Hash] opts the optional parameters
|
926
815
|
# @return [SMSTenDLCPartnerCampaign]
|
927
|
-
describe
|
928
|
-
it
|
929
|
-
|
816
|
+
describe "get_ten_dlc_sms_partner_campaign test" do
|
817
|
+
it "should work" do
|
930
818
|
campaign_id = @campaign_id_get_ten_dlc_sms_partner_campaign_test_value
|
931
|
-
|
819
|
+
|
932
820
|
result = @api_instance.get_ten_dlc_sms_partner_campaign(
|
933
821
|
campaign_id,
|
934
|
-
{
|
935
|
-
|
936
|
-
}
|
822
|
+
{}
|
937
823
|
)
|
938
|
-
|
939
|
-
|
824
|
+
|
940
825
|
expect(result).to be_a Freeclimb::SMSTenDLCPartnerCampaign
|
941
|
-
|
826
|
+
|
942
827
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
943
828
|
end
|
944
829
|
end
|
@@ -948,21 +833,18 @@ describe 'DefaultApi' do
|
|
948
833
|
# @param [Hash] opts the optional parameters
|
949
834
|
# @option opts [String] :brand_id The unique identifier for a brand
|
950
835
|
# @return [SMSTenDLCPartnerCampaignsListResult]
|
951
|
-
describe
|
952
|
-
it
|
953
|
-
|
836
|
+
describe "get_ten_dlc_sms_partner_campaigns test" do
|
837
|
+
it "should work" do
|
954
838
|
brand_id = @brand_id_get_ten_dlc_sms_partner_campaigns_test_value
|
955
|
-
|
839
|
+
|
956
840
|
result = @api_instance.get_ten_dlc_sms_partner_campaigns(
|
957
|
-
|
958
841
|
{
|
959
|
-
:
|
842
|
+
brand_id: brand_id
|
960
843
|
}
|
961
844
|
)
|
962
|
-
|
963
|
-
|
845
|
+
|
964
846
|
expect(result).to be_a Freeclimb::SMSTenDLCPartnerCampaignsListResult
|
965
|
-
|
847
|
+
|
966
848
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
967
849
|
end
|
968
850
|
end
|
@@ -972,21 +854,17 @@ describe 'DefaultApi' do
|
|
972
854
|
# @param campaign_id String that uniquely identifies this TollFree Campaign resource.
|
973
855
|
# @param [Hash] opts the optional parameters
|
974
856
|
# @return [SMSTollFreeCampaign]
|
975
|
-
describe
|
976
|
-
it
|
977
|
-
|
857
|
+
describe "get_toll_free_sms_campaign test" do
|
858
|
+
it "should work" do
|
978
859
|
campaign_id = @campaign_id_get_toll_free_sms_campaign_test_value
|
979
|
-
|
860
|
+
|
980
861
|
result = @api_instance.get_toll_free_sms_campaign(
|
981
862
|
campaign_id,
|
982
|
-
{
|
983
|
-
|
984
|
-
}
|
863
|
+
{}
|
985
864
|
)
|
986
|
-
|
987
|
-
|
865
|
+
|
988
866
|
expect(result).to be_a Freeclimb::SMSTollFreeCampaign
|
989
|
-
|
867
|
+
|
990
868
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
991
869
|
end
|
992
870
|
end
|
@@ -995,20 +873,14 @@ describe 'DefaultApi' do
|
|
995
873
|
# Get list of TollFree Campaigns
|
996
874
|
# @param [Hash] opts the optional parameters
|
997
875
|
# @return [SMSTollFreeCampaignsListResult]
|
998
|
-
describe
|
999
|
-
it
|
1000
|
-
|
1001
|
-
|
876
|
+
describe "get_toll_free_sms_campaigns test" do
|
877
|
+
it "should work" do
|
1002
878
|
result = @api_instance.get_toll_free_sms_campaigns(
|
1003
|
-
|
1004
|
-
{
|
1005
|
-
|
1006
|
-
}
|
879
|
+
{}
|
1007
880
|
)
|
1008
|
-
|
1009
|
-
|
881
|
+
|
1010
882
|
expect(result).to be_a Freeclimb::SMSTollFreeCampaignsListResult
|
1011
|
-
|
883
|
+
|
1012
884
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1013
885
|
end
|
1014
886
|
end
|
@@ -1018,21 +890,18 @@ describe 'DefaultApi' do
|
|
1018
890
|
# @param [Hash] opts the optional parameters
|
1019
891
|
# @option opts [String] :_alias Return only the Queue resources with aliases that exactly match this name.
|
1020
892
|
# @return [QueueList]
|
1021
|
-
describe
|
1022
|
-
it
|
1023
|
-
|
893
|
+
describe "list_active_queues test" do
|
894
|
+
it "should work" do
|
1024
895
|
_alias = @_alias_list_active_queues_test_value
|
1025
|
-
|
896
|
+
|
1026
897
|
result = @api_instance.list_active_queues(
|
1027
|
-
|
1028
898
|
{
|
1029
|
-
:
|
899
|
+
_alias: _alias
|
1030
900
|
}
|
1031
901
|
)
|
1032
|
-
|
1033
|
-
|
902
|
+
|
1034
903
|
expect(result).to be_a Freeclimb::QueueList
|
1035
|
-
|
904
|
+
|
1036
905
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1037
906
|
end
|
1038
907
|
end
|
@@ -1041,20 +910,14 @@ describe 'DefaultApi' do
|
|
1041
910
|
# List All Account Logs
|
1042
911
|
# @param [Hash] opts the optional parameters
|
1043
912
|
# @return [LogList]
|
1044
|
-
describe
|
1045
|
-
it
|
1046
|
-
|
1047
|
-
|
913
|
+
describe "list_all_account_logs test" do
|
914
|
+
it "should work" do
|
1048
915
|
result = @api_instance.list_all_account_logs(
|
1049
|
-
|
1050
|
-
{
|
1051
|
-
|
1052
|
-
}
|
916
|
+
{}
|
1053
917
|
)
|
1054
|
-
|
1055
|
-
|
918
|
+
|
1056
919
|
expect(result).to be_a Freeclimb::LogList
|
1057
|
-
|
920
|
+
|
1058
921
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1059
922
|
end
|
1060
923
|
end
|
@@ -1064,21 +927,18 @@ describe 'DefaultApi' do
|
|
1064
927
|
# @param [Hash] opts the optional parameters
|
1065
928
|
# @option opts [String] :_alias Return only applications with aliases that exactly match this value.
|
1066
929
|
# @return [ApplicationList]
|
1067
|
-
describe
|
1068
|
-
it
|
1069
|
-
|
930
|
+
describe "list_applications test" do
|
931
|
+
it "should work" do
|
1070
932
|
_alias = @_alias_list_applications_test_value
|
1071
|
-
|
933
|
+
|
1072
934
|
result = @api_instance.list_applications(
|
1073
|
-
|
1074
935
|
{
|
1075
|
-
:
|
936
|
+
_alias: _alias
|
1076
937
|
}
|
1077
938
|
)
|
1078
|
-
|
1079
|
-
|
939
|
+
|
1080
940
|
expect(result).to be_a Freeclimb::ApplicationList
|
1081
|
-
|
941
|
+
|
1082
942
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1083
943
|
end
|
1084
944
|
end
|
@@ -1091,15 +951,14 @@ describe 'DefaultApi' do
|
|
1091
951
|
# @option opts [String] :country Country of this phone number.
|
1092
952
|
# @option opts [Boolean] :voice_enabled Indicates whether the phone number can handle Calls. Typically set to true for all numbers.
|
1093
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.
|
1094
|
-
# @option opts [Boolean] :capabilities_voice
|
1095
|
-
# @option opts [Boolean] :capabilities_sms
|
1096
|
-
# @option opts [Boolean] :capabilities_toll_free
|
1097
|
-
# @option opts [Boolean] :capabilities_ten_dlc
|
1098
|
-
# @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
|
1099
959
|
# @return [AvailableNumberList]
|
1100
|
-
describe
|
1101
|
-
it
|
1102
|
-
|
960
|
+
describe "list_available_numbers test" do
|
961
|
+
it "should work" do
|
1103
962
|
phone_number = @phone_number_list_available_numbers_test_value
|
1104
963
|
region = @region_list_available_numbers_test_value
|
1105
964
|
country = @country_list_available_numbers_test_value
|
@@ -1110,17 +969,15 @@ describe 'DefaultApi' do
|
|
1110
969
|
capabilities_toll_free = @capabilities_toll_free_list_available_numbers_test_value
|
1111
970
|
capabilities_ten_dlc = @capabilities_ten_dlc_list_available_numbers_test_value
|
1112
971
|
capabilities_short_code = @capabilities_short_code_list_available_numbers_test_value
|
1113
|
-
|
972
|
+
|
1114
973
|
result = @api_instance.list_available_numbers(
|
1115
|
-
|
1116
974
|
{
|
1117
|
-
:
|
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
|
1118
976
|
}
|
1119
977
|
)
|
1120
|
-
|
1121
|
-
|
978
|
+
|
1122
979
|
expect(result).to be_a Freeclimb::AvailableNumberList
|
1123
|
-
|
980
|
+
|
1124
981
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1125
982
|
end
|
1126
983
|
end
|
@@ -1130,21 +987,17 @@ describe 'DefaultApi' do
|
|
1130
987
|
# @param call_id String that uniquely identifies this call resource.
|
1131
988
|
# @param [Hash] opts the optional parameters
|
1132
989
|
# @return [LogList]
|
1133
|
-
describe
|
1134
|
-
it
|
1135
|
-
|
990
|
+
describe "list_call_logs test" do
|
991
|
+
it "should work" do
|
1136
992
|
call_id = @call_id_list_call_logs_test_value
|
1137
|
-
|
993
|
+
|
1138
994
|
result = @api_instance.list_call_logs(
|
1139
995
|
call_id,
|
1140
|
-
{
|
1141
|
-
|
1142
|
-
}
|
996
|
+
{}
|
1143
997
|
)
|
1144
|
-
|
1145
|
-
|
998
|
+
|
1146
999
|
expect(result).to be_a Freeclimb::LogList
|
1147
|
-
|
1000
|
+
|
1148
1001
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1149
1002
|
end
|
1150
1003
|
end
|
@@ -1155,22 +1008,20 @@ describe 'DefaultApi' do
|
|
1155
1008
|
# @param [Hash] opts the optional parameters
|
1156
1009
|
# @option opts [String] :date_created Only show recordings created on the specified date, in the form *YYYY-MM-DD*.
|
1157
1010
|
# @return [RecordingList]
|
1158
|
-
describe
|
1159
|
-
it
|
1160
|
-
|
1011
|
+
describe "list_call_recordings test" do
|
1012
|
+
it "should work" do
|
1161
1013
|
call_id = @call_id_list_call_recordings_test_value
|
1162
1014
|
date_created = @date_created_list_call_recordings_test_value
|
1163
|
-
|
1015
|
+
|
1164
1016
|
result = @api_instance.list_call_recordings(
|
1165
1017
|
call_id,
|
1166
1018
|
{
|
1167
|
-
:
|
1019
|
+
date_created: date_created
|
1168
1020
|
}
|
1169
1021
|
)
|
1170
|
-
|
1171
|
-
|
1022
|
+
|
1172
1023
|
expect(result).to be_a Freeclimb::RecordingList
|
1173
|
-
|
1024
|
+
|
1174
1025
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1175
1026
|
end
|
1176
1027
|
end
|
@@ -1187,9 +1038,8 @@ describe 'DefaultApi' do
|
|
1187
1038
|
# @option opts [String] :parent_call_id Only show Calls spawned by the call with this ID.
|
1188
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.
|
1189
1040
|
# @return [CallList]
|
1190
|
-
describe
|
1191
|
-
it
|
1192
|
-
|
1041
|
+
describe "list_calls test" do
|
1042
|
+
it "should work" do
|
1193
1043
|
active = @active_list_calls_test_value
|
1194
1044
|
to = @to_list_calls_test_value
|
1195
1045
|
from = @from_list_calls_test_value
|
@@ -1198,17 +1048,15 @@ describe 'DefaultApi' do
|
|
1198
1048
|
end_time = @end_time_list_calls_test_value
|
1199
1049
|
parent_call_id = @parent_call_id_list_calls_test_value
|
1200
1050
|
application_id = @application_id_list_calls_test_value
|
1201
|
-
|
1051
|
+
|
1202
1052
|
result = @api_instance.list_calls(
|
1203
|
-
|
1204
1053
|
{
|
1205
|
-
:
|
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
|
1206
1055
|
}
|
1207
1056
|
)
|
1208
|
-
|
1209
|
-
|
1057
|
+
|
1210
1058
|
expect(result).to be_a Freeclimb::CallList
|
1211
|
-
|
1059
|
+
|
1212
1060
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1213
1061
|
end
|
1214
1062
|
end
|
@@ -1220,23 +1068,21 @@ describe 'DefaultApi' do
|
|
1220
1068
|
# @option opts [String] :call_id Show only Recordings made during the Call with this ID.
|
1221
1069
|
# @option opts [String] :date_created Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
|
1222
1070
|
# @return [RecordingList]
|
1223
|
-
describe
|
1224
|
-
it
|
1225
|
-
|
1071
|
+
describe "list_conference_recordings test" do
|
1072
|
+
it "should work" do
|
1226
1073
|
conference_id = @conference_id_list_conference_recordings_test_value
|
1227
1074
|
call_id = @call_id_list_conference_recordings_test_value
|
1228
1075
|
date_created = @date_created_list_conference_recordings_test_value
|
1229
|
-
|
1076
|
+
|
1230
1077
|
result = @api_instance.list_conference_recordings(
|
1231
1078
|
conference_id,
|
1232
1079
|
{
|
1233
|
-
:
|
1080
|
+
call_id: call_id, date_created: date_created
|
1234
1081
|
}
|
1235
1082
|
)
|
1236
|
-
|
1237
|
-
|
1083
|
+
|
1238
1084
|
expect(result).to be_a Freeclimb::RecordingList
|
1239
|
-
|
1085
|
+
|
1240
1086
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1241
1087
|
end
|
1242
1088
|
end
|
@@ -1249,24 +1095,21 @@ describe 'DefaultApi' do
|
|
1249
1095
|
# @option opts [String] :date_created Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*.
|
1250
1096
|
# @option opts [String] :date_updated Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*.
|
1251
1097
|
# @return [ConferenceList]
|
1252
|
-
describe
|
1253
|
-
it
|
1254
|
-
|
1098
|
+
describe "list_conferences test" do
|
1099
|
+
it "should work" do
|
1255
1100
|
status = @status_list_conferences_test_value
|
1256
1101
|
_alias = @_alias_list_conferences_test_value
|
1257
1102
|
date_created = @date_created_list_conferences_test_value
|
1258
1103
|
date_updated = @date_updated_list_conferences_test_value
|
1259
|
-
|
1104
|
+
|
1260
1105
|
result = @api_instance.list_conferences(
|
1261
|
-
|
1262
1106
|
{
|
1263
|
-
:
|
1107
|
+
status: status, _alias: _alias, date_created: date_created, date_updated: date_updated
|
1264
1108
|
}
|
1265
1109
|
)
|
1266
|
-
|
1267
|
-
|
1110
|
+
|
1268
1111
|
expect(result).to be_a Freeclimb::ConferenceList
|
1269
|
-
|
1112
|
+
|
1270
1113
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1271
1114
|
end
|
1272
1115
|
end
|
@@ -1283,17 +1126,16 @@ describe 'DefaultApi' do
|
|
1283
1126
|
# @option opts [Boolean] :voice_enabled Indicates whether the phone number can handle Calls. Typically set to true for all numbers.
|
1284
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.
|
1285
1128
|
# @option opts [Boolean] :has_campaign Indication of whether the phone number has a campaign associated with it
|
1286
|
-
# @option opts [Boolean] :capabilities_voice
|
1287
|
-
# @option opts [Boolean] :capabilities_sms
|
1288
|
-
# @option opts [Boolean] :capabilities_toll_free
|
1289
|
-
# @option opts [Boolean] :capabilities_ten_dlc
|
1290
|
-
# @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
|
1291
1134
|
# @option opts [String] :tfn_campaign_id Only show incoming phone number resources that have been assigned to the provided TFNCampaign ID.
|
1292
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.
|
1293
1136
|
# @return [IncomingNumberList]
|
1294
|
-
describe
|
1295
|
-
it
|
1296
|
-
|
1137
|
+
describe "list_incoming_numbers test" do
|
1138
|
+
it "should work" do
|
1297
1139
|
phone_number = @phone_number_list_incoming_numbers_test_value
|
1298
1140
|
_alias = @_alias_list_incoming_numbers_test_value
|
1299
1141
|
region = @region_list_incoming_numbers_test_value
|
@@ -1310,17 +1152,15 @@ describe 'DefaultApi' do
|
|
1310
1152
|
capabilities_short_code = @capabilities_short_code_list_incoming_numbers_test_value
|
1311
1153
|
tfn_campaign_id = @tfn_campaign_id_list_incoming_numbers_test_value
|
1312
1154
|
offnet = @offnet_list_incoming_numbers_test_value
|
1313
|
-
|
1155
|
+
|
1314
1156
|
result = @api_instance.list_incoming_numbers(
|
1315
|
-
|
1316
1157
|
{
|
1317
|
-
:
|
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
|
1318
1159
|
}
|
1319
1160
|
)
|
1320
|
-
|
1321
|
-
|
1161
|
+
|
1322
1162
|
expect(result).to be_a Freeclimb::IncomingNumberList
|
1323
|
-
|
1163
|
+
|
1324
1164
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1325
1165
|
end
|
1326
1166
|
end
|
@@ -1330,21 +1170,17 @@ describe 'DefaultApi' do
|
|
1330
1170
|
# @param queue_id String that uniquely identifies the Queue that the Member belongs to.
|
1331
1171
|
# @param [Hash] opts the optional parameters
|
1332
1172
|
# @return [QueueMemberList]
|
1333
|
-
describe
|
1334
|
-
it
|
1335
|
-
|
1173
|
+
describe "list_members test" do
|
1174
|
+
it "should work" do
|
1336
1175
|
queue_id = @queue_id_list_members_test_value
|
1337
|
-
|
1176
|
+
|
1338
1177
|
result = @api_instance.list_members(
|
1339
1178
|
queue_id,
|
1340
|
-
{
|
1341
|
-
|
1342
|
-
}
|
1179
|
+
{}
|
1343
1180
|
)
|
1344
|
-
|
1345
|
-
|
1181
|
+
|
1346
1182
|
expect(result).to be_a Freeclimb::QueueMemberList
|
1347
|
-
|
1183
|
+
|
1348
1184
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1349
1185
|
end
|
1350
1186
|
end
|
@@ -1357,24 +1193,22 @@ describe 'DefaultApi' do
|
|
1357
1193
|
# @option opts [Boolean] :listen Only show Participants with the listen privilege.
|
1358
1194
|
# @option opts [Boolean] :dtmf_pass_through Only show Participants with the dtmfPassThrough privilege.
|
1359
1195
|
# @return [ConferenceParticipantList]
|
1360
|
-
describe
|
1361
|
-
it
|
1362
|
-
|
1196
|
+
describe "list_participants test" do
|
1197
|
+
it "should work" do
|
1363
1198
|
conference_id = @conference_id_list_participants_test_value
|
1364
1199
|
talk = @talk_list_participants_test_value
|
1365
1200
|
listen = @listen_list_participants_test_value
|
1366
1201
|
dtmf_pass_through = @dtmf_pass_through_list_participants_test_value
|
1367
|
-
|
1202
|
+
|
1368
1203
|
result = @api_instance.list_participants(
|
1369
1204
|
conference_id,
|
1370
1205
|
{
|
1371
|
-
:
|
1206
|
+
talk: talk, listen: listen, dtmf_pass_through: dtmf_pass_through
|
1372
1207
|
}
|
1373
1208
|
)
|
1374
|
-
|
1375
|
-
|
1209
|
+
|
1376
1210
|
expect(result).to be_a Freeclimb::ConferenceParticipantList
|
1377
|
-
|
1211
|
+
|
1378
1212
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1379
1213
|
end
|
1380
1214
|
end
|
@@ -1386,23 +1220,20 @@ describe 'DefaultApi' do
|
|
1386
1220
|
# @option opts [String] :conference_id Show only Recordings made during the conference with this ID.
|
1387
1221
|
# @option opts [String] :date_created Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
|
1388
1222
|
# @return [RecordingList]
|
1389
|
-
describe
|
1390
|
-
it
|
1391
|
-
|
1223
|
+
describe "list_recordings test" do
|
1224
|
+
it "should work" do
|
1392
1225
|
call_id = @call_id_list_recordings_test_value
|
1393
1226
|
conference_id = @conference_id_list_recordings_test_value
|
1394
1227
|
date_created = @date_created_list_recordings_test_value
|
1395
|
-
|
1228
|
+
|
1396
1229
|
result = @api_instance.list_recordings(
|
1397
|
-
|
1398
1230
|
{
|
1399
|
-
:
|
1231
|
+
call_id: call_id, conference_id: conference_id, date_created: date_created
|
1400
1232
|
}
|
1401
1233
|
)
|
1402
|
-
|
1403
|
-
|
1234
|
+
|
1404
1235
|
expect(result).to be_a Freeclimb::RecordingList
|
1405
|
-
|
1236
|
+
|
1406
1237
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1407
1238
|
end
|
1408
1239
|
end
|
@@ -1419,9 +1250,8 @@ describe 'DefaultApi' do
|
|
1419
1250
|
# @option opts [String] :brand_id Only show messages associated with this brand ID
|
1420
1251
|
# @option opts [Boolean] :is10_dlc Only show messages that were sent as part of a 10DLC campaign.
|
1421
1252
|
# @return [MessagesList]
|
1422
|
-
describe
|
1423
|
-
it
|
1424
|
-
|
1253
|
+
describe "list_sms_messages test" do
|
1254
|
+
it "should work" do
|
1425
1255
|
to = @to_list_sms_messages_test_value
|
1426
1256
|
from = @from_list_sms_messages_test_value
|
1427
1257
|
begin_time = @begin_time_list_sms_messages_test_value
|
@@ -1430,17 +1260,15 @@ describe 'DefaultApi' do
|
|
1430
1260
|
campaign_id = @campaign_id_list_sms_messages_test_value
|
1431
1261
|
brand_id = @brand_id_list_sms_messages_test_value
|
1432
1262
|
is10_dlc = @is10_dlc_list_sms_messages_test_value
|
1433
|
-
|
1263
|
+
|
1434
1264
|
result = @api_instance.list_sms_messages(
|
1435
|
-
|
1436
1265
|
{
|
1437
|
-
:
|
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
|
1438
1267
|
}
|
1439
1268
|
)
|
1440
|
-
|
1441
|
-
|
1269
|
+
|
1442
1270
|
expect(result).to be_a Freeclimb::MessagesList
|
1443
|
-
|
1271
|
+
|
1444
1272
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1445
1273
|
end
|
1446
1274
|
end
|
@@ -1450,21 +1278,18 @@ describe 'DefaultApi' do
|
|
1450
1278
|
# @param [Hash] opts the optional parameters
|
1451
1279
|
# @option opts [MakeCallRequest] :make_call_request Call details for making a call
|
1452
1280
|
# @return [CallResult]
|
1453
|
-
describe
|
1454
|
-
it
|
1455
|
-
|
1281
|
+
describe "make_a_call test" do
|
1282
|
+
it "should work" do
|
1456
1283
|
make_call_request = @make_call_request_make_a_call_test_value
|
1457
|
-
|
1284
|
+
|
1458
1285
|
result = @api_instance.make_a_call(
|
1459
|
-
|
1460
1286
|
{
|
1461
|
-
:
|
1287
|
+
make_call_request: make_call_request
|
1462
1288
|
}
|
1463
1289
|
)
|
1464
|
-
|
1465
|
-
|
1290
|
+
|
1466
1291
|
expect(result).to be_a Freeclimb::CallResult
|
1467
|
-
|
1292
|
+
|
1468
1293
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1469
1294
|
end
|
1470
1295
|
end
|
@@ -1474,21 +1299,16 @@ describe 'DefaultApi' do
|
|
1474
1299
|
# @param create_web_rtc_token Information needed to craft a JWT compatible with the platforms WebRTC APIs
|
1475
1300
|
# @param [Hash] opts the optional parameters
|
1476
1301
|
# @return [String]
|
1477
|
-
describe
|
1478
|
-
it
|
1479
|
-
|
1302
|
+
describe "make_a_webrtc_jwt test" do
|
1303
|
+
it "should work" do
|
1480
1304
|
create_web_rtc_token = @create_web_rtc_token_make_a_webrtc_jwt_test_value
|
1481
|
-
|
1305
|
+
|
1482
1306
|
result = @api_instance.make_a_webrtc_jwt(
|
1483
1307
|
create_web_rtc_token,
|
1484
|
-
{
|
1485
|
-
|
1486
|
-
}
|
1308
|
+
{}
|
1487
1309
|
)
|
1488
|
-
true
|
1489
1310
|
expect(result).to be_a String
|
1490
|
-
|
1491
|
-
|
1311
|
+
|
1492
1312
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1493
1313
|
end
|
1494
1314
|
end
|
@@ -1499,21 +1319,16 @@ describe 'DefaultApi' do
|
|
1499
1319
|
# @param call_id ID of the Call associated with this participant.
|
1500
1320
|
# @param [Hash] opts the optional parameters
|
1501
1321
|
# @return [nil]
|
1502
|
-
describe
|
1503
|
-
it
|
1504
|
-
|
1322
|
+
describe "remove_a_participant test" do
|
1323
|
+
it "should work" do
|
1505
1324
|
conference_id = @conference_id_remove_a_participant_test_value
|
1506
1325
|
call_id = @call_id_remove_a_participant_test_value
|
1507
|
-
|
1326
|
+
|
1508
1327
|
result = @api_instance.remove_a_participant(
|
1509
1328
|
conference_id, call_id,
|
1510
|
-
{
|
1511
|
-
|
1512
|
-
}
|
1329
|
+
{}
|
1513
1330
|
)
|
1514
|
-
|
1515
|
-
|
1516
|
-
|
1331
|
+
|
1517
1332
|
expect(result).to be_nil
|
1518
1333
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1519
1334
|
end
|
@@ -1524,21 +1339,17 @@ describe 'DefaultApi' do
|
|
1524
1339
|
# @param message_request Details to create a message
|
1525
1340
|
# @param [Hash] opts the optional parameters
|
1526
1341
|
# @return [MessageResult]
|
1527
|
-
describe
|
1528
|
-
it
|
1529
|
-
|
1342
|
+
describe "send_an_sms_message test" do
|
1343
|
+
it "should work" do
|
1530
1344
|
message_request = @message_request_send_an_sms_message_test_value
|
1531
|
-
|
1345
|
+
|
1532
1346
|
result = @api_instance.send_an_sms_message(
|
1533
1347
|
message_request,
|
1534
|
-
{
|
1535
|
-
|
1536
|
-
}
|
1348
|
+
{}
|
1537
1349
|
)
|
1538
|
-
|
1539
|
-
|
1350
|
+
|
1540
1351
|
expect(result).to be_a Freeclimb::MessageResult
|
1541
|
-
|
1352
|
+
|
1542
1353
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1543
1354
|
end
|
1544
1355
|
end
|
@@ -1548,21 +1359,17 @@ describe 'DefaultApi' do
|
|
1548
1359
|
# @param recording_id String that uniquely identifies this recording resource.
|
1549
1360
|
# @param [Hash] opts the optional parameters
|
1550
1361
|
# @return [File]
|
1551
|
-
describe
|
1552
|
-
it
|
1553
|
-
|
1362
|
+
describe "stream_a_recording_file test" do
|
1363
|
+
it "should work" do
|
1554
1364
|
recording_id = @recording_id_stream_a_recording_file_test_value
|
1555
|
-
|
1365
|
+
|
1556
1366
|
result = @api_instance.stream_a_recording_file(
|
1557
1367
|
recording_id,
|
1558
|
-
{
|
1559
|
-
|
1560
|
-
}
|
1368
|
+
{}
|
1561
1369
|
)
|
1562
|
-
|
1563
|
-
|
1370
|
+
|
1564
1371
|
expect(result).to be_a Freeclimb::File
|
1565
|
-
|
1372
|
+
|
1566
1373
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1567
1374
|
end
|
1568
1375
|
end
|
@@ -1573,21 +1380,18 @@ describe 'DefaultApi' do
|
|
1573
1380
|
# @param [Hash] opts the optional parameters
|
1574
1381
|
# @option opts [UpdateConferenceRequest] :update_conference_request Conference Details to update
|
1575
1382
|
# @return [nil]
|
1576
|
-
describe
|
1577
|
-
it
|
1578
|
-
|
1383
|
+
describe "update_a_conference test" do
|
1384
|
+
it "should work" do
|
1579
1385
|
conference_id = @conference_id_update_a_conference_test_value
|
1580
1386
|
update_conference_request = @update_conference_request_update_a_conference_test_value
|
1581
|
-
|
1387
|
+
|
1582
1388
|
result = @api_instance.update_a_conference(
|
1583
1389
|
conference_id,
|
1584
1390
|
{
|
1585
|
-
:
|
1391
|
+
update_conference_request: update_conference_request
|
1586
1392
|
}
|
1587
1393
|
)
|
1588
|
-
|
1589
|
-
|
1590
|
-
|
1394
|
+
|
1591
1395
|
expect(result).to be_nil
|
1592
1396
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1593
1397
|
end
|
@@ -1599,21 +1403,16 @@ describe 'DefaultApi' do
|
|
1599
1403
|
# @param update_call_request Call details to update
|
1600
1404
|
# @param [Hash] opts the optional parameters
|
1601
1405
|
# @return [nil]
|
1602
|
-
describe
|
1603
|
-
it
|
1604
|
-
|
1406
|
+
describe "update_a_live_call test" do
|
1407
|
+
it "should work" do
|
1605
1408
|
call_id = @call_id_update_a_live_call_test_value
|
1606
1409
|
update_call_request = @update_call_request_update_a_live_call_test_value
|
1607
|
-
|
1410
|
+
|
1608
1411
|
result = @api_instance.update_a_live_call(
|
1609
1412
|
call_id, update_call_request,
|
1610
|
-
{
|
1611
|
-
|
1612
|
-
}
|
1413
|
+
{}
|
1613
1414
|
)
|
1614
|
-
|
1615
|
-
|
1616
|
-
|
1415
|
+
|
1617
1416
|
expect(result).to be_nil
|
1618
1417
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1619
1418
|
end
|
@@ -1626,23 +1425,21 @@ describe 'DefaultApi' do
|
|
1626
1425
|
# @param [Hash] opts the optional parameters
|
1627
1426
|
# @option opts [UpdateConferenceParticipantRequest] :update_conference_participant_request Conference participant details to update
|
1628
1427
|
# @return [ConferenceParticipantResult]
|
1629
|
-
describe
|
1630
|
-
it
|
1631
|
-
|
1428
|
+
describe "update_a_participant test" do
|
1429
|
+
it "should work" do
|
1632
1430
|
conference_id = @conference_id_update_a_participant_test_value
|
1633
1431
|
call_id = @call_id_update_a_participant_test_value
|
1634
1432
|
update_conference_participant_request = @update_conference_participant_request_update_a_participant_test_value
|
1635
|
-
|
1433
|
+
|
1636
1434
|
result = @api_instance.update_a_participant(
|
1637
1435
|
conference_id, call_id,
|
1638
1436
|
{
|
1639
|
-
:
|
1437
|
+
update_conference_participant_request: update_conference_participant_request
|
1640
1438
|
}
|
1641
1439
|
)
|
1642
|
-
|
1643
|
-
|
1440
|
+
|
1644
1441
|
expect(result).to be_a Freeclimb::ConferenceParticipantResult
|
1645
|
-
|
1442
|
+
|
1646
1443
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1647
1444
|
end
|
1648
1445
|
end
|
@@ -1653,22 +1450,20 @@ describe 'DefaultApi' do
|
|
1653
1450
|
# @param [Hash] opts the optional parameters
|
1654
1451
|
# @option opts [QueueRequest] :queue_request Queue Details to update
|
1655
1452
|
# @return [QueueResult]
|
1656
|
-
describe
|
1657
|
-
it
|
1658
|
-
|
1453
|
+
describe "update_a_queue test" do
|
1454
|
+
it "should work" do
|
1659
1455
|
queue_id = @queue_id_update_a_queue_test_value
|
1660
1456
|
queue_request = @queue_request_update_a_queue_test_value
|
1661
|
-
|
1457
|
+
|
1662
1458
|
result = @api_instance.update_a_queue(
|
1663
1459
|
queue_id,
|
1664
1460
|
{
|
1665
|
-
:
|
1461
|
+
queue_request: queue_request
|
1666
1462
|
}
|
1667
1463
|
)
|
1668
|
-
|
1669
|
-
|
1464
|
+
|
1670
1465
|
expect(result).to be_a Freeclimb::QueueResult
|
1671
|
-
|
1466
|
+
|
1672
1467
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1673
1468
|
end
|
1674
1469
|
end
|
@@ -1678,20 +1473,16 @@ describe 'DefaultApi' do
|
|
1678
1473
|
# @param [Hash] opts the optional parameters
|
1679
1474
|
# @option opts [AccountRequest] :account_request Account details to update
|
1680
1475
|
# @return [nil]
|
1681
|
-
describe
|
1682
|
-
it
|
1683
|
-
|
1476
|
+
describe "update_an_account test" do
|
1477
|
+
it "should work" do
|
1684
1478
|
account_request = @account_request_update_an_account_test_value
|
1685
|
-
|
1479
|
+
|
1686
1480
|
result = @api_instance.update_an_account(
|
1687
|
-
|
1688
1481
|
{
|
1689
|
-
:
|
1482
|
+
account_request: account_request
|
1690
1483
|
}
|
1691
1484
|
)
|
1692
|
-
|
1693
|
-
|
1694
|
-
|
1485
|
+
|
1695
1486
|
expect(result).to be_nil
|
1696
1487
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1697
1488
|
end
|
@@ -1703,22 +1494,20 @@ describe 'DefaultApi' do
|
|
1703
1494
|
# @param [Hash] opts the optional parameters
|
1704
1495
|
# @option opts [ApplicationRequest] :application_request Application details to update.
|
1705
1496
|
# @return [ApplicationResult]
|
1706
|
-
describe
|
1707
|
-
it
|
1708
|
-
|
1497
|
+
describe "update_an_application test" do
|
1498
|
+
it "should work" do
|
1709
1499
|
application_id = @application_id_update_an_application_test_value
|
1710
1500
|
application_request = @application_request_update_an_application_test_value
|
1711
|
-
|
1501
|
+
|
1712
1502
|
result = @api_instance.update_an_application(
|
1713
1503
|
application_id,
|
1714
1504
|
{
|
1715
|
-
:
|
1505
|
+
application_request: application_request
|
1716
1506
|
}
|
1717
1507
|
)
|
1718
|
-
|
1719
|
-
|
1508
|
+
|
1720
1509
|
expect(result).to be_a Freeclimb::ApplicationResult
|
1721
|
-
|
1510
|
+
|
1722
1511
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1723
1512
|
end
|
1724
1513
|
end
|
@@ -1729,22 +1518,20 @@ describe 'DefaultApi' do
|
|
1729
1518
|
# @param [Hash] opts the optional parameters
|
1730
1519
|
# @option opts [IncomingNumberRequest] :incoming_number_request Incoming Number details to update
|
1731
1520
|
# @return [IncomingNumberResult]
|
1732
|
-
describe
|
1733
|
-
it
|
1734
|
-
|
1521
|
+
describe "update_an_incoming_number test" do
|
1522
|
+
it "should work" do
|
1735
1523
|
phone_number_id = @phone_number_id_update_an_incoming_number_test_value
|
1736
1524
|
incoming_number_request = @incoming_number_request_update_an_incoming_number_test_value
|
1737
|
-
|
1525
|
+
|
1738
1526
|
result = @api_instance.update_an_incoming_number(
|
1739
1527
|
phone_number_id,
|
1740
1528
|
{
|
1741
|
-
:
|
1529
|
+
incoming_number_request: incoming_number_request
|
1742
1530
|
}
|
1743
1531
|
)
|
1744
|
-
|
1745
|
-
|
1532
|
+
|
1746
1533
|
expect(result).to be_a Freeclimb::IncomingNumberResult
|
1747
|
-
|
1534
|
+
|
1748
1535
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1749
1536
|
end
|
1750
1537
|
end
|
@@ -1754,16 +1541,13 @@ describe 'DefaultApi' do
|
|
1754
1541
|
# @param filter_logs_request Filter logs request paramters
|
1755
1542
|
# @param [Hash] opts the optional parameters
|
1756
1543
|
# @return [LogList]
|
1757
|
-
describe
|
1758
|
-
it
|
1759
|
-
|
1544
|
+
describe "filter_logs_get_next_page test" do
|
1545
|
+
it "should work" do
|
1760
1546
|
filter_logs_request = @filter_logs_request_filter_logs_test_value
|
1761
|
-
|
1547
|
+
|
1762
1548
|
result = @api_instance.filter_logs(
|
1763
1549
|
filter_logs_request,
|
1764
|
-
{
|
1765
|
-
|
1766
|
-
}
|
1550
|
+
{}
|
1767
1551
|
)
|
1768
1552
|
result.next_page_uri = "/Accounts/{accountId}/Logs?cursor=1"
|
1769
1553
|
next_page_result = @api_instance.get_next_page(result)
|
@@ -1776,15 +1560,10 @@ describe 'DefaultApi' do
|
|
1776
1560
|
# Get list of SMS 10DLC Brands
|
1777
1561
|
# @param [Hash] opts the optional parameters
|
1778
1562
|
# @return [SMSTenDLCBrandsListResult]
|
1779
|
-
describe
|
1780
|
-
it
|
1781
|
-
|
1782
|
-
|
1563
|
+
describe "get_ten_dlc_sms_brands_get_next_page test" do
|
1564
|
+
it "should work" do
|
1783
1565
|
result = @api_instance.get_ten_dlc_sms_brands(
|
1784
|
-
|
1785
|
-
{
|
1786
|
-
|
1787
|
-
}
|
1566
|
+
{}
|
1788
1567
|
)
|
1789
1568
|
result.next_page_uri = "/Accounts/{accountId}/Messages/10DLC/Brands?cursor=1"
|
1790
1569
|
next_page_result = @api_instance.get_next_page(result)
|
@@ -1798,15 +1577,13 @@ describe 'DefaultApi' do
|
|
1798
1577
|
# @param [Hash] opts the optional parameters
|
1799
1578
|
# @option opts [String] :brand_id The unique identifier for a brand
|
1800
1579
|
# @return [SMSTenDLCCampaignsListResult]
|
1801
|
-
describe
|
1802
|
-
it
|
1803
|
-
|
1580
|
+
describe "get_ten_dlc_sms_campaigns_get_next_page test" do
|
1581
|
+
it "should work" do
|
1804
1582
|
brand_id = @brand_id_get_ten_dlc_sms_campaigns_test_value
|
1805
|
-
|
1583
|
+
|
1806
1584
|
result = @api_instance.get_ten_dlc_sms_campaigns(
|
1807
|
-
|
1808
1585
|
{
|
1809
|
-
:
|
1586
|
+
brand_id: brand_id
|
1810
1587
|
}
|
1811
1588
|
)
|
1812
1589
|
result.next_page_uri = "/Accounts/{accountId}/Messages/10DLC/Campaigns?cursor=1"
|
@@ -1821,15 +1598,13 @@ describe 'DefaultApi' do
|
|
1821
1598
|
# @param [Hash] opts the optional parameters
|
1822
1599
|
# @option opts [String] :brand_id The unique identifier for a brand
|
1823
1600
|
# @return [SMSTenDLCPartnerCampaignsListResult]
|
1824
|
-
describe
|
1825
|
-
it
|
1826
|
-
|
1601
|
+
describe "get_ten_dlc_sms_partner_campaigns_get_next_page test" do
|
1602
|
+
it "should work" do
|
1827
1603
|
brand_id = @brand_id_get_ten_dlc_sms_partner_campaigns_test_value
|
1828
|
-
|
1604
|
+
|
1829
1605
|
result = @api_instance.get_ten_dlc_sms_partner_campaigns(
|
1830
|
-
|
1831
1606
|
{
|
1832
|
-
:
|
1607
|
+
brand_id: brand_id
|
1833
1608
|
}
|
1834
1609
|
)
|
1835
1610
|
result.next_page_uri = "/Accounts/{accountId}/Messages/10DLC/PartnerCampaigns?cursor=1"
|
@@ -1843,15 +1618,10 @@ describe 'DefaultApi' do
|
|
1843
1618
|
# Get list of TollFree Campaigns
|
1844
1619
|
# @param [Hash] opts the optional parameters
|
1845
1620
|
# @return [SMSTollFreeCampaignsListResult]
|
1846
|
-
describe
|
1847
|
-
it
|
1848
|
-
|
1849
|
-
|
1621
|
+
describe "get_toll_free_sms_campaigns_get_next_page test" do
|
1622
|
+
it "should work" do
|
1850
1623
|
result = @api_instance.get_toll_free_sms_campaigns(
|
1851
|
-
|
1852
|
-
{
|
1853
|
-
|
1854
|
-
}
|
1624
|
+
{}
|
1855
1625
|
)
|
1856
1626
|
result.next_page_uri = "/Accounts/{accountId}/Messages/TollFree/Campaigns?cursor=1"
|
1857
1627
|
next_page_result = @api_instance.get_next_page(result)
|
@@ -1865,15 +1635,13 @@ describe 'DefaultApi' do
|
|
1865
1635
|
# @param [Hash] opts the optional parameters
|
1866
1636
|
# @option opts [String] :_alias Return only the Queue resources with aliases that exactly match this name.
|
1867
1637
|
# @return [QueueList]
|
1868
|
-
describe
|
1869
|
-
it
|
1870
|
-
|
1638
|
+
describe "list_active_queues_get_next_page test" do
|
1639
|
+
it "should work" do
|
1871
1640
|
_alias = @_alias_list_active_queues_test_value
|
1872
|
-
|
1641
|
+
|
1873
1642
|
result = @api_instance.list_active_queues(
|
1874
|
-
|
1875
1643
|
{
|
1876
|
-
:
|
1644
|
+
_alias: _alias
|
1877
1645
|
}
|
1878
1646
|
)
|
1879
1647
|
result.next_page_uri = "/Accounts/{accountId}/Queues?cursor=1"
|
@@ -1887,15 +1655,10 @@ describe 'DefaultApi' do
|
|
1887
1655
|
# List All Account Logs
|
1888
1656
|
# @param [Hash] opts the optional parameters
|
1889
1657
|
# @return [LogList]
|
1890
|
-
describe
|
1891
|
-
it
|
1892
|
-
|
1893
|
-
|
1658
|
+
describe "list_all_account_logs_get_next_page test" do
|
1659
|
+
it "should work" do
|
1894
1660
|
result = @api_instance.list_all_account_logs(
|
1895
|
-
|
1896
|
-
{
|
1897
|
-
|
1898
|
-
}
|
1661
|
+
{}
|
1899
1662
|
)
|
1900
1663
|
result.next_page_uri = "/Accounts/{accountId}/Logs?cursor=1"
|
1901
1664
|
next_page_result = @api_instance.get_next_page(result)
|
@@ -1909,15 +1672,13 @@ describe 'DefaultApi' do
|
|
1909
1672
|
# @param [Hash] opts the optional parameters
|
1910
1673
|
# @option opts [String] :_alias Return only applications with aliases that exactly match this value.
|
1911
1674
|
# @return [ApplicationList]
|
1912
|
-
describe
|
1913
|
-
it
|
1914
|
-
|
1675
|
+
describe "list_applications_get_next_page test" do
|
1676
|
+
it "should work" do
|
1915
1677
|
_alias = @_alias_list_applications_test_value
|
1916
|
-
|
1678
|
+
|
1917
1679
|
result = @api_instance.list_applications(
|
1918
|
-
|
1919
1680
|
{
|
1920
|
-
:
|
1681
|
+
_alias: _alias
|
1921
1682
|
}
|
1922
1683
|
)
|
1923
1684
|
result.next_page_uri = "/Accounts/{accountId}/Applications?cursor=1"
|
@@ -1935,15 +1696,14 @@ describe 'DefaultApi' do
|
|
1935
1696
|
# @option opts [String] :country Country of this phone number.
|
1936
1697
|
# @option opts [Boolean] :voice_enabled Indicates whether the phone number can handle Calls. Typically set to true for all numbers.
|
1937
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.
|
1938
|
-
# @option opts [Boolean] :capabilities_voice
|
1939
|
-
# @option opts [Boolean] :capabilities_sms
|
1940
|
-
# @option opts [Boolean] :capabilities_toll_free
|
1941
|
-
# @option opts [Boolean] :capabilities_ten_dlc
|
1942
|
-
# @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
|
1943
1704
|
# @return [AvailableNumberList]
|
1944
|
-
describe
|
1945
|
-
it
|
1946
|
-
|
1705
|
+
describe "list_available_numbers_get_next_page test" do
|
1706
|
+
it "should work" do
|
1947
1707
|
phone_number = @phone_number_list_available_numbers_test_value
|
1948
1708
|
region = @region_list_available_numbers_test_value
|
1949
1709
|
country = @country_list_available_numbers_test_value
|
@@ -1954,11 +1714,10 @@ describe 'DefaultApi' do
|
|
1954
1714
|
capabilities_toll_free = @capabilities_toll_free_list_available_numbers_test_value
|
1955
1715
|
capabilities_ten_dlc = @capabilities_ten_dlc_list_available_numbers_test_value
|
1956
1716
|
capabilities_short_code = @capabilities_short_code_list_available_numbers_test_value
|
1957
|
-
|
1717
|
+
|
1958
1718
|
result = @api_instance.list_available_numbers(
|
1959
|
-
|
1960
1719
|
{
|
1961
|
-
:
|
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
|
1962
1721
|
}
|
1963
1722
|
)
|
1964
1723
|
result.next_page_uri = "/AvailablePhoneNumbers?cursor=1"
|
@@ -1973,16 +1732,13 @@ describe 'DefaultApi' do
|
|
1973
1732
|
# @param call_id String that uniquely identifies this call resource.
|
1974
1733
|
# @param [Hash] opts the optional parameters
|
1975
1734
|
# @return [LogList]
|
1976
|
-
describe
|
1977
|
-
it
|
1978
|
-
|
1735
|
+
describe "list_call_logs_get_next_page test" do
|
1736
|
+
it "should work" do
|
1979
1737
|
call_id = @call_id_list_call_logs_test_value
|
1980
|
-
|
1738
|
+
|
1981
1739
|
result = @api_instance.list_call_logs(
|
1982
1740
|
call_id,
|
1983
|
-
{
|
1984
|
-
|
1985
|
-
}
|
1741
|
+
{}
|
1986
1742
|
)
|
1987
1743
|
result.next_page_uri = "/Accounts/{accountId}/Calls/{callId}/Logs?cursor=1"
|
1988
1744
|
next_page_result = @api_instance.get_next_page(result)
|
@@ -1997,16 +1753,15 @@ describe 'DefaultApi' do
|
|
1997
1753
|
# @param [Hash] opts the optional parameters
|
1998
1754
|
# @option opts [String] :date_created Only show recordings created on the specified date, in the form *YYYY-MM-DD*.
|
1999
1755
|
# @return [RecordingList]
|
2000
|
-
describe
|
2001
|
-
it
|
2002
|
-
|
1756
|
+
describe "list_call_recordings_get_next_page test" do
|
1757
|
+
it "should work" do
|
2003
1758
|
call_id = @call_id_list_call_recordings_test_value
|
2004
1759
|
date_created = @date_created_list_call_recordings_test_value
|
2005
|
-
|
1760
|
+
|
2006
1761
|
result = @api_instance.list_call_recordings(
|
2007
1762
|
call_id,
|
2008
1763
|
{
|
2009
|
-
:
|
1764
|
+
date_created: date_created
|
2010
1765
|
}
|
2011
1766
|
)
|
2012
1767
|
result.next_page_uri = "/Accounts/{accountId}/Calls/{callId}/Recordings?cursor=1"
|
@@ -2028,9 +1783,8 @@ describe 'DefaultApi' do
|
|
2028
1783
|
# @option opts [String] :parent_call_id Only show Calls spawned by the call with this ID.
|
2029
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.
|
2030
1785
|
# @return [CallList]
|
2031
|
-
describe
|
2032
|
-
it
|
2033
|
-
|
1786
|
+
describe "list_calls_get_next_page test" do
|
1787
|
+
it "should work" do
|
2034
1788
|
active = @active_list_calls_test_value
|
2035
1789
|
to = @to_list_calls_test_value
|
2036
1790
|
from = @from_list_calls_test_value
|
@@ -2039,11 +1793,10 @@ describe 'DefaultApi' do
|
|
2039
1793
|
end_time = @end_time_list_calls_test_value
|
2040
1794
|
parent_call_id = @parent_call_id_list_calls_test_value
|
2041
1795
|
application_id = @application_id_list_calls_test_value
|
2042
|
-
|
1796
|
+
|
2043
1797
|
result = @api_instance.list_calls(
|
2044
|
-
|
2045
1798
|
{
|
2046
|
-
:
|
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
|
2047
1800
|
}
|
2048
1801
|
)
|
2049
1802
|
result.next_page_uri = "/Accounts/{accountId}/Calls?cursor=1"
|
@@ -2060,17 +1813,16 @@ describe 'DefaultApi' do
|
|
2060
1813
|
# @option opts [String] :call_id Show only Recordings made during the Call with this ID.
|
2061
1814
|
# @option opts [String] :date_created Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
|
2062
1815
|
# @return [RecordingList]
|
2063
|
-
describe
|
2064
|
-
it
|
2065
|
-
|
1816
|
+
describe "list_conference_recordings_get_next_page test" do
|
1817
|
+
it "should work" do
|
2066
1818
|
conference_id = @conference_id_list_conference_recordings_test_value
|
2067
1819
|
call_id = @call_id_list_conference_recordings_test_value
|
2068
1820
|
date_created = @date_created_list_conference_recordings_test_value
|
2069
|
-
|
1821
|
+
|
2070
1822
|
result = @api_instance.list_conference_recordings(
|
2071
1823
|
conference_id,
|
2072
1824
|
{
|
2073
|
-
:
|
1825
|
+
call_id: call_id, date_created: date_created
|
2074
1826
|
}
|
2075
1827
|
)
|
2076
1828
|
result.next_page_uri = "/Accounts/{accountId}/Conferences/{conferenceId}/Recordings?cursor=1"
|
@@ -2088,18 +1840,16 @@ describe 'DefaultApi' do
|
|
2088
1840
|
# @option opts [String] :date_created Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*.
|
2089
1841
|
# @option opts [String] :date_updated Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*.
|
2090
1842
|
# @return [ConferenceList]
|
2091
|
-
describe
|
2092
|
-
it
|
2093
|
-
|
1843
|
+
describe "list_conferences_get_next_page test" do
|
1844
|
+
it "should work" do
|
2094
1845
|
status = @status_list_conferences_test_value
|
2095
1846
|
_alias = @_alias_list_conferences_test_value
|
2096
1847
|
date_created = @date_created_list_conferences_test_value
|
2097
1848
|
date_updated = @date_updated_list_conferences_test_value
|
2098
|
-
|
1849
|
+
|
2099
1850
|
result = @api_instance.list_conferences(
|
2100
|
-
|
2101
1851
|
{
|
2102
|
-
:
|
1852
|
+
status: status, _alias: _alias, date_created: date_created, date_updated: date_updated
|
2103
1853
|
}
|
2104
1854
|
)
|
2105
1855
|
result.next_page_uri = "/Accounts/{accountId}/Conferences?cursor=1"
|
@@ -2121,17 +1871,16 @@ describe 'DefaultApi' do
|
|
2121
1871
|
# @option opts [Boolean] :voice_enabled Indicates whether the phone number can handle Calls. Typically set to true for all numbers.
|
2122
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.
|
2123
1873
|
# @option opts [Boolean] :has_campaign Indication of whether the phone number has a campaign associated with it
|
2124
|
-
# @option opts [Boolean] :capabilities_voice
|
2125
|
-
# @option opts [Boolean] :capabilities_sms
|
2126
|
-
# @option opts [Boolean] :capabilities_toll_free
|
2127
|
-
# @option opts [Boolean] :capabilities_ten_dlc
|
2128
|
-
# @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
|
2129
1879
|
# @option opts [String] :tfn_campaign_id Only show incoming phone number resources that have been assigned to the provided TFNCampaign ID.
|
2130
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.
|
2131
1881
|
# @return [IncomingNumberList]
|
2132
|
-
describe
|
2133
|
-
it
|
2134
|
-
|
1882
|
+
describe "list_incoming_numbers_get_next_page test" do
|
1883
|
+
it "should work" do
|
2135
1884
|
phone_number = @phone_number_list_incoming_numbers_test_value
|
2136
1885
|
_alias = @_alias_list_incoming_numbers_test_value
|
2137
1886
|
region = @region_list_incoming_numbers_test_value
|
@@ -2148,11 +1897,10 @@ describe 'DefaultApi' do
|
|
2148
1897
|
capabilities_short_code = @capabilities_short_code_list_incoming_numbers_test_value
|
2149
1898
|
tfn_campaign_id = @tfn_campaign_id_list_incoming_numbers_test_value
|
2150
1899
|
offnet = @offnet_list_incoming_numbers_test_value
|
2151
|
-
|
1900
|
+
|
2152
1901
|
result = @api_instance.list_incoming_numbers(
|
2153
|
-
|
2154
1902
|
{
|
2155
|
-
:
|
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
|
2156
1904
|
}
|
2157
1905
|
)
|
2158
1906
|
result.next_page_uri = "/Accounts/{accountId}/IncomingPhoneNumbers?cursor=1"
|
@@ -2167,16 +1915,13 @@ describe 'DefaultApi' do
|
|
2167
1915
|
# @param queue_id String that uniquely identifies the Queue that the Member belongs to.
|
2168
1916
|
# @param [Hash] opts the optional parameters
|
2169
1917
|
# @return [QueueMemberList]
|
2170
|
-
describe
|
2171
|
-
it
|
2172
|
-
|
1918
|
+
describe "list_members_get_next_page test" do
|
1919
|
+
it "should work" do
|
2173
1920
|
queue_id = @queue_id_list_members_test_value
|
2174
|
-
|
1921
|
+
|
2175
1922
|
result = @api_instance.list_members(
|
2176
1923
|
queue_id,
|
2177
|
-
{
|
2178
|
-
|
2179
|
-
}
|
1924
|
+
{}
|
2180
1925
|
)
|
2181
1926
|
result.next_page_uri = "/Accounts/{accountId}/Queues/{queueId}/Members?cursor=1"
|
2182
1927
|
next_page_result = @api_instance.get_next_page(result)
|
@@ -2193,18 +1938,17 @@ describe 'DefaultApi' do
|
|
2193
1938
|
# @option opts [Boolean] :listen Only show Participants with the listen privilege.
|
2194
1939
|
# @option opts [Boolean] :dtmf_pass_through Only show Participants with the dtmfPassThrough privilege.
|
2195
1940
|
# @return [ConferenceParticipantList]
|
2196
|
-
describe
|
2197
|
-
it
|
2198
|
-
|
1941
|
+
describe "list_participants_get_next_page test" do
|
1942
|
+
it "should work" do
|
2199
1943
|
conference_id = @conference_id_list_participants_test_value
|
2200
1944
|
talk = @talk_list_participants_test_value
|
2201
1945
|
listen = @listen_list_participants_test_value
|
2202
1946
|
dtmf_pass_through = @dtmf_pass_through_list_participants_test_value
|
2203
|
-
|
1947
|
+
|
2204
1948
|
result = @api_instance.list_participants(
|
2205
1949
|
conference_id,
|
2206
1950
|
{
|
2207
|
-
:
|
1951
|
+
talk: talk, listen: listen, dtmf_pass_through: dtmf_pass_through
|
2208
1952
|
}
|
2209
1953
|
)
|
2210
1954
|
result.next_page_uri = "/Accounts/{accountId}/Conferences/{conferenceId}/Participants?cursor=1"
|
@@ -2221,17 +1965,15 @@ describe 'DefaultApi' do
|
|
2221
1965
|
# @option opts [String] :conference_id Show only Recordings made during the conference with this ID.
|
2222
1966
|
# @option opts [String] :date_created Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
|
2223
1967
|
# @return [RecordingList]
|
2224
|
-
describe
|
2225
|
-
it
|
2226
|
-
|
1968
|
+
describe "list_recordings_get_next_page test" do
|
1969
|
+
it "should work" do
|
2227
1970
|
call_id = @call_id_list_recordings_test_value
|
2228
1971
|
conference_id = @conference_id_list_recordings_test_value
|
2229
1972
|
date_created = @date_created_list_recordings_test_value
|
2230
|
-
|
1973
|
+
|
2231
1974
|
result = @api_instance.list_recordings(
|
2232
|
-
|
2233
1975
|
{
|
2234
|
-
:
|
1976
|
+
call_id: call_id, conference_id: conference_id, date_created: date_created
|
2235
1977
|
}
|
2236
1978
|
)
|
2237
1979
|
result.next_page_uri = "/Accounts/{accountId}/Recordings?cursor=1"
|
@@ -2253,9 +1995,8 @@ describe 'DefaultApi' do
|
|
2253
1995
|
# @option opts [String] :brand_id Only show messages associated with this brand ID
|
2254
1996
|
# @option opts [Boolean] :is10_dlc Only show messages that were sent as part of a 10DLC campaign.
|
2255
1997
|
# @return [MessagesList]
|
2256
|
-
describe
|
2257
|
-
it
|
2258
|
-
|
1998
|
+
describe "list_sms_messages_get_next_page test" do
|
1999
|
+
it "should work" do
|
2259
2000
|
to = @to_list_sms_messages_test_value
|
2260
2001
|
from = @from_list_sms_messages_test_value
|
2261
2002
|
begin_time = @begin_time_list_sms_messages_test_value
|
@@ -2264,11 +2005,10 @@ describe 'DefaultApi' do
|
|
2264
2005
|
campaign_id = @campaign_id_list_sms_messages_test_value
|
2265
2006
|
brand_id = @brand_id_list_sms_messages_test_value
|
2266
2007
|
is10_dlc = @is10_dlc_list_sms_messages_test_value
|
2267
|
-
|
2008
|
+
|
2268
2009
|
result = @api_instance.list_sms_messages(
|
2269
|
-
|
2270
2010
|
{
|
2271
|
-
:
|
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
|
2272
2012
|
}
|
2273
2013
|
)
|
2274
2014
|
result.next_page_uri = "/Accounts/{accountId}/Messages?cursor=1"
|
@@ -2277,6 +2017,4 @@ describe 'DefaultApi' do
|
|
2277
2017
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2278
2018
|
end
|
2279
2019
|
end
|
2280
|
-
|
2281
2020
|
end
|
2282
|
-
|