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