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
|
|
@@ -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
|
|
@@ -63,6 +63,7 @@ module Freeclimb
|
|
63
63
|
|
64
64
|
# call parent's initialize
|
65
65
|
super(attributes)
|
66
|
+
self.command = "StartRecordCall"
|
66
67
|
end
|
67
68
|
|
68
69
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -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
|
|
@@ -73,6 +73,7 @@ module Freeclimb
|
|
73
73
|
if attributes.key?(:'conference_id')
|
74
74
|
self.conference_id = attributes[:'conference_id']
|
75
75
|
end
|
76
|
+
self.command = "TerminateConference"
|
76
77
|
end
|
77
78
|
|
78
79
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -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/lib/freeclimb/version.rb
CHANGED
@@ -4,12 +4,12 @@
|
|
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
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module Freeclimb
|
14
|
-
VERSION = '
|
14
|
+
VERSION = '4.0.0'
|
15
15
|
end
|
data/lib/freeclimb.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
|
|
@@ -139,32 +139,5 @@ module Freeclimb
|
|
139
139
|
Configuration.default
|
140
140
|
end
|
141
141
|
end
|
142
|
-
|
143
|
-
def percl_list_to_hash(percl_list)
|
144
|
-
percl_list_hash = []
|
145
|
-
percl_list.each_with_index do | command, index |
|
146
|
-
class_name = command.class.name.split('::').last
|
147
|
-
percl_hash = Hash.new
|
148
|
-
if command.respond_to?(:prompts) && command.prompts != nil && command.prompts.any?
|
149
|
-
percl_hash[class_name] = to_hash_with_prompts(command)
|
150
|
-
else
|
151
|
-
percl_hash[class_name] = command.to_hash
|
152
|
-
end
|
153
|
-
percl_list_hash.push(percl_hash)
|
154
|
-
end
|
155
|
-
percl_list_hash
|
156
|
-
end
|
157
|
-
|
158
|
-
def to_hash_with_prompts(command)
|
159
|
-
prompts_hash = percl_list_to_hash(command.prompts)
|
160
|
-
command.prompts = nil
|
161
|
-
hash = command.to_hash
|
162
|
-
hash[:prompts] = prompts_hash
|
163
|
-
hash
|
164
|
-
end
|
165
|
-
|
166
|
-
def percl_to_json(percl_script)
|
167
|
-
percl_list_to_hash(percl_script.commands).to_json
|
168
|
-
end
|
169
142
|
end
|
170
143
|
end
|