Skip to content

Commit b214a41

Browse files
committed
Resolve VCSWP-23999
1 parent a1c5f43 commit b214a41

10 files changed

Lines changed: 226 additions & 19 deletions

File tree

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
freeclimb (5.4.0)
4+
freeclimb (5.4.1)
55
typhoeus (~> 1.0, >= 1.0.1)
66

77
GEM

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ FreeClimb is a cloud-based application programming interface (API) that puts the
77
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
88

99
- API version: 1.0.0
10-
- Package version: 5.4.0
10+
- Package version: 5.4.1
1111
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
1212
For more information, please visit [https://www.freeclimb.com/support/](https://www.freeclimb.com/support/)
1313

1414
## Installation
1515

1616
Add this to the Gemfile:
1717

18-
gem 'freeclimb', '~> 5.4.0'
18+
gem 'freeclimb', '~> 5.4.1'
1919

2020
and run from your terminal
2121

@@ -44,9 +44,9 @@ gem build freeclimb.gemspec
4444
Then either install the gem locally:
4545

4646
```shell
47-
gem install ./freeclimb-5.4.0.gem
47+
gem install ./freeclimb-5.4.1.gem
4848
```
49-
(for development, run `gem install --dev ./freeclimb-5.4.0.gem` to install the development dependencies)
49+
(for development, run `gem install --dev ./freeclimb-5.4.1.gem` to install the development dependencies)
5050

5151
## Getting Started
5252

docs/CallResult.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
| **end_time** | **String** | End time of the Call (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call did not complete successfully. | [optional] |
2121
| **duration** | **Integer** | Total length of the Call in seconds. Measures time between startTime and endTime. This value is empty for busy, failed, unanswered or ongoing Calls. | [optional] |
2222
| **connect_duration** | **Integer** | Length of time that the Call was connected in seconds. Measures time between connectTime and endTime. This value is empty for busy, failed, unanswered or ongoing Calls. | [optional] |
23+
| **audio_stream_duration** | **Integer** | Length of time that the Call used the audio stream in seconds. This value is empty or zero when the Call did not use the audio stream. | [optional] |
2324
| **direction** | [**CallDirection**](CallDirection.md) | | [optional] |
2425
| **answered_by** | [**AnsweredBy**](AnsweredBy.md) | | [optional] |
2526
| **subresource_uris** | **Object** | The list of subresources for this Call. These include things like logs and recordings associated with the Call. | [optional] |
@@ -47,6 +48,7 @@ instance = Freeclimb::CallResult.new(
4748
end_time: null,
4849
duration: null,
4950
connect_duration: null,
51+
audio_stream_duration: null,
5052
direction: null,
5153
answered_by: null,
5254
subresource_uris: null,

docs/DefaultApi.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3272,7 +3272,9 @@ api_instance = Freeclimb::DefaultApi.new
32723272
call_id = 'call_id_example' # String | String that uniquely identifies this call resource.
32733273

32743274
opts = {
3275-
date_created: 'date_created_example' # String | Only show recordings created on the specified date, in the form *YYYY-MM-DD*.
3275+
date_created: 'date_created_example', # String | Only show recordings created on the specified date, in the form *YYYY-MM-DD*.
3276+
start_time: 'start_time_example', # String | Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss.
3277+
end_time: 'end_time_example' # String | Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss.
32763278
}
32773279

32783280
begin
@@ -3309,6 +3311,8 @@ end
33093311
| ---- | ---- | ----------- | ----- |
33103312
| **call_id** | **String** | String that uniquely identifies this call resource. | |
33113313
| **date_created** | **String** | Only show recordings created on the specified date, in the form *YYYY-MM-DD*. | [optional] |
3314+
| **start_time** | **String** | Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss. | [optional] |
3315+
| **end_time** | **String** | Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss. | [optional] |
33123316

33133317

33143318
### Return type
@@ -3344,6 +3348,7 @@ end
33443348
api_instance = Freeclimb::DefaultApi.new
33453349

33463350
opts = {
3351+
used_audio_stream: true, # Boolean | If usedAudioStream is set to true then all calls that have a audioStreamDuration > 0 will be returned
33473352
active: true, # Boolean | If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query.
33483353
to: 'to_example', # String | Only show Calls to this phone number.
33493354
from: 'from_example', # String | Only show Calls from this phone number.
@@ -3388,6 +3393,7 @@ end
33883393

33893394
| Name | Type | Description | Notes |
33903395
| ---- | ---- | ----------- | ----- |
3396+
| **used_audio_stream** | **Boolean** | If usedAudioStream is set to true then all calls that have a audioStreamDuration > 0 will be returned | [optional][default to false] |
33913397
| **active** | **Boolean** | If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query. | [optional][default to false] |
33923398
| **to** | **String** | Only show Calls to this phone number. | [optional] |
33933399
| **from** | **String** | Only show Calls from this phone number. | [optional] |
@@ -3436,7 +3442,9 @@ conference_id = 'conference_id_example' # String | Show only Recordings made dur
34363442

34373443
opts = {
34383444
call_id: 'call_id_example', # String | Show only Recordings made during the Call with this ID.
3439-
date_created: 'date_created_example' # String | Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
3445+
date_created: 'date_created_example', # String | Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
3446+
start_time: 'start_time_example', # String | Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss.
3447+
end_time: 'end_time_example' # String | Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss.
34403448
}
34413449

34423450
begin
@@ -3474,6 +3482,8 @@ end
34743482
| **conference_id** | **String** | Show only Recordings made during the conference with this ID. | |
34753483
| **call_id** | **String** | Show only Recordings made during the Call with this ID. | [optional] |
34763484
| **date_created** | **String** | Only show Recordings created on this date, formatted as *YYYY-MM-DD*. | [optional] |
3485+
| **start_time** | **String** | Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss. | [optional] |
3486+
| **end_time** | **String** | Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss. | [optional] |
34773487

34783488

34793489
### Return type
@@ -3906,7 +3916,9 @@ api_instance = Freeclimb::DefaultApi.new
39063916
opts = {
39073917
call_id: 'call_id_example', # String | Show only Recordings made during the Call with this ID.
39083918
conference_id: 'conference_id_example', # String | Show only Recordings made during the conference with this ID.
3909-
date_created: 'date_created_example' # String | Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
3919+
date_created: 'date_created_example', # String | Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
3920+
start_time: 'start_time_example', # String | Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss.
3921+
end_time: 'end_time_example' # String | Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss.
39103922
}
39113923

39123924
begin
@@ -3944,6 +3956,8 @@ end
39443956
| **call_id** | **String** | Show only Recordings made during the Call with this ID. | [optional] |
39453957
| **conference_id** | **String** | Show only Recordings made during the conference with this ID. | [optional] |
39463958
| **date_created** | **String** | Only show Recordings created on this date, formatted as *YYYY-MM-DD*. | [optional] |
3959+
| **start_time** | **String** | Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss. | [optional] |
3960+
| **end_time** | **String** | Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss. | [optional] |
39473961

39483962

39493963
### Return type

lib/freeclimb/api/default_api.rb

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2965,6 +2965,8 @@ def list_call_logs_with_http_info(call_id, opts = {})
29652965
# @param call_id [String] String that uniquely identifies this call resource.
29662966
# @param [Hash] opts the optional parameters
29672967
# @option opts [String] :date_created Only show recordings created on the specified date, in the form *YYYY-MM-DD*.
2968+
# @option opts [String] :start_time Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss.
2969+
# @option opts [String] :end_time Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss.
29682970
# @return [RecordingList]
29692971
def list_call_recordings(call_id, opts = {})
29702972
data, _status_code, _headers = list_call_recordings_with_http_info(call_id, opts)
@@ -2975,6 +2977,8 @@ def list_call_recordings(call_id, opts = {})
29752977
# @param call_id [String] String that uniquely identifies this call resource.
29762978
# @param [Hash] opts the optional parameters
29772979
# @option opts [String] :date_created Only show recordings created on the specified date, in the form *YYYY-MM-DD*.
2980+
# @option opts [String] :start_time Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss.
2981+
# @option opts [String] :end_time Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss.
29782982
# @return [Array<(RecordingList, Integer, Hash)>] RecordingList data, response status code and response headers
29792983
def list_call_recordings_with_http_info(call_id, opts = {})
29802984
if @api_client.config.debugging
@@ -2995,6 +2999,8 @@ def list_call_recordings_with_http_info(call_id, opts = {})
29952999
# query parameters
29963000
query_params = opts[:query_params] || {}
29973001
query_params[:dateCreated] = opts[:date_created] if !opts[:date_created].nil?
3002+
query_params[:startTime] = opts[:start_time] if !opts[:start_time].nil?
3003+
query_params[:endTime] = opts[:end_time] if !opts[:end_time].nil?
29983004

29993005
# header parameters
30003006
header_params = opts[:header_params] || {}
@@ -3032,6 +3038,7 @@ def list_call_recordings_with_http_info(call_id, opts = {})
30323038

30333039
# List Calls
30343040
# @param [Hash] opts the optional parameters
3041+
# @option opts [Boolean] :used_audio_stream If usedAudioStream is set to true then all calls that have a audioStreamDuration &gt; 0 will be returned (default to false)
30353042
# @option opts [Boolean] :active If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query. (default to false)
30363043
# @option opts [String] :to Only show Calls to this phone number.
30373044
# @option opts [String] :from Only show Calls from this phone number.
@@ -3050,6 +3057,7 @@ def list_calls(opts = {})
30503057

30513058
# List Calls
30523059
# @param [Hash] opts the optional parameters
3060+
# @option opts [Boolean] :used_audio_stream If usedAudioStream is set to true then all calls that have a audioStreamDuration &gt; 0 will be returned
30533061
# @option opts [Boolean] :active If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query.
30543062
# @option opts [String] :to Only show Calls to this phone number.
30553063
# @option opts [String] :from Only show Calls from this phone number.
@@ -3079,6 +3087,7 @@ def list_calls_with_http_info(opts = {})
30793087

30803088
# query parameters
30813089
query_params = opts[:query_params] || {}
3090+
query_params[:usedAudioStream] = opts[:used_audio_stream] if !opts[:used_audio_stream].nil?
30823091
query_params[:active] = opts[:active] if !opts[:active].nil?
30833092
query_params[:to] = opts[:to] if !opts[:to].nil?
30843093
query_params[:from] = opts[:from] if !opts[:from].nil?
@@ -3129,6 +3138,8 @@ def list_calls_with_http_info(opts = {})
31293138
# @param [Hash] opts the optional parameters
31303139
# @option opts [String] :call_id Show only Recordings made during the Call with this ID.
31313140
# @option opts [String] :date_created Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
3141+
# @option opts [String] :start_time Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss.
3142+
# @option opts [String] :end_time Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss.
31323143
# @return [RecordingList]
31333144
def list_conference_recordings(conference_id, opts = {})
31343145
data, _status_code, _headers = list_conference_recordings_with_http_info(conference_id, opts)
@@ -3140,6 +3151,8 @@ def list_conference_recordings(conference_id, opts = {})
31403151
# @param [Hash] opts the optional parameters
31413152
# @option opts [String] :call_id Show only Recordings made during the Call with this ID.
31423153
# @option opts [String] :date_created Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
3154+
# @option opts [String] :start_time Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss.
3155+
# @option opts [String] :end_time Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss.
31433156
# @return [Array<(RecordingList, Integer, Hash)>] RecordingList data, response status code and response headers
31443157
def list_conference_recordings_with_http_info(conference_id, opts = {})
31453158
if @api_client.config.debugging
@@ -3161,6 +3174,8 @@ def list_conference_recordings_with_http_info(conference_id, opts = {})
31613174
query_params = opts[:query_params] || {}
31623175
query_params[:callId] = opts[:call_id] if !opts[:call_id].nil?
31633176
query_params[:dateCreated] = opts[:date_created] if !opts[:date_created].nil?
3177+
query_params[:startTime] = opts[:start_time] if !opts[:start_time].nil?
3178+
query_params[:endTime] = opts[:end_time] if !opts[:end_time].nil?
31643179

31653180
# header parameters
31663181
header_params = opts[:header_params] || {}
@@ -3582,6 +3597,8 @@ def list_participants_with_http_info(conference_id, opts = {})
35823597
# @option opts [String] :call_id Show only Recordings made during the Call with this ID.
35833598
# @option opts [String] :conference_id Show only Recordings made during the conference with this ID.
35843599
# @option opts [String] :date_created Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
3600+
# @option opts [String] :start_time Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss.
3601+
# @option opts [String] :end_time Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss.
35853602
# @return [RecordingList]
35863603
def list_recordings(opts = {})
35873604
data, _status_code, _headers = list_recordings_with_http_info(opts)
@@ -3593,6 +3610,8 @@ def list_recordings(opts = {})
35933610
# @option opts [String] :call_id Show only Recordings made during the Call with this ID.
35943611
# @option opts [String] :conference_id Show only Recordings made during the conference with this ID.
35953612
# @option opts [String] :date_created Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
3613+
# @option opts [String] :start_time Only show Recordings created at or after this time, given as YYYY-MM-DD hh:mm:ss.
3614+
# @option opts [String] :end_time Only show Recordings created at or before this time, given as YYYY-MM-DD hh:mm:ss.
35963615
# @return [Array<(RecordingList, Integer, Hash)>] RecordingList data, response status code and response headers
35973616
def list_recordings_with_http_info(opts = {})
35983617
if @api_client.config.debugging
@@ -3611,6 +3630,8 @@ def list_recordings_with_http_info(opts = {})
36113630
query_params[:callId] = opts[:call_id] if !opts[:call_id].nil?
36123631
query_params[:conferenceId] = opts[:conference_id] if !opts[:conference_id].nil?
36133632
query_params[:dateCreated] = opts[:date_created] if !opts[:date_created].nil?
3633+
query_params[:startTime] = opts[:start_time] if !opts[:start_time].nil?
3634+
query_params[:endTime] = opts[:end_time] if !opts[:end_time].nil?
36143635

36153636
# header parameters
36163637
header_params = opts[:header_params] || {}

lib/freeclimb/models/call_result.rb

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ class CallResult
6060
# Length of time that the Call was connected in seconds. Measures time between connectTime and endTime. This value is empty for busy, failed, unanswered or ongoing Calls.
6161
attr_accessor :connect_duration
6262

63+
# Length of time that the Call used the audio stream in seconds. This value is empty or zero when the Call did not use the audio stream.
64+
attr_accessor :audio_stream_duration
65+
6366
attr_accessor :direction
6467

6568
attr_accessor :answered_by
@@ -111,6 +114,7 @@ def self.attribute_map
111114
end_time: :endTime,
112115
duration: :duration,
113116
connect_duration: :connectDuration,
117+
audio_stream_duration: :audioStreamDuration,
114118
direction: :direction,
115119
answered_by: :answeredBy,
116120
subresource_uris: :subresourceUris,
@@ -142,6 +146,7 @@ def self.openapi_types
142146
end_time: :String,
143147
duration: :Integer,
144148
connect_duration: :Integer,
149+
audio_stream_duration: :Integer,
145150
direction: :CallDirection,
146151
answered_by: :AnsweredBy,
147152
subresource_uris: :Object,
@@ -164,6 +169,7 @@ def self.openapi_nullable
164169
:end_time,
165170
:duration,
166171
:connect_duration,
172+
:audio_stream_duration,
167173
:direction,
168174
:answered_by,
169175
:subresource_uris,
@@ -257,6 +263,10 @@ def initialize(attributes = {})
257263
self.connect_duration = attributes[:connect_duration]
258264
end
259265

266+
if attributes.key?(:audio_stream_duration)
267+
self.audio_stream_duration = attributes[:audio_stream_duration]
268+
end
269+
260270
if attributes.key?(:direction)
261271
self.direction = attributes[:direction]
262272
end
@@ -311,6 +321,7 @@ def ==(other)
311321
end_time == other.end_time &&
312322
duration == other.duration &&
313323
connect_duration == other.connect_duration &&
324+
audio_stream_duration == other.audio_stream_duration &&
314325
direction == other.direction &&
315326
answered_by == other.answered_by &&
316327
subresource_uris == other.subresource_uris &&
@@ -326,7 +337,7 @@ def eql?(other)
326337
# Calculates hash code according to all attributes.
327338
# @return [Integer] Hash code
328339
def hash
329-
[uri, date_created, date_updated, revision, call_id, parent_call_id, account_id, from, to, phone_number_id, status, start_time, connect_time, end_time, duration, connect_duration, direction, answered_by, subresource_uris, application_id].hash
340+
[uri, date_created, date_updated, revision, call_id, parent_call_id, account_id, from, to, phone_number_id, status, start_time, connect_time, end_time, duration, connect_duration, audio_stream_duration, direction, answered_by, subresource_uris, application_id].hash
330341
end
331342

332343
# Builds the object from hash

lib/freeclimb/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
#
1010

1111
module Freeclimb
12-
VERSION = "5.4.0"
12+
VERSION = "5.4.1"
1313
end

0 commit comments

Comments
 (0)