bandwidth-sdk 11.0.0.pre.beta.4.0 → 11.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 652bb9b057c32ad4b41af859976ce44fcee6398f5726d96dca3abf62a45f4cce
4
- data.tar.gz: acfb85df2e41a6f33be551f781b2b40785789ee52f6820f24fa41432692e9ac0
3
+ metadata.gz: 5b72bc01ef09e5f9f5916bfb51f572b38443a45d3a156b415833bc00df771a35
4
+ data.tar.gz: e8c112f09b69a32f7a4c557ccb381c499e76a77e6f7de6baaf2140b697ef0629
5
5
  SHA512:
6
- metadata.gz: a82866f202ca35619b34587d05f3aa486370c3cac8b25718b06899f2560a4e62a86ab18df3d7204cfcfcbd307428d8c2f1ebc583a6bbfffcd3bc9a4ea66b8c69
7
- data.tar.gz: 0b035b9b15c10989168b79343ed89a74b8902272ddcd96509ad39aa04628598f25ff3525bd664527eaf6d6f21334219b3a82120ab482f78cf1a272e8f28e1d21
6
+ metadata.gz: 65ab2be86d89036c1e63487797cc71a83d8751ace6d8f9a0e903575488805380257361de7cda7174d08971d5bd1e9f82dd37823d4f023c239bb845d30da82133
7
+ data.tar.gz: 38952fe002462e20b6a1b8fa9ac66300bc005539b4f1a99bb7b7024084e52c81e8da74d10c2f866274e94ff59cee4188afe95333490d1ed651f6c37e5987c4d0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bandwidth-sdk (11.0.0.pre.beta.4.0)
4
+ bandwidth-sdk (11.1.0)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart
7
7
  ox (~> 2.4)
@@ -12,13 +12,15 @@ GEM
12
12
  addressable (2.8.5)
13
13
  public_suffix (>= 2.0.2, < 6.0)
14
14
  ast (2.4.2)
15
+ base64 (0.1.1)
15
16
  byebug (11.1.3)
16
17
  coderay (1.1.3)
17
18
  crack (0.4.5)
18
19
  rexml
19
20
  diff-lcs (1.5.0)
20
21
  docile (1.4.0)
21
- faraday (2.7.10)
22
+ faraday (2.7.11)
23
+ base64
22
24
  faraday-net_http (>= 2.0, < 3.1)
23
25
  ruby2_keywords (>= 0.0.4)
24
26
  faraday-multipart (1.0.4)
@@ -30,7 +32,7 @@ GEM
30
32
  multipart-post (2.3.0)
31
33
  ox (2.14.17)
32
34
  parallel (1.23.0)
33
- parser (3.2.2.3)
35
+ parser (3.2.2.4)
34
36
  ast (~> 2.4.1)
35
37
  racc
36
38
  pry (0.14.2)
@@ -43,7 +45,7 @@ GEM
43
45
  racc (1.7.1)
44
46
  rainbow (3.1.1)
45
47
  rake (13.0.6)
46
- regexp_parser (2.8.1)
48
+ regexp_parser (2.8.2)
47
49
  rexml (3.2.6)
48
50
  rspec (3.12.0)
49
51
  rspec-core (~> 3.12.0)
@@ -78,7 +80,7 @@ GEM
78
80
  simplecov_json_formatter (~> 0.1)
79
81
  simplecov-html (0.12.3)
80
82
  simplecov_json_formatter (0.1.4)
81
- unicode-display_width (2.4.2)
83
+ unicode-display_width (2.5.0)
82
84
  webmock (3.18.1)
83
85
  addressable (>= 2.8.0)
84
86
  crack (>= 0.3.2)
data/README.md CHANGED
@@ -12,9 +12,9 @@
12
12
  | Ubuntu 20.04 | 2.7, 3.0, 3.1, 3.2 |
13
13
  | Ubuntu 22.04 | 2.7, 3.0, 3.1, 3.2 |
14
14
 
15
- Bandwidth - the Ruby gem for the Bandwidth
15
+ Bandwidth - the Ruby gem for the Bandwidth SDK
16
16
 
17
- # Generated with the command:
17
+ ### Generated with the command:
18
18
  `openapi-generator generate -g ruby -i bandwidth.yml -c openapi-config.yml -o ./`
19
19
 
20
20
  Bandwidth's Communication APIs
@@ -28,6 +28,12 @@ For more information, please visit [https://dev.bandwidth.com](https://dev.bandw
28
28
 
29
29
  ## Installation
30
30
 
31
+ ### Install from RubyGems
32
+
33
+ ```shell
34
+ gem install bandwidth-sdk
35
+ ```
36
+
31
37
  ### Build a gem
32
38
 
33
39
  To build the Ruby code into a gem:
@@ -103,6 +109,7 @@ Class | Method | HTTP request | Description
103
109
  ------------ | ------------- | ------------- | -------------
104
110
  *Bandwidth::CallsApi* | [**create_call**](docs/CallsApi.md#create_call) | **POST** /accounts/{accountId}/calls | Create Call
105
111
  *Bandwidth::CallsApi* | [**get_call_state**](docs/CallsApi.md#get_call_state) | **GET** /accounts/{accountId}/calls/{callId} | Get Call State Information
112
+ *Bandwidth::CallsApi* | [**list_calls**](docs/CallsApi.md#list_calls) | **GET** /accounts/{accountId}/calls | Get Calls
106
113
  *Bandwidth::CallsApi* | [**update_call**](docs/CallsApi.md#update_call) | **POST** /accounts/{accountId}/calls/{callId} | Update Call
107
114
  *Bandwidth::CallsApi* | [**update_call_bxml**](docs/CallsApi.md#update_call_bxml) | **PUT** /accounts/{accountId}/calls/{callId}/bxml | Update Call BXML
108
115
  *Bandwidth::ConferencesApi* | [**download_conference_recording**](docs/ConferencesApi.md#download_conference_recording) | **GET** /accounts/{accountId}/conferences/{conferenceId}/recordings/{recordingId}/media | Download Conference Recording
data/bandwidth.yml CHANGED
@@ -275,6 +275,52 @@ paths:
275
275
  $ref: '#/components/responses/voiceTooManyRequestsError'
276
276
  '500':
277
277
  $ref: '#/components/responses/voiceInternalServerError'
278
+ get:
279
+ tags:
280
+ - Calls
281
+ summary: Get Calls
282
+ description: >-
283
+ Returns a max of 10000 calls, sorted by `createdTime` from oldest to
284
+ newest.
285
+
286
+
287
+ **NOTE:** If the number of calls in the account is bigger than
288
+ `pageSize`, a `Link` header (with format `<{url}>; rel="next"`) will be
289
+ returned in the response. The url can be used to retrieve the next page
290
+ of call records.
291
+
292
+ Also, call information is kept for 7 days after the calls are hung up.
293
+ If you attempt to retrieve information for a call that is older than 7
294
+ days, you will get an empty array [] in response.
295
+ operationId: listCalls
296
+ parameters:
297
+ - $ref: '#/components/parameters/accountId'
298
+ - $ref: '#/components/parameters/to'
299
+ - $ref: '#/components/parameters/from'
300
+ - $ref: '#/components/parameters/minStartTimeCalls'
301
+ - $ref: '#/components/parameters/maxStartTimeCalls'
302
+ - $ref: '#/components/parameters/disconnectCause'
303
+ - $ref: '#/components/parameters/pageSizeCalls'
304
+ - $ref: '#/components/parameters/pageToken1'
305
+ responses:
306
+ '200':
307
+ $ref: '#/components/responses/listCallsResponse'
308
+ '400':
309
+ $ref: '#/components/responses/voiceBadRequestError'
310
+ '401':
311
+ $ref: '#/components/responses/voiceUnauthorizedError'
312
+ '403':
313
+ $ref: '#/components/responses/voiceForbiddenError'
314
+ '404':
315
+ $ref: '#/components/responses/voiceNotFoundError'
316
+ '405':
317
+ $ref: '#/components/responses/voiceNotAllowedError'
318
+ '415':
319
+ $ref: '#/components/responses/voiceUnsupportedMediaTypeError'
320
+ '429':
321
+ $ref: '#/components/responses/voiceTooManyRequestsError'
322
+ '500':
323
+ $ref: '#/components/responses/voiceInternalServerError'
278
324
  servers: &ref_1
279
325
  - url: https://voice.bandwidth.com/api/v2
280
326
  description: Production
@@ -4491,6 +4537,14 @@ components:
4491
4537
  application/json:
4492
4538
  schema:
4493
4539
  $ref: '#/components/schemas/callState'
4540
+ listCallsResponse:
4541
+ description: Calls retrieved successfully
4542
+ content:
4543
+ application/json:
4544
+ schema:
4545
+ type: array
4546
+ items:
4547
+ $ref: '#/components/schemas/callState'
4494
4548
  getStatisticsResponse:
4495
4549
  description: Statistics Found
4496
4550
  content:
@@ -5106,6 +5160,38 @@ components:
5106
5160
  default: 1000
5107
5161
  description: Specifies the max number of conferences that will be returned.
5108
5162
  example: 500
5163
+ minStartTimeCalls:
5164
+ name: minStartTime
5165
+ in: query
5166
+ required: false
5167
+ schema:
5168
+ type: string
5169
+ description: >-
5170
+ Filter results to calls which have a `startTime` after or including
5171
+ `minStartTime` (in ISO8601 format).
5172
+ example: '2022-06-21T19:13:21Z'
5173
+ maxStartTimeCalls:
5174
+ name: maxStartTime
5175
+ in: query
5176
+ required: false
5177
+ schema:
5178
+ type: string
5179
+ description: >-
5180
+ Filter results to calls which have a `startTime` before or including
5181
+ `maxStartTime` (in ISO8601 format).
5182
+ example: '2022-06-21T19:13:21Z'
5183
+ pageSizeCalls:
5184
+ name: pageSize
5185
+ in: query
5186
+ required: false
5187
+ schema:
5188
+ type: integer
5189
+ format: int32
5190
+ minimum: 1
5191
+ maximum: 10000
5192
+ default: 1000
5193
+ description: Specifies the max number of calls that will be returned.
5194
+ example: 500
5109
5195
  pageToken1:
5110
5196
  name: pageToken
5111
5197
  in: query
@@ -5116,6 +5202,14 @@ components:
5116
5202
  Not intended for explicit use. To use pagination, follow the links in
5117
5203
  the `Link` header of the response, as indicated in the endpoint
5118
5204
  description.
5205
+ disconnectCause:
5206
+ name: disconnectCause
5207
+ in: query
5208
+ required: false
5209
+ schema:
5210
+ type: string
5211
+ description: Filter results to calls with specified call Disconnect Cause.
5212
+ example: hangup
5119
5213
  requestId:
5120
5214
  name: requestId
5121
5215
  in: path
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "result": {
3
- "line": 96.15
3
+ "line": 96.08
4
4
  }
5
5
  }