freeclimb 1.0.0 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (204) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +69 -50
  4. data/docs/AccountRequest.md +3 -5
  5. data/docs/AccountResult.md +12 -12
  6. data/docs/AccountResultAllOf.md +8 -8
  7. data/docs/AddToConference.md +35 -0
  8. data/docs/AddToConferenceAllOf.md +35 -0
  9. data/docs/ApplicationList.md +9 -9
  10. data/docs/ApplicationListAllOf.md +2 -2
  11. data/docs/ApplicationRequest.md +8 -10
  12. data/docs/ApplicationResult.md +14 -14
  13. data/docs/ApplicationResultAllOf.md +10 -10
  14. data/docs/AvailableNumber.md +7 -7
  15. data/docs/AvailableNumberList.md +9 -9
  16. data/docs/AvailableNumberListAllOf.md +2 -2
  17. data/docs/BuyIncomingNumberRequest.md +4 -6
  18. data/docs/CallList.md +9 -9
  19. data/docs/CallListAllOf.md +2 -2
  20. data/docs/CallResult.md +20 -20
  21. data/docs/CallResultAllOf.md +16 -16
  22. data/docs/ConferenceList.md +9 -9
  23. data/docs/ConferenceListAllOf.md +2 -2
  24. data/docs/ConferenceParticipantList.md +9 -9
  25. data/docs/ConferenceParticipantListAllOf.md +2 -2
  26. data/docs/ConferenceParticipantResult.md +11 -11
  27. data/docs/ConferenceParticipantResultAllOf.md +7 -7
  28. data/docs/ConferenceResult.md +15 -15
  29. data/docs/ConferenceResultAllOf.md +11 -11
  30. data/docs/CreateConference.md +27 -0
  31. data/docs/CreateConferenceAllOf.md +27 -0
  32. data/docs/CreateConferenceRequest.md +6 -8
  33. data/docs/DefaultApi.md +70 -86
  34. data/docs/Dequeue.md +16 -0
  35. data/docs/Enqueue.md +23 -0
  36. data/docs/EnqueueAllOf.md +23 -0
  37. data/docs/FilterLogsRequest.md +2 -4
  38. data/docs/GetDigits.md +33 -0
  39. data/docs/GetDigitsAllOf.md +33 -0
  40. data/docs/GetSpeech.md +41 -0
  41. data/docs/GetSpeechAllOf.md +41 -0
  42. data/docs/IncomingNumberList.md +9 -9
  43. data/docs/IncomingNumberListAllOf.md +2 -2
  44. data/docs/IncomingNumberRequest.md +3 -5
  45. data/docs/IncomingNumberResult.md +14 -14
  46. data/docs/IncomingNumberResultAllOf.md +10 -10
  47. data/docs/LogList.md +9 -9
  48. data/docs/LogListAllOf.md +2 -2
  49. data/docs/LogResult.md +8 -8
  50. data/docs/MakeCallRequest.md +11 -11
  51. data/docs/MessageRequest.md +10 -12
  52. data/docs/MessageRequestAllOf.md +6 -8
  53. data/docs/MessageResult.md +13 -13
  54. data/docs/MessageResultAllOf.md +9 -9
  55. data/docs/MessagesList.md +9 -9
  56. data/docs/MessagesListAllOf.md +2 -2
  57. data/docs/MutableResourceModel.md +5 -5
  58. data/docs/OutDial.md +35 -0
  59. data/docs/OutDialAllOf.md +35 -0
  60. data/docs/PaginationModel.md +8 -8
  61. data/docs/Pause.md +17 -0
  62. data/docs/PauseAllOf.md +17 -0
  63. data/docs/PerclCommand.md +17 -0
  64. data/docs/PerclScript.md +17 -0
  65. data/docs/Play.md +23 -0
  66. data/docs/PlayAllOf.md +23 -0
  67. data/docs/PlayEarlyMedia.md +17 -0
  68. data/docs/PlayEarlyMediaAllOf.md +17 -0
  69. data/docs/QueueList.md +9 -9
  70. data/docs/QueueListAllOf.md +2 -2
  71. data/docs/QueueMember.md +6 -6
  72. data/docs/QueueMemberList.md +9 -9
  73. data/docs/QueueMemberListAllOf.md +2 -2
  74. data/docs/QueueRequest.md +3 -5
  75. data/docs/QueueResult.md +12 -12
  76. data/docs/QueueResultAllOf.md +8 -8
  77. data/docs/RecordUtterance.md +27 -0
  78. data/docs/RecordUtteranceAllOf.md +27 -0
  79. data/docs/RecordingList.md +9 -9
  80. data/docs/RecordingListAllOf.md +2 -2
  81. data/docs/RecordingResult.md +10 -10
  82. data/docs/RecordingResultAllOf.md +6 -6
  83. data/docs/Redirect.md +17 -0
  84. data/docs/RedirectAllOf.md +17 -0
  85. data/docs/RemoveFromConference.md +17 -0
  86. data/docs/RemoveFromConferenceAllOf.md +17 -0
  87. data/docs/Say.md +25 -0
  88. data/docs/SayAllOf.md +25 -0
  89. data/docs/SendDigits.md +21 -0
  90. data/docs/SendDigitsAllOf.md +21 -0
  91. data/docs/SetListen.md +19 -0
  92. data/docs/SetListenAllOf.md +19 -0
  93. data/docs/SetTalk.md +19 -0
  94. data/docs/SetTalkAllOf.md +19 -0
  95. data/docs/Sms.md +23 -0
  96. data/docs/SmsAllOf.md +23 -0
  97. data/docs/StartRecordCall.md +16 -0
  98. data/docs/TerminateConference.md +17 -0
  99. data/docs/TerminateConferenceAllOf.md +17 -0
  100. data/docs/UpdateCallRequest.md +2 -4
  101. data/docs/UpdateConferenceParticipantRequest.md +3 -5
  102. data/docs/UpdateConferenceRequest.md +4 -6
  103. data/lib/freeclimb.rb +69 -2
  104. data/lib/freeclimb/api/default_api.rb +96 -88
  105. data/lib/freeclimb/api_client.rb +1 -1
  106. data/lib/freeclimb/models/account_request.rb +4 -14
  107. data/lib/freeclimb/models/add_to_conference.rb +320 -0
  108. data/lib/freeclimb/models/add_to_conference_all_of.rb +307 -0
  109. data/lib/freeclimb/models/application_request.rb +4 -14
  110. data/lib/freeclimb/models/buy_incoming_number_request.rb +4 -14
  111. data/lib/freeclimb/models/create_conference.rb +275 -0
  112. data/lib/freeclimb/models/create_conference_all_of.rb +262 -0
  113. data/lib/freeclimb/models/create_conference_request.rb +4 -14
  114. data/lib/freeclimb/models/dequeue.rb +209 -0
  115. data/lib/freeclimb/models/enqueue.rb +265 -0
  116. data/lib/freeclimb/models/enqueue_all_of.rb +252 -0
  117. data/lib/freeclimb/models/filter_logs_request.rb +4 -14
  118. data/lib/freeclimb/models/get_digits.rb +307 -0
  119. data/lib/freeclimb/models/get_digits_all_of.rb +294 -0
  120. data/lib/freeclimb/models/get_speech.rb +352 -0
  121. data/lib/freeclimb/models/get_speech_all_of.rb +339 -0
  122. data/lib/freeclimb/models/incoming_number_request.rb +4 -14
  123. data/lib/freeclimb/models/make_call_request.rb +14 -14
  124. data/lib/freeclimb/models/message_request.rb +1 -11
  125. data/lib/freeclimb/models/message_request_all_of.rb +1 -11
  126. data/lib/freeclimb/models/out_dial.rb +330 -0
  127. data/lib/freeclimb/models/out_dial_all_of.rb +317 -0
  128. data/lib/freeclimb/models/pause.rb +225 -0
  129. data/lib/freeclimb/models/{dequeue_member_request.rb → pause_all_of.rb} +16 -11
  130. data/lib/freeclimb/models/percl_command.rb +211 -0
  131. data/lib/freeclimb/models/percl_script.rb +210 -0
  132. data/lib/freeclimb/models/play.rb +255 -0
  133. data/lib/freeclimb/models/play_all_of.rb +242 -0
  134. data/lib/freeclimb/models/play_early_media.rb +225 -0
  135. data/lib/freeclimb/models/play_early_media_all_of.rb +212 -0
  136. data/lib/freeclimb/models/queue_request.rb +4 -14
  137. data/lib/freeclimb/models/record_utterance.rb +275 -0
  138. data/lib/freeclimb/models/record_utterance_all_of.rb +262 -0
  139. data/lib/freeclimb/models/redirect.rb +220 -0
  140. data/lib/freeclimb/models/redirect_all_of.rb +207 -0
  141. data/lib/freeclimb/models/remove_from_conference.rb +225 -0
  142. data/lib/freeclimb/models/remove_from_conference_all_of.rb +212 -0
  143. data/lib/freeclimb/models/say.rb +265 -0
  144. data/lib/freeclimb/models/say_all_of.rb +252 -0
  145. data/lib/freeclimb/models/send_digits.rb +245 -0
  146. data/lib/freeclimb/models/send_digits_all_of.rb +232 -0
  147. data/lib/freeclimb/models/set_listen.rb +235 -0
  148. data/lib/freeclimb/models/set_listen_all_of.rb +222 -0
  149. data/lib/freeclimb/models/set_talk.rb +235 -0
  150. data/lib/freeclimb/models/set_talk_all_of.rb +222 -0
  151. data/lib/freeclimb/models/sms.rb +265 -0
  152. data/lib/freeclimb/models/sms_all_of.rb +252 -0
  153. data/lib/freeclimb/models/start_record_call.rb +209 -0
  154. data/lib/freeclimb/models/terminate_conference.rb +225 -0
  155. data/lib/freeclimb/models/terminate_conference_all_of.rb +212 -0
  156. data/lib/freeclimb/models/update_call_request.rb +4 -14
  157. data/lib/freeclimb/models/update_conference_participant_request.rb +4 -14
  158. data/lib/freeclimb/models/update_conference_request.rb +4 -14
  159. data/lib/freeclimb/version.rb +1 -1
  160. data/spec/api/default_api_spec.rb +9 -24
  161. data/spec/models/add_to_conference_spec.rb +95 -0
  162. data/spec/models/create_conference_spec.rb +71 -0
  163. data/spec/models/{dequeue_member_request_spec.rb → dequeue_spec.rb} +8 -7
  164. data/spec/models/enqueue_spec.rb +59 -0
  165. data/spec/models/get_digits_spec.rb +83 -0
  166. data/spec/models/get_speech_spec.rb +113 -0
  167. data/spec/models/out_dial_spec.rb +89 -0
  168. data/spec/models/pause_spec.rb +41 -0
  169. data/spec/models/percl_command_spec.rb +41 -0
  170. data/spec/models/percl_script_spec.rb +41 -0
  171. data/spec/models/play_early_media_spec.rb +41 -0
  172. data/spec/models/play_spec.rb +53 -0
  173. data/spec/models/record_utterance_spec.rb +71 -0
  174. data/spec/models/redirect_spec.rb +41 -0
  175. data/spec/models/remove_from_conference_spec.rb +41 -0
  176. data/spec/models/say_spec.rb +65 -0
  177. data/spec/models/send_digits_spec.rb +47 -0
  178. data/spec/models/set_listen_spec.rb +47 -0
  179. data/spec/models/set_talk_spec.rb +47 -0
  180. data/spec/models/sms_spec.rb +59 -0
  181. data/spec/models/start_record_call_spec.rb +35 -0
  182. data/spec/models/terminate_conference_spec.rb +41 -0
  183. metadata +126 -35
  184. data/docs/DequeueMemberRequest.md +0 -17
  185. data/docs/Percl.md +0 -697
  186. data/git_push.sh +0 -58
  187. data/lib/percl/calls.rb +0 -43
  188. data/lib/percl/conference_participants.rb +0 -40
  189. data/lib/percl/conferences.rb +0 -21
  190. data/lib/percl/ivr.rb +0 -63
  191. data/lib/percl/jsonable.rb +0 -23
  192. data/lib/percl/percl.rb +0 -29
  193. data/lib/percl/queue_members.rb +0 -15
  194. data/lib/percl/recordings.rb +0 -15
  195. data/lib/percl/sms.rb +0 -11
  196. data/spec/percl/calls_spec.rb +0 -111
  197. data/spec/percl/conference_participant_spec.rb +0 -96
  198. data/spec/percl/conference_spec.rb +0 -46
  199. data/spec/percl/ivr_spec.rb +0 -155
  200. data/spec/percl/jsonable_spec.rb +0 -28
  201. data/spec/percl/percl_spec.rb +0 -31
  202. data/spec/percl/queue_members_spec.rb +0 -35
  203. data/spec/percl/recordings_spec.rb +0 -32
  204. data/spec/percl/sms_spec.rb +0 -29
@@ -17,9 +17,6 @@ module Freeclimb
17
17
  # Either `canceled` or `completed`. Specifying `canceled` attempts to hang up calls that are queued without affecting calls already in progress. Specifying `completed` attempts to hang up a call already in progress.
18
18
  attr_accessor :status
19
19
 
20
- # RequestId 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>`).
21
- attr_accessor :request_id
22
-
23
20
  class EnumAttributeValidator
24
21
  attr_reader :datatype
25
22
  attr_reader :allowable_values
@@ -45,16 +42,14 @@ module Freeclimb
45
42
  # Attribute mapping from ruby-style variable name to JSON key.
46
43
  def self.attribute_map
47
44
  {
48
- :'status' => :'status',
49
- :'request_id' => :'requestId'
45
+ :'status' => :'status'
50
46
  }
51
47
  end
52
48
 
53
49
  # Attribute type mapping.
54
50
  def self.openapi_types
55
51
  {
56
- :'status' => :'String',
57
- :'request_id' => :'String'
52
+ :'status' => :'String'
58
53
  }
59
54
  end
60
55
 
@@ -82,10 +77,6 @@ module Freeclimb
82
77
  if attributes.key?(:'status')
83
78
  self.status = attributes[:'status']
84
79
  end
85
-
86
- if attributes.key?(:'request_id')
87
- self.request_id = attributes[:'request_id']
88
- end
89
80
  end
90
81
 
91
82
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -123,8 +114,7 @@ module Freeclimb
123
114
  def ==(o)
124
115
  return true if self.equal?(o)
125
116
  self.class == o.class &&
126
- status == o.status &&
127
- request_id == o.request_id
117
+ status == o.status
128
118
  end
129
119
 
130
120
  # @see the `==` method
@@ -136,7 +126,7 @@ module Freeclimb
136
126
  # Calculates hash code according to all attributes.
137
127
  # @return [Integer] Hash code
138
128
  def hash
139
- [status, request_id].hash
129
+ [status].hash
140
130
  end
141
131
 
142
132
  # Builds the object from hash
@@ -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, request_id].hash
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, request_id].hash
146
+ [_alias, play_beep, status].hash
157
147
  end
158
148
 
159
149
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module Freeclimb
14
- VERSION = '1.0.0'
14
+ VERSION = '2.0.2'
15
15
  end
@@ -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
- opts = {
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(opts)
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, opts)
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, opts)
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
- opts = {
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(opts)
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
- opts = {
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
- @result = @api_instance.update_a_live_call(call_id)
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.2.2
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::DequeueMemberRequest
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 'DequeueMemberRequest' do
20
+ describe 'Dequeue' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Freeclimb::DequeueMemberRequest.new
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
- it 'should create an instance of DequeueMemberRequest' do
31
- expect(@instance).to be_instance_of(Freeclimb::DequeueMemberRequest)
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