freeclimb 3.0.3 → 4.0.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 +8 -0
- data/Gemfile.lock +2 -4
- data/README.md +7 -6
- data/docs/DefaultApi.md +9 -101
- data/docs/MakeCallRequest.md +1 -1
- data/docs/PerclCommand.md +1 -1
- data/docs/QueueRequest.md +1 -1
- data/freeclimb.gemspec +1 -1
- data/lib/freeclimb/api/default_api.rb +11 -7
- data/lib/freeclimb/api_client.rb +1 -1
- data/lib/freeclimb/api_error.rb +1 -1
- data/lib/freeclimb/configuration.rb +1 -1
- data/lib/freeclimb/models/account_request.rb +1 -1
- data/lib/freeclimb/models/account_result.rb +20 -1
- data/lib/freeclimb/models/account_result_all_of.rb +20 -1
- data/lib/freeclimb/models/add_to_conference.rb +2 -1
- data/lib/freeclimb/models/add_to_conference_all_of.rb +1 -1
- data/lib/freeclimb/models/application_list.rb +9 -1
- data/lib/freeclimb/models/application_list_all_of.rb +2 -1
- data/lib/freeclimb/models/application_request.rb +1 -1
- data/lib/freeclimb/models/application_result.rb +10 -1
- data/lib/freeclimb/models/application_result_all_of.rb +10 -1
- data/lib/freeclimb/models/available_number.rb +6 -1
- data/lib/freeclimb/models/available_number_list.rb +9 -1
- data/lib/freeclimb/models/available_number_list_all_of.rb +2 -1
- data/lib/freeclimb/models/buy_incoming_number_request.rb +1 -1
- data/lib/freeclimb/models/call_list.rb +9 -1
- data/lib/freeclimb/models/call_list_all_of.rb +2 -1
- data/lib/freeclimb/models/call_result.rb +16 -1
- data/lib/freeclimb/models/call_result_all_of.rb +16 -1
- data/lib/freeclimb/models/capabilities.rb +6 -26
- data/lib/freeclimb/models/conference_list.rb +9 -1
- data/lib/freeclimb/models/conference_list_all_of.rb +2 -1
- data/lib/freeclimb/models/conference_participant_list.rb +9 -1
- data/lib/freeclimb/models/conference_participant_list_all_of.rb +2 -1
- data/lib/freeclimb/models/conference_participant_result.rb +7 -1
- data/lib/freeclimb/models/conference_participant_result_all_of.rb +7 -1
- data/lib/freeclimb/models/conference_result.rb +11 -1
- data/lib/freeclimb/models/conference_result_all_of.rb +11 -1
- data/lib/freeclimb/models/create_conference.rb +2 -1
- data/lib/freeclimb/models/create_conference_all_of.rb +1 -1
- data/lib/freeclimb/models/create_conference_request.rb +1 -1
- data/lib/freeclimb/models/dequeue.rb +2 -1
- data/lib/freeclimb/models/enqueue.rb +2 -1
- data/lib/freeclimb/models/enqueue_all_of.rb +1 -1
- data/lib/freeclimb/models/filter_logs_request.rb +1 -1
- data/lib/freeclimb/models/get_digits.rb +2 -1
- data/lib/freeclimb/models/get_digits_all_of.rb +1 -1
- data/lib/freeclimb/models/get_speech.rb +2 -1
- data/lib/freeclimb/models/get_speech_all_of.rb +1 -1
- data/lib/freeclimb/models/hangup.rb +2 -1
- data/lib/freeclimb/models/hangup_all_of.rb +1 -1
- data/lib/freeclimb/models/incoming_number_list.rb +9 -1
- data/lib/freeclimb/models/incoming_number_list_all_of.rb +2 -1
- data/lib/freeclimb/models/incoming_number_request.rb +1 -1
- data/lib/freeclimb/models/incoming_number_result.rb +10 -1
- data/lib/freeclimb/models/incoming_number_result_all_of.rb +10 -1
- data/lib/freeclimb/models/log_list.rb +9 -1
- data/lib/freeclimb/models/log_list_all_of.rb +2 -1
- data/lib/freeclimb/models/log_result.rb +8 -1
- data/lib/freeclimb/models/make_call_request.rb +3 -1
- data/lib/freeclimb/models/message_request.rb +1 -1
- data/lib/freeclimb/models/message_request_all_of.rb +1 -1
- data/lib/freeclimb/models/message_result.rb +9 -1
- data/lib/freeclimb/models/message_result_all_of.rb +9 -1
- data/lib/freeclimb/models/messages_list.rb +9 -1
- data/lib/freeclimb/models/messages_list_all_of.rb +2 -1
- data/lib/freeclimb/models/mutable_resource_model.rb +1 -1
- data/lib/freeclimb/models/out_dial.rb +2 -1
- data/lib/freeclimb/models/out_dial_all_of.rb +1 -1
- data/lib/freeclimb/models/pagination_model.rb +8 -1
- data/lib/freeclimb/models/pause.rb +2 -1
- data/lib/freeclimb/models/pause_all_of.rb +1 -1
- data/lib/freeclimb/models/percl_command.rb +19 -1
- data/lib/freeclimb/models/percl_script.rb +5 -1
- data/lib/freeclimb/models/play.rb +2 -1
- data/lib/freeclimb/models/play_all_of.rb +1 -1
- data/lib/freeclimb/models/play_early_media.rb +2 -1
- data/lib/freeclimb/models/play_early_media_all_of.rb +1 -1
- data/lib/freeclimb/models/queue_list.rb +9 -1
- data/lib/freeclimb/models/queue_list_all_of.rb +2 -1
- data/lib/freeclimb/models/queue_member.rb +6 -1
- data/lib/freeclimb/models/queue_member_list.rb +9 -1
- data/lib/freeclimb/models/queue_member_list_all_of.rb +2 -1
- data/lib/freeclimb/models/queue_request.rb +3 -1
- data/lib/freeclimb/models/queue_result.rb +8 -1
- data/lib/freeclimb/models/queue_result_all_of.rb +8 -1
- data/lib/freeclimb/models/record_utterance.rb +2 -1
- data/lib/freeclimb/models/record_utterance_all_of.rb +1 -1
- data/lib/freeclimb/models/recording_list.rb +9 -1
- data/lib/freeclimb/models/recording_list_all_of.rb +2 -1
- data/lib/freeclimb/models/recording_result.rb +6 -1
- data/lib/freeclimb/models/recording_result_all_of.rb +6 -1
- data/lib/freeclimb/models/redirect.rb +2 -1
- data/lib/freeclimb/models/redirect_all_of.rb +1 -1
- data/lib/freeclimb/models/reject.rb +2 -1
- data/lib/freeclimb/models/reject_all_of.rb +1 -1
- data/lib/freeclimb/models/remove_from_conference.rb +2 -1
- data/lib/freeclimb/models/remove_from_conference_all_of.rb +1 -1
- data/lib/freeclimb/models/say.rb +2 -1
- data/lib/freeclimb/models/say_all_of.rb +1 -1
- data/lib/freeclimb/models/send_digits.rb +2 -1
- data/lib/freeclimb/models/send_digits_all_of.rb +1 -1
- data/lib/freeclimb/models/set_listen.rb +2 -1
- data/lib/freeclimb/models/set_listen_all_of.rb +1 -1
- data/lib/freeclimb/models/set_talk.rb +2 -1
- data/lib/freeclimb/models/set_talk_all_of.rb +1 -1
- data/lib/freeclimb/models/sms.rb +2 -1
- data/lib/freeclimb/models/sms_all_of.rb +1 -1
- data/lib/freeclimb/models/start_record_call.rb +2 -1
- data/lib/freeclimb/models/terminate_conference.rb +2 -1
- data/lib/freeclimb/models/terminate_conference_all_of.rb +1 -1
- data/lib/freeclimb/models/update_call_request.rb +1 -1
- data/lib/freeclimb/models/update_conference_participant_request.rb +1 -1
- data/lib/freeclimb/models/update_conference_request.rb +1 -1
- data/lib/freeclimb/version.rb +2 -2
- data/lib/freeclimb.rb +1 -28
- data/spec/api/default_api_spec.rb +102 -102
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/account_request_spec.rb +1 -1
- data/spec/models/account_result_spec.rb +5 -1
- data/spec/models/add_to_conference_spec.rb +1 -1
- data/spec/models/application_list_spec.rb +1 -1
- data/spec/models/application_request_spec.rb +1 -1
- data/spec/models/application_result_spec.rb +1 -1
- data/spec/models/available_number_list_spec.rb +1 -1
- data/spec/models/available_number_spec.rb +1 -1
- data/spec/models/buy_incoming_number_request_spec.rb +1 -1
- data/spec/models/call_list_spec.rb +1 -1
- data/spec/models/call_result_spec.rb +1 -1
- data/spec/models/capabilities_spec.rb +1 -1
- data/spec/models/conference_list_spec.rb +1 -1
- data/spec/models/conference_participant_list_spec.rb +1 -1
- data/spec/models/conference_participant_result_spec.rb +1 -1
- data/spec/models/conference_result_spec.rb +1 -1
- data/spec/models/create_conference_request_spec.rb +1 -1
- data/spec/models/create_conference_spec.rb +1 -1
- data/spec/models/dequeue_spec.rb +1 -1
- data/spec/models/enqueue_spec.rb +1 -1
- data/spec/models/filter_logs_request_spec.rb +1 -1
- data/spec/models/get_digits_spec.rb +1 -1
- data/spec/models/get_speech_spec.rb +1 -1
- data/spec/models/hangup_spec.rb +1 -1
- data/spec/models/incoming_number_list_spec.rb +1 -1
- data/spec/models/incoming_number_request_spec.rb +1 -1
- data/spec/models/incoming_number_result_spec.rb +1 -1
- data/spec/models/log_list_spec.rb +1 -1
- data/spec/models/log_result_spec.rb +1 -1
- data/spec/models/make_call_request_spec.rb +1 -1
- data/spec/models/message_request_spec.rb +1 -1
- data/spec/models/message_result_spec.rb +1 -1
- data/spec/models/messages_list_spec.rb +1 -1
- data/spec/models/mutable_resource_model_spec.rb +1 -1
- data/spec/models/out_dial_spec.rb +1 -1
- data/spec/models/pagination_model_spec.rb +1 -1
- data/spec/models/pause_spec.rb +1 -1
- data/spec/models/percl_command_spec.rb +1 -1
- data/spec/models/percl_script_spec.rb +1 -1
- data/spec/models/play_early_media_spec.rb +1 -1
- data/spec/models/play_spec.rb +1 -1
- data/spec/models/queue_list_spec.rb +1 -1
- data/spec/models/queue_member_list_spec.rb +1 -1
- data/spec/models/queue_member_spec.rb +1 -1
- data/spec/models/queue_request_spec.rb +1 -1
- data/spec/models/queue_result_spec.rb +1 -1
- data/spec/models/record_utterance_spec.rb +1 -1
- data/spec/models/recording_list_spec.rb +1 -1
- data/spec/models/recording_result_spec.rb +1 -1
- data/spec/models/redirect_spec.rb +1 -1
- data/spec/models/reject_spec.rb +1 -1
- data/spec/models/remove_from_conference_spec.rb +1 -1
- data/spec/models/say_spec.rb +1 -1
- data/spec/models/send_digits_spec.rb +1 -1
- data/spec/models/set_listen_spec.rb +1 -1
- data/spec/models/set_talk_spec.rb +1 -1
- data/spec/models/sms_spec.rb +1 -1
- data/spec/models/start_record_call_spec.rb +1 -1
- data/spec/models/terminate_conference_spec.rb +1 -1
- data/spec/models/update_call_request_spec.rb +1 -1
- data/spec/models/update_conference_participant_request_spec.rb +1 -1
- data/spec/models/update_conference_request_spec.rb +1 -1
- data/spec/quickstart_spec.rb +1 -1
- data/spec/spec_helper.rb +6 -2
- metadata +3 -3
@@ -4,7 +4,7 @@
|
|
4
4
|
#FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
7
|
+
Contact: support@freeclimb.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
10
10
|
|
data/spec/models/sms_spec.rb
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
#FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
7
|
+
Contact: support@freeclimb.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
#FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
7
|
+
Contact: support@freeclimb.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
#FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
7
|
+
Contact: support@freeclimb.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
#FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
7
|
+
Contact: support@freeclimb.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
#FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
7
|
+
Contact: support@freeclimb.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
#FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
7
|
+
Contact: support@freeclimb.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
10
10
|
|
data/spec/quickstart_spec.rb
CHANGED
@@ -4,7 +4,7 @@ describe "quickstart" do
|
|
4
4
|
it "generates percl to say the text 'Hello, World!'" do
|
5
5
|
say = Freeclimb::Say.new(text:'Hello, World!')
|
6
6
|
script = Freeclimb::PerclScript.new(commands:[say])
|
7
|
-
json =
|
7
|
+
json = script.to_json()
|
8
8
|
expect(json).to eq("[{\"Say\":{\"text\":\"Hello, World!\"}}]")
|
9
9
|
end
|
10
10
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
#FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
|
-
|
7
|
+
Contact: support@freeclimb.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
10
10
|
|
@@ -132,7 +132,11 @@ WebMock.disable_net_connect!(:allow_localhost => true)
|
|
132
132
|
|
133
133
|
def build_value(sym)
|
134
134
|
begin
|
135
|
-
|
135
|
+
if (sym.to_s == 'direction')
|
136
|
+
'inbound'
|
137
|
+
else
|
138
|
+
build(sym)
|
139
|
+
end
|
136
140
|
rescue => error
|
137
141
|
if error.message.include? "invalid value"
|
138
142
|
raise error
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: freeclimb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -370,7 +370,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
370
370
|
- !ruby/object:Gem::Version
|
371
371
|
version: '0'
|
372
372
|
requirements: []
|
373
|
-
rubygems_version: 3.
|
373
|
+
rubygems_version: 3.3.7
|
374
374
|
signing_key:
|
375
375
|
specification_version: 4
|
376
376
|
summary: FreeClimb API Ruby Gem
|