freeclimb 3.0.3 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/Gemfile.lock +2 -4
  4. data/README.md +7 -6
  5. data/docs/DefaultApi.md +9 -101
  6. data/docs/MakeCallRequest.md +1 -1
  7. data/docs/PerclCommand.md +1 -1
  8. data/docs/QueueRequest.md +1 -1
  9. data/freeclimb.gemspec +1 -1
  10. data/lib/freeclimb/api/default_api.rb +11 -7
  11. data/lib/freeclimb/api_client.rb +1 -1
  12. data/lib/freeclimb/api_error.rb +1 -1
  13. data/lib/freeclimb/configuration.rb +1 -1
  14. data/lib/freeclimb/models/account_request.rb +1 -1
  15. data/lib/freeclimb/models/account_result.rb +20 -1
  16. data/lib/freeclimb/models/account_result_all_of.rb +20 -1
  17. data/lib/freeclimb/models/add_to_conference.rb +2 -1
  18. data/lib/freeclimb/models/add_to_conference_all_of.rb +1 -1
  19. data/lib/freeclimb/models/application_list.rb +9 -1
  20. data/lib/freeclimb/models/application_list_all_of.rb +2 -1
  21. data/lib/freeclimb/models/application_request.rb +1 -1
  22. data/lib/freeclimb/models/application_result.rb +10 -1
  23. data/lib/freeclimb/models/application_result_all_of.rb +10 -1
  24. data/lib/freeclimb/models/available_number.rb +6 -1
  25. data/lib/freeclimb/models/available_number_list.rb +9 -1
  26. data/lib/freeclimb/models/available_number_list_all_of.rb +2 -1
  27. data/lib/freeclimb/models/buy_incoming_number_request.rb +1 -1
  28. data/lib/freeclimb/models/call_list.rb +9 -1
  29. data/lib/freeclimb/models/call_list_all_of.rb +2 -1
  30. data/lib/freeclimb/models/call_result.rb +16 -1
  31. data/lib/freeclimb/models/call_result_all_of.rb +16 -1
  32. data/lib/freeclimb/models/capabilities.rb +6 -26
  33. data/lib/freeclimb/models/conference_list.rb +9 -1
  34. data/lib/freeclimb/models/conference_list_all_of.rb +2 -1
  35. data/lib/freeclimb/models/conference_participant_list.rb +9 -1
  36. data/lib/freeclimb/models/conference_participant_list_all_of.rb +2 -1
  37. data/lib/freeclimb/models/conference_participant_result.rb +7 -1
  38. data/lib/freeclimb/models/conference_participant_result_all_of.rb +7 -1
  39. data/lib/freeclimb/models/conference_result.rb +11 -1
  40. data/lib/freeclimb/models/conference_result_all_of.rb +11 -1
  41. data/lib/freeclimb/models/create_conference.rb +2 -1
  42. data/lib/freeclimb/models/create_conference_all_of.rb +1 -1
  43. data/lib/freeclimb/models/create_conference_request.rb +1 -1
  44. data/lib/freeclimb/models/dequeue.rb +2 -1
  45. data/lib/freeclimb/models/enqueue.rb +2 -1
  46. data/lib/freeclimb/models/enqueue_all_of.rb +1 -1
  47. data/lib/freeclimb/models/filter_logs_request.rb +1 -1
  48. data/lib/freeclimb/models/get_digits.rb +2 -1
  49. data/lib/freeclimb/models/get_digits_all_of.rb +1 -1
  50. data/lib/freeclimb/models/get_speech.rb +2 -1
  51. data/lib/freeclimb/models/get_speech_all_of.rb +1 -1
  52. data/lib/freeclimb/models/hangup.rb +2 -1
  53. data/lib/freeclimb/models/hangup_all_of.rb +1 -1
  54. data/lib/freeclimb/models/incoming_number_list.rb +9 -1
  55. data/lib/freeclimb/models/incoming_number_list_all_of.rb +2 -1
  56. data/lib/freeclimb/models/incoming_number_request.rb +1 -1
  57. data/lib/freeclimb/models/incoming_number_result.rb +10 -1
  58. data/lib/freeclimb/models/incoming_number_result_all_of.rb +10 -1
  59. data/lib/freeclimb/models/log_list.rb +9 -1
  60. data/lib/freeclimb/models/log_list_all_of.rb +2 -1
  61. data/lib/freeclimb/models/log_result.rb +8 -1
  62. data/lib/freeclimb/models/make_call_request.rb +3 -1
  63. data/lib/freeclimb/models/message_request.rb +1 -1
  64. data/lib/freeclimb/models/message_request_all_of.rb +1 -1
  65. data/lib/freeclimb/models/message_result.rb +9 -1
  66. data/lib/freeclimb/models/message_result_all_of.rb +9 -1
  67. data/lib/freeclimb/models/messages_list.rb +9 -1
  68. data/lib/freeclimb/models/messages_list_all_of.rb +2 -1
  69. data/lib/freeclimb/models/mutable_resource_model.rb +1 -1
  70. data/lib/freeclimb/models/out_dial.rb +2 -1
  71. data/lib/freeclimb/models/out_dial_all_of.rb +1 -1
  72. data/lib/freeclimb/models/pagination_model.rb +8 -1
  73. data/lib/freeclimb/models/pause.rb +2 -1
  74. data/lib/freeclimb/models/pause_all_of.rb +1 -1
  75. data/lib/freeclimb/models/percl_command.rb +19 -1
  76. data/lib/freeclimb/models/percl_script.rb +5 -1
  77. data/lib/freeclimb/models/play.rb +2 -1
  78. data/lib/freeclimb/models/play_all_of.rb +1 -1
  79. data/lib/freeclimb/models/play_early_media.rb +2 -1
  80. data/lib/freeclimb/models/play_early_media_all_of.rb +1 -1
  81. data/lib/freeclimb/models/queue_list.rb +9 -1
  82. data/lib/freeclimb/models/queue_list_all_of.rb +2 -1
  83. data/lib/freeclimb/models/queue_member.rb +6 -1
  84. data/lib/freeclimb/models/queue_member_list.rb +9 -1
  85. data/lib/freeclimb/models/queue_member_list_all_of.rb +2 -1
  86. data/lib/freeclimb/models/queue_request.rb +3 -1
  87. data/lib/freeclimb/models/queue_result.rb +8 -1
  88. data/lib/freeclimb/models/queue_result_all_of.rb +8 -1
  89. data/lib/freeclimb/models/record_utterance.rb +2 -1
  90. data/lib/freeclimb/models/record_utterance_all_of.rb +1 -1
  91. data/lib/freeclimb/models/recording_list.rb +9 -1
  92. data/lib/freeclimb/models/recording_list_all_of.rb +2 -1
  93. data/lib/freeclimb/models/recording_result.rb +6 -1
  94. data/lib/freeclimb/models/recording_result_all_of.rb +6 -1
  95. data/lib/freeclimb/models/redirect.rb +2 -1
  96. data/lib/freeclimb/models/redirect_all_of.rb +1 -1
  97. data/lib/freeclimb/models/reject.rb +2 -1
  98. data/lib/freeclimb/models/reject_all_of.rb +1 -1
  99. data/lib/freeclimb/models/remove_from_conference.rb +2 -1
  100. data/lib/freeclimb/models/remove_from_conference_all_of.rb +1 -1
  101. data/lib/freeclimb/models/say.rb +2 -1
  102. data/lib/freeclimb/models/say_all_of.rb +1 -1
  103. data/lib/freeclimb/models/send_digits.rb +2 -1
  104. data/lib/freeclimb/models/send_digits_all_of.rb +1 -1
  105. data/lib/freeclimb/models/set_listen.rb +2 -1
  106. data/lib/freeclimb/models/set_listen_all_of.rb +1 -1
  107. data/lib/freeclimb/models/set_talk.rb +2 -1
  108. data/lib/freeclimb/models/set_talk_all_of.rb +1 -1
  109. data/lib/freeclimb/models/sms.rb +2 -1
  110. data/lib/freeclimb/models/sms_all_of.rb +1 -1
  111. data/lib/freeclimb/models/start_record_call.rb +2 -1
  112. data/lib/freeclimb/models/terminate_conference.rb +2 -1
  113. data/lib/freeclimb/models/terminate_conference_all_of.rb +1 -1
  114. data/lib/freeclimb/models/update_call_request.rb +1 -1
  115. data/lib/freeclimb/models/update_conference_participant_request.rb +1 -1
  116. data/lib/freeclimb/models/update_conference_request.rb +1 -1
  117. data/lib/freeclimb/version.rb +2 -2
  118. data/lib/freeclimb.rb +1 -28
  119. data/spec/api/default_api_spec.rb +102 -102
  120. data/spec/api_client_spec.rb +1 -1
  121. data/spec/configuration_spec.rb +1 -1
  122. data/spec/models/account_request_spec.rb +1 -1
  123. data/spec/models/account_result_spec.rb +5 -1
  124. data/spec/models/add_to_conference_spec.rb +1 -1
  125. data/spec/models/application_list_spec.rb +1 -1
  126. data/spec/models/application_request_spec.rb +1 -1
  127. data/spec/models/application_result_spec.rb +1 -1
  128. data/spec/models/available_number_list_spec.rb +1 -1
  129. data/spec/models/available_number_spec.rb +1 -1
  130. data/spec/models/buy_incoming_number_request_spec.rb +1 -1
  131. data/spec/models/call_list_spec.rb +1 -1
  132. data/spec/models/call_result_spec.rb +1 -1
  133. data/spec/models/capabilities_spec.rb +1 -1
  134. data/spec/models/conference_list_spec.rb +1 -1
  135. data/spec/models/conference_participant_list_spec.rb +1 -1
  136. data/spec/models/conference_participant_result_spec.rb +1 -1
  137. data/spec/models/conference_result_spec.rb +1 -1
  138. data/spec/models/create_conference_request_spec.rb +1 -1
  139. data/spec/models/create_conference_spec.rb +1 -1
  140. data/spec/models/dequeue_spec.rb +1 -1
  141. data/spec/models/enqueue_spec.rb +1 -1
  142. data/spec/models/filter_logs_request_spec.rb +1 -1
  143. data/spec/models/get_digits_spec.rb +1 -1
  144. data/spec/models/get_speech_spec.rb +1 -1
  145. data/spec/models/hangup_spec.rb +1 -1
  146. data/spec/models/incoming_number_list_spec.rb +1 -1
  147. data/spec/models/incoming_number_request_spec.rb +1 -1
  148. data/spec/models/incoming_number_result_spec.rb +1 -1
  149. data/spec/models/log_list_spec.rb +1 -1
  150. data/spec/models/log_result_spec.rb +1 -1
  151. data/spec/models/make_call_request_spec.rb +1 -1
  152. data/spec/models/message_request_spec.rb +1 -1
  153. data/spec/models/message_result_spec.rb +1 -1
  154. data/spec/models/messages_list_spec.rb +1 -1
  155. data/spec/models/mutable_resource_model_spec.rb +1 -1
  156. data/spec/models/out_dial_spec.rb +1 -1
  157. data/spec/models/pagination_model_spec.rb +1 -1
  158. data/spec/models/pause_spec.rb +1 -1
  159. data/spec/models/percl_command_spec.rb +1 -1
  160. data/spec/models/percl_script_spec.rb +1 -1
  161. data/spec/models/play_early_media_spec.rb +1 -1
  162. data/spec/models/play_spec.rb +1 -1
  163. data/spec/models/queue_list_spec.rb +1 -1
  164. data/spec/models/queue_member_list_spec.rb +1 -1
  165. data/spec/models/queue_member_spec.rb +1 -1
  166. data/spec/models/queue_request_spec.rb +1 -1
  167. data/spec/models/queue_result_spec.rb +1 -1
  168. data/spec/models/record_utterance_spec.rb +1 -1
  169. data/spec/models/recording_list_spec.rb +1 -1
  170. data/spec/models/recording_result_spec.rb +1 -1
  171. data/spec/models/redirect_spec.rb +1 -1
  172. data/spec/models/reject_spec.rb +1 -1
  173. data/spec/models/remove_from_conference_spec.rb +1 -1
  174. data/spec/models/say_spec.rb +1 -1
  175. data/spec/models/send_digits_spec.rb +1 -1
  176. data/spec/models/set_listen_spec.rb +1 -1
  177. data/spec/models/set_talk_spec.rb +1 -1
  178. data/spec/models/sms_spec.rb +1 -1
  179. data/spec/models/start_record_call_spec.rb +1 -1
  180. data/spec/models/terminate_conference_spec.rb +1 -1
  181. data/spec/models/update_call_request_spec.rb +1 -1
  182. data/spec/models/update_conference_participant_request_spec.rb +1 -1
  183. data/spec/models/update_conference_request_spec.rb +1 -1
  184. data/spec/quickstart_spec.rb +1 -1
  185. data/spec/spec_helper.rb +6 -2
  186. 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
 
@@ -46,9 +46,9 @@ describe 'DefaultApi' do
46
46
  describe 'buy_a_phone_number test' do
47
47
  it 'should work' do
48
48
 
49
- buy_incoming_number_request = build_value(:buy_incoming_number_request)
49
+ buy_incoming_number_request = build_value(:buy_incoming_number_request)
50
50
  local_var_path = @base_url + '/Accounts/{accountId}/IncomingPhoneNumbers'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase))
51
-
51
+
52
52
  stub = stub_request(:POST.downcase, local_var_path)
53
53
  .with(
54
54
  body: buy_incoming_number_request.to_body.to_json,
@@ -77,9 +77,9 @@ describe 'DefaultApi' do
77
77
  describe 'create_a_conference test' do
78
78
  it 'should work' do
79
79
 
80
- create_conference_request = build_value(:create_conference_request)
80
+ create_conference_request = build_value(:create_conference_request)
81
81
  local_var_path = @base_url + '/Accounts/{accountId}/Conferences'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase))
82
-
82
+
83
83
  stub = stub_request(:POST.downcase, local_var_path)
84
84
  .with(
85
85
  body: create_conference_request.to_body.to_json,
@@ -108,9 +108,9 @@ describe 'DefaultApi' do
108
108
  describe 'create_a_queue test' do
109
109
  it 'should work' do
110
110
 
111
- queue_request = build_value(:queue_request)
111
+ queue_request = build_value(:queue_request)
112
112
  local_var_path = @base_url + '/Accounts/{accountId}/Queues'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase))
113
-
113
+
114
114
  stub = stub_request(:POST.downcase, local_var_path)
115
115
  .with(
116
116
  body: queue_request.to_body.to_json,
@@ -139,9 +139,9 @@ describe 'DefaultApi' do
139
139
  describe 'create_an_application test' do
140
140
  it 'should work' do
141
141
 
142
- application_request = build_value(:application_request)
142
+ application_request = build_value(:application_request)
143
143
  local_var_path = @base_url + '/Accounts/{accountId}/Applications'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase))
144
-
144
+
145
145
  stub = stub_request(:POST.downcase, local_var_path)
146
146
  .with(
147
147
  body: application_request.to_body.to_json,
@@ -170,9 +170,9 @@ describe 'DefaultApi' do
170
170
  describe 'delete_a_recording test' do
171
171
  it 'should work' do
172
172
 
173
- recording_id = build_value(:recording_id)
173
+ recording_id = build_value(:recording_id)
174
174
  local_var_path = @base_url + '/Accounts/{accountId}/Recordings/{recordingId}'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'recordingId' + '}', CGI.escape('TEST_' + 'recordingId'.snakecase.upcase))
175
-
175
+
176
176
  stub = stub_request(:DELETE.downcase, local_var_path)
177
177
  .with(
178
178
  body: {},
@@ -201,9 +201,9 @@ describe 'DefaultApi' do
201
201
  describe 'delete_an_application test' do
202
202
  it 'should work' do
203
203
 
204
- application_id = build_value(:application_id)
204
+ application_id = build_value(:application_id)
205
205
  local_var_path = @base_url + '/Accounts/{accountId}/Applications/{applicationId}'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'applicationId' + '}', CGI.escape('TEST_' + 'applicationId'.snakecase.upcase))
206
-
206
+
207
207
  stub = stub_request(:DELETE.downcase, local_var_path)
208
208
  .with(
209
209
  body: {},
@@ -232,9 +232,9 @@ describe 'DefaultApi' do
232
232
  describe 'delete_an_incoming_number test' do
233
233
  it 'should work' do
234
234
 
235
- phone_number_id = build_value(:phone_number_id)
235
+ phone_number_id = build_value(:phone_number_id)
236
236
  local_var_path = @base_url + '/Accounts/{accountId}/IncomingPhoneNumbers/{phoneNumberId}'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'phoneNumberId' + '}', CGI.escape('TEST_' + 'phoneNumberId'.snakecase.upcase))
237
-
237
+
238
238
  stub = stub_request(:DELETE.downcase, local_var_path)
239
239
  .with(
240
240
  body: {},
@@ -265,9 +265,9 @@ describe 'DefaultApi' do
265
265
  it 'should work' do
266
266
 
267
267
  queue_id = build_value(:queue_id)
268
- call_id = build_value(:call_id)
268
+ call_id = build_value(:call_id)
269
269
  local_var_path = @base_url + '/Accounts/{accountId}/Queues/{queueId}/Members/{callId}'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'queueId' + '}', CGI.escape('TEST_' + 'queueId'.snakecase.upcase)).sub('{' + 'callId' + '}', CGI.escape('TEST_' + 'callId'.snakecase.upcase))
270
-
270
+
271
271
  stub = stub_request(:POST.downcase, local_var_path)
272
272
  .with(
273
273
  body: {},
@@ -296,9 +296,9 @@ describe 'DefaultApi' do
296
296
  describe 'dequeue_head_member test' do
297
297
  it 'should work' do
298
298
 
299
- queue_id = build_value(:queue_id)
299
+ queue_id = build_value(:queue_id)
300
300
  local_var_path = @base_url + '/Accounts/{accountId}/Queues/{queueId}/Members/Front'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'queueId' + '}', CGI.escape('TEST_' + 'queueId'.snakecase.upcase))
301
-
301
+
302
302
  stub = stub_request(:POST.downcase, local_var_path)
303
303
  .with(
304
304
  body: {},
@@ -327,9 +327,9 @@ describe 'DefaultApi' do
327
327
  describe 'download_a_recording_file test' do
328
328
  it 'should work' do
329
329
 
330
- recording_id = build_value(:recording_id)
330
+ recording_id = build_value(:recording_id)
331
331
  local_var_path = @base_url + '/Accounts/{accountId}/Recordings/{recordingId}/Download'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'recordingId' + '}', CGI.escape('TEST_' + 'recordingId'.snakecase.upcase))
332
-
332
+
333
333
  stub = stub_request(:GET.downcase, local_var_path)
334
334
  .with(
335
335
  body: {},
@@ -358,9 +358,9 @@ describe 'DefaultApi' do
358
358
  describe 'filter_logs test' do
359
359
  it 'should work' do
360
360
 
361
- filter_logs_request = build_value(:filter_logs_request)
361
+ filter_logs_request = build_value(:filter_logs_request)
362
362
  local_var_path = @base_url + '/Accounts/{accountId}/Logs'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase))
363
-
363
+
364
364
  stub = stub_request(:POST.downcase, local_var_path)
365
365
  .with(
366
366
  body: filter_logs_request.to_body.to_json,
@@ -389,9 +389,9 @@ describe 'DefaultApi' do
389
389
  describe 'get_a_call test' do
390
390
  it 'should work' do
391
391
 
392
- call_id = build_value(:call_id)
392
+ call_id = build_value(:call_id)
393
393
  local_var_path = @base_url + '/Accounts/{accountId}/Calls/{callId}'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'callId' + '}', CGI.escape('TEST_' + 'callId'.snakecase.upcase))
394
-
394
+
395
395
  stub = stub_request(:GET.downcase, local_var_path)
396
396
  .with(
397
397
  body: {},
@@ -420,9 +420,9 @@ describe 'DefaultApi' do
420
420
  describe 'get_a_conference test' do
421
421
  it 'should work' do
422
422
 
423
- conference_id = build_value(:conference_id)
423
+ conference_id = build_value(:conference_id)
424
424
  local_var_path = @base_url + '/Accounts/{accountId}/Conferences/{conferenceId}'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'conferenceId' + '}', CGI.escape('TEST_' + 'conferenceId'.snakecase.upcase))
425
-
425
+
426
426
  stub = stub_request(:GET.downcase, local_var_path)
427
427
  .with(
428
428
  body: {},
@@ -453,9 +453,9 @@ describe 'DefaultApi' do
453
453
  it 'should work' do
454
454
 
455
455
  queue_id = build_value(:queue_id)
456
- call_id = build_value(:call_id)
456
+ call_id = build_value(:call_id)
457
457
  local_var_path = @base_url + '/Accounts/{accountId}/Queues/{queueId}/Members/{callId}'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'queueId' + '}', CGI.escape('TEST_' + 'queueId'.snakecase.upcase)).sub('{' + 'callId' + '}', CGI.escape('TEST_' + 'callId'.snakecase.upcase))
458
-
458
+
459
459
  stub = stub_request(:GET.downcase, local_var_path)
460
460
  .with(
461
461
  body: {},
@@ -486,9 +486,9 @@ describe 'DefaultApi' do
486
486
  it 'should work' do
487
487
 
488
488
  conference_id = build_value(:conference_id)
489
- call_id = build_value(:call_id)
489
+ call_id = build_value(:call_id)
490
490
  local_var_path = @base_url + '/Accounts/{accountId}/Conferences/{conferenceId}/Participants/{callId}'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'conferenceId' + '}', CGI.escape('TEST_' + 'conferenceId'.snakecase.upcase)).sub('{' + 'callId' + '}', CGI.escape('TEST_' + 'callId'.snakecase.upcase))
491
-
491
+
492
492
  stub = stub_request(:GET.downcase, local_var_path)
493
493
  .with(
494
494
  body: {},
@@ -517,9 +517,9 @@ describe 'DefaultApi' do
517
517
  describe 'get_a_queue test' do
518
518
  it 'should work' do
519
519
 
520
- queue_id = build_value(:queue_id)
520
+ queue_id = build_value(:queue_id)
521
521
  local_var_path = @base_url + '/Accounts/{accountId}/Queues/{queueId}'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'queueId' + '}', CGI.escape('TEST_' + 'queueId'.snakecase.upcase))
522
-
522
+
523
523
  stub = stub_request(:GET.downcase, local_var_path)
524
524
  .with(
525
525
  body: {},
@@ -548,9 +548,9 @@ describe 'DefaultApi' do
548
548
  describe 'get_a_recording test' do
549
549
  it 'should work' do
550
550
 
551
- recording_id = build_value(:recording_id)
551
+ recording_id = build_value(:recording_id)
552
552
  local_var_path = @base_url + '/Accounts/{accountId}/Recordings/{recordingId}'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'recordingId' + '}', CGI.escape('TEST_' + 'recordingId'.snakecase.upcase))
553
-
553
+
554
554
  stub = stub_request(:GET.downcase, local_var_path)
555
555
  .with(
556
556
  body: {},
@@ -577,9 +577,9 @@ describe 'DefaultApi' do
577
577
  # @return [AccountResult]
578
578
  describe 'get_an_account test' do
579
579
  it 'should work' do
580
-
581
- local_var_path = @base_url + '/Accounts/{accountId}'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase))
582
580
 
581
+ local_var_path = @base_url + '/Accounts/{accountId}'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase))
582
+
583
583
  stub = stub_request(:GET.downcase, local_var_path)
584
584
  .with(
585
585
  body: {},
@@ -608,9 +608,9 @@ describe 'DefaultApi' do
608
608
  describe 'get_an_application test' do
609
609
  it 'should work' do
610
610
 
611
- application_id = build_value(:application_id)
611
+ application_id = build_value(:application_id)
612
612
  local_var_path = @base_url + '/Accounts/{accountId}/Applications/{applicationId}'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'applicationId' + '}', CGI.escape('TEST_' + 'applicationId'.snakecase.upcase))
613
-
613
+
614
614
  stub = stub_request(:GET.downcase, local_var_path)
615
615
  .with(
616
616
  body: {},
@@ -639,9 +639,9 @@ describe 'DefaultApi' do
639
639
  describe 'get_an_incoming_number test' do
640
640
  it 'should work' do
641
641
 
642
- phone_number_id = build_value(:phone_number_id)
642
+ phone_number_id = build_value(:phone_number_id)
643
643
  local_var_path = @base_url + '/Accounts/{accountId}/IncomingPhoneNumbers/{phoneNumberId}'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'phoneNumberId' + '}', CGI.escape('TEST_' + 'phoneNumberId'.snakecase.upcase))
644
-
644
+
645
645
  stub = stub_request(:GET.downcase, local_var_path)
646
646
  .with(
647
647
  body: {},
@@ -670,9 +670,9 @@ describe 'DefaultApi' do
670
670
  describe 'get_an_sms_message test' do
671
671
  it 'should work' do
672
672
 
673
- message_id = build_value(:message_id)
673
+ message_id = build_value(:message_id)
674
674
  local_var_path = @base_url + '/Accounts/{accountId}/Messages/{messageId}'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'messageId' + '}', CGI.escape('TEST_' + 'messageId'.snakecase.upcase))
675
-
675
+
676
676
  stub = stub_request(:GET.downcase, local_var_path)
677
677
  .with(
678
678
  body: {},
@@ -701,9 +701,9 @@ describe 'DefaultApi' do
701
701
  describe 'get_head_member test' do
702
702
  it 'should work' do
703
703
 
704
- queue_id = build_value(:queue_id)
704
+ queue_id = build_value(:queue_id)
705
705
  local_var_path = @base_url + '/Accounts/{accountId}/Queues/{queueId}/Members/Front'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'queueId' + '}', CGI.escape('TEST_' + 'queueId'.snakecase.upcase))
706
-
706
+
707
707
  stub = stub_request(:GET.downcase, local_var_path)
708
708
  .with(
709
709
  body: {},
@@ -732,9 +732,9 @@ describe 'DefaultApi' do
732
732
  describe 'list_active_queues test' do
733
733
  it 'should work' do
734
734
 
735
- _alias = build_value(:_alias)
735
+ _alias = build_value(:_alias)
736
736
  local_var_path = @base_url + '/Accounts/{accountId}/Queues'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase))
737
-
737
+
738
738
  stub = stub_request(:GET.downcase, local_var_path)
739
739
  .with(
740
740
  body: {},
@@ -761,9 +761,9 @@ describe 'DefaultApi' do
761
761
  # @return [LogList]
762
762
  describe 'list_all_account_logs test' do
763
763
  it 'should work' do
764
-
765
- local_var_path = @base_url + '/Accounts/{accountId}/Logs'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase))
766
764
 
765
+ local_var_path = @base_url + '/Accounts/{accountId}/Logs'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase))
766
+
767
767
  stub = stub_request(:GET.downcase, local_var_path)
768
768
  .with(
769
769
  body: {},
@@ -784,17 +784,17 @@ describe 'DefaultApi' do
784
784
  end
785
785
  end
786
786
 
787
- # unit tests for list_an_application
787
+ # unit tests for list_applications
788
788
  # List applications
789
789
  # @param [Hash] opts the optional parameters
790
790
  # @option opts [String] :_alias Return only applications with aliases that exactly match this value.
791
791
  # @return [ApplicationList]
792
- describe 'list_an_application test' do
792
+ describe 'list_applications test' do
793
793
  it 'should work' do
794
794
 
795
- _alias = build_value(:_alias)
795
+ _alias = build_value(:_alias)
796
796
  local_var_path = @base_url + '/Accounts/{accountId}/Applications'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase))
797
-
797
+
798
798
  stub = stub_request(:GET.downcase, local_var_path)
799
799
  .with(
800
800
  body: {},
@@ -803,7 +803,7 @@ describe 'DefaultApi' do
803
803
  })
804
804
  )
805
805
  .to_return(status: 200, body: "", headers: {})
806
- @api_instance.list_an_application(
806
+ @api_instance.list_applications(
807
807
 
808
808
  {
809
809
  :_alias => _alias,
@@ -841,9 +841,9 @@ describe 'DefaultApi' do
841
841
  capabilities_sms = build_value(:capabilities_sms)
842
842
  capabilities_toll_free = build_value(:capabilities_toll_free)
843
843
  capabilities_ten_dlc = build_value(:capabilities_ten_dlc)
844
- capabilities_short_code = build_value(:capabilities_short_code)
844
+ capabilities_short_code = build_value(:capabilities_short_code)
845
845
  local_var_path = @base_url + '/AvailablePhoneNumbers'
846
-
846
+
847
847
  stub = stub_request(:GET.downcase, local_var_path)
848
848
  .with(
849
849
  body: {},
@@ -872,9 +872,9 @@ describe 'DefaultApi' do
872
872
  describe 'list_call_logs test' do
873
873
  it 'should work' do
874
874
 
875
- call_id = build_value(:call_id)
875
+ call_id = build_value(:call_id)
876
876
  local_var_path = @base_url + '/Accounts/{accountId}/Calls/{callId}/Logs'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'callId' + '}', CGI.escape('TEST_' + 'callId'.snakecase.upcase))
877
-
877
+
878
878
  stub = stub_request(:GET.downcase, local_var_path)
879
879
  .with(
880
880
  body: {},
@@ -905,9 +905,9 @@ describe 'DefaultApi' do
905
905
  it 'should work' do
906
906
 
907
907
  call_id = build_value(:call_id)
908
- date_created = build_value(:date_created)
908
+ date_created = build_value(:date_created)
909
909
  local_var_path = @base_url + '/Accounts/{accountId}/Calls/{callId}/Recordings'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'callId' + '}', CGI.escape('TEST_' + 'callId'.snakecase.upcase))
910
-
910
+
911
911
  stub = stub_request(:GET.downcase, local_var_path)
912
912
  .with(
913
913
  body: {},
@@ -948,9 +948,9 @@ describe 'DefaultApi' do
948
948
  status = build_value(:status)
949
949
  start_time = build_value(:start_time)
950
950
  end_time = build_value(:end_time)
951
- parent_call_id = build_value(:parent_call_id)
951
+ parent_call_id = build_value(:parent_call_id)
952
952
  local_var_path = @base_url + '/Accounts/{accountId}/Calls'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase))
953
-
953
+
954
954
  stub = stub_request(:GET.downcase, local_var_path)
955
955
  .with(
956
956
  body: {},
@@ -985,9 +985,9 @@ describe 'DefaultApi' do
985
985
  status = build_value(:status)
986
986
  _alias = build_value(:_alias)
987
987
  date_created = build_value(:date_created)
988
- date_updated = build_value(:date_updated)
988
+ date_updated = build_value(:date_updated)
989
989
  local_var_path = @base_url + '/Accounts/{accountId}/Conferences'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase))
990
-
990
+
991
991
  stub = stub_request(:GET.downcase, local_var_path)
992
992
  .with(
993
993
  body: {},
@@ -1015,10 +1015,10 @@ describe 'DefaultApi' do
1015
1015
  # @option opts [String] :_alias Only show incoming phone numbers with aliases that exactly match this value.
1016
1016
  # @option opts [String] :region State or province of this phone number.
1017
1017
  # @option opts [String] :country Country of this phone number.
1018
- # @option opts [Boolean] :voice_enabled Indicates whether the phone number can handle Calls. Typically set to true for all numbers.
1019
- # @option opts [Boolean] :sms_enabled Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers.
1020
1018
  # @option opts [String] :application_id ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId.
1021
1019
  # @option opts [Boolean] :has_application Indication of whether the phone number has an application linked to it.
1020
+ # @option opts [Boolean] :voice_enabled Indicates whether the phone number can handle Calls. Typically set to true for all numbers.
1021
+ # @option opts [Boolean] :sms_enabled Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers.
1022
1022
  # @option opts [Boolean] :capabilities_voice
1023
1023
  # @option opts [Boolean] :capabilities_sms
1024
1024
  # @option opts [Boolean] :capabilities_toll_free
@@ -1032,29 +1032,29 @@ describe 'DefaultApi' do
1032
1032
  _alias = build_value(:_alias)
1033
1033
  region = build_value(:region)
1034
1034
  country = build_value(:country)
1035
- voice_enabled = build_value(:voice_enabled)
1036
- sms_enabled = build_value(:sms_enabled)
1037
1035
  application_id = build_value(:application_id)
1038
1036
  has_application = build_value(:has_application)
1037
+ voice_enabled = build_value(:voice_enabled)
1038
+ sms_enabled = build_value(:sms_enabled)
1039
1039
  capabilities_voice = build_value(:capabilities_voice)
1040
1040
  capabilities_sms = build_value(:capabilities_sms)
1041
1041
  capabilities_toll_free = build_value(:capabilities_toll_free)
1042
1042
  capabilities_ten_dlc = build_value(:capabilities_ten_dlc)
1043
- capabilities_short_code = build_value(:capabilities_short_code)
1043
+ capabilities_short_code = build_value(:capabilities_short_code)
1044
1044
  local_var_path = @base_url + '/Accounts/{accountId}/IncomingPhoneNumbers'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase))
1045
-
1045
+
1046
1046
  stub = stub_request(:GET.downcase, local_var_path)
1047
1047
  .with(
1048
1048
  body: {},
1049
1049
  query: build_query_parameters({
1050
- :phone_number => phone_number, :_alias => _alias, :region => region, :country => country, :voice_enabled => voice_enabled, :sms_enabled => sms_enabled, :application_id => application_id, :has_application => has_application, :capabilities_voice => capabilities_voice, :capabilities_sms => capabilities_sms, :capabilities_toll_free => capabilities_toll_free, :capabilities_ten_dlc => capabilities_ten_dlc, :capabilities_short_code => capabilities_short_code,
1050
+ :phone_number => phone_number, :_alias => _alias, :region => region, :country => country, :application_id => application_id, :has_application => has_application, :voice_enabled => voice_enabled, :sms_enabled => sms_enabled, :capabilities_voice => capabilities_voice, :capabilities_sms => capabilities_sms, :capabilities_toll_free => capabilities_toll_free, :capabilities_ten_dlc => capabilities_ten_dlc, :capabilities_short_code => capabilities_short_code,
1051
1051
  })
1052
1052
  )
1053
1053
  .to_return(status: 200, body: "", headers: {})
1054
1054
  @api_instance.list_incoming_numbers(
1055
1055
 
1056
1056
  {
1057
- :phone_number => phone_number,:_alias => _alias,:region => region,:country => country,:voice_enabled => voice_enabled,:sms_enabled => sms_enabled,:application_id => application_id,:has_application => has_application,:capabilities_voice => capabilities_voice,:capabilities_sms => capabilities_sms,:capabilities_toll_free => capabilities_toll_free,:capabilities_ten_dlc => capabilities_ten_dlc,:capabilities_short_code => capabilities_short_code,
1057
+ :phone_number => phone_number,:_alias => _alias,:region => region,:country => country,:application_id => application_id,:has_application => has_application,:voice_enabled => voice_enabled,:sms_enabled => sms_enabled,:capabilities_voice => capabilities_voice,:capabilities_sms => capabilities_sms,:capabilities_toll_free => capabilities_toll_free,:capabilities_ten_dlc => capabilities_ten_dlc,:capabilities_short_code => capabilities_short_code,
1058
1058
  }
1059
1059
  )
1060
1060
 
@@ -1071,9 +1071,9 @@ describe 'DefaultApi' do
1071
1071
  describe 'list_members test' do
1072
1072
  it 'should work' do
1073
1073
 
1074
- queue_id = build_value(:queue_id)
1074
+ queue_id = build_value(:queue_id)
1075
1075
  local_var_path = @base_url + '/Accounts/{accountId}/Queues/{queueId}/Members'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'queueId' + '}', CGI.escape('TEST_' + 'queueId'.snakecase.upcase))
1076
-
1076
+
1077
1077
  stub = stub_request(:GET.downcase, local_var_path)
1078
1078
  .with(
1079
1079
  body: {},
@@ -1106,9 +1106,9 @@ describe 'DefaultApi' do
1106
1106
 
1107
1107
  conference_id = build_value(:conference_id)
1108
1108
  talk = build_value(:talk)
1109
- listen = build_value(:listen)
1109
+ listen = build_value(:listen)
1110
1110
  local_var_path = @base_url + '/Accounts/{accountId}/Conferences/{conferenceId}/Participants'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'conferenceId' + '}', CGI.escape('TEST_' + 'conferenceId'.snakecase.upcase))
1111
-
1111
+
1112
1112
  stub = stub_request(:GET.downcase, local_var_path)
1113
1113
  .with(
1114
1114
  body: {},
@@ -1141,9 +1141,9 @@ describe 'DefaultApi' do
1141
1141
 
1142
1142
  call_id = build_value(:call_id)
1143
1143
  conference_id = build_value(:conference_id)
1144
- date_created = build_value(:date_created)
1144
+ date_created = build_value(:date_created)
1145
1145
  local_var_path = @base_url + '/Accounts/{accountId}/Recordings'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase))
1146
-
1146
+
1147
1147
  stub = stub_request(:GET.downcase, local_var_path)
1148
1148
  .with(
1149
1149
  body: {},
@@ -1180,9 +1180,9 @@ describe 'DefaultApi' do
1180
1180
  from = build_value(:from)
1181
1181
  begin_time = build_value(:begin_time)
1182
1182
  end_time = build_value(:end_time)
1183
- direction = build_value(:direction)
1183
+ direction = build_value(:direction)
1184
1184
  local_var_path = @base_url + '/Accounts/{accountId}/Messages'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase))
1185
-
1185
+
1186
1186
  stub = stub_request(:GET.downcase, local_var_path)
1187
1187
  .with(
1188
1188
  body: {},
@@ -1211,9 +1211,9 @@ describe 'DefaultApi' do
1211
1211
  describe 'make_a_call test' do
1212
1212
  it 'should work' do
1213
1213
 
1214
- make_call_request = build_value(:make_call_request)
1214
+ make_call_request = build_value(:make_call_request)
1215
1215
  local_var_path = @base_url + '/Accounts/{accountId}/Calls'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase))
1216
-
1216
+
1217
1217
  stub = stub_request(:POST.downcase, local_var_path)
1218
1218
  .with(
1219
1219
  body: make_call_request.to_body.to_json,
@@ -1244,9 +1244,9 @@ describe 'DefaultApi' do
1244
1244
  it 'should work' do
1245
1245
 
1246
1246
  conference_id = build_value(:conference_id)
1247
- call_id = build_value(:call_id)
1247
+ call_id = build_value(:call_id)
1248
1248
  local_var_path = @base_url + '/Accounts/{accountId}/Conferences/{conferenceId}/Participants/{callId}'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'conferenceId' + '}', CGI.escape('TEST_' + 'conferenceId'.snakecase.upcase)).sub('{' + 'callId' + '}', CGI.escape('TEST_' + 'callId'.snakecase.upcase))
1249
-
1249
+
1250
1250
  stub = stub_request(:DELETE.downcase, local_var_path)
1251
1251
  .with(
1252
1252
  body: {},
@@ -1275,9 +1275,9 @@ describe 'DefaultApi' do
1275
1275
  describe 'send_an_sms_message test' do
1276
1276
  it 'should work' do
1277
1277
 
1278
- message_request = build_value(:message_request)
1278
+ message_request = build_value(:message_request)
1279
1279
  local_var_path = @base_url + '/Accounts/{accountId}/Messages'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase))
1280
-
1280
+
1281
1281
  stub = stub_request(:POST.downcase, local_var_path)
1282
1282
  .with(
1283
1283
  body: message_request.to_body.to_json,
@@ -1306,9 +1306,9 @@ describe 'DefaultApi' do
1306
1306
  describe 'stream_a_recording_file test' do
1307
1307
  it 'should work' do
1308
1308
 
1309
- recording_id = build_value(:recording_id)
1309
+ recording_id = build_value(:recording_id)
1310
1310
  local_var_path = @base_url + '/Accounts/{accountId}/Recordings/{recordingId}/Stream'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'recordingId' + '}', CGI.escape('TEST_' + 'recordingId'.snakecase.upcase))
1311
-
1311
+
1312
1312
  stub = stub_request(:GET.downcase, local_var_path)
1313
1313
  .with(
1314
1314
  body: {},
@@ -1339,9 +1339,9 @@ describe 'DefaultApi' do
1339
1339
  it 'should work' do
1340
1340
 
1341
1341
  conference_id = build_value(:conference_id)
1342
- update_conference_request = build_value(:update_conference_request)
1342
+ update_conference_request = build_value(:update_conference_request)
1343
1343
  local_var_path = @base_url + '/Accounts/{accountId}/Conferences/{conferenceId}'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'conferenceId' + '}', CGI.escape('TEST_' + 'conferenceId'.snakecase.upcase))
1344
-
1344
+
1345
1345
  stub = stub_request(:POST.downcase, local_var_path)
1346
1346
  .with(
1347
1347
  body: update_conference_request.to_body.to_json,
@@ -1372,9 +1372,9 @@ describe 'DefaultApi' do
1372
1372
  it 'should work' do
1373
1373
 
1374
1374
  call_id = build_value(:call_id)
1375
- update_call_request = build_value(:update_call_request)
1375
+ update_call_request = build_value(:update_call_request)
1376
1376
  local_var_path = @base_url + '/Accounts/{accountId}/Calls/{callId}'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'callId' + '}', CGI.escape('TEST_' + 'callId'.snakecase.upcase))
1377
-
1377
+
1378
1378
  stub = stub_request(:POST.downcase, local_var_path)
1379
1379
  .with(
1380
1380
  body: update_call_request.to_body.to_json,
@@ -1407,9 +1407,9 @@ describe 'DefaultApi' do
1407
1407
 
1408
1408
  conference_id = build_value(:conference_id)
1409
1409
  call_id = build_value(:call_id)
1410
- update_conference_participant_request = build_value(:update_conference_participant_request)
1410
+ update_conference_participant_request = build_value(:update_conference_participant_request)
1411
1411
  local_var_path = @base_url + '/Accounts/{accountId}/Conferences/{conferenceId}/Participants/{callId}'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'conferenceId' + '}', CGI.escape('TEST_' + 'conferenceId'.snakecase.upcase)).sub('{' + 'callId' + '}', CGI.escape('TEST_' + 'callId'.snakecase.upcase))
1412
-
1412
+
1413
1413
  stub = stub_request(:POST.downcase, local_var_path)
1414
1414
  .with(
1415
1415
  body: update_conference_participant_request.to_body.to_json,
@@ -1440,9 +1440,9 @@ describe 'DefaultApi' do
1440
1440
  it 'should work' do
1441
1441
 
1442
1442
  queue_id = build_value(:queue_id)
1443
- queue_request = build_value(:queue_request)
1443
+ queue_request = build_value(:queue_request)
1444
1444
  local_var_path = @base_url + '/Accounts/{accountId}/Queues/{queueId}'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'queueId' + '}', CGI.escape('TEST_' + 'queueId'.snakecase.upcase))
1445
-
1445
+
1446
1446
  stub = stub_request(:POST.downcase, local_var_path)
1447
1447
  .with(
1448
1448
  body: queue_request.to_body.to_json,
@@ -1471,9 +1471,9 @@ describe 'DefaultApi' do
1471
1471
  describe 'update_an_account test' do
1472
1472
  it 'should work' do
1473
1473
 
1474
- account_request = build_value(:account_request)
1474
+ account_request = build_value(:account_request)
1475
1475
  local_var_path = @base_url + '/Accounts/{accountId}'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase))
1476
-
1476
+
1477
1477
  stub = stub_request(:POST.downcase, local_var_path)
1478
1478
  .with(
1479
1479
  body: account_request.to_body.to_json,
@@ -1504,9 +1504,9 @@ describe 'DefaultApi' do
1504
1504
  it 'should work' do
1505
1505
 
1506
1506
  application_id = build_value(:application_id)
1507
- application_request = build_value(:application_request)
1507
+ application_request = build_value(:application_request)
1508
1508
  local_var_path = @base_url + '/Accounts/{accountId}/Applications/{applicationId}'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'applicationId' + '}', CGI.escape('TEST_' + 'applicationId'.snakecase.upcase))
1509
-
1509
+
1510
1510
  stub = stub_request(:POST.downcase, local_var_path)
1511
1511
  .with(
1512
1512
  body: application_request.to_body.to_json,
@@ -1537,9 +1537,9 @@ describe 'DefaultApi' do
1537
1537
  it 'should work' do
1538
1538
 
1539
1539
  phone_number_id = build_value(:phone_number_id)
1540
- incoming_number_request = build_value(:incoming_number_request)
1540
+ incoming_number_request = build_value(:incoming_number_request)
1541
1541
  local_var_path = @base_url + '/Accounts/{accountId}/IncomingPhoneNumbers/{phoneNumberId}'.sub('{' + 'accountId' + '}', CGI.escape('TEST_' + 'accountId'.snakecase.upcase)).sub('{' + 'phoneNumberId' + '}', CGI.escape('TEST_' + 'phoneNumberId'.snakecase.upcase))
1542
-
1542
+
1543
1543
  stub = stub_request(:POST.downcase, local_var_path)
1544
1544
  .with(
1545
1545
  body: incoming_number_request.to_body.to_json,
@@ -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