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
 
@@ -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
 
@@ -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
 
@@ -4,7 +4,7 @@ describe "quickstart" do
4
4
  it "generates percl to say the text 'Hello, World!'" do
5
5
  say = Freeclimb::Say.new(text:'Hello, World!')
6
6
  script = Freeclimb::PerclScript.new(commands:[say])
7
- json = Freeclimb::percl_to_json(script)
7
+ json = script.to_json()
8
8
  expect(json).to eq("[{\"Say\":{\"text\":\"Hello, World!\"}}]")
9
9
  end
10
10
  end
data/spec/spec_helper.rb CHANGED
@@ -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
 
@@ -132,7 +132,11 @@ WebMock.disable_net_connect!(:allow_localhost => true)
132
132
 
133
133
  def build_value(sym)
134
134
  begin
135
- build(sym)
135
+ if (sym.to_s == 'direction')
136
+ 'inbound'
137
+ else
138
+ build(sym)
139
+ end
136
140
  rescue => error
137
141
  if error.message.include? "invalid value"
138
142
  raise error
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freeclimb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-08 00:00:00.000000000 Z
11
+ date: 2022-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -370,7 +370,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
370
370
  - !ruby/object:Gem::Version
371
371
  version: '0'
372
372
  requirements: []
373
- rubygems_version: 3.2.32
373
+ rubygems_version: 3.3.7
374
374
  signing_key:
375
375
  specification_version: 4
376
376
  summary: FreeClimb API Ruby Gem