bandwidth-sdk 17.3.1 → 18.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -6
- data/README.md +0 -1
- data/bandwidth.yml +157 -64
- data/coverage/.last_run.json +1 -1
- data/coverage/.resultset.json +5 -14
- data/coverage/index.html +313 -421
- data/docs/LookupErrorSchema.md +3 -3
- data/docs/LookupResult.md +4 -2
- data/docs/MediaApi.md +1 -1
- data/docs/MmsMessageContentFile.md +1 -1
- data/docs/RbmActionBase.md +1 -1
- data/docs/RbmSuggestionResponse.md +1 -1
- data/docs/TfvSubmissionInfo.md +3 -3
- data/docs/VerificationRequest.md +3 -3
- data/docs/VerificationUpdateRequest.md +3 -3
- data/lib/bandwidth-sdk/api/media_api.rb +2 -2
- data/lib/bandwidth-sdk/models/lookup_error_schema.rb +51 -0
- data/lib/bandwidth-sdk/models/lookup_result.rb +15 -5
- data/lib/bandwidth-sdk/models/mms_message_content_file.rb +1 -1
- data/lib/bandwidth-sdk/models/tfv_submission_info.rb +4 -2
- data/lib/bandwidth-sdk/models/verification_request.rb +4 -2
- data/lib/bandwidth-sdk/models/verification_update_request.rb +4 -2
- data/lib/bandwidth-sdk/version.rb +1 -1
- data/lib/bandwidth-sdk.rb +0 -1
- data/spec/smoke/phone_number_lookup_api_spec.rb +1 -9
- data/spec/unit/api/phone_number_lookup_api_spec.rb +0 -8
- data/spec/unit/api/toll_free_verification_api_spec.rb +1 -1
- metadata +47 -49
- data/docs/BusinessRegistrationIssuingCountryEnum.md +0 -15
- data/lib/bandwidth-sdk/models/business_registration_issuing_country_enum.rb +0 -55
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:
|
|
4
|
+
version: 18.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bandwidth
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-04-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -155,7 +155,6 @@ files:
|
|
|
155
155
|
- docs/BridgeCompleteCallback.md
|
|
156
156
|
- docs/BridgeTargetCompleteCallback.md
|
|
157
157
|
- docs/BusinessEntityTypeEnum.md
|
|
158
|
-
- docs/BusinessRegistrationIssuingCountryEnum.md
|
|
159
158
|
- docs/BusinessRegistrationTypeEnum.md
|
|
160
159
|
- docs/CallDirectionEnum.md
|
|
161
160
|
- docs/CallRecordingMetadata.md
|
|
@@ -360,7 +359,6 @@ files:
|
|
|
360
359
|
- lib/bandwidth-sdk/models/bridge_complete_callback.rb
|
|
361
360
|
- lib/bandwidth-sdk/models/bridge_target_complete_callback.rb
|
|
362
361
|
- lib/bandwidth-sdk/models/business_entity_type_enum.rb
|
|
363
|
-
- lib/bandwidth-sdk/models/business_registration_issuing_country_enum.rb
|
|
364
362
|
- lib/bandwidth-sdk/models/business_registration_type_enum.rb
|
|
365
363
|
- lib/bandwidth-sdk/models/bxml/bxml.rb
|
|
366
364
|
- lib/bandwidth-sdk/models/bxml/nestable_verb.rb
|
|
@@ -656,67 +654,67 @@ summary: Bandwidth Ruby SDK
|
|
|
656
654
|
test_files:
|
|
657
655
|
- spec/call_utils.rb
|
|
658
656
|
- spec/fixtures/ruby_cat.jpeg
|
|
659
|
-
- spec/smoke/conferences_api_spec.rb
|
|
660
|
-
- spec/smoke/mfa_api_spec.rb
|
|
661
657
|
- spec/smoke/recordings_api_spec.rb
|
|
658
|
+
- spec/smoke/calls_api_spec.rb
|
|
659
|
+
- spec/smoke/mfa_api_spec.rb
|
|
660
|
+
- spec/smoke/conferences_api_spec.rb
|
|
661
|
+
- spec/smoke/phone_number_lookup_api_spec.rb
|
|
662
|
+
- spec/smoke/statistics_api_spec.rb
|
|
662
663
|
- spec/smoke/toll_free_verification_api_spec.rb
|
|
663
664
|
- spec/smoke/media_api_spec.rb
|
|
664
|
-
- spec/smoke/statistics_api_spec.rb
|
|
665
665
|
- spec/smoke/multi_channel_api_spec.rb
|
|
666
666
|
- spec/smoke/transcriptions_api_spec.rb
|
|
667
|
-
- spec/smoke/calls_api_spec.rb
|
|
668
|
-
- spec/smoke/phone_number_lookup_api_spec.rb
|
|
669
667
|
- spec/smoke/messages_api_spec.rb
|
|
670
668
|
- spec/spec_helper.rb
|
|
671
|
-
- spec/unit/api/conferences_api_spec.rb
|
|
672
|
-
- spec/unit/api/mfa_api_spec.rb
|
|
673
|
-
- spec/unit/api/recordings_api_spec.rb
|
|
674
|
-
- spec/unit/api/toll_free_verification_api_spec.rb
|
|
675
|
-
- spec/unit/api/media_api_spec.rb
|
|
676
|
-
- spec/unit/api/statistics_api_spec.rb
|
|
677
|
-
- spec/unit/api/multi_channel_api_spec.rb
|
|
678
|
-
- spec/unit/api/transcriptions_api_spec.rb
|
|
679
|
-
- spec/unit/api/calls_api_spec.rb
|
|
680
|
-
- spec/unit/api/phone_number_lookup_api_spec.rb
|
|
681
|
-
- spec/unit/api/messages_api_spec.rb
|
|
682
|
-
- spec/unit/client/api_client_spec.rb
|
|
683
|
-
- spec/unit/client/configuration_spec.rb
|
|
684
|
-
- spec/unit/client/api_error_spec.rb
|
|
685
|
-
- spec/unit/models/call_state_spec.rb
|
|
686
|
-
- spec/unit/models/verify_code_response_spec.rb
|
|
687
|
-
- spec/unit/models/verify_code_request_spec.rb
|
|
688
669
|
- spec/unit/models/call_state_enum_spec.rb
|
|
689
670
|
- spec/unit/models/message_spec.rb
|
|
671
|
+
- spec/unit/models/verify_code_response_spec.rb
|
|
690
672
|
- spec/unit/models/tfv_error_spec.rb
|
|
673
|
+
- spec/unit/models/call_state_spec.rb
|
|
674
|
+
- spec/unit/models/bxml/bxml_spec.rb
|
|
675
|
+
- spec/unit/models/bxml/response_spec.rb
|
|
676
|
+
- spec/unit/models/bxml/nestable_verb_spec.rb
|
|
691
677
|
- spec/unit/models/bxml/verb_spec.rb
|
|
692
|
-
- spec/unit/models/bxml/verbs/
|
|
693
|
-
- spec/unit/models/bxml/verbs/stop_gather_spec.rb
|
|
678
|
+
- spec/unit/models/bxml/verbs/stop_recording_spec.rb
|
|
694
679
|
- spec/unit/models/bxml/verbs/phone_number_spec.rb
|
|
680
|
+
- spec/unit/models/bxml/verbs/start_recording_spec.rb
|
|
681
|
+
- spec/unit/models/bxml/verbs/stop_transcription_spec.rb
|
|
682
|
+
- spec/unit/models/bxml/verbs/hangup_spec.rb
|
|
695
683
|
- spec/unit/models/bxml/verbs/forward_spec.rb
|
|
696
|
-
- spec/unit/models/bxml/verbs/
|
|
697
|
-
- spec/unit/models/bxml/verbs/gather_spec.rb
|
|
698
|
-
- spec/unit/models/bxml/verbs/stop_stream_spec.rb
|
|
699
|
-
- spec/unit/models/bxml/verbs/ring_spec.rb
|
|
700
|
-
- spec/unit/models/bxml/verbs/tag_spec.rb
|
|
701
|
-
- spec/unit/models/bxml/verbs/pause_spec.rb
|
|
702
|
-
- spec/unit/models/bxml/verbs/sip_uri_spec.rb
|
|
703
|
-
- spec/unit/models/bxml/verbs/speak_sentence_spec.rb
|
|
684
|
+
- spec/unit/models/bxml/verbs/pause_recording_spec.rb
|
|
704
685
|
- spec/unit/models/bxml/verbs/start_stream_spec.rb
|
|
705
|
-
- spec/unit/models/bxml/verbs/
|
|
706
|
-
- spec/unit/models/bxml/verbs/start_recording_spec.rb
|
|
686
|
+
- spec/unit/models/bxml/verbs/ring_spec.rb
|
|
707
687
|
- spec/unit/models/bxml/verbs/start_gather_spec.rb
|
|
708
|
-
- spec/unit/models/bxml/verbs/
|
|
709
|
-
- spec/unit/models/bxml/verbs/
|
|
710
|
-
- spec/unit/models/bxml/verbs/
|
|
688
|
+
- spec/unit/models/bxml/verbs/custom_param_spec.rb
|
|
689
|
+
- spec/unit/models/bxml/verbs/speak_sentence_spec.rb
|
|
690
|
+
- spec/unit/models/bxml/verbs/record_spec.rb
|
|
711
691
|
- spec/unit/models/bxml/verbs/redirect_spec.rb
|
|
712
|
-
- spec/unit/models/bxml/verbs/
|
|
713
|
-
- spec/unit/models/bxml/verbs/
|
|
692
|
+
- spec/unit/models/bxml/verbs/transfer_spec.rb
|
|
693
|
+
- spec/unit/models/bxml/verbs/bridge_spec.rb
|
|
714
694
|
- spec/unit/models/bxml/verbs/resume_recording_spec.rb
|
|
695
|
+
- spec/unit/models/bxml/verbs/gather_spec.rb
|
|
696
|
+
- spec/unit/models/bxml/verbs/sip_uri_spec.rb
|
|
697
|
+
- spec/unit/models/bxml/verbs/conference_spec.rb
|
|
698
|
+
- spec/unit/models/bxml/verbs/stream_param_spec.rb
|
|
699
|
+
- spec/unit/models/bxml/verbs/pause_spec.rb
|
|
715
700
|
- spec/unit/models/bxml/verbs/send_dtmf_spec.rb
|
|
716
|
-
- spec/unit/models/bxml/verbs/
|
|
701
|
+
- spec/unit/models/bxml/verbs/play_audio_spec.rb
|
|
702
|
+
- spec/unit/models/bxml/verbs/stop_stream_spec.rb
|
|
717
703
|
- spec/unit/models/bxml/verbs/start_transcription_spec.rb
|
|
718
|
-
- spec/unit/models/bxml/verbs/
|
|
719
|
-
- spec/unit/models/bxml/verbs/
|
|
720
|
-
- spec/unit/models/
|
|
721
|
-
- spec/unit/
|
|
722
|
-
- spec/unit/
|
|
704
|
+
- spec/unit/models/bxml/verbs/stop_gather_spec.rb
|
|
705
|
+
- spec/unit/models/bxml/verbs/tag_spec.rb
|
|
706
|
+
- spec/unit/models/verify_code_request_spec.rb
|
|
707
|
+
- spec/unit/client/api_client_spec.rb
|
|
708
|
+
- spec/unit/client/configuration_spec.rb
|
|
709
|
+
- spec/unit/client/api_error_spec.rb
|
|
710
|
+
- spec/unit/api/recordings_api_spec.rb
|
|
711
|
+
- spec/unit/api/calls_api_spec.rb
|
|
712
|
+
- spec/unit/api/mfa_api_spec.rb
|
|
713
|
+
- spec/unit/api/conferences_api_spec.rb
|
|
714
|
+
- spec/unit/api/phone_number_lookup_api_spec.rb
|
|
715
|
+
- spec/unit/api/statistics_api_spec.rb
|
|
716
|
+
- spec/unit/api/toll_free_verification_api_spec.rb
|
|
717
|
+
- spec/unit/api/media_api_spec.rb
|
|
718
|
+
- spec/unit/api/multi_channel_api_spec.rb
|
|
719
|
+
- spec/unit/api/transcriptions_api_spec.rb
|
|
720
|
+
- spec/unit/api/messages_api_spec.rb
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# Bandwidth::BusinessRegistrationIssuingCountryEnum
|
|
2
|
-
|
|
3
|
-
## Properties
|
|
4
|
-
|
|
5
|
-
| Name | Type | Description | Notes |
|
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
|
|
8
|
-
## Example
|
|
9
|
-
|
|
10
|
-
```ruby
|
|
11
|
-
require 'bandwidth-sdk'
|
|
12
|
-
|
|
13
|
-
instance = Bandwidth::BusinessRegistrationIssuingCountryEnum.new()
|
|
14
|
-
```
|
|
15
|
-
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#Bandwidth
|
|
3
|
-
|
|
4
|
-
#Bandwidth's Communication APIs
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 1.0.0
|
|
7
|
-
Contact: letstalk@bandwidth.com
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.17.0
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'date'
|
|
14
|
-
require 'time'
|
|
15
|
-
|
|
16
|
-
module Bandwidth
|
|
17
|
-
class BusinessRegistrationIssuingCountryEnum
|
|
18
|
-
USA = 'USA'.freeze
|
|
19
|
-
CAN = 'CAN'.freeze
|
|
20
|
-
HKG = 'HKG'.freeze
|
|
21
|
-
GBR = 'GBR'.freeze
|
|
22
|
-
IRL = 'IRL'.freeze
|
|
23
|
-
BRA = 'BRA'.freeze
|
|
24
|
-
NLD = 'NLD'.freeze
|
|
25
|
-
AUS = 'AUS'.freeze
|
|
26
|
-
FRA = 'FRA'.freeze
|
|
27
|
-
NZL = 'NZL'.freeze
|
|
28
|
-
DEU = 'DEU'.freeze
|
|
29
|
-
ESP = 'ESP'.freeze
|
|
30
|
-
CHE = 'CHE'.freeze
|
|
31
|
-
CYP = 'CYP'.freeze
|
|
32
|
-
IND = 'IND'.freeze
|
|
33
|
-
CHN = 'CHN'.freeze
|
|
34
|
-
BGR = 'BGR'.freeze
|
|
35
|
-
|
|
36
|
-
def self.all_vars
|
|
37
|
-
@all_vars ||= [USA, CAN, HKG, GBR, IRL, BRA, NLD, AUS, FRA, NZL, DEU, ESP, CHE, CYP, IND, CHN, BGR].freeze
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
# Builds the enum from string
|
|
41
|
-
# @param [String] The enum value in the form of the string
|
|
42
|
-
# @return [String] The enum value
|
|
43
|
-
def self.build_from_hash(value)
|
|
44
|
-
new.build_from_hash(value)
|
|
45
|
-
end
|
|
46
|
-
|
|
47
|
-
# Builds the enum from string
|
|
48
|
-
# @param [String] The enum value in the form of the string
|
|
49
|
-
# @return [String] The enum value
|
|
50
|
-
def build_from_hash(value)
|
|
51
|
-
return value if BusinessRegistrationIssuingCountryEnum.all_vars.include?(value)
|
|
52
|
-
raise "Invalid ENUM value #{value} for class #BusinessRegistrationIssuingCountryEnum"
|
|
53
|
-
end
|
|
54
|
-
end
|
|
55
|
-
end
|