freeclimb 4.6.1 → 4.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/Gemfile.lock +2 -2
- data/LICENSE.txt +1 -1
- data/README.md +5 -5
- data/docs/DefaultApi.md +134 -113
- data/docs/SMSTenDLCCampaign.md +1 -1
- data/lib/freeclimb/api/default_api.rb +58 -2
- data/lib/freeclimb/models/add_to_conference.rb +1 -1
- data/lib/freeclimb/version.rb +1 -1
- data/openapi.json +168 -2
- data/spec/api/default_api_spec.rb +505 -1
- metadata +83 -83
data/docs/SMSTenDLCCampaign.md
CHANGED
@@ -2919,7 +2919,6 @@ module Freeclimb
|
|
2919
2919
|
return data, status_code, headers
|
2920
2920
|
end
|
2921
2921
|
|
2922
|
-
# Make a JWT for WebRTC calling
|
2923
2922
|
# Make a JWT for WebRTC calling
|
2924
2923
|
# @param create_web_rtc_token [CreateWebRTCToken] Information needed to craft a JWT compatible with the platforms WebRTC APIs
|
2925
2924
|
# @param [Hash] opts the optional parameters
|
@@ -2929,7 +2928,6 @@ module Freeclimb
|
|
2929
2928
|
data
|
2930
2929
|
end
|
2931
2930
|
|
2932
|
-
# Make a JWT for WebRTC calling
|
2933
2931
|
# Make a JWT for WebRTC calling
|
2934
2932
|
# @param create_web_rtc_token [CreateWebRTCToken] Information needed to craft a JWT compatible with the platforms WebRTC APIs
|
2935
2933
|
# @param [Hash] opts the optional parameters
|
@@ -3665,5 +3663,63 @@ module Freeclimb
|
|
3665
3663
|
end
|
3666
3664
|
return data, status_code, headers
|
3667
3665
|
end
|
3666
|
+
def get_next_page_with_http_info(response, opts = {})
|
3667
|
+
if @api_client.config.debugging
|
3668
|
+
@api_client.config.logger.debug 'Calling API: DefaultApi.get_next_page ...'
|
3669
|
+
end
|
3670
|
+
|
3671
|
+
# verify the required parameter 'phone_number_id' is set
|
3672
|
+
if @api_client.config.client_side_validation && response.nil?
|
3673
|
+
fail ArgumentError, "Missing the required parameter 'response' when calling DefaultApi.get_next_page"
|
3674
|
+
end
|
3675
|
+
# resource path
|
3676
|
+
local_var_path = response.next_page_uri
|
3677
|
+
|
3678
|
+
# query parameters
|
3679
|
+
query_params = opts[:query_params] || {}
|
3680
|
+
|
3681
|
+
# header parameters
|
3682
|
+
header_params = opts[:header_params] || {}
|
3683
|
+
# HTTP header 'Accept' (if needed)
|
3684
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3685
|
+
# HTTP header 'Content-Type'
|
3686
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
3687
|
+
if !content_type.nil?
|
3688
|
+
header_params['Content-Type'] = content_type
|
3689
|
+
end
|
3690
|
+
|
3691
|
+
# form parameters
|
3692
|
+
form_params = opts[:form_params] || {}
|
3693
|
+
|
3694
|
+
# http body (model)
|
3695
|
+
post_body = opts[:debug_body] || {}
|
3696
|
+
|
3697
|
+
# return_type
|
3698
|
+
return_type = opts[:debug_return_type] || response.class.name
|
3699
|
+
|
3700
|
+
# auth_names
|
3701
|
+
auth_names = opts[:debug_auth_names] || ['fc']
|
3702
|
+
|
3703
|
+
new_options = opts.merge(
|
3704
|
+
:operation => :"DefaultApi.get_next_page",
|
3705
|
+
:header_params => header_params,
|
3706
|
+
:query_params => query_params,
|
3707
|
+
:form_params => form_params,
|
3708
|
+
:body => post_body,
|
3709
|
+
:auth_names => auth_names,
|
3710
|
+
:return_type => return_type
|
3711
|
+
)
|
3712
|
+
|
3713
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
3714
|
+
if @api_client.config.debugging
|
3715
|
+
@api_client.config.logger.debug "API called: DefaultApi#get_next_page\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3716
|
+
end
|
3717
|
+
return data, status_code, headers
|
3718
|
+
end
|
3719
|
+
|
3720
|
+
def get_next_page(response, opts = {})
|
3721
|
+
data, _status_code, _headers = get_next_page_with_http_info(response, opts)
|
3722
|
+
data
|
3723
|
+
end
|
3668
3724
|
end
|
3669
3725
|
end
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module Freeclimb
|
17
|
-
# The `AddToConference` command adds a Participant to a Conference.
|
17
|
+
# The `AddToConference` command adds a Participant to a Conference. Two Call legs can be bridged together by creating a Conference and adding both Call legs to it via `AddToConference`.
|
18
18
|
class AddToConference < PerclCommand
|
19
19
|
# If `true`, Call control will be enabled for this Participant's Call leg.
|
20
20
|
attr_accessor :allow_call_control
|
data/lib/freeclimb/version.rb
CHANGED