bandwidth-sdk 13.1.4 → 14.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +11 -8
- data/README.md +3 -8
- data/bandwidth-sdk.gemspec +1 -1
- data/bandwidth.yml +420 -473
- data/coverage/.last_run.json +1 -1
- data/coverage/.resultset.json +93 -98
- data/coverage/index.html +283 -343
- data/custom_templates/gemspec.mustache +1 -1
- data/docs/CallbackTypeEnum.md +15 -0
- data/docs/MediaApi.md +1 -1
- data/docs/Message.md +1 -1
- data/docs/MessageCallback.md +28 -0
- data/docs/MessageCallbackMessage.md +40 -0
- data/lib/bandwidth-sdk/api/media_api.rb +1 -1
- data/lib/bandwidth-sdk/models/callback_type_enum.rb +42 -0
- data/lib/bandwidth-sdk/models/{message_failed_callback.rb → message_callback.rb} +31 -13
- data/lib/bandwidth-sdk/models/{inbound_message_callback_message.rb → message_callback_message.rb} +6 -4
- data/lib/bandwidth-sdk/version.rb +1 -1
- data/lib/bandwidth-sdk.rb +3 -8
- metadata +55 -60
- data/lib/bandwidth-sdk/models/disconenct_callback.rb +0 -405
- data/lib/bandwidth-sdk/models/inbound_message_callback.rb +0 -284
- data/lib/bandwidth-sdk/models/message_delivered_callback.rb +0 -284
- data/lib/bandwidth-sdk/models/message_delivered_callback_message.rb +0 -418
- data/lib/bandwidth-sdk/models/message_failed_callback_message.rb +0 -418
- data/lib/bandwidth-sdk/models/message_sending_callback.rb +0 -284
- data/lib/bandwidth-sdk/models/message_sending_callback_message.rb +0 -418
- data/lib/bandwidth-sdk/models/transcription_list.rb +0 -214
- data/lib/bandwidth-sdk/models/transcription_metadata.rb +0 -244
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
|
|
27
27
|
{{^isFaraday}}
|
28
28
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
29
29
|
{{/isFaraday}}
|
30
|
-
s.add_runtime_dependency 'ox', '~> 2.
|
30
|
+
s.add_runtime_dependency 'ox', '~> 2.14'
|
31
31
|
s.add_runtime_dependency 'marcel'
|
32
32
|
|
33
33
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
data/docs/MediaApi.md
CHANGED
@@ -302,6 +302,6 @@ nil (empty response body)
|
|
302
302
|
|
303
303
|
### HTTP request headers
|
304
304
|
|
305
|
-
- **Content-Type**: application/json, application/ogg, application/pdf, application/rtf, application/zip, application/x-tar, application/xml, application/gzip, application/x-bzip2, application/x-gzip, application/smil, application/javascript, audio/mp4, audio/mpeg, audio/ogg, audio/flac, audio/webm, audio/wav, audio/amr, audio/3gpp, image/bmp, image/gif, image/jpeg, image/pjpeg, image/png, image/svg+xml, image/tiff, image/webp, image/x-icon, text/css, text/csv, text/calendar, text/plain, text/javascript, text/vcard, text/vnd.wap.wml, text/xml, video/avi, video/mp4, video/mpeg, video/ogg, video/quicktime, video/webm, video/x-ms-wmv
|
305
|
+
- **Content-Type**: application/json, application/ogg, application/pdf, application/rtf, application/zip, application/x-tar, application/xml, application/gzip, application/x-bzip2, application/x-gzip, application/smil, application/javascript, audio/mp4, audio/mpeg, audio/ogg, audio/flac, audio/webm, audio/wav, audio/amr, audio/3gpp, image/bmp, image/gif, image/heic, image/heif, image/jpeg, image/pjpeg, image/png, image/svg+xml, image/tiff, image/webp, image/x-icon, text/css, text/csv, text/calendar, text/html, text/plain, text/javascript, text/vcard, text/vnd.wap.wml, text/xml, video/avi, video/mp4, video/mpeg, video/ogg, video/quicktime, video/webm, video/x-ms-wmv, video/x-flv
|
306
306
|
- **Accept**: application/json
|
307
307
|
|
data/docs/Message.md
CHANGED
@@ -27,7 +27,7 @@ instance = Bandwidth::Message.new(
|
|
27
27
|
id: 1589228074636lm4k2je7j7jklbn2,
|
28
28
|
owner: +15554443333,
|
29
29
|
application_id: 93de2206-9669-4e07-948d-329f4b722ee2,
|
30
|
-
time:
|
30
|
+
time: 2024-12-02T20:15:57.278Z,
|
31
31
|
segment_count: 2,
|
32
32
|
direction: null,
|
33
33
|
to: ["+15552223333"],
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# Bandwidth::MessageCallback
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **time** | **Time** | | |
|
8
|
+
| **type** | [**CallbackTypeEnum**](CallbackTypeEnum.md) | | |
|
9
|
+
| **to** | **String** | | |
|
10
|
+
| **description** | **String** | A detailed description of the event described by the callback. | |
|
11
|
+
| **message** | [**MessageCallbackMessage**](MessageCallbackMessage.md) | | |
|
12
|
+
| **error_code** | **Integer** | Optional error code, applicable only when type is `message-failed`. | [optional] |
|
13
|
+
|
14
|
+
## Example
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'bandwidth-sdk'
|
18
|
+
|
19
|
+
instance = Bandwidth::MessageCallback.new(
|
20
|
+
time: 2024-12-02T20:15:57.278Z,
|
21
|
+
type: null,
|
22
|
+
to: +15552223333,
|
23
|
+
description: rejected-unallocated-from-number,
|
24
|
+
message: null,
|
25
|
+
error_code: 4405
|
26
|
+
)
|
27
|
+
```
|
28
|
+
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# Bandwidth::MessageCallbackMessage
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | |
|
8
|
+
| **owner** | **String** | | |
|
9
|
+
| **application_id** | **String** | | |
|
10
|
+
| **time** | **Time** | | |
|
11
|
+
| **segment_count** | **Integer** | | |
|
12
|
+
| **direction** | [**MessageDirectionEnum**](MessageDirectionEnum.md) | | |
|
13
|
+
| **to** | **Array<String>** | | |
|
14
|
+
| **from** | **String** | | |
|
15
|
+
| **text** | **String** | | |
|
16
|
+
| **tag** | **String** | | [optional] |
|
17
|
+
| **media** | **Array<String>** | Optional media, applicable only for mms | [optional] |
|
18
|
+
| **priority** | [**PriorityEnum**](PriorityEnum.md) | | [optional] |
|
19
|
+
|
20
|
+
## Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
require 'bandwidth-sdk'
|
24
|
+
|
25
|
+
instance = Bandwidth::MessageCallbackMessage.new(
|
26
|
+
id: 1661365814859loidf7mcwd4qacn7,
|
27
|
+
owner: +15553332222,
|
28
|
+
application_id: 93de2206-9669-4e07-948d-329f4b722ee2,
|
29
|
+
time: 2024-12-02T20:15:57.666Z,
|
30
|
+
segment_count: 1,
|
31
|
+
direction: null,
|
32
|
+
to: ["+15552223333"],
|
33
|
+
from: +15553332222,
|
34
|
+
text: Hello world,
|
35
|
+
tag: custom string,
|
36
|
+
media: ["https://dev.bandwidth.com/images/bandwidth-logo.png","https://dev.bandwidth.com/images/github_logo.png"],
|
37
|
+
priority: null
|
38
|
+
)
|
39
|
+
```
|
40
|
+
|
@@ -273,7 +273,7 @@ module Bandwidth
|
|
273
273
|
# HTTP header 'Accept' (if needed)
|
274
274
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
275
275
|
# HTTP header 'Content-Type'
|
276
|
-
content_type = @api_client.select_header_content_type(['application/json', 'application/ogg', 'application/pdf', 'application/rtf', 'application/zip', 'application/x-tar', 'application/xml', 'application/gzip', 'application/x-bzip2', 'application/x-gzip', 'application/smil', 'application/javascript', 'audio/mp4', 'audio/mpeg', 'audio/ogg', 'audio/flac', 'audio/webm', 'audio/wav', 'audio/amr', 'audio/3gpp', 'image/bmp', 'image/gif', 'image/jpeg', 'image/pjpeg', 'image/png', 'image/svg+xml', 'image/tiff', 'image/webp', 'image/x-icon', 'text/css', 'text/csv', 'text/calendar', 'text/plain', 'text/javascript', 'text/vcard', 'text/vnd.wap.wml', 'text/xml', 'video/avi', 'video/mp4', 'video/mpeg', 'video/ogg', 'video/quicktime', 'video/webm', 'video/x-ms-wmv'])
|
276
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/ogg', 'application/pdf', 'application/rtf', 'application/zip', 'application/x-tar', 'application/xml', 'application/gzip', 'application/x-bzip2', 'application/x-gzip', 'application/smil', 'application/javascript', 'audio/mp4', 'audio/mpeg', 'audio/ogg', 'audio/flac', 'audio/webm', 'audio/wav', 'audio/amr', 'audio/3gpp', 'image/bmp', 'image/gif', 'image/heic', 'image/heif', 'image/jpeg', 'image/pjpeg', 'image/png', 'image/svg+xml', 'image/tiff', 'image/webp', 'image/x-icon', 'text/css', 'text/csv', 'text/calendar', 'text/html', 'text/plain', 'text/javascript', 'text/vcard', 'text/vnd.wap.wml', 'text/xml', 'video/avi', 'video/mp4', 'video/mpeg', 'video/ogg', 'video/quicktime', 'video/webm', 'video/x-ms-wmv', 'video/x-flv'])
|
277
277
|
if !content_type.nil?
|
278
278
|
header_params['Content-Type'] = content_type
|
279
279
|
end
|
@@ -0,0 +1,42 @@
|
|
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.8.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module Bandwidth
|
17
|
+
class CallbackTypeEnum
|
18
|
+
RECEIVED = 'message-received'.freeze
|
19
|
+
SENDING = 'message-sending'.freeze
|
20
|
+
DELIVERED = 'message-delivered'.freeze
|
21
|
+
FAILED = 'message-failed'.freeze
|
22
|
+
|
23
|
+
def self.all_vars
|
24
|
+
@all_vars ||= [RECEIVED, SENDING, DELIVERED, FAILED].freeze
|
25
|
+
end
|
26
|
+
|
27
|
+
# Builds the enum from string
|
28
|
+
# @param [String] The enum value in the form of the string
|
29
|
+
# @return [String] The enum value
|
30
|
+
def self.build_from_hash(value)
|
31
|
+
new.build_from_hash(value)
|
32
|
+
end
|
33
|
+
|
34
|
+
# Builds the enum from string
|
35
|
+
# @param [String] The enum value in the form of the string
|
36
|
+
# @return [String] The enum value
|
37
|
+
def build_from_hash(value)
|
38
|
+
return value if CallbackTypeEnum.all_vars.include?(value)
|
39
|
+
raise "Invalid ENUM value #{value} for class #CallbackTypeEnum"
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -14,20 +14,44 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module Bandwidth
|
17
|
-
# Message
|
18
|
-
class
|
17
|
+
# Message Callback Schema
|
18
|
+
class MessageCallback
|
19
19
|
attr_accessor :time
|
20
20
|
|
21
21
|
attr_accessor :type
|
22
22
|
|
23
23
|
attr_accessor :to
|
24
24
|
|
25
|
+
# A detailed description of the event described by the callback.
|
25
26
|
attr_accessor :description
|
26
27
|
|
27
28
|
attr_accessor :message
|
28
29
|
|
30
|
+
# Optional error code, applicable only when type is `message-failed`.
|
29
31
|
attr_accessor :error_code
|
30
32
|
|
33
|
+
class EnumAttributeValidator
|
34
|
+
attr_reader :datatype
|
35
|
+
attr_reader :allowable_values
|
36
|
+
|
37
|
+
def initialize(datatype, allowable_values)
|
38
|
+
@allowable_values = allowable_values.map do |value|
|
39
|
+
case datatype.to_s
|
40
|
+
when /Integer/i
|
41
|
+
value.to_i
|
42
|
+
when /Float/i
|
43
|
+
value.to_f
|
44
|
+
else
|
45
|
+
value
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
def valid?(value)
|
51
|
+
!value || allowable_values.include?(value)
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
31
55
|
# Attribute mapping from ruby-style variable name to JSON key.
|
32
56
|
def self.attribute_map
|
33
57
|
{
|
@@ -49,10 +73,10 @@ module Bandwidth
|
|
49
73
|
def self.openapi_types
|
50
74
|
{
|
51
75
|
:'time' => :'Time',
|
52
|
-
:'type' => :'
|
76
|
+
:'type' => :'CallbackTypeEnum',
|
53
77
|
:'to' => :'String',
|
54
78
|
:'description' => :'String',
|
55
|
-
:'message' => :'
|
79
|
+
:'message' => :'MessageCallbackMessage',
|
56
80
|
:'error_code' => :'Integer'
|
57
81
|
}
|
58
82
|
end
|
@@ -60,6 +84,7 @@ module Bandwidth
|
|
60
84
|
# List of attributes with nullable: true
|
61
85
|
def self.openapi_nullable
|
62
86
|
Set.new([
|
87
|
+
:'error_code'
|
63
88
|
])
|
64
89
|
end
|
65
90
|
|
@@ -67,13 +92,13 @@ module Bandwidth
|
|
67
92
|
# @param [Hash] attributes Model attributes in the form of hash
|
68
93
|
def initialize(attributes = {})
|
69
94
|
if (!attributes.is_a?(Hash))
|
70
|
-
fail ArgumentError, 'The input argument (attributes) must be a hash in `Bandwidth::
|
95
|
+
fail ArgumentError, 'The input argument (attributes) must be a hash in `Bandwidth::MessageCallback` initialize method'
|
71
96
|
end
|
72
97
|
|
73
98
|
# check to see if the attribute exists and convert string to symbol for hash key
|
74
99
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
75
100
|
if (!self.class.attribute_map.key?(k.to_sym))
|
76
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Bandwidth::
|
101
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Bandwidth::MessageCallback`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
77
102
|
end
|
78
103
|
h[k.to_sym] = v
|
79
104
|
}
|
@@ -110,8 +135,6 @@ module Bandwidth
|
|
110
135
|
|
111
136
|
if attributes.key?(:'error_code')
|
112
137
|
self.error_code = attributes[:'error_code']
|
113
|
-
else
|
114
|
-
self.error_code = nil
|
115
138
|
end
|
116
139
|
end
|
117
140
|
|
@@ -140,10 +163,6 @@ module Bandwidth
|
|
140
163
|
invalid_properties.push('invalid value for "message", message cannot be nil.')
|
141
164
|
end
|
142
165
|
|
143
|
-
if @error_code.nil?
|
144
|
-
invalid_properties.push('invalid value for "error_code", error_code cannot be nil.')
|
145
|
-
end
|
146
|
-
|
147
166
|
invalid_properties
|
148
167
|
end
|
149
168
|
|
@@ -156,7 +175,6 @@ module Bandwidth
|
|
156
175
|
return false if @to.nil?
|
157
176
|
return false if @description.nil?
|
158
177
|
return false if @message.nil?
|
159
|
-
return false if @error_code.nil?
|
160
178
|
true
|
161
179
|
end
|
162
180
|
|
data/lib/bandwidth-sdk/models/{inbound_message_callback_message.rb → message_callback_message.rb}
RENAMED
@@ -14,8 +14,8 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module Bandwidth
|
17
|
-
#
|
18
|
-
class
|
17
|
+
# Message payload schema within a MessageCallback
|
18
|
+
class MessageCallbackMessage
|
19
19
|
attr_accessor :id
|
20
20
|
|
21
21
|
attr_accessor :owner
|
@@ -36,6 +36,7 @@ module Bandwidth
|
|
36
36
|
|
37
37
|
attr_accessor :tag
|
38
38
|
|
39
|
+
# Optional media, applicable only for mms
|
39
40
|
attr_accessor :media
|
40
41
|
|
41
42
|
attr_accessor :priority
|
@@ -106,6 +107,7 @@ module Bandwidth
|
|
106
107
|
# List of attributes with nullable: true
|
107
108
|
def self.openapi_nullable
|
108
109
|
Set.new([
|
110
|
+
:'media',
|
109
111
|
])
|
110
112
|
end
|
111
113
|
|
@@ -113,13 +115,13 @@ module Bandwidth
|
|
113
115
|
# @param [Hash] attributes Model attributes in the form of hash
|
114
116
|
def initialize(attributes = {})
|
115
117
|
if (!attributes.is_a?(Hash))
|
116
|
-
fail ArgumentError, 'The input argument (attributes) must be a hash in `Bandwidth::
|
118
|
+
fail ArgumentError, 'The input argument (attributes) must be a hash in `Bandwidth::MessageCallbackMessage` initialize method'
|
117
119
|
end
|
118
120
|
|
119
121
|
# check to see if the attribute exists and convert string to symbol for hash key
|
120
122
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
121
123
|
if (!self.class.attribute_map.key?(k.to_sym))
|
122
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Bandwidth::
|
124
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Bandwidth::MessageCallbackMessage`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
123
125
|
end
|
124
126
|
h[k.to_sym] = v
|
125
127
|
}
|
data/lib/bandwidth-sdk.rb
CHANGED
@@ -31,6 +31,7 @@ require 'bandwidth-sdk/models/call_transcription_metadata'
|
|
31
31
|
require 'bandwidth-sdk/models/call_transcription_response'
|
32
32
|
require 'bandwidth-sdk/models/call_transcription_track_enum'
|
33
33
|
require 'bandwidth-sdk/models/callback_method_enum'
|
34
|
+
require 'bandwidth-sdk/models/callback_type_enum'
|
34
35
|
require 'bandwidth-sdk/models/code_request'
|
35
36
|
require 'bandwidth-sdk/models/conference'
|
36
37
|
require 'bandwidth-sdk/models/conference_completed_callback'
|
@@ -53,8 +54,6 @@ require 'bandwidth-sdk/models/dtmf_callback'
|
|
53
54
|
require 'bandwidth-sdk/models/field_error'
|
54
55
|
require 'bandwidth-sdk/models/file_format_enum'
|
55
56
|
require 'bandwidth-sdk/models/gather_callback'
|
56
|
-
require 'bandwidth-sdk/models/inbound_message_callback'
|
57
|
-
require 'bandwidth-sdk/models/inbound_message_callback_message'
|
58
57
|
require 'bandwidth-sdk/models/initiate_callback'
|
59
58
|
require 'bandwidth-sdk/models/list_message_direction_enum'
|
60
59
|
require 'bandwidth-sdk/models/list_message_item'
|
@@ -68,14 +67,10 @@ require 'bandwidth-sdk/models/machine_detection_mode_enum'
|
|
68
67
|
require 'bandwidth-sdk/models/machine_detection_result'
|
69
68
|
require 'bandwidth-sdk/models/media'
|
70
69
|
require 'bandwidth-sdk/models/message'
|
71
|
-
require 'bandwidth-sdk/models/
|
72
|
-
require 'bandwidth-sdk/models/
|
70
|
+
require 'bandwidth-sdk/models/message_callback'
|
71
|
+
require 'bandwidth-sdk/models/message_callback_message'
|
73
72
|
require 'bandwidth-sdk/models/message_direction_enum'
|
74
|
-
require 'bandwidth-sdk/models/message_failed_callback'
|
75
|
-
require 'bandwidth-sdk/models/message_failed_callback_message'
|
76
73
|
require 'bandwidth-sdk/models/message_request'
|
77
|
-
require 'bandwidth-sdk/models/message_sending_callback'
|
78
|
-
require 'bandwidth-sdk/models/message_sending_callback_message'
|
79
74
|
require 'bandwidth-sdk/models/message_status_enum'
|
80
75
|
require 'bandwidth-sdk/models/message_type_enum'
|
81
76
|
require 'bandwidth-sdk/models/messages_list'
|
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: 14.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bandwidth
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '2.
|
53
|
+
version: '2.14'
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '2.
|
60
|
+
version: '2.14'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: marcel
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -157,6 +157,7 @@ files:
|
|
157
157
|
- docs/CallTranscriptionResponse.md
|
158
158
|
- docs/CallTranscriptionTrackEnum.md
|
159
159
|
- docs/CallbackMethodEnum.md
|
160
|
+
- docs/CallbackTypeEnum.md
|
160
161
|
- docs/CallsApi.md
|
161
162
|
- docs/CodeRequest.md
|
162
163
|
- docs/Conference.md
|
@@ -203,6 +204,8 @@ files:
|
|
203
204
|
- docs/Media.md
|
204
205
|
- docs/MediaApi.md
|
205
206
|
- docs/Message.md
|
207
|
+
- docs/MessageCallback.md
|
208
|
+
- docs/MessageCallbackMessage.md
|
206
209
|
- docs/MessageDeliveredCallback.md
|
207
210
|
- docs/MessageDeliveredCallbackMessage.md
|
208
211
|
- docs/MessageDirectionEnum.md
|
@@ -322,6 +325,7 @@ files:
|
|
322
325
|
- lib/bandwidth-sdk/models/call_transcription_response.rb
|
323
326
|
- lib/bandwidth-sdk/models/call_transcription_track_enum.rb
|
324
327
|
- lib/bandwidth-sdk/models/callback_method_enum.rb
|
328
|
+
- lib/bandwidth-sdk/models/callback_type_enum.rb
|
325
329
|
- lib/bandwidth-sdk/models/code_request.rb
|
326
330
|
- lib/bandwidth-sdk/models/conference.rb
|
327
331
|
- lib/bandwidth-sdk/models/conference_completed_callback.rb
|
@@ -338,15 +342,12 @@ files:
|
|
338
342
|
- lib/bandwidth-sdk/models/create_lookup_response.rb
|
339
343
|
- lib/bandwidth-sdk/models/create_message_request_error.rb
|
340
344
|
- lib/bandwidth-sdk/models/deferred_result.rb
|
341
|
-
- lib/bandwidth-sdk/models/disconenct_callback.rb
|
342
345
|
- lib/bandwidth-sdk/models/disconnect_callback.rb
|
343
346
|
- lib/bandwidth-sdk/models/diversion.rb
|
344
347
|
- lib/bandwidth-sdk/models/dtmf_callback.rb
|
345
348
|
- lib/bandwidth-sdk/models/field_error.rb
|
346
349
|
- lib/bandwidth-sdk/models/file_format_enum.rb
|
347
350
|
- lib/bandwidth-sdk/models/gather_callback.rb
|
348
|
-
- lib/bandwidth-sdk/models/inbound_message_callback.rb
|
349
|
-
- lib/bandwidth-sdk/models/inbound_message_callback_message.rb
|
350
351
|
- lib/bandwidth-sdk/models/initiate_callback.rb
|
351
352
|
- lib/bandwidth-sdk/models/list_message_direction_enum.rb
|
352
353
|
- lib/bandwidth-sdk/models/list_message_item.rb
|
@@ -360,14 +361,10 @@ files:
|
|
360
361
|
- lib/bandwidth-sdk/models/machine_detection_result.rb
|
361
362
|
- lib/bandwidth-sdk/models/media.rb
|
362
363
|
- lib/bandwidth-sdk/models/message.rb
|
363
|
-
- lib/bandwidth-sdk/models/
|
364
|
-
- lib/bandwidth-sdk/models/
|
364
|
+
- lib/bandwidth-sdk/models/message_callback.rb
|
365
|
+
- lib/bandwidth-sdk/models/message_callback_message.rb
|
365
366
|
- lib/bandwidth-sdk/models/message_direction_enum.rb
|
366
|
-
- lib/bandwidth-sdk/models/message_failed_callback.rb
|
367
|
-
- lib/bandwidth-sdk/models/message_failed_callback_message.rb
|
368
367
|
- lib/bandwidth-sdk/models/message_request.rb
|
369
|
-
- lib/bandwidth-sdk/models/message_sending_callback.rb
|
370
|
-
- lib/bandwidth-sdk/models/message_sending_callback_message.rb
|
371
368
|
- lib/bandwidth-sdk/models/message_status_enum.rb
|
372
369
|
- lib/bandwidth-sdk/models/message_type_enum.rb
|
373
370
|
- lib/bandwidth-sdk/models/messages_list.rb
|
@@ -391,8 +388,6 @@ files:
|
|
391
388
|
- lib/bandwidth-sdk/models/transcribe_recording.rb
|
392
389
|
- lib/bandwidth-sdk/models/transcription.rb
|
393
390
|
- lib/bandwidth-sdk/models/transcription_available_callback.rb
|
394
|
-
- lib/bandwidth-sdk/models/transcription_list.rb
|
395
|
-
- lib/bandwidth-sdk/models/transcription_metadata.rb
|
396
391
|
- lib/bandwidth-sdk/models/transfer_answer_callback.rb
|
397
392
|
- lib/bandwidth-sdk/models/transfer_complete_callback.rb
|
398
393
|
- lib/bandwidth-sdk/models/transfer_disconnect_callback.rb
|
@@ -472,7 +467,7 @@ homepage: https://github.com/Bandwidth/ruby-sdk
|
|
472
467
|
licenses:
|
473
468
|
- MIT
|
474
469
|
metadata: {}
|
475
|
-
post_install_message:
|
470
|
+
post_install_message:
|
476
471
|
rdoc_options: []
|
477
472
|
require_paths:
|
478
473
|
- lib
|
@@ -487,69 +482,69 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
487
482
|
- !ruby/object:Gem::Version
|
488
483
|
version: '0'
|
489
484
|
requirements: []
|
490
|
-
rubygems_version: 3.
|
491
|
-
signing_key:
|
485
|
+
rubygems_version: 3.5.22
|
486
|
+
signing_key:
|
492
487
|
specification_version: 4
|
493
488
|
summary: Bandwidth Ruby SDK
|
494
489
|
test_files:
|
495
490
|
- spec/call_utils.rb
|
496
491
|
- spec/fixtures/ruby_cat.jpeg
|
497
|
-
- spec/smoke/phone_number_lookup_api_spec.rb
|
498
492
|
- spec/smoke/mfa_api_spec.rb
|
493
|
+
- spec/smoke/phone_number_lookup_api_spec.rb
|
494
|
+
- spec/smoke/media_api_spec.rb
|
495
|
+
- spec/smoke/messages_api_spec.rb
|
496
|
+
- spec/smoke/conferences_api_spec.rb
|
499
497
|
- spec/smoke/statistics_api_spec.rb
|
498
|
+
- spec/smoke/recordings_api_spec.rb
|
500
499
|
- spec/smoke/calls_api_spec.rb
|
501
|
-
- spec/smoke/conferences_api_spec.rb
|
502
|
-
- spec/smoke/messages_api_spec.rb
|
503
500
|
- spec/smoke/transcriptions_api_spec.rb
|
504
|
-
- spec/smoke/recordings_api_spec.rb
|
505
|
-
- spec/smoke/media_api_spec.rb
|
506
501
|
- spec/spec_helper.rb
|
507
|
-
- spec/unit/models/
|
502
|
+
- spec/unit/models/deferred_result_spec.rb
|
503
|
+
- spec/unit/models/verify_code_request_spec.rb
|
508
504
|
- spec/unit/models/call_state_enum_spec.rb
|
509
505
|
- spec/unit/models/message_spec.rb
|
510
|
-
- spec/unit/models/
|
511
|
-
- spec/unit/models/bxml/
|
512
|
-
- spec/unit/models/bxml/
|
513
|
-
- spec/unit/models/bxml/verbs/
|
514
|
-
- spec/unit/models/bxml/verbs/start_stream_spec.rb
|
515
|
-
- spec/unit/models/bxml/verbs/start_transcription_spec.rb
|
506
|
+
- spec/unit/models/bxml/verbs/tag_spec.rb
|
507
|
+
- spec/unit/models/bxml/verbs/send_dtmf_spec.rb
|
508
|
+
- spec/unit/models/bxml/verbs/gather_spec.rb
|
509
|
+
- spec/unit/models/bxml/verbs/stop_transcription_spec.rb
|
516
510
|
- spec/unit/models/bxml/verbs/record_spec.rb
|
511
|
+
- spec/unit/models/bxml/verbs/pause_spec.rb
|
512
|
+
- spec/unit/models/bxml/verbs/start_transcription_spec.rb
|
513
|
+
- spec/unit/models/bxml/verbs/start_gather_spec.rb
|
514
|
+
- spec/unit/models/bxml/verbs/stop_recording_spec.rb
|
517
515
|
- spec/unit/models/bxml/verbs/speak_sentence_spec.rb
|
518
|
-
- spec/unit/models/bxml/verbs/hangup_spec.rb
|
519
|
-
- spec/unit/models/bxml/verbs/ring_spec.rb
|
520
|
-
- spec/unit/models/bxml/verbs/forward_spec.rb
|
521
|
-
- spec/unit/models/bxml/verbs/stop_gather_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
516
|
- spec/unit/models/bxml/verbs/transfer_spec.rb
|
528
|
-
- spec/unit/models/bxml/verbs/play_audio_spec.rb
|
529
|
-
- spec/unit/models/bxml/verbs/custom_param_spec.rb
|
530
517
|
- spec/unit/models/bxml/verbs/redirect_spec.rb
|
531
|
-
- spec/unit/models/bxml/verbs/
|
532
|
-
- spec/unit/models/bxml/verbs/
|
533
|
-
- spec/unit/models/bxml/verbs/
|
534
|
-
- spec/unit/models/bxml/verbs/
|
535
|
-
- spec/unit/models/bxml/verbs/
|
536
|
-
- spec/unit/models/bxml/verbs/
|
518
|
+
- spec/unit/models/bxml/verbs/sip_uri_spec.rb
|
519
|
+
- spec/unit/models/bxml/verbs/stop_gather_spec.rb
|
520
|
+
- spec/unit/models/bxml/verbs/play_audio_spec.rb
|
521
|
+
- spec/unit/models/bxml/verbs/ring_spec.rb
|
522
|
+
- spec/unit/models/bxml/verbs/stream_param_spec.rb
|
523
|
+
- spec/unit/models/bxml/verbs/start_stream_spec.rb
|
524
|
+
- spec/unit/models/bxml/verbs/forward_spec.rb
|
537
525
|
- spec/unit/models/bxml/verbs/conference_spec.rb
|
538
|
-
- spec/unit/models/bxml/verbs/
|
526
|
+
- spec/unit/models/bxml/verbs/start_recording_spec.rb
|
539
527
|
- spec/unit/models/bxml/verbs/resume_recording_spec.rb
|
540
|
-
- spec/unit/models/bxml/verbs/
|
541
|
-
- spec/unit/models/bxml/
|
528
|
+
- spec/unit/models/bxml/verbs/bridge_spec.rb
|
529
|
+
- spec/unit/models/bxml/verbs/phone_number_spec.rb
|
530
|
+
- spec/unit/models/bxml/verbs/hangup_spec.rb
|
531
|
+
- spec/unit/models/bxml/verbs/pause_recording_spec.rb
|
532
|
+
- spec/unit/models/bxml/verbs/stop_stream_spec.rb
|
533
|
+
- spec/unit/models/bxml/verbs/custom_param_spec.rb
|
534
|
+
- spec/unit/models/bxml/bxml_spec.rb
|
542
535
|
- spec/unit/models/bxml/nestable_verb_spec.rb
|
543
|
-
- spec/unit/models/
|
544
|
-
- spec/unit/
|
545
|
-
- spec/unit/
|
546
|
-
- spec/unit/client/api_error_spec.rb
|
547
|
-
- spec/unit/api/phone_number_lookup_api_spec.rb
|
536
|
+
- spec/unit/models/bxml/verb_spec.rb
|
537
|
+
- spec/unit/models/bxml/response_spec.rb
|
538
|
+
- spec/unit/models/call_state_spec.rb
|
548
539
|
- spec/unit/api/mfa_api_spec.rb
|
540
|
+
- spec/unit/api/phone_number_lookup_api_spec.rb
|
541
|
+
- spec/unit/api/media_api_spec.rb
|
542
|
+
- spec/unit/api/messages_api_spec.rb
|
543
|
+
- spec/unit/api/conferences_api_spec.rb
|
549
544
|
- spec/unit/api/statistics_api_spec.rb
|
545
|
+
- spec/unit/api/recordings_api_spec.rb
|
550
546
|
- spec/unit/api/calls_api_spec.rb
|
551
|
-
- spec/unit/api/conferences_api_spec.rb
|
552
|
-
- spec/unit/api/messages_api_spec.rb
|
553
547
|
- spec/unit/api/transcriptions_api_spec.rb
|
554
|
-
- spec/unit/
|
555
|
-
- spec/unit/
|
548
|
+
- spec/unit/client/api_error_spec.rb
|
549
|
+
- spec/unit/client/configuration_spec.rb
|
550
|
+
- spec/unit/client/api_client_spec.rb
|