bandwidth-sdk 13.1.2 → 13.1.3

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: a8e0b45fa4f1c64b69cfb58c24357b050462e63834c5068318e36988d6effe0e
4
- data.tar.gz: c75bdc26eb6ae2311c1534ebdebfe20598583b543d110b7356736ef9d38cf278
3
+ metadata.gz: 65c244830dfab3e879f8bdba61c7acefc1b547082a6e0b37c7da62707100e09f
4
+ data.tar.gz: 8a9226e4641036c7da97a191ac5c67ac6309eaba33068725ed306c9b448d89d0
5
5
  SHA512:
6
- metadata.gz: 027c4ca84b8a20cddd4dea21925753d3dc5d091b94949232067a31b6a2643e8830abe86ff713be825da404d4eac540e409265743cc269ecd3d3c4f79ce2c14c7
7
- data.tar.gz: fb6a3450f17ff48a765f985bad377cbfdbb74a6d43d63ed21ff21375afddfdbccc340cfb0ea1af5048306d2d130e05df1cc3f70f9b46f71cdacbb5c000ce8590
6
+ metadata.gz: 74ce204ba430d770b81db70973c018fd495479517338fa5dbfe77e6f36a13364018076f9fbe5b7d4108960cbd6fd467f2a08fca88e8d5208bd9580964016b64a
7
+ data.tar.gz: 40f469c91acc3c687c8d4a1276503353863b28cefe2273bf4802a9f7375b13067795c8b8fbd33270c0776bed13982c8f497253fa6de710389811583fc5939c65
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bandwidth-sdk (13.1.2)
4
+ bandwidth-sdk (13.1.3)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart
7
7
  marcel
@@ -15,24 +15,24 @@ GEM
15
15
  coderay (1.1.3)
16
16
  diff-lcs (1.5.1)
17
17
  docile (1.4.1)
18
- faraday (2.12.0)
19
- faraday-net_http (>= 2.0, < 3.4)
18
+ faraday (2.12.2)
19
+ faraday-net_http (>= 2.0, < 3.5)
20
20
  json
21
21
  logger
22
22
  faraday-multipart (1.0.4)
23
23
  multipart-post (~> 2)
24
- faraday-net_http (3.3.0)
25
- net-http
26
- json (2.7.2)
27
- logger (1.6.1)
24
+ faraday-net_http (3.4.0)
25
+ net-http (>= 0.5.0)
26
+ json (2.9.0)
27
+ logger (1.6.2)
28
28
  marcel (1.0.4)
29
29
  method_source (1.1.0)
30
30
  multipart-post (2.4.1)
31
- net-http (0.4.1)
31
+ net-http (0.6.0)
32
32
  uri
33
33
  ox (2.14.18)
34
34
  parallel (1.26.3)
35
- parser (3.3.5.0)
35
+ parser (3.3.6.0)
36
36
  ast (~> 2.4.1)
37
37
  racc
38
38
  pry (0.14.2)
@@ -44,21 +44,21 @@ GEM
44
44
  racc (1.8.1)
45
45
  rainbow (3.1.1)
46
46
  rake (13.2.1)
47
- regexp_parser (2.9.2)
48
- rexml (3.3.7)
47
+ regexp_parser (2.9.3)
48
+ rexml (3.3.9)
49
49
  rspec (3.13.0)
50
50
  rspec-core (~> 3.13.0)
51
51
  rspec-expectations (~> 3.13.0)
52
52
  rspec-mocks (~> 3.13.0)
53
- rspec-core (3.13.1)
53
+ rspec-core (3.13.2)
54
54
  rspec-support (~> 3.13.0)
55
55
  rspec-expectations (3.13.3)
56
56
  diff-lcs (>= 1.2.0, < 2.0)
57
57
  rspec-support (~> 3.13.0)
58
- rspec-mocks (3.13.1)
58
+ rspec-mocks (3.13.2)
59
59
  diff-lcs (>= 1.2.0, < 2.0)
60
60
  rspec-support (~> 3.13.0)
61
- rspec-support (3.13.1)
61
+ rspec-support (3.13.2)
62
62
  rubocop (1.52.1)
63
63
  json (~> 2.3)
64
64
  parallel (~> 1.10)
@@ -69,7 +69,7 @@ GEM
69
69
  rubocop-ast (>= 1.28.0, < 2.0)
70
70
  ruby-progressbar (~> 1.7)
71
71
  unicode-display_width (>= 2.4.0, < 3.0)
72
- rubocop-ast (1.32.3)
72
+ rubocop-ast (1.36.2)
73
73
  parser (>= 3.3.1.0)
74
74
  ruby-progressbar (1.13.0)
75
75
  simplecov (0.21.2)
@@ -79,7 +79,7 @@ GEM
79
79
  simplecov-html (0.13.1)
80
80
  simplecov_json_formatter (0.1.4)
81
81
  unicode-display_width (2.6.0)
82
- uri (0.13.1)
82
+ uri (1.0.2)
83
83
 
84
84
  PLATFORMS
85
85
  x86_64-linux
data/README.md CHANGED
@@ -22,7 +22,7 @@ Bandwidth's Communication APIs
22
22
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
23
23
 
24
24
  - API version: 1.0.0
25
- - Package version: 11.0.0
25
+ - Package version: 1.0.0-dev
26
26
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
27
27
  For more information, please visit [https://dev.bandwidth.com](https://dev.bandwidth.com)
28
28
 
@@ -45,16 +45,16 @@ gem build bandwidth-sdk.gemspec
45
45
  Then either install the gem locally:
46
46
 
47
47
  ```shell
48
- gem install ./bandwidth-sdk-11.0.0.gem
48
+ gem install ./bandwidth-sdk-1.0.0-dev.gem
49
49
  ```
50
50
 
51
- (for development, run `gem install --dev ./bandwidth-sdk-11.0.0.gem` to install the development dependencies)
51
+ (for development, run `gem install --dev ./bandwidth-sdk-1.0.0-dev.gem` to install the development dependencies)
52
52
 
53
53
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
54
54
 
55
55
  Finally add this to the Gemfile:
56
56
 
57
- gem 'bandwidth-sdk', '~> 11.0.0'
57
+ gem 'bandwidth-sdk', '~> 1.0.0-dev'
58
58
 
59
59
  ### Install from Git
60
60
 
@@ -10085,6 +10085,6 @@
10085
10085
  ]
10086
10086
  }
10087
10087
  },
10088
- "timestamp": 1727189322
10088
+ "timestamp": 1733845395
10089
10089
  }
10090
10090
  }
data/coverage/index.html CHANGED
@@ -13,7 +13,7 @@
13
13
  <img src="./assets/0.13.1/loading.gif" alt="loading"/>
14
14
  </div>
15
15
  <div id="wrapper" class="hide">
16
- <div class="timestamp">Generated <abbr class="timeago" title="2024-09-24T14:48:42+00:00">2024-09-24T14:48:42+00:00</abbr></div>
16
+ <div class="timestamp">Generated <abbr class="timeago" title="2024-12-10T15:43:15+00:00">2024-12-10T15:43:15+00:00</abbr></div>
17
17
  <ul class="group_tabs"></ul>
18
18
 
19
19
  <div id="content">
@@ -64974,7 +64974,7 @@
64974
64974
 
64975
64975
 
64976
64976
 
64977
- <code class="ruby"> VERSION = &#39;13.1.2&#39;</code>
64977
+ <code class="ruby"> VERSION = &#39;13.1.3&#39;</code>
64978
64978
  </li>
64979
64979
  </div>
64980
64980
 
@@ -11,5 +11,5 @@ Generator version: 7.8.0
11
11
  =end
12
12
 
13
13
  module Bandwidth
14
- VERSION = '13.1.2'
14
+ VERSION = '13.1.3'
15
15
  end
@@ -14,19 +14,29 @@ describe 'MediaApi Integration Tests' do
14
14
  @api_instance_media = Bandwidth::MediaApi.new
15
15
 
16
16
  # media names
17
- @binary_media_name = 'ruby_binary_media' + SecureRandom.uuid
18
- @media_file_name = 'ruby_media_file' + SecureRandom.uuid
17
+ @binary_media_name = 'ruby_binary_media' + SecureRandom.uuid + '.txt'
18
+ @media_file_name = 'ruby_media_file' + SecureRandom.uuid + '.jpeg'
19
19
  end
20
20
 
21
21
  # Upload Media
22
22
  describe 'upload_media' do
23
23
  it 'uploads binary media' do
24
- _data, status_code = @api_instance_media.upload_media_with_http_info(BW_ACCOUNT_ID, @binary_media_name, binary_media_data)
24
+ _data, status_code = @api_instance_media.upload_media_with_http_info(
25
+ BW_ACCOUNT_ID,
26
+ @binary_media_name,
27
+ binary_media_data,
28
+ { content_type: 'text/plain' }
29
+ )
25
30
  expect(status_code).to eq(204)
26
31
  end
27
32
 
28
33
  it 'uploads media file' do
29
- _data, status_code = @api_instance_media.upload_media_with_http_info(BW_ACCOUNT_ID, @media_file_name, media_file_data)
34
+ _data, status_code = @api_instance_media.upload_media_with_http_info(
35
+ BW_ACCOUNT_ID,
36
+ @media_file_name,
37
+ media_file_data,
38
+ { content_type: 'image/jpeg' }
39
+ )
30
40
  expect(status_code).to eq(204)
31
41
  end
32
42
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bandwidth-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.1.2
4
+ version: 13.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bandwidth
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-24 00:00:00.000000000 Z
11
+ date: 2024-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -494,62 +494,62 @@ summary: Bandwidth Ruby SDK
494
494
  test_files:
495
495
  - spec/call_utils.rb
496
496
  - spec/fixtures/ruby_cat.jpeg
497
+ - spec/smoke/phone_number_lookup_api_spec.rb
497
498
  - spec/smoke/mfa_api_spec.rb
498
- - spec/smoke/transcriptions_api_spec.rb
499
499
  - spec/smoke/statistics_api_spec.rb
500
- - spec/smoke/media_api_spec.rb
501
- - spec/smoke/recordings_api_spec.rb
500
+ - spec/smoke/calls_api_spec.rb
502
501
  - spec/smoke/conferences_api_spec.rb
503
- - spec/smoke/phone_number_lookup_api_spec.rb
504
502
  - spec/smoke/messages_api_spec.rb
505
- - spec/smoke/calls_api_spec.rb
503
+ - spec/smoke/transcriptions_api_spec.rb
504
+ - spec/smoke/recordings_api_spec.rb
505
+ - spec/smoke/media_api_spec.rb
506
506
  - spec/spec_helper.rb
507
- - spec/unit/models/bxml/bxml_spec.rb
508
- - spec/unit/models/bxml/verb_spec.rb
507
+ - spec/unit/models/call_state_spec.rb
508
+ - spec/unit/models/call_state_enum_spec.rb
509
+ - spec/unit/models/message_spec.rb
510
+ - spec/unit/models/deferred_result_spec.rb
509
511
  - spec/unit/models/bxml/response_spec.rb
510
- - spec/unit/models/bxml/nestable_verb_spec.rb
511
- - spec/unit/models/bxml/verbs/stop_stream_spec.rb
512
- - spec/unit/models/bxml/verbs/redirect_spec.rb
513
- - spec/unit/models/bxml/verbs/bridge_spec.rb
512
+ - spec/unit/models/bxml/bxml_spec.rb
513
+ - spec/unit/models/bxml/verbs/stream_param_spec.rb
514
+ - spec/unit/models/bxml/verbs/start_stream_spec.rb
514
515
  - spec/unit/models/bxml/verbs/start_transcription_spec.rb
515
- - spec/unit/models/bxml/verbs/stop_recording_spec.rb
516
+ - spec/unit/models/bxml/verbs/record_spec.rb
517
+ - spec/unit/models/bxml/verbs/speak_sentence_spec.rb
518
+ - spec/unit/models/bxml/verbs/hangup_spec.rb
516
519
  - spec/unit/models/bxml/verbs/ring_spec.rb
517
- - spec/unit/models/bxml/verbs/start_recording_spec.rb
518
- - spec/unit/models/bxml/verbs/send_dtmf_spec.rb
519
- - spec/unit/models/bxml/verbs/phone_number_spec.rb
520
- - spec/unit/models/bxml/verbs/gather_spec.rb
521
- - spec/unit/models/bxml/verbs/sip_uri_spec.rb
522
- - spec/unit/models/bxml/verbs/transfer_spec.rb
523
520
  - spec/unit/models/bxml/verbs/forward_spec.rb
524
- - spec/unit/models/bxml/verbs/speak_sentence_spec.rb
525
- - spec/unit/models/bxml/verbs/tag_spec.rb
526
- - spec/unit/models/bxml/verbs/pause_spec.rb
527
- - spec/unit/models/bxml/verbs/record_spec.rb
528
- - spec/unit/models/bxml/verbs/conference_spec.rb
529
- - spec/unit/models/bxml/verbs/pause_recording_spec.rb
530
521
  - spec/unit/models/bxml/verbs/stop_gather_spec.rb
531
- - spec/unit/models/bxml/verbs/custom_param_spec.rb
532
- - spec/unit/models/bxml/verbs/stream_param_spec.rb
522
+ - spec/unit/models/bxml/verbs/stop_transcription_spec.rb
523
+ - spec/unit/models/bxml/verbs/sip_uri_spec.rb
524
+ - spec/unit/models/bxml/verbs/pause_recording_spec.rb
525
+ - spec/unit/models/bxml/verbs/phone_number_spec.rb
526
+ - spec/unit/models/bxml/verbs/tag_spec.rb
527
+ - spec/unit/models/bxml/verbs/transfer_spec.rb
533
528
  - spec/unit/models/bxml/verbs/play_audio_spec.rb
534
- - spec/unit/models/bxml/verbs/start_stream_spec.rb
529
+ - spec/unit/models/bxml/verbs/custom_param_spec.rb
530
+ - spec/unit/models/bxml/verbs/redirect_spec.rb
531
+ - spec/unit/models/bxml/verbs/bridge_spec.rb
532
+ - spec/unit/models/bxml/verbs/stop_recording_spec.rb
533
+ - spec/unit/models/bxml/verbs/pause_spec.rb
535
534
  - spec/unit/models/bxml/verbs/start_gather_spec.rb
535
+ - spec/unit/models/bxml/verbs/stop_stream_spec.rb
536
+ - spec/unit/models/bxml/verbs/start_recording_spec.rb
537
+ - spec/unit/models/bxml/verbs/conference_spec.rb
538
+ - spec/unit/models/bxml/verbs/gather_spec.rb
536
539
  - spec/unit/models/bxml/verbs/resume_recording_spec.rb
537
- - spec/unit/models/bxml/verbs/stop_transcription_spec.rb
538
- - spec/unit/models/bxml/verbs/hangup_spec.rb
539
- - spec/unit/models/deferred_result_spec.rb
540
- - spec/unit/models/message_spec.rb
540
+ - spec/unit/models/bxml/verbs/send_dtmf_spec.rb
541
+ - spec/unit/models/bxml/verb_spec.rb
542
+ - spec/unit/models/bxml/nestable_verb_spec.rb
541
543
  - spec/unit/models/verify_code_request_spec.rb
542
- - spec/unit/models/call_state_spec.rb
543
- - spec/unit/models/call_state_enum_spec.rb
544
544
  - spec/unit/client/configuration_spec.rb
545
545
  - spec/unit/client/api_client_spec.rb
546
546
  - spec/unit/client/api_error_spec.rb
547
+ - spec/unit/api/phone_number_lookup_api_spec.rb
547
548
  - spec/unit/api/mfa_api_spec.rb
548
- - spec/unit/api/transcriptions_api_spec.rb
549
549
  - spec/unit/api/statistics_api_spec.rb
550
- - spec/unit/api/media_api_spec.rb
551
- - spec/unit/api/recordings_api_spec.rb
550
+ - spec/unit/api/calls_api_spec.rb
552
551
  - spec/unit/api/conferences_api_spec.rb
553
- - spec/unit/api/phone_number_lookup_api_spec.rb
554
552
  - spec/unit/api/messages_api_spec.rb
555
- - spec/unit/api/calls_api_spec.rb
553
+ - spec/unit/api/transcriptions_api_spec.rb
554
+ - spec/unit/api/recordings_api_spec.rb
555
+ - spec/unit/api/media_api_spec.rb