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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9967659c853a49c4e241ce3ba03139e590b52966839fc322965c71246490601b
4
- data.tar.gz: 5f4627c4f1d99ca1fea23bae65beae37d5060f668acad0e138d28fe31a53a1b2
3
+ metadata.gz: ce9ee766863f3719656d6d09ccba0a61e19b729105d856370d0cd940c3ffef3a
4
+ data.tar.gz: f8b434df5680d102601079c1a7e7adc44a1b48fe3fabeb4a104042403666cbeb
5
5
  SHA512:
6
- metadata.gz: 15843b21574c71c791bc3cd24328b2a0a50bfe31f1af033ebb9e39005063acaf370e1bc0573c25c6d731f45b9a92b39d2dc87d1cffa43b5aabc763e580d479ea
7
- data.tar.gz: 8848a321f2988653f49156fc893c11eee785ea6c0e2d53f5dac233355c6fbf0ebcfac6cc30e595fb03db31dd8ff4abaf16dd0c274c51fde0bfafedcf9b97d6c9
6
+ metadata.gz: cc4cfa23f11cc76dee7555e83368f85f2c5fc1dc994079cd097d01507ee9224aaef370c9cacd62adcec8d8a69ebf2c9813aa41a0814a5f7b2646b839f547bc8e
7
+ data.tar.gz: 560cda13db84b53413675f19a2f4b3f30b618bc832dad6f97bf93f3b9789da4b5a76f48d8d98113f5ca38e066414884ef1c4e6c06e6d4bd34a58e20af0e21ce5
data/CHANGELOG.md CHANGED
@@ -7,6 +7,14 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
7
7
  ## [Unreleased]
8
8
  None
9
9
 
10
+ <a name="4.0.0"></a>
11
+ ## [4.0.0] - 2022-03-03
12
+ ### Changed
13
+ - Prefer keyword argument initialization for all models
14
+ - Rename api->list_an_application to list->list_applications
15
+ - Use new openapi-generator version (5.4.0)
16
+ - Remove floating `Freeclimb::percl_to_json` and added it to `PerclScript` as `to_json` method
17
+
10
18
  <a name="3.0.3"></a>
11
19
  ## [3.0.3] - 2022-02-08
12
20
  ### Added
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- freeclimb (3.0.3)
4
+ freeclimb (4.0.0)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -78,13 +78,12 @@ GEM
78
78
  ethon (>= 0.9.0)
79
79
  tzinfo (2.0.4)
80
80
  concurrent-ruby (~> 1.0)
81
-
81
+ unicode-display_width (1.5.0)
82
82
  webmock (3.14.0)
83
83
  addressable (>= 2.8.0)
84
84
  crack (>= 0.3.2)
85
85
  hashdiff (>= 0.4.0, < 2.0.0)
86
86
 
87
-
88
87
  PLATFORMS
89
88
  ruby
90
89
 
@@ -98,6 +97,5 @@ DEPENDENCIES
98
97
  rusty_camel (~> 1.0.4)
99
98
  webmock (~> 3.14)
100
99
 
101
-
102
100
  BUNDLED WITH
103
101
  2.3.6
data/README.md CHANGED
@@ -7,14 +7,15 @@ FreeClimb is a cloud-based application programming interface (API) that puts the
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 1.0.0
10
- - Package version: 3.0.3
10
+ - Package version: 4.0.0
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
+ For more information, please visit [https://www.freeclimb.com/support/](https://www.freeclimb.com/support/)
12
13
 
13
14
  ## Installation
14
15
 
15
16
  Add this to the Gemfile:
16
17
 
17
- gem 'freeclimb', '~> 3.0.3'
18
+ gem 'freeclimb', '~> 4.0.0'
18
19
 
19
20
  and run from your terminal
20
21
 
@@ -43,9 +44,9 @@ gem build freeclimb.gemspec
43
44
  Then either install the gem locally:
44
45
 
45
46
  ```shell
46
- gem install ./freeclimb-3.0.3.gem
47
+ gem install ./freeclimb-4.0.0.gem
47
48
  ```
48
- (for development, run `gem install --dev ./freeclimb-3.0.3.gem` to install the development dependencies)
49
+ (for development, run `gem install --dev ./freeclimb-4.0.0.gem` to install the development dependencies)
49
50
 
50
51
  ## Getting Started
51
52
 
@@ -89,7 +90,7 @@ say = Freeclimb::Say.new(text: "Hello, World")
89
90
  play = Freeclimb::Play.new(file: "Example File")
90
91
  get_digits = Freeclimb::GetDigits.new(action_url: "Example Action URL", prompts: [say, play])
91
92
  percl_script = Freeclimb::PerclScript.new(commands: [get_digits])
92
- puts Freeclimb::percl_to_json(percl_script)
93
+ puts percl_script.to_json
93
94
  ```
94
95
 
95
96
  ## Documentation for API Endpoints
@@ -122,7 +123,7 @@ Class | Method | HTTP request | Description
122
123
  *Freeclimb::DefaultApi* | [**get_head_member**](docs/DefaultApi.md#get_head_member) | **GET** /Accounts/{accountId}/Queues/{queueId}/Members/Front | Get Head Member
123
124
  *Freeclimb::DefaultApi* | [**list_active_queues**](docs/DefaultApi.md#list_active_queues) | **GET** /Accounts/{accountId}/Queues | List Active Queues
124
125
  *Freeclimb::DefaultApi* | [**list_all_account_logs**](docs/DefaultApi.md#list_all_account_logs) | **GET** /Accounts/{accountId}/Logs | List All Account Logs
125
- *Freeclimb::DefaultApi* | [**list_an_application**](docs/DefaultApi.md#list_an_application) | **GET** /Accounts/{accountId}/Applications | List applications
126
+ *Freeclimb::DefaultApi* | [**list_applications**](docs/DefaultApi.md#list_applications) | **GET** /Accounts/{accountId}/Applications | List applications
126
127
  *Freeclimb::DefaultApi* | [**list_available_numbers**](docs/DefaultApi.md#list_available_numbers) | **GET** /AvailablePhoneNumbers | List available numbers
127
128
  *Freeclimb::DefaultApi* | [**list_call_logs**](docs/DefaultApi.md#list_call_logs) | **GET** /Accounts/{accountId}/Calls/{callId}/Logs | List Call Logs
128
129
  *Freeclimb::DefaultApi* | [**list_call_recordings**](docs/DefaultApi.md#list_call_recordings) | **GET** /Accounts/{accountId}/Calls/{callId}/Recordings | List Call Recordings
data/docs/DefaultApi.md CHANGED
@@ -28,7 +28,7 @@ All URIs are relative to *https://www.freeclimb.com/apiserver*
28
28
  | [**get_head_member**](DefaultApi.md#get_head_member) | **GET** /Accounts/{accountId}/Queues/{queueId}/Members/Front | Get Head Member |
29
29
  | [**list_active_queues**](DefaultApi.md#list_active_queues) | **GET** /Accounts/{accountId}/Queues | List Active Queues |
30
30
  | [**list_all_account_logs**](DefaultApi.md#list_all_account_logs) | **GET** /Accounts/{accountId}/Logs | List All Account Logs |
31
- | [**list_an_application**](DefaultApi.md#list_an_application) | **GET** /Accounts/{accountId}/Applications | List applications |
31
+ | [**list_applications**](DefaultApi.md#list_applications) | **GET** /Accounts/{accountId}/Applications | List applications |
32
32
  | [**list_available_numbers**](DefaultApi.md#list_available_numbers) | **GET** /AvailablePhoneNumbers | List available numbers |
33
33
  | [**list_call_logs**](DefaultApi.md#list_call_logs) | **GET** /Accounts/{accountId}/Calls/{callId}/Logs | List Call Logs |
34
34
  | [**list_call_recordings**](DefaultApi.md#list_call_recordings) | **GET** /Accounts/{accountId}/Calls/{callId}/Recordings | List Call Recordings |
@@ -54,8 +54,6 @@ All URIs are relative to *https://www.freeclimb.com/apiserver*
54
54
 
55
55
  ## buy_a_phone_number
56
56
 
57
- > <IncomingNumberResult> buy_a_phone_number(account_id, buy_incoming_number_request)
58
-
59
57
  Buy a Phone Number
60
58
 
61
59
  ### Examples
@@ -127,8 +125,6 @@ end
127
125
 
128
126
  ## create_a_conference
129
127
 
130
- > <ConferenceResult> create_a_conference(account_id, opts)
131
-
132
128
  Create a Conference
133
129
 
134
130
  ### Examples
@@ -201,8 +197,6 @@ end
201
197
 
202
198
  ## create_a_queue
203
199
 
204
- > <QueueResult> create_a_queue(account_id, opts)
205
-
206
200
  Create a Queue
207
201
 
208
202
  ### Examples
@@ -275,8 +269,6 @@ end
275
269
 
276
270
  ## create_an_application
277
271
 
278
- > <ApplicationResult> create_an_application(account_id, opts)
279
-
280
272
  Create an application
281
273
 
282
274
  ### Examples
@@ -349,8 +341,6 @@ end
349
341
 
350
342
  ## delete_a_recording
351
343
 
352
- > delete_a_recording(account_id, recording_id)
353
-
354
344
  Delete a Recording
355
345
 
356
346
  ### Examples
@@ -421,8 +411,6 @@ nil (empty response body)
421
411
 
422
412
  ## delete_an_application
423
413
 
424
- > delete_an_application(account_id, application_id)
425
-
426
414
  Delete an application
427
415
 
428
416
  ### Examples
@@ -493,8 +481,6 @@ nil (empty response body)
493
481
 
494
482
  ## delete_an_incoming_number
495
483
 
496
- > delete_an_incoming_number(account_id, phone_number_id)
497
-
498
484
  Delete an Incoming Number
499
485
 
500
486
  ### Examples
@@ -565,8 +551,6 @@ nil (empty response body)
565
551
 
566
552
  ## dequeue_a_member
567
553
 
568
- > <QueueMember> dequeue_a_member(account_id, queue_id, call_id)
569
-
570
554
  Dequeue a Member
571
555
 
572
556
  ### Examples
@@ -642,8 +626,6 @@ end
642
626
 
643
627
  ## dequeue_head_member
644
628
 
645
- > <QueueMember> dequeue_head_member(account_id, queue_id)
646
-
647
629
  Dequeue Head Member
648
630
 
649
631
  ### Examples
@@ -715,8 +697,6 @@ end
715
697
 
716
698
  ## download_a_recording_file
717
699
 
718
- > File download_a_recording_file(account_id, recording_id)
719
-
720
700
  Download a Recording File
721
701
 
722
702
  ### Examples
@@ -788,8 +768,6 @@ end
788
768
 
789
769
  ## filter_logs
790
770
 
791
- > <LogList> filter_logs(account_id, filter_logs_request)
792
-
793
771
  Filter Logs
794
772
 
795
773
  ### Examples
@@ -861,8 +839,6 @@ end
861
839
 
862
840
  ## get_a_call
863
841
 
864
- > <CallResult> get_a_call(account_id, call_id)
865
-
866
842
  Get a Call
867
843
 
868
844
  ### Examples
@@ -934,8 +910,6 @@ end
934
910
 
935
911
  ## get_a_conference
936
912
 
937
- > <ConferenceResult> get_a_conference(account_id, conference_id)
938
-
939
913
  Get a Conference
940
914
 
941
915
  ### Examples
@@ -1007,8 +981,6 @@ end
1007
981
 
1008
982
  ## get_a_member
1009
983
 
1010
- > <QueueMember> get_a_member(account_id, queue_id, call_id)
1011
-
1012
984
  Get a Member
1013
985
 
1014
986
  ### Examples
@@ -1084,8 +1056,6 @@ end
1084
1056
 
1085
1057
  ## get_a_participant
1086
1058
 
1087
- > <ConferenceParticipantResult> get_a_participant(account_id, conference_id, call_id)
1088
-
1089
1059
  Get a Participant
1090
1060
 
1091
1061
  ### Examples
@@ -1161,8 +1131,6 @@ end
1161
1131
 
1162
1132
  ## get_a_queue
1163
1133
 
1164
- > <QueueResult> get_a_queue(account_id, queue_id)
1165
-
1166
1134
  Get a Queue
1167
1135
 
1168
1136
  ### Examples
@@ -1234,8 +1202,6 @@ end
1234
1202
 
1235
1203
  ## get_a_recording
1236
1204
 
1237
- > <RecordingResult> get_a_recording(account_id, recording_id)
1238
-
1239
1205
  Get a Recording
1240
1206
 
1241
1207
  ### Examples
@@ -1307,8 +1273,6 @@ end
1307
1273
 
1308
1274
  ## get_an_account
1309
1275
 
1310
- > <AccountResult> get_an_account(account_id)
1311
-
1312
1276
  Get an Account
1313
1277
 
1314
1278
  ### Examples
@@ -1376,8 +1340,6 @@ end
1376
1340
 
1377
1341
  ## get_an_application
1378
1342
 
1379
- > <ApplicationResult> get_an_application(account_id, application_id)
1380
-
1381
1343
  Get an Application
1382
1344
 
1383
1345
  ### Examples
@@ -1449,8 +1411,6 @@ end
1449
1411
 
1450
1412
  ## get_an_incoming_number
1451
1413
 
1452
- > <IncomingNumberResult> get_an_incoming_number(account_id, phone_number_id)
1453
-
1454
1414
  Get an Incoming Number
1455
1415
 
1456
1416
  ### Examples
@@ -1522,8 +1482,6 @@ end
1522
1482
 
1523
1483
  ## get_an_sms_message
1524
1484
 
1525
- > <MessageResult> get_an_sms_message(account_id, message_id)
1526
-
1527
1485
  Get an SMS Message
1528
1486
 
1529
1487
  ### Examples
@@ -1595,8 +1553,6 @@ end
1595
1553
 
1596
1554
  ## get_head_member
1597
1555
 
1598
- > <QueueMember> get_head_member(account_id, queue_id)
1599
-
1600
1556
  Get Head Member
1601
1557
 
1602
1558
  ### Examples
@@ -1668,8 +1624,6 @@ end
1668
1624
 
1669
1625
  ## list_active_queues
1670
1626
 
1671
- > <QueueList> list_active_queues(account_id, opts)
1672
-
1673
1627
  List Active Queues
1674
1628
 
1675
1629
  ### Examples
@@ -1742,8 +1696,6 @@ end
1742
1696
 
1743
1697
  ## list_all_account_logs
1744
1698
 
1745
- > <LogList> list_all_account_logs(account_id)
1746
-
1747
1699
  List All Account Logs
1748
1700
 
1749
1701
  ### Examples
@@ -1809,9 +1761,7 @@ end
1809
1761
  - **Accept**: application/json
1810
1762
 
1811
1763
 
1812
- ## list_an_application
1813
-
1814
- > <ApplicationList> list_an_application(account_id, opts)
1764
+ ## list_applications
1815
1765
 
1816
1766
  List applications
1817
1767
 
@@ -1836,28 +1786,28 @@ opts = {
1836
1786
  begin
1837
1787
 
1838
1788
  # List applications
1839
- result = api_instance.list_an_application(opts)
1789
+ result = api_instance.list_applications(opts)
1840
1790
  p result
1841
1791
  rescue Freeclimb::ApiError => e
1842
- puts "Error when calling DefaultApi->list_an_application: #{e}"
1792
+ puts "Error when calling DefaultApi->list_applications: #{e}"
1843
1793
  end
1844
1794
  ```
1845
1795
 
1846
- #### Using the list_an_application_with_http_info variant
1796
+ #### Using the list_applications_with_http_info variant
1847
1797
 
1848
1798
  This returns an Array which contains the response data, status code and headers.
1849
1799
 
1850
- > <Array(<ApplicationList>, Integer, Hash)> list_an_application_with_http_info(account_id, opts)
1800
+ > <Array(<ApplicationList>, Integer, Hash)> list_applications_with_http_info(account_id, opts)
1851
1801
 
1852
1802
  ```ruby
1853
1803
  begin
1854
1804
  # List applications
1855
- data, status_code, headers = api_instance.list_an_application_with_http_info(opts)
1805
+ data, status_code, headers = api_instance.list_applications_with_http_info(opts)
1856
1806
  p status_code # => 2xx
1857
1807
  p headers # => { ... }
1858
1808
  p data # => <ApplicationList>
1859
1809
  rescue Freeclimb::ApiError => e
1860
- puts "Error when calling DefaultApi->list_an_application_with_http_info: #{e}"
1810
+ puts "Error when calling DefaultApi->list_applications_with_http_info: #{e}"
1861
1811
  end
1862
1812
  ```
1863
1813
 
@@ -1885,8 +1835,6 @@ end
1885
1835
 
1886
1836
  ## list_available_numbers
1887
1837
 
1888
- > <AvailableNumberList> list_available_numbers(opts)
1889
-
1890
1838
  List available numbers
1891
1839
 
1892
1840
  ### Examples
@@ -1986,8 +1934,6 @@ end
1986
1934
 
1987
1935
  ## list_call_logs
1988
1936
 
1989
- > <LogList> list_call_logs(account_id, call_id)
1990
-
1991
1937
  List Call Logs
1992
1938
 
1993
1939
  ### Examples
@@ -2059,8 +2005,6 @@ end
2059
2005
 
2060
2006
  ## list_call_recordings
2061
2007
 
2062
- > <RecordingList> list_call_recordings(account_id, call_id, opts)
2063
-
2064
2008
  List Call Recordings
2065
2009
 
2066
2010
  ### Examples
@@ -2137,8 +2081,6 @@ end
2137
2081
 
2138
2082
  ## list_calls
2139
2083
 
2140
- > <CallList> list_calls(account_id, opts)
2141
-
2142
2084
  List Calls
2143
2085
 
2144
2086
  ### Examples
@@ -2229,8 +2171,6 @@ end
2229
2171
 
2230
2172
  ## list_conferences
2231
2173
 
2232
- > <ConferenceList> list_conferences(account_id, opts)
2233
-
2234
2174
  List Conferences
2235
2175
 
2236
2176
  ### Examples
@@ -2312,8 +2252,6 @@ end
2312
2252
 
2313
2253
  ## list_incoming_numbers
2314
2254
 
2315
- > <IncomingNumberList> list_incoming_numbers(account_id, opts)
2316
-
2317
2255
  List Incoming Numbers
2318
2256
 
2319
2257
  ### Examples
@@ -2422,8 +2360,6 @@ end
2422
2360
 
2423
2361
  ## list_members
2424
2362
 
2425
- > <QueueMemberList> list_members(account_id, queue_id)
2426
-
2427
2363
  List Members
2428
2364
 
2429
2365
  ### Examples
@@ -2495,8 +2431,6 @@ end
2495
2431
 
2496
2432
  ## list_participants
2497
2433
 
2498
- > <ConferenceParticipantList> list_participants(account_id, conference_id, opts)
2499
-
2500
2434
  List Participants
2501
2435
 
2502
2436
  ### Examples
@@ -2576,8 +2510,6 @@ end
2576
2510
 
2577
2511
  ## list_recordings
2578
2512
 
2579
- > <RecordingList> list_recordings(account_id, opts)
2580
-
2581
2513
  List Recordings
2582
2514
 
2583
2515
  ### Examples
@@ -2656,8 +2588,6 @@ end
2656
2588
 
2657
2589
  ## list_sms_messages
2658
2590
 
2659
- > <MessagesList> list_sms_messages(account_id, opts)
2660
-
2661
2591
  List SMS Messages
2662
2592
 
2663
2593
  ### Examples
@@ -2679,7 +2609,7 @@ opts = {
2679
2609
  from: 'from_example', # String | Only show Messages from this phone number.
2680
2610
  begin_time: 'begin_time_example', # String | Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*.
2681
2611
  end_time: 'end_time_example', # String | Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*..
2682
- direction: 'direction_example' # String | Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb.
2612
+ direction: 'inbound' # String | Either `inbound` or `outbound`. Only show Messages that were either *sent from* or *received by* FreeClimb.
2683
2613
  }
2684
2614
 
2685
2615
  begin
@@ -2742,8 +2672,6 @@ end
2742
2672
 
2743
2673
  ## make_a_call
2744
2674
 
2745
- > <CallResult> make_a_call(account_id, opts)
2746
-
2747
2675
  Make a Call
2748
2676
 
2749
2677
  ### Examples
@@ -2816,8 +2744,6 @@ end
2816
2744
 
2817
2745
  ## remove_a_participant
2818
2746
 
2819
- > remove_a_participant(account_id, conference_id, call_id)
2820
-
2821
2747
  Remove a Participant
2822
2748
 
2823
2749
  ### Examples
@@ -2892,8 +2818,6 @@ nil (empty response body)
2892
2818
 
2893
2819
  ## send_an_sms_message
2894
2820
 
2895
- > <MessageResult> send_an_sms_message(account_id, message_request)
2896
-
2897
2821
  Send an SMS Message
2898
2822
 
2899
2823
  ### Examples
@@ -2965,8 +2889,6 @@ end
2965
2889
 
2966
2890
  ## stream_a_recording_file
2967
2891
 
2968
- > File stream_a_recording_file(account_id, recording_id)
2969
-
2970
2892
  Stream a Recording File
2971
2893
 
2972
2894
  ### Examples
@@ -3038,8 +2960,6 @@ end
3038
2960
 
3039
2961
  ## update_a_conference
3040
2962
 
3041
- > <ConferenceResult> update_a_conference(account_id, conference_id, opts)
3042
-
3043
2963
  Update a Conference
3044
2964
 
3045
2965
  ### Examples
@@ -3116,8 +3036,6 @@ end
3116
3036
 
3117
3037
  ## update_a_live_call
3118
3038
 
3119
- > update_a_live_call(account_id, call_id, update_call_request)
3120
-
3121
3039
  Update a Live Call
3122
3040
 
3123
3041
  ### Examples
@@ -3192,8 +3110,6 @@ nil (empty response body)
3192
3110
 
3193
3111
  ## update_a_participant
3194
3112
 
3195
- > <ConferenceParticipantResult> update_a_participant(account_id, conference_id, call_id, opts)
3196
-
3197
3113
  Update a Participant
3198
3114
 
3199
3115
  ### Examples
@@ -3274,8 +3190,6 @@ end
3274
3190
 
3275
3191
  ## update_a_queue
3276
3192
 
3277
- > <QueueResult> update_a_queue(account_id, queue_id, opts)
3278
-
3279
3193
  Update a Queue
3280
3194
 
3281
3195
  ### Examples
@@ -3352,8 +3266,6 @@ end
3352
3266
 
3353
3267
  ## update_an_account
3354
3268
 
3355
- > update_an_account(account_id, opts)
3356
-
3357
3269
  Manage an account
3358
3270
 
3359
3271
  ### Examples
@@ -3425,8 +3337,6 @@ nil (empty response body)
3425
3337
 
3426
3338
  ## update_an_application
3427
3339
 
3428
- > <ApplicationResult> update_an_application(account_id, application_id, opts)
3429
-
3430
3340
  Update an application
3431
3341
 
3432
3342
  ### Examples
@@ -3503,8 +3413,6 @@ end
3503
3413
 
3504
3414
  ## update_an_incoming_number
3505
3415
 
3506
- > <IncomingNumberResult> update_an_incoming_number(account_id, phone_number_id, opts)
3507
-
3508
3416
  Update an Incoming Number
3509
3417
 
3510
3418
  ### Examples
@@ -10,7 +10,7 @@
10
10
  | **send_digits** | **String** | String of digits to dial after connecting to the number. It can include digits &#x60;0-9&#x60;, &#x60;*&#x60;, and &#x60;#&#x60;, and allows embedding a pause between the output of individual digits. The default pause is 500 milliseconds. So, a string such as *1234#* will be played in 2 seconds because of the 4 standard pauses implied within the string. A custom pause is specified by including a positive integer wrapped in curly braces: {n}. For more information, see **sendDigits examples** below. | [optional] |
11
11
  | **if_machine** | **String** | Specifies how FreeClimb should handle this Call if an answering machine answers it. | [optional] |
12
12
  | **if_machine_url** | **String** | This attribute specifies a URL to which FreeClimb will make a POST request when an answering machine or a fax machine is detected. This URL is required if the ifMachine flag is set to redirect. When ifMachine is set to hangup, ifMachineUrl must not be included in the request. For more information, see **ifMachineUrl example** below. | [optional] |
13
- | **timeout** | **Integer** | Number of seconds that FreeClimb should allow the phone to ring before assuming there is no answer. Default is 30 seconds. Maximum allowed ring-time is determined by the target phone&#39;s provider. Note that most providers limit ring-time to 120 seconds. | [optional] |
13
+ | **timeout** | **Integer** | Number of seconds that FreeClimb should allow the phone to ring before assuming there is no answer. Default is 30 seconds. Maximum allowed ring-time is determined by the target phone&#39;s provider. Note that most providers limit ring-time to 120 seconds. | [optional][default to 30] |
14
14
  | **parent_call_id** | **String** | Required if no &#x60;applicationId&#x60; or &#x60;callConnectUrl&#x60; has been provided. The ID of the parent Call in the case that this new Call is meant to be treated as a child of an existing Call. This attribute should be included when possible to reduce latency when adding child calls to Conferences containing the parent Call. A call can only be used as a parent once the call is in progress or as an inbound call that is still ringing. An outbound call is considered to be in progress once the &#x60;outdialConnect&#x60; or &#x60;outdialApiConnect&#x60; webhook is invoked. An inbound call is ringing when the inbound webhook is invoked. If a &#x60;callConnectUrl&#x60; attribute is also included with the &#x60;parentCallId&#x60; in the request, this URL will be used as a replacement of the &#x60;callConnectUrl&#x60; originally assigned in the parent call. | [optional] |
15
15
  | **privacy_mode** | **Boolean** | Activate privacy mode in order to obscure log data that can potentially expose private information. | [optional] |
16
16
  | **call_connect_url** | **String** | The URL that FreeClimb should use to handle this phone call. If an applicationId or parentCallId have already been provided, this callConnectUrl attribute will be used as a replacement of the callConnectUrl originally assigned in the application or parent call. | [optional] |
data/docs/PerclCommand.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **command** | **String** | | [optional] |
7
+ | **command** | **String** | Name of PerCL Command (this is automatically derived from mapping configuration and should not be manually supplied in any arguments) | [optional] |
8
8
 
9
9
  ## Example
10
10
 
data/docs/QueueRequest.md CHANGED
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **_alias** | **String** | Description for this Queue. Max length is 64 characters. | [optional] |
8
- | **max_size** | **Integer** | Maximum number of calls this queue can hold. Default is 100. Maximum is 1000. **Note:** Reducing the maxSize of a Queue causes the Queue to reject incoming requests until it shrinks below the new value of maxSize. | [optional] |
8
+ | **max_size** | **Integer** | Maximum number of calls this queue can hold. Default is 100. Maximum is 1000. **Note:** Reducing the maxSize of a Queue causes the Queue to reject incoming requests until it shrinks below the new value of maxSize. | [optional][default to 100] |
9
9
 
10
10
  ## Example
11
11
 
data/freeclimb.gemspec CHANGED
@@ -6,7 +6,7 @@
6
6
  #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.
7
7
 
8
8
  The version of the OpenAPI document: 1.0.0
9
-
9
+ Contact: support@freeclimb.com
10
10
  Generated by: https://openapi-generator.tech
11
11
  OpenAPI Generator version: 5.4.0
12
12
 
@@ -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
 
@@ -1523,8 +1523,8 @@ module Freeclimb
1523
1523
  # @param [Hash] opts the optional parameters
1524
1524
  # @option opts [String] :_alias Return only applications with aliases that exactly match this value.
1525
1525
  # @return [ApplicationList]
1526
- def list_an_application(opts = {})
1527
- data, _status_code, _headers = list_an_application_with_http_info(opts)
1526
+ def list_applications(opts = {})
1527
+ data, _status_code, _headers = list_applications_with_http_info(opts)
1528
1528
  data
1529
1529
  end
1530
1530
 
@@ -1532,9 +1532,9 @@ module Freeclimb
1532
1532
  # @param [Hash] opts the optional parameters
1533
1533
  # @option opts [String] :_alias Return only applications with aliases that exactly match this value.
1534
1534
  # @return [Array<(ApplicationList, Integer, Hash)>] ApplicationList data, response status code and response headers
1535
- def list_an_application_with_http_info(opts = {})
1535
+ def list_applications_with_http_info(opts = {})
1536
1536
  if @api_client.config.debugging
1537
- @api_client.config.logger.debug 'Calling API: DefaultApi.list_an_application ...'
1537
+ @api_client.config.logger.debug 'Calling API: DefaultApi.list_applications ...'
1538
1538
  end
1539
1539
  # resource path
1540
1540
  local_var_path = '/Accounts/{accountId}/Applications'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s))
@@ -1561,7 +1561,7 @@ module Freeclimb
1561
1561
  auth_names = opts[:debug_auth_names] || ['fc']
1562
1562
 
1563
1563
  new_options = opts.merge(
1564
- :operation => :"DefaultApi.list_an_application",
1564
+ :operation => :"DefaultApi.list_applications",
1565
1565
  :header_params => header_params,
1566
1566
  :query_params => query_params,
1567
1567
  :form_params => form_params,
@@ -1572,7 +1572,7 @@ module Freeclimb
1572
1572
 
1573
1573
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1574
1574
  if @api_client.config.debugging
1575
- @api_client.config.logger.debug "API called: DefaultApi#list_an_application\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1575
+ @api_client.config.logger.debug "API called: DefaultApi#list_applications\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1576
1576
  end
1577
1577
  return data, status_code, headers
1578
1578
  end
@@ -2245,6 +2245,10 @@ module Freeclimb
2245
2245
  if @api_client.config.debugging
2246
2246
  @api_client.config.logger.debug 'Calling API: DefaultApi.list_sms_messages ...'
2247
2247
  end
2248
+ allowable_values = ["inbound", "outbound"]
2249
+ if @api_client.config.client_side_validation && opts[:'direction'] && !allowable_values.include?(opts[:'direction'])
2250
+ fail ArgumentError, "invalid value for \"direction\", must be one of #{allowable_values}"
2251
+ end
2248
2252
  # resource path
2249
2253
  local_var_path = '/Accounts/{accountId}/Messages'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s))
2250
2254
 
@@ -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