freeclimb 4.6.2 → 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 +8 -0
- data/Gemfile.lock +1 -1
- data/LICENSE.txt +1 -1
- data/README.md +5 -5
- data/docs/DefaultApi.md +134 -111
- data/docs/SMSTenDLCCampaign.md +1 -1
- data/lib/freeclimb/api/default_api.rb +58 -0
- data/lib/freeclimb/models/add_to_conference.rb +1 -1
- data/lib/freeclimb/version.rb +1 -1
- data/openapi.json +34 -1
- data/spec/api/default_api_spec.rb +505 -0
- metadata +81 -81
data/docs/SMSTenDLCCampaign.md
CHANGED
@@ -3663,5 +3663,63 @@ module Freeclimb
|
|
3663
3663
|
end
|
3664
3664
|
return data, status_code, headers
|
3665
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
|
3666
3724
|
end
|
3667
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
data/openapi.json
CHANGED
@@ -480,7 +480,7 @@
|
|
480
480
|
}
|
481
481
|
},
|
482
482
|
"AddToConference": {
|
483
|
-
"description": "The `AddToConference` command adds a Participant to a Conference.
|
483
|
+
"description": "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`.",
|
484
484
|
"x-percl-command": true,
|
485
485
|
"x-ref-properties": [
|
486
486
|
"false",
|
@@ -1553,6 +1553,7 @@
|
|
1553
1553
|
}
|
1554
1554
|
},
|
1555
1555
|
"ApplicationList": {
|
1556
|
+
"x-implements": "Pagination",
|
1556
1557
|
"allOf": [
|
1557
1558
|
{
|
1558
1559
|
"$ref": "#/components/schemas/PaginationModel"
|
@@ -1613,6 +1614,7 @@
|
|
1613
1614
|
}
|
1614
1615
|
},
|
1615
1616
|
"AvailableNumberList": {
|
1617
|
+
"x-implements": "Pagination",
|
1616
1618
|
"allOf": [
|
1617
1619
|
{
|
1618
1620
|
"$ref": "#/components/schemas/PaginationModel"
|
@@ -1727,6 +1729,7 @@
|
|
1727
1729
|
}
|
1728
1730
|
},
|
1729
1731
|
"IncomingNumberList": {
|
1732
|
+
"x-implements": "Pagination",
|
1730
1733
|
"allOf": [
|
1731
1734
|
{
|
1732
1735
|
"$ref": "#/components/schemas/PaginationModel"
|
@@ -1905,6 +1908,7 @@
|
|
1905
1908
|
}
|
1906
1909
|
},
|
1907
1910
|
"CallList": {
|
1911
|
+
"x-implements": "Pagination",
|
1908
1912
|
"allOf": [
|
1909
1913
|
{
|
1910
1914
|
"$ref": "#/components/schemas/PaginationModel"
|
@@ -1962,6 +1966,7 @@
|
|
1962
1966
|
]
|
1963
1967
|
},
|
1964
1968
|
"RecordingList": {
|
1969
|
+
"x-implements": "Pagination",
|
1965
1970
|
"allOf": [
|
1966
1971
|
{
|
1967
1972
|
"$ref": "#/components/schemas/PaginationModel"
|
@@ -2020,6 +2025,7 @@
|
|
2020
2025
|
}
|
2021
2026
|
},
|
2022
2027
|
"LogList": {
|
2028
|
+
"x-implements": "Pagination",
|
2023
2029
|
"allOf": [
|
2024
2030
|
{
|
2025
2031
|
"$ref": "#/components/schemas/PaginationModel"
|
@@ -2099,6 +2105,7 @@
|
|
2099
2105
|
]
|
2100
2106
|
},
|
2101
2107
|
"MessagesList": {
|
2108
|
+
"x-implements": "Pagination",
|
2102
2109
|
"allOf": [
|
2103
2110
|
{
|
2104
2111
|
"$ref": "#/components/schemas/PaginationModel"
|
@@ -2159,6 +2166,7 @@
|
|
2159
2166
|
]
|
2160
2167
|
},
|
2161
2168
|
"ConferenceList": {
|
2169
|
+
"x-implements": "Pagination",
|
2162
2170
|
"allOf": [
|
2163
2171
|
{
|
2164
2172
|
"$ref": "#/components/schemas/PaginationModel"
|
@@ -2348,6 +2356,7 @@
|
|
2348
2356
|
}
|
2349
2357
|
},
|
2350
2358
|
"ConferenceParticipantList": {
|
2359
|
+
"x-implements": "Pagination",
|
2351
2360
|
"allOf": [
|
2352
2361
|
{
|
2353
2362
|
"$ref": "#/components/schemas/PaginationModel"
|
@@ -2430,6 +2439,7 @@
|
|
2430
2439
|
}
|
2431
2440
|
},
|
2432
2441
|
"QueueList": {
|
2442
|
+
"x-implements": "Pagination",
|
2433
2443
|
"allOf": [
|
2434
2444
|
{
|
2435
2445
|
"$ref": "#/components/schemas/PaginationModel"
|
@@ -2480,6 +2490,7 @@
|
|
2480
2490
|
}
|
2481
2491
|
},
|
2482
2492
|
"QueueMemberList": {
|
2493
|
+
"x-implements": "Pagination",
|
2483
2494
|
"allOf": [
|
2484
2495
|
{
|
2485
2496
|
"$ref": "#/components/schemas/PaginationModel"
|
@@ -2510,6 +2521,7 @@
|
|
2510
2521
|
}
|
2511
2522
|
},
|
2512
2523
|
"SMSTenDLCCampaignsListResult": {
|
2524
|
+
"x-implements": "Pagination",
|
2513
2525
|
"allOf": [
|
2514
2526
|
{
|
2515
2527
|
"$ref": "#/components/schemas/PaginationModel"
|
@@ -2772,6 +2784,7 @@
|
|
2772
2784
|
}
|
2773
2785
|
},
|
2774
2786
|
"SMSTenDLCPartnerCampaignsListResult": {
|
2787
|
+
"x-implements": "Pagination",
|
2775
2788
|
"allOf": [
|
2776
2789
|
{
|
2777
2790
|
"$ref": "#/components/schemas/PaginationModel"
|
@@ -3075,6 +3088,7 @@
|
|
3075
3088
|
}
|
3076
3089
|
},
|
3077
3090
|
"SMSTenDLCBrandsListResult": {
|
3091
|
+
"x-implements": "Pagination",
|
3078
3092
|
"allOf": [
|
3079
3093
|
{
|
3080
3094
|
"$ref": "#/components/schemas/PaginationModel"
|
@@ -3430,6 +3444,7 @@
|
|
3430
3444
|
}
|
3431
3445
|
},
|
3432
3446
|
"SMSTollFreeCampaignsListResult": {
|
3447
|
+
"x-implements": "Pagination",
|
3433
3448
|
"allOf": [
|
3434
3449
|
{
|
3435
3450
|
"$ref": "#/components/schemas/PaginationModel"
|
@@ -3783,6 +3798,7 @@
|
|
3783
3798
|
"tags": [],
|
3784
3799
|
"summary": "List applications",
|
3785
3800
|
"operationId": "list-applications",
|
3801
|
+
"x-is-paginated": true,
|
3786
3802
|
"parameters": [
|
3787
3803
|
{
|
3788
3804
|
"name": "alias",
|
@@ -3850,6 +3866,7 @@
|
|
3850
3866
|
"tags": [],
|
3851
3867
|
"summary": "List available numbers",
|
3852
3868
|
"operationId": "list-available-numbers",
|
3869
|
+
"x-is-paginated": true,
|
3853
3870
|
"parameters": [
|
3854
3871
|
{
|
3855
3872
|
"name": "phoneNumber",
|
@@ -4035,6 +4052,7 @@
|
|
4035
4052
|
"tags": [],
|
4036
4053
|
"summary": "List Incoming Numbers",
|
4037
4054
|
"operationId": "list-incoming-numbers",
|
4055
|
+
"x-is-paginated": true,
|
4038
4056
|
"parameters": [
|
4039
4057
|
{
|
4040
4058
|
"$ref": "#/components/parameters/AccountId"
|
@@ -4316,6 +4334,7 @@
|
|
4316
4334
|
"tags": [],
|
4317
4335
|
"summary": "List Calls",
|
4318
4336
|
"operationId": "list-calls",
|
4337
|
+
"x-is-paginated": true,
|
4319
4338
|
"parameters": [
|
4320
4339
|
{
|
4321
4340
|
"name": "active",
|
@@ -4420,6 +4439,7 @@
|
|
4420
4439
|
"tags": [],
|
4421
4440
|
"summary": "List Call Recordings",
|
4422
4441
|
"operationId": "list-call-recordings",
|
4442
|
+
"x-is-paginated": true,
|
4423
4443
|
"parameters": [
|
4424
4444
|
{
|
4425
4445
|
"name": "dateCreated",
|
@@ -4463,6 +4483,7 @@
|
|
4463
4483
|
"tags": [],
|
4464
4484
|
"summary": "List Call Logs",
|
4465
4485
|
"operationId": "list-call-logs",
|
4486
|
+
"x-is-paginated": true,
|
4466
4487
|
"parameters": [
|
4467
4488
|
{
|
4468
4489
|
"$ref": "#/components/parameters/AccountId"
|
@@ -4566,6 +4587,7 @@
|
|
4566
4587
|
"tags": [],
|
4567
4588
|
"summary": "List Conferences",
|
4568
4589
|
"operationId": "list-conferences",
|
4590
|
+
"x-is-paginated": true,
|
4569
4591
|
"parameters": [
|
4570
4592
|
{
|
4571
4593
|
"name": "status",
|
@@ -4824,6 +4846,7 @@
|
|
4824
4846
|
"tags": [],
|
4825
4847
|
"summary": "List Participants",
|
4826
4848
|
"operationId": "list-participants",
|
4849
|
+
"x-is-paginated": true,
|
4827
4850
|
"parameters": [
|
4828
4851
|
{
|
4829
4852
|
"name": "talk",
|
@@ -4876,6 +4899,7 @@
|
|
4876
4899
|
"tags": [],
|
4877
4900
|
"summary": "List Conference Recordings",
|
4878
4901
|
"operationId": "list-conference-recordings",
|
4902
|
+
"x-is-paginated": true,
|
4879
4903
|
"parameters": [
|
4880
4904
|
{
|
4881
4905
|
"name": "callId",
|
@@ -5004,6 +5028,7 @@
|
|
5004
5028
|
"tags": [],
|
5005
5029
|
"summary": "List Active Queues",
|
5006
5030
|
"operationId": "list-active-queues",
|
5031
|
+
"x-is-paginated": true,
|
5007
5032
|
"parameters": [
|
5008
5033
|
{
|
5009
5034
|
"name": "alias",
|
@@ -5137,6 +5162,7 @@
|
|
5137
5162
|
"tags": [],
|
5138
5163
|
"summary": "List Members",
|
5139
5164
|
"operationId": "list-members",
|
5165
|
+
"x-is-paginated": true,
|
5140
5166
|
"parameters": [
|
5141
5167
|
{
|
5142
5168
|
"$ref": "#/components/parameters/AccountId"
|
@@ -5255,6 +5281,7 @@
|
|
5255
5281
|
"tags": [],
|
5256
5282
|
"summary": "List All Account Logs",
|
5257
5283
|
"operationId": "list-all-account-logs",
|
5284
|
+
"x-is-paginated": true,
|
5258
5285
|
"parameters": [
|
5259
5286
|
{
|
5260
5287
|
"$ref": "#/components/parameters/AccountId"
|
@@ -5314,6 +5341,7 @@
|
|
5314
5341
|
"tags": [],
|
5315
5342
|
"summary": "List Recordings",
|
5316
5343
|
"operationId": "list-recordings",
|
5344
|
+
"x-is-paginated": true,
|
5317
5345
|
"parameters": [
|
5318
5346
|
{
|
5319
5347
|
"name": "callId",
|
@@ -5495,6 +5523,7 @@
|
|
5495
5523
|
"tags": [],
|
5496
5524
|
"summary": "List SMS Messages",
|
5497
5525
|
"operationId": "list-sms-messages",
|
5526
|
+
"x-is-paginated": true,
|
5498
5527
|
"parameters": [
|
5499
5528
|
{
|
5500
5529
|
"$ref": "#/components/parameters/AccountId"
|
@@ -5660,6 +5689,7 @@
|
|
5660
5689
|
"tags": [],
|
5661
5690
|
"summary": "Get list of SMS 10DLC Campaigns",
|
5662
5691
|
"operationId": "get-tenDLC-sms-Campaigns",
|
5692
|
+
"x-is-paginated": true,
|
5663
5693
|
"parameters": [
|
5664
5694
|
{
|
5665
5695
|
"$ref": "#/components/parameters/AccountId"
|
@@ -5772,6 +5802,7 @@
|
|
5772
5802
|
"tags": [],
|
5773
5803
|
"summary": "Get list of SMS 10DLC Partner Campaigns",
|
5774
5804
|
"operationId": "get-tenDLC-sms-partnerCampaigns",
|
5805
|
+
"x-is-paginated": true,
|
5775
5806
|
"parameters": [
|
5776
5807
|
{
|
5777
5808
|
"$ref": "#/components/parameters/AccountId"
|
@@ -5893,6 +5924,7 @@
|
|
5893
5924
|
"tags": [],
|
5894
5925
|
"summary": "Get list of SMS 10DLC Brands",
|
5895
5926
|
"operationId": "get-tenDLC-sms-brands",
|
5927
|
+
"x-is-paginated": true,
|
5896
5928
|
"parameters": [
|
5897
5929
|
{
|
5898
5930
|
"$ref": "#/components/parameters/AccountId"
|
@@ -5994,6 +6026,7 @@
|
|
5994
6026
|
"tags": [],
|
5995
6027
|
"summary": "Get list of TollFree Campaigns",
|
5996
6028
|
"operationId": "get-tollFree-sms-campaigns",
|
6029
|
+
"x-is-paginated": true,
|
5997
6030
|
"parameters": [
|
5998
6031
|
{
|
5999
6032
|
"$ref": "#/components/parameters/AccountId"
|