freeclimb 1.0.1 → 2.0.3
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 +80 -0
- data/Gemfile.lock +1 -1
- data/README.md +67 -42
- data/docs/AccountRequest.md +3 -5
- data/docs/AccountResult.md +12 -12
- data/docs/AccountResultAllOf.md +8 -8
- data/docs/AddToConference.md +35 -0
- data/docs/AddToConferenceAllOf.md +35 -0
- data/docs/ApplicationList.md +9 -9
- data/docs/ApplicationListAllOf.md +2 -2
- data/docs/ApplicationRequest.md +8 -10
- data/docs/ApplicationResult.md +14 -14
- data/docs/ApplicationResultAllOf.md +10 -10
- data/docs/AvailableNumber.md +7 -7
- data/docs/AvailableNumberList.md +9 -9
- data/docs/AvailableNumberListAllOf.md +2 -2
- data/docs/BuyIncomingNumberRequest.md +4 -6
- data/docs/CallList.md +9 -9
- data/docs/CallListAllOf.md +2 -2
- data/docs/CallResult.md +20 -20
- data/docs/CallResultAllOf.md +16 -16
- data/docs/ConferenceList.md +9 -9
- data/docs/ConferenceListAllOf.md +2 -2
- data/docs/ConferenceParticipantList.md +9 -9
- data/docs/ConferenceParticipantListAllOf.md +2 -2
- data/docs/ConferenceParticipantResult.md +11 -11
- data/docs/ConferenceParticipantResultAllOf.md +7 -7
- data/docs/ConferenceResult.md +15 -15
- data/docs/ConferenceResultAllOf.md +11 -11
- data/docs/CreateConference.md +27 -0
- data/docs/CreateConferenceAllOf.md +27 -0
- data/docs/CreateConferenceRequest.md +6 -8
- data/docs/DefaultApi.md +22 -38
- data/docs/Dequeue.md +16 -0
- data/docs/Enqueue.md +23 -0
- data/docs/EnqueueAllOf.md +23 -0
- data/docs/FilterLogsRequest.md +2 -4
- data/docs/GetDigits.md +33 -0
- data/docs/GetDigitsAllOf.md +33 -0
- data/docs/GetSpeech.md +41 -0
- data/docs/GetSpeechAllOf.md +41 -0
- data/docs/IncomingNumberList.md +9 -9
- data/docs/IncomingNumberListAllOf.md +2 -2
- data/docs/IncomingNumberRequest.md +3 -5
- data/docs/IncomingNumberResult.md +14 -14
- data/docs/IncomingNumberResultAllOf.md +10 -10
- data/docs/LogList.md +9 -9
- data/docs/LogListAllOf.md +2 -2
- data/docs/LogResult.md +8 -8
- data/docs/MakeCallRequest.md +11 -11
- data/docs/MessageRequest.md +10 -12
- data/docs/MessageRequestAllOf.md +6 -8
- data/docs/MessageResult.md +14 -14
- data/docs/MessageResultAllOf.md +10 -10
- data/docs/MessagesList.md +9 -9
- data/docs/MessagesListAllOf.md +2 -2
- data/docs/MutableResourceModel.md +5 -5
- data/docs/OutDial.md +35 -0
- data/docs/OutDialAllOf.md +35 -0
- data/docs/PaginationModel.md +8 -8
- data/docs/Pause.md +17 -0
- data/docs/PauseAllOf.md +17 -0
- data/docs/PerclCommand.md +17 -0
- data/docs/PerclScript.md +17 -0
- data/docs/Play.md +23 -0
- data/docs/PlayAllOf.md +23 -0
- data/docs/PlayEarlyMedia.md +17 -0
- data/docs/PlayEarlyMediaAllOf.md +17 -0
- data/docs/QueueList.md +9 -9
- data/docs/QueueListAllOf.md +2 -2
- data/docs/QueueMember.md +6 -6
- data/docs/QueueMemberList.md +9 -9
- data/docs/QueueMemberListAllOf.md +2 -2
- data/docs/QueueRequest.md +3 -5
- data/docs/QueueResult.md +12 -12
- data/docs/QueueResultAllOf.md +8 -8
- data/docs/RecordUtterance.md +27 -0
- data/docs/RecordUtteranceAllOf.md +27 -0
- data/docs/RecordingList.md +9 -9
- data/docs/RecordingListAllOf.md +2 -2
- data/docs/RecordingResult.md +10 -10
- data/docs/RecordingResultAllOf.md +6 -6
- data/docs/Redirect.md +17 -0
- data/docs/RedirectAllOf.md +17 -0
- data/docs/RemoveFromConference.md +17 -0
- data/docs/RemoveFromConferenceAllOf.md +17 -0
- data/docs/Say.md +25 -0
- data/docs/SayAllOf.md +25 -0
- data/docs/SendDigits.md +21 -0
- data/docs/SendDigitsAllOf.md +21 -0
- data/docs/SetListen.md +19 -0
- data/docs/SetListenAllOf.md +19 -0
- data/docs/SetTalk.md +19 -0
- data/docs/SetTalkAllOf.md +19 -0
- data/docs/Sms.md +23 -0
- data/docs/SmsAllOf.md +23 -0
- data/docs/StartRecordCall.md +16 -0
- data/docs/TerminateConference.md +17 -0
- data/docs/TerminateConferenceAllOf.md +17 -0
- data/docs/UpdateCallRequest.md +2 -4
- data/docs/UpdateConferenceParticipantRequest.md +3 -5
- data/docs/UpdateConferenceRequest.md +4 -6
- data/freeclimb-2.1.0.gem +0 -0
- data/lib/freeclimb.rb +69 -2
- data/lib/freeclimb/api/default_api.rb +42 -34
- data/lib/freeclimb/api_client.rb +1 -1
- data/lib/freeclimb/models/account_request.rb +4 -14
- data/lib/freeclimb/models/add_to_conference.rb +320 -0
- data/lib/freeclimb/models/add_to_conference_all_of.rb +307 -0
- data/lib/freeclimb/models/application_request.rb +4 -14
- data/lib/freeclimb/models/buy_incoming_number_request.rb +4 -14
- data/lib/freeclimb/models/create_conference.rb +275 -0
- data/lib/freeclimb/models/create_conference_all_of.rb +262 -0
- data/lib/freeclimb/models/create_conference_request.rb +4 -14
- data/lib/freeclimb/models/dequeue.rb +209 -0
- data/lib/freeclimb/models/enqueue.rb +265 -0
- data/lib/freeclimb/models/enqueue_all_of.rb +252 -0
- data/lib/freeclimb/models/filter_logs_request.rb +4 -14
- data/lib/freeclimb/models/get_digits.rb +307 -0
- data/lib/freeclimb/models/get_digits_all_of.rb +294 -0
- data/lib/freeclimb/models/get_speech.rb +352 -0
- data/lib/freeclimb/models/get_speech_all_of.rb +339 -0
- data/lib/freeclimb/models/incoming_number_request.rb +4 -14
- data/lib/freeclimb/models/make_call_request.rb +14 -14
- data/lib/freeclimb/models/message_request.rb +1 -11
- data/lib/freeclimb/models/message_request_all_of.rb +1 -11
- data/lib/freeclimb/models/message_result.rb +3 -3
- data/lib/freeclimb/models/message_result_all_of.rb +3 -3
- data/lib/freeclimb/models/out_dial.rb +330 -0
- data/lib/freeclimb/models/out_dial_all_of.rb +317 -0
- data/lib/freeclimb/models/pause.rb +225 -0
- data/lib/freeclimb/models/{dequeue_member_request.rb → pause_all_of.rb} +16 -11
- data/lib/freeclimb/models/percl_command.rb +211 -0
- data/lib/freeclimb/models/percl_script.rb +210 -0
- data/lib/freeclimb/models/play.rb +255 -0
- data/lib/freeclimb/models/play_all_of.rb +242 -0
- data/lib/freeclimb/models/play_early_media.rb +225 -0
- data/lib/freeclimb/models/play_early_media_all_of.rb +212 -0
- data/lib/freeclimb/models/queue_request.rb +4 -14
- data/lib/freeclimb/models/record_utterance.rb +275 -0
- data/lib/freeclimb/models/record_utterance_all_of.rb +262 -0
- data/lib/freeclimb/models/redirect.rb +220 -0
- data/lib/freeclimb/models/redirect_all_of.rb +207 -0
- data/lib/freeclimb/models/remove_from_conference.rb +225 -0
- data/lib/freeclimb/models/remove_from_conference_all_of.rb +212 -0
- data/lib/freeclimb/models/say.rb +265 -0
- data/lib/freeclimb/models/say_all_of.rb +252 -0
- data/lib/freeclimb/models/send_digits.rb +245 -0
- data/lib/freeclimb/models/send_digits_all_of.rb +232 -0
- data/lib/freeclimb/models/set_listen.rb +235 -0
- data/lib/freeclimb/models/set_listen_all_of.rb +222 -0
- data/lib/freeclimb/models/set_talk.rb +235 -0
- data/lib/freeclimb/models/set_talk_all_of.rb +222 -0
- data/lib/freeclimb/models/sms.rb +265 -0
- data/lib/freeclimb/models/sms_all_of.rb +252 -0
- data/lib/freeclimb/models/start_record_call.rb +209 -0
- data/lib/freeclimb/models/terminate_conference.rb +225 -0
- data/lib/freeclimb/models/terminate_conference_all_of.rb +212 -0
- data/lib/freeclimb/models/update_call_request.rb +4 -14
- data/lib/freeclimb/models/update_conference_participant_request.rb +4 -14
- data/lib/freeclimb/models/update_conference_request.rb +4 -14
- data/lib/freeclimb/version.rb +1 -1
- data/spec/api/default_api_spec.rb +9 -24
- data/spec/models/add_to_conference_spec.rb +95 -0
- data/spec/models/create_conference_spec.rb +71 -0
- data/spec/models/{dequeue_member_request_spec.rb → dequeue_spec.rb} +8 -7
- data/spec/models/enqueue_spec.rb +59 -0
- data/spec/models/get_digits_spec.rb +83 -0
- data/spec/models/get_speech_spec.rb +113 -0
- data/spec/models/out_dial_spec.rb +89 -0
- data/spec/models/pause_spec.rb +41 -0
- data/spec/models/percl_command_spec.rb +41 -0
- data/spec/models/percl_script_spec.rb +41 -0
- data/spec/models/play_early_media_spec.rb +41 -0
- data/spec/models/play_spec.rb +53 -0
- data/spec/models/record_utterance_spec.rb +71 -0
- data/spec/models/redirect_spec.rb +41 -0
- data/spec/models/remove_from_conference_spec.rb +41 -0
- data/spec/models/say_spec.rb +65 -0
- data/spec/models/send_digits_spec.rb +47 -0
- data/spec/models/set_listen_spec.rb +47 -0
- data/spec/models/set_talk_spec.rb +47 -0
- data/spec/models/sms_spec.rb +59 -0
- data/spec/models/start_record_call_spec.rb +35 -0
- data/spec/models/terminate_conference_spec.rb +41 -0
- metadata +128 -34
- data/docs/DequeueMemberRequest.md +0 -17
- data/docs/Percl.md +0 -697
- data/lib/percl/calls.rb +0 -43
- data/lib/percl/conference_participants.rb +0 -40
- data/lib/percl/conferences.rb +0 -21
- data/lib/percl/ivr.rb +0 -63
- data/lib/percl/jsonable.rb +0 -23
- data/lib/percl/percl.rb +0 -29
- data/lib/percl/queue_members.rb +0 -15
- data/lib/percl/recordings.rb +0 -15
- data/lib/percl/sms.rb +0 -11
- data/spec/percl/calls_spec.rb +0 -111
- data/spec/percl/conference_participant_spec.rb +0 -96
- data/spec/percl/conference_spec.rb +0 -46
- data/spec/percl/ivr_spec.rb +0 -155
- data/spec/percl/jsonable_spec.rb +0 -28
- data/spec/percl/percl_spec.rb +0 -31
- data/spec/percl/queue_members_spec.rb +0 -35
- data/spec/percl/recordings_spec.rb +0 -32
- data/spec/percl/sms_spec.rb +0 -29
@@ -20,15 +20,11 @@ module Freeclimb
|
|
20
20
|
# (Optional) Default is `true`. Setting to `false` silences the Conference for this Participant. FreeClimb returns an error and ignores any other value.
|
21
21
|
attr_accessor :listen
|
22
22
|
|
23
|
-
# ID of this request starting with prefix *RQ* followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request include this requestId. If this value is not provided, FreeClimb generates a requestId and returns it as a header in the response (e.g., X-Pulse-Request-Id: <requestId>).
|
24
|
-
attr_accessor :request_id
|
25
|
-
|
26
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
27
24
|
def self.attribute_map
|
28
25
|
{
|
29
26
|
:'talk' => :'talk',
|
30
|
-
:'listen' => :'listen'
|
31
|
-
:'request_id' => :'requestId'
|
27
|
+
:'listen' => :'listen'
|
32
28
|
}
|
33
29
|
end
|
34
30
|
|
@@ -36,8 +32,7 @@ module Freeclimb
|
|
36
32
|
def self.openapi_types
|
37
33
|
{
|
38
34
|
:'talk' => :'Boolean',
|
39
|
-
:'listen' => :'Boolean'
|
40
|
-
:'request_id' => :'String'
|
35
|
+
:'listen' => :'Boolean'
|
41
36
|
}
|
42
37
|
end
|
43
38
|
|
@@ -69,10 +64,6 @@ module Freeclimb
|
|
69
64
|
if attributes.key?(:'listen')
|
70
65
|
self.listen = attributes[:'listen']
|
71
66
|
end
|
72
|
-
|
73
|
-
if attributes.key?(:'request_id')
|
74
|
-
self.request_id = attributes[:'request_id']
|
75
|
-
end
|
76
67
|
end
|
77
68
|
|
78
69
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -94,8 +85,7 @@ module Freeclimb
|
|
94
85
|
return true if self.equal?(o)
|
95
86
|
self.class == o.class &&
|
96
87
|
talk == o.talk &&
|
97
|
-
listen == o.listen
|
98
|
-
request_id == o.request_id
|
88
|
+
listen == o.listen
|
99
89
|
end
|
100
90
|
|
101
91
|
# @see the `==` method
|
@@ -107,7 +97,7 @@ module Freeclimb
|
|
107
97
|
# Calculates hash code according to all attributes.
|
108
98
|
# @return [Integer] Hash code
|
109
99
|
def hash
|
110
|
-
[talk, listen
|
100
|
+
[talk, listen].hash
|
111
101
|
end
|
112
102
|
|
113
103
|
# Builds the object from hash
|
@@ -23,9 +23,6 @@ module Freeclimb
|
|
23
23
|
# New status of the conference. Valid values: `empty` or `terminated`. For more information, see **Status Parameter** below.**
|
24
24
|
attr_accessor :status
|
25
25
|
|
26
|
-
# ID for this request starting with prefix *RQ* followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response (e.g. X-Pulse-Request-Id: <requestId>).
|
27
|
-
attr_accessor :request_id
|
28
|
-
|
29
26
|
class EnumAttributeValidator
|
30
27
|
attr_reader :datatype
|
31
28
|
attr_reader :allowable_values
|
@@ -53,8 +50,7 @@ module Freeclimb
|
|
53
50
|
{
|
54
51
|
:'_alias' => :'alias',
|
55
52
|
:'play_beep' => :'playBeep',
|
56
|
-
:'status' => :'status'
|
57
|
-
:'request_id' => :'requestId'
|
53
|
+
:'status' => :'status'
|
58
54
|
}
|
59
55
|
end
|
60
56
|
|
@@ -63,8 +59,7 @@ module Freeclimb
|
|
63
59
|
{
|
64
60
|
:'_alias' => :'String',
|
65
61
|
:'play_beep' => :'String',
|
66
|
-
:'status' => :'String'
|
67
|
-
:'request_id' => :'String'
|
62
|
+
:'status' => :'String'
|
68
63
|
}
|
69
64
|
end
|
70
65
|
|
@@ -102,10 +97,6 @@ module Freeclimb
|
|
102
97
|
if attributes.key?(:'status')
|
103
98
|
self.status = attributes[:'status']
|
104
99
|
end
|
105
|
-
|
106
|
-
if attributes.key?(:'request_id')
|
107
|
-
self.request_id = attributes[:'request_id']
|
108
|
-
end
|
109
100
|
end
|
110
101
|
|
111
102
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -140,8 +131,7 @@ module Freeclimb
|
|
140
131
|
self.class == o.class &&
|
141
132
|
_alias == o._alias &&
|
142
133
|
play_beep == o.play_beep &&
|
143
|
-
status == o.status
|
144
|
-
request_id == o.request_id
|
134
|
+
status == o.status
|
145
135
|
end
|
146
136
|
|
147
137
|
# @see the `==` method
|
@@ -153,7 +143,7 @@ module Freeclimb
|
|
153
143
|
# Calculates hash code according to all attributes.
|
154
144
|
# @return [Integer] Hash code
|
155
145
|
def hash
|
156
|
-
[_alias, play_beep, status
|
146
|
+
[_alias, play_beep, status].hash
|
157
147
|
end
|
158
148
|
|
159
149
|
# Builds the object from hash
|
data/lib/freeclimb/version.rb
CHANGED
@@ -52,11 +52,9 @@ describe 'DefaultApi' do
|
|
52
52
|
before do
|
53
53
|
uri_template = Addressable::Template.new "#{API_SERVER}/Accounts/{accountId}/IncomingPhoneNumbers"
|
54
54
|
@stub = stub_request(:post, uri_template).to_return(:body => ResponseMocks::INCOMING_PHONE_NUMBER, :status => 200, :headers => {})
|
55
|
-
|
56
|
-
buy_incoming_number_request: Freeclimb::BuyIncomingNumberRequest.new # BuyIncomingNumberRequest | Incoming Number transaction details
|
57
|
-
}
|
55
|
+
buy_incoming_number_request = Freeclimb::BuyIncomingNumberRequest.new # BuyIncomingNumberRequest | Incoming Number transaction details
|
58
56
|
#Buy a Phone Number
|
59
|
-
@result = @api_instance.buy_a_phone_number(
|
57
|
+
@result = @api_instance.buy_a_phone_number(buy_incoming_number_request)
|
60
58
|
end
|
61
59
|
|
62
60
|
|
@@ -221,7 +219,6 @@ describe 'DefaultApi' do
|
|
221
219
|
# @param queue_id String that uniquely identifies the Queue that the Member belongs to.
|
222
220
|
# @param call_id ID if the Call that the Member belongs to
|
223
221
|
# @param [Hash] opts the optional parameters
|
224
|
-
# @option opts [DequeueMemberRequest] :dequeue_member_request Dequeue member request details
|
225
222
|
# @return [QueueMember]
|
226
223
|
describe 'dequeue_a_member test' do
|
227
224
|
before do
|
@@ -229,11 +226,8 @@ describe 'DefaultApi' do
|
|
229
226
|
@stub = stub_request(:post, uri_template).to_return(:body => ResponseMocks::QUEUE_MEMBER_RESULT, :status => 200, :headers => {})
|
230
227
|
queue_id = 'MOCK_QUEUE_ID' # String | String that uniquely identifies the Queue that the Member belongs to.
|
231
228
|
call_id = 'MOCK_CALL_ID' # String | ID if the Call that the Member belongs to
|
232
|
-
opts = {
|
233
|
-
dequeue_member_request: Freeclimb::DequeueMemberRequest.new # DequeueMemberRequest | Dequeue member request details
|
234
|
-
}
|
235
229
|
|
236
|
-
@result = @api_instance.dequeue_a_member(queue_id, call_id
|
230
|
+
@result = @api_instance.dequeue_a_member(queue_id, call_id)
|
237
231
|
end
|
238
232
|
|
239
233
|
it 'should respond with a queue member' do
|
@@ -249,18 +243,14 @@ describe 'DefaultApi' do
|
|
249
243
|
# Dequeue Head Member
|
250
244
|
# @param queue_id String that uniquely identifies this queue resource.
|
251
245
|
# @param [Hash] opts the optional parameters
|
252
|
-
# @option opts [DequeueMemberRequest] :dequeue_member_request Dequeue head member request details
|
253
246
|
# @return [QueueMember]
|
254
247
|
describe 'dequeue_head_member test' do
|
255
248
|
before do
|
256
249
|
uri_template = Addressable::Template.new "#{API_SERVER}/Accounts/{accountId}/Queues/{queueId}/Members/Front"
|
257
250
|
@stub = stub_request(:post, uri_template).to_return(:body => ResponseMocks::QUEUE_MEMBER_RESULT, :status => 200, :headers => {})
|
258
251
|
queue_id = 'MOCK_QUEUE_ID' # String | String that uniquely identifies the Queue that the Member belongs to.
|
259
|
-
opts = {
|
260
|
-
dequeue_member_request: Freeclimb::DequeueMemberRequest.new # DequeueMemberRequest | Dequeue member request details
|
261
|
-
}
|
262
252
|
|
263
|
-
@result = @api_instance.dequeue_head_member(queue_id
|
253
|
+
@result = @api_instance.dequeue_head_member(queue_id)
|
264
254
|
end
|
265
255
|
|
266
256
|
it 'should respond with a queue member' do
|
@@ -300,11 +290,9 @@ describe 'DefaultApi' do
|
|
300
290
|
before do
|
301
291
|
uri_template = Addressable::Template.new "#{API_SERVER}/Accounts/{accountId}/Logs"
|
302
292
|
@stub = stub_request(:post, uri_template).to_return(:body => ResponseMocks::LOG_LIST_RESULT, :status => 200, :headers => {})
|
303
|
-
|
304
|
-
filter_logs_request: Freeclimb::FilterLogsRequest.new # FilterLogsRequest | Filter logs request paramters
|
305
|
-
}
|
293
|
+
filter_logs_request = Freeclimb::FilterLogsRequest.new # FilterLogsRequest | Filter logs request paramters
|
306
294
|
|
307
|
-
@result = @api_instance.filter_logs(
|
295
|
+
@result = @api_instance.filter_logs(filter_logs_request)
|
308
296
|
end
|
309
297
|
|
310
298
|
it 'should respond with a list of logs' do
|
@@ -949,11 +937,7 @@ describe 'DefaultApi' do
|
|
949
937
|
request_body.from ='MOCK_FROM_NUMBER'
|
950
938
|
request_body.text = 'MOCK_TEXT'
|
951
939
|
|
952
|
-
|
953
|
-
message_request: request_body # MessageRequest | Details to create a message
|
954
|
-
}
|
955
|
-
|
956
|
-
@result = @api_instance.send_an_sms_message(opts)
|
940
|
+
@result = @api_instance.send_an_sms_message(request_body)
|
957
941
|
end
|
958
942
|
|
959
943
|
it 'should respond with Message result' do
|
@@ -1020,7 +1004,8 @@ describe 'DefaultApi' do
|
|
1020
1004
|
@stub = stub_request(:post, uri_template).to_return(:body => '{}', :status => 202, :headers => {})
|
1021
1005
|
|
1022
1006
|
call_id = 'MOCK_CALL_ID'
|
1023
|
-
|
1007
|
+
call_request = Freeclimb::UpdateCallRequest.new
|
1008
|
+
@result = @api_instance.update_a_live_call(call_id, call_request)
|
1024
1009
|
end
|
1025
1010
|
|
1026
1011
|
it 'should make a POST request to /Accounts/{accountId}/Calls/{callId}' do
|
@@ -0,0 +1,95 @@
|
|
1
|
+
=begin
|
2
|
+
#FreeClimb API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.0.1
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Freeclimb::AddToConference
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'AddToConference' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Freeclimb::AddToConference.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of AddToConference' do
|
31
|
+
it 'should create an instance of AddToConference' do
|
32
|
+
expect(@instance).to be_instance_of(Freeclimb::AddToConference)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "allow_call_control"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "call_control_sequence"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "call_control_url"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "conference_id"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "call_id"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "leave_conference_url"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "listen"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
describe 'test attribute "notification_url"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "start_conf_on_enter"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
describe 'test attribute "talk"' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
=begin
|
2
|
+
#FreeClimb API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.0.1
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Freeclimb::CreateConference
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'CreateConference' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Freeclimb::CreateConference.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of CreateConference' do
|
31
|
+
it 'should create an instance of CreateConference' do
|
32
|
+
expect(@instance).to be_instance_of(Freeclimb::CreateConference)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "action_url"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "_alias"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "play_beep"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "record"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "status_callback_url"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "wait_url"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 0.0.1
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,21 +14,22 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for Freeclimb::
|
17
|
+
# Unit tests for Freeclimb::Dequeue
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'Dequeue' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = Freeclimb::
|
23
|
+
@instance = Freeclimb::Dequeue.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
|
31
|
-
|
30
|
+
describe 'test an instance of Dequeue' do
|
31
|
+
it 'should create an instance of Dequeue' do
|
32
|
+
expect(@instance).to be_instance_of(Freeclimb::Dequeue)
|
33
|
+
end
|
32
34
|
end
|
33
|
-
|
34
35
|
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#FreeClimb API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.0.1
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Freeclimb::Enqueue
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Enqueue' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Freeclimb::Enqueue.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Enqueue' do
|
31
|
+
it 'should create an instance of Enqueue' do
|
32
|
+
expect(@instance).to be_instance_of(Freeclimb::Enqueue)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "action_url"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "notification_url"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "queue_id"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "wait_url"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|