bandwidth-sdk 13.0.0 → 13.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +10 -10
- data/bandwidth-sdk.gemspec +1 -1
- data/bandwidth.yml +15 -0
- data/coverage/.last_run.json +1 -1
- data/coverage/.resultset.json +188 -176
- data/coverage/index.html +1590 -1458
- data/docs/CallRecordingMetadata.md +3 -1
- data/docs/CallTranscriptionMetadata.md +2 -0
- data/docs/ConferenceRecordingMetadata.md +3 -1
- data/lib/bandwidth-sdk/api/calls_api.rb +6 -6
- data/lib/bandwidth-sdk/api/conferences_api.rb +10 -10
- data/lib/bandwidth-sdk/api/media_api.rb +5 -5
- data/lib/bandwidth-sdk/api/messages_api.rb +3 -3
- data/lib/bandwidth-sdk/api/mfa_api.rb +4 -4
- data/lib/bandwidth-sdk/api/phone_number_lookup_api.rb +3 -3
- data/lib/bandwidth-sdk/api/recordings_api.rb +11 -11
- data/lib/bandwidth-sdk/api/statistics_api.rb +2 -2
- data/lib/bandwidth-sdk/api/transcriptions_api.rb +4 -4
- data/lib/bandwidth-sdk/api_client.rb +30 -24
- data/lib/bandwidth-sdk/api_error.rb +1 -1
- data/lib/bandwidth-sdk/configuration.rb +1 -1
- data/lib/bandwidth-sdk/models/account_statistics.rb +1 -1
- data/lib/bandwidth-sdk/models/answer_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/bridge_complete_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/bridge_target_complete_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/call_direction_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/call_recording_metadata.rb +16 -6
- data/lib/bandwidth-sdk/models/call_state.rb +1 -1
- data/lib/bandwidth-sdk/models/call_state_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/call_transcription.rb +1 -1
- data/lib/bandwidth-sdk/models/call_transcription_detected_language_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/call_transcription_metadata.rb +12 -2
- data/lib/bandwidth-sdk/models/call_transcription_response.rb +1 -1
- data/lib/bandwidth-sdk/models/call_transcription_track_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/callback_method_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/code_request.rb +1 -1
- data/lib/bandwidth-sdk/models/conference.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_completed_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_created_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_member.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_member_exit_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_member_join_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_recording_available_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_recording_metadata.rb +16 -6
- data/lib/bandwidth-sdk/models/conference_redirect_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_state_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/create_call.rb +1 -1
- data/lib/bandwidth-sdk/models/create_call_response.rb +1 -1
- data/lib/bandwidth-sdk/models/create_lookup_response.rb +1 -1
- data/lib/bandwidth-sdk/models/create_message_request_error.rb +1 -1
- data/lib/bandwidth-sdk/models/deferred_result.rb +1 -1
- data/lib/bandwidth-sdk/models/disconnect_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/diversion.rb +1 -1
- data/lib/bandwidth-sdk/models/dtmf_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/field_error.rb +1 -1
- data/lib/bandwidth-sdk/models/file_format_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/gather_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/inbound_message_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/inbound_message_callback_message.rb +1 -1
- data/lib/bandwidth-sdk/models/initiate_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/list_message_direction_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/list_message_item.rb +1 -1
- data/lib/bandwidth-sdk/models/lookup_request.rb +1 -1
- data/lib/bandwidth-sdk/models/lookup_result.rb +1 -1
- data/lib/bandwidth-sdk/models/lookup_status.rb +1 -1
- data/lib/bandwidth-sdk/models/lookup_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/machine_detection_complete_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/machine_detection_configuration.rb +1 -1
- data/lib/bandwidth-sdk/models/machine_detection_mode_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/machine_detection_result.rb +1 -1
- data/lib/bandwidth-sdk/models/media.rb +1 -1
- data/lib/bandwidth-sdk/models/message.rb +1 -1
- data/lib/bandwidth-sdk/models/message_delivered_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/message_delivered_callback_message.rb +1 -1
- data/lib/bandwidth-sdk/models/message_direction_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/message_failed_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/message_failed_callback_message.rb +1 -1
- data/lib/bandwidth-sdk/models/message_request.rb +1 -1
- data/lib/bandwidth-sdk/models/message_sending_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/message_sending_callback_message.rb +1 -1
- data/lib/bandwidth-sdk/models/message_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/message_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/messages_list.rb +1 -1
- data/lib/bandwidth-sdk/models/messaging_code_response.rb +1 -1
- data/lib/bandwidth-sdk/models/messaging_request_error.rb +1 -1
- data/lib/bandwidth-sdk/models/mfa_forbidden_request_error.rb +1 -1
- data/lib/bandwidth-sdk/models/mfa_request_error.rb +1 -1
- data/lib/bandwidth-sdk/models/mfa_unauthorized_request_error.rb +1 -1
- data/lib/bandwidth-sdk/models/page_info.rb +1 -1
- data/lib/bandwidth-sdk/models/priority_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/recording_available_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/recording_complete_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/recording_state_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/recording_transcription_metadata.rb +1 -1
- data/lib/bandwidth-sdk/models/recording_transcriptions.rb +1 -1
- data/lib/bandwidth-sdk/models/redirect_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/redirect_method_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/stir_shaken.rb +1 -1
- data/lib/bandwidth-sdk/models/tag.rb +1 -1
- data/lib/bandwidth-sdk/models/tn_lookup_request_error.rb +1 -1
- data/lib/bandwidth-sdk/models/transcribe_recording.rb +1 -1
- data/lib/bandwidth-sdk/models/transcription.rb +1 -1
- data/lib/bandwidth-sdk/models/transcription_available_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/transfer_answer_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/transfer_complete_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/transfer_disconnect_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/update_call.rb +1 -1
- data/lib/bandwidth-sdk/models/update_call_recording.rb +1 -1
- data/lib/bandwidth-sdk/models/update_conference.rb +1 -1
- data/lib/bandwidth-sdk/models/update_conference_member.rb +1 -1
- data/lib/bandwidth-sdk/models/verify_code_request.rb +1 -1
- data/lib/bandwidth-sdk/models/verify_code_response.rb +1 -1
- data/lib/bandwidth-sdk/models/voice_api_error.rb +1 -1
- data/lib/bandwidth-sdk/models/voice_code_response.rb +1 -1
- data/lib/bandwidth-sdk/version.rb +2 -2
- data/lib/bandwidth-sdk.rb +1 -1
- data/openapitools.json +1 -1
- data/spec/smoke/transcriptions_api_spec.rb +1 -0
- data/spec/unit/api/conferences_api_spec.rb +3 -2
- data/spec/unit/api/media_api_spec.rb +3 -2
- data/spec/unit/api/recordings_api_spec.rb +6 -3
- data/spec/unit/api/transcriptions_api_spec.rb +1 -0
- metadata +47 -47
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
Contact: letstalk@bandwidth.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.8.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -66,6 +66,9 @@ module Bandwidth
|
|
66
66
|
|
67
67
|
attr_accessor :transcription
|
68
68
|
|
69
|
+
# A name to identify this recording.
|
70
|
+
attr_accessor :recording_name
|
71
|
+
|
69
72
|
class EnumAttributeValidator
|
70
73
|
attr_reader :datatype
|
71
74
|
attr_reader :allowable_values
|
@@ -108,7 +111,8 @@ module Bandwidth
|
|
108
111
|
:'file_format' => :'fileFormat',
|
109
112
|
:'status' => :'status',
|
110
113
|
:'media_url' => :'mediaUrl',
|
111
|
-
:'transcription' => :'transcription'
|
114
|
+
:'transcription' => :'transcription',
|
115
|
+
:'recording_name' => :'recordingName'
|
112
116
|
}
|
113
117
|
end
|
114
118
|
|
@@ -137,7 +141,8 @@ module Bandwidth
|
|
137
141
|
:'file_format' => :'FileFormatEnum',
|
138
142
|
:'status' => :'String',
|
139
143
|
:'media_url' => :'String',
|
140
|
-
:'transcription' => :'RecordingTranscriptionMetadata'
|
144
|
+
:'transcription' => :'RecordingTranscriptionMetadata',
|
145
|
+
:'recording_name' => :'String'
|
141
146
|
}
|
142
147
|
end
|
143
148
|
|
@@ -145,7 +150,7 @@ module Bandwidth
|
|
145
150
|
def self.openapi_nullable
|
146
151
|
Set.new([
|
147
152
|
:'media_url',
|
148
|
-
:'transcription'
|
153
|
+
:'transcription',
|
149
154
|
])
|
150
155
|
end
|
151
156
|
|
@@ -235,6 +240,10 @@ module Bandwidth
|
|
235
240
|
if attributes.key?(:'transcription')
|
236
241
|
self.transcription = attributes[:'transcription']
|
237
242
|
end
|
243
|
+
|
244
|
+
if attributes.key?(:'recording_name')
|
245
|
+
self.recording_name = attributes[:'recording_name']
|
246
|
+
end
|
238
247
|
end
|
239
248
|
|
240
249
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -274,7 +283,8 @@ module Bandwidth
|
|
274
283
|
file_format == o.file_format &&
|
275
284
|
status == o.status &&
|
276
285
|
media_url == o.media_url &&
|
277
|
-
transcription == o.transcription
|
286
|
+
transcription == o.transcription &&
|
287
|
+
recording_name == o.recording_name
|
278
288
|
end
|
279
289
|
|
280
290
|
# @see the `==` method
|
@@ -286,7 +296,7 @@ module Bandwidth
|
|
286
296
|
# Calculates hash code according to all attributes.
|
287
297
|
# @return [Integer] Hash code
|
288
298
|
def hash
|
289
|
-
[application_id, account_id, call_id, parent_call_id, recording_id, to, from, transfer_caller_id, transfer_to, duration, direction, channels, start_time, end_time, file_format, status, media_url, transcription].hash
|
299
|
+
[application_id, account_id, call_id, parent_call_id, recording_id, to, from, transfer_caller_id, transfer_to, duration, direction, channels, start_time, end_time, file_format, status, media_url, transcription, recording_name].hash
|
290
300
|
end
|
291
301
|
|
292
302
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
Contact: letstalk@bandwidth.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.8.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -18,6 +18,9 @@ module Bandwidth
|
|
18
18
|
# The programmable voice API transcription ID.
|
19
19
|
attr_accessor :transcription_id
|
20
20
|
|
21
|
+
# The programmable voice API transcription name. This name could be provided by the user when creating the transcription.
|
22
|
+
attr_accessor :transcription_name
|
23
|
+
|
21
24
|
# A URL that may be used to retrieve the transcription itself. This points to the [Get Call Transcription](/apis/voice/#operation/getCallTranscription) endpoint.
|
22
25
|
attr_accessor :transcription_url
|
23
26
|
|
@@ -25,6 +28,7 @@ module Bandwidth
|
|
25
28
|
def self.attribute_map
|
26
29
|
{
|
27
30
|
:'transcription_id' => :'transcriptionId',
|
31
|
+
:'transcription_name' => :'transcriptionName',
|
28
32
|
:'transcription_url' => :'transcriptionUrl'
|
29
33
|
}
|
30
34
|
end
|
@@ -38,6 +42,7 @@ module Bandwidth
|
|
38
42
|
def self.openapi_types
|
39
43
|
{
|
40
44
|
:'transcription_id' => :'String',
|
45
|
+
:'transcription_name' => :'String',
|
41
46
|
:'transcription_url' => :'String'
|
42
47
|
}
|
43
48
|
end
|
@@ -67,6 +72,10 @@ module Bandwidth
|
|
67
72
|
self.transcription_id = attributes[:'transcription_id']
|
68
73
|
end
|
69
74
|
|
75
|
+
if attributes.key?(:'transcription_name')
|
76
|
+
self.transcription_name = attributes[:'transcription_name']
|
77
|
+
end
|
78
|
+
|
70
79
|
if attributes.key?(:'transcription_url')
|
71
80
|
self.transcription_url = attributes[:'transcription_url']
|
72
81
|
end
|
@@ -93,6 +102,7 @@ module Bandwidth
|
|
93
102
|
return true if self.equal?(o)
|
94
103
|
self.class == o.class &&
|
95
104
|
transcription_id == o.transcription_id &&
|
105
|
+
transcription_name == o.transcription_name &&
|
96
106
|
transcription_url == o.transcription_url
|
97
107
|
end
|
98
108
|
|
@@ -105,7 +115,7 @@ module Bandwidth
|
|
105
115
|
# Calculates hash code according to all attributes.
|
106
116
|
# @return [Integer] Hash code
|
107
117
|
def hash
|
108
|
-
[transcription_id, transcription_url].hash
|
118
|
+
[transcription_id, transcription_name, transcription_url].hash
|
109
119
|
end
|
110
120
|
|
111
121
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
Contact: letstalk@bandwidth.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.8.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -47,6 +47,9 @@ module Bandwidth
|
|
47
47
|
# The URL that can be used to download the recording. Only present if the recording is finished and may be downloaded.
|
48
48
|
attr_accessor :media_url
|
49
49
|
|
50
|
+
# A name to identify this recording.
|
51
|
+
attr_accessor :recording_name
|
52
|
+
|
50
53
|
class EnumAttributeValidator
|
51
54
|
attr_reader :datatype
|
52
55
|
attr_reader :allowable_values
|
@@ -82,7 +85,8 @@ module Bandwidth
|
|
82
85
|
:'end_time' => :'endTime',
|
83
86
|
:'file_format' => :'fileFormat',
|
84
87
|
:'status' => :'status',
|
85
|
-
:'media_url' => :'mediaUrl'
|
88
|
+
:'media_url' => :'mediaUrl',
|
89
|
+
:'recording_name' => :'recordingName'
|
86
90
|
}
|
87
91
|
end
|
88
92
|
|
@@ -104,14 +108,15 @@ module Bandwidth
|
|
104
108
|
:'end_time' => :'Time',
|
105
109
|
:'file_format' => :'FileFormatEnum',
|
106
110
|
:'status' => :'String',
|
107
|
-
:'media_url' => :'String'
|
111
|
+
:'media_url' => :'String',
|
112
|
+
:'recording_name' => :'String'
|
108
113
|
}
|
109
114
|
end
|
110
115
|
|
111
116
|
# List of attributes with nullable: true
|
112
117
|
def self.openapi_nullable
|
113
118
|
Set.new([
|
114
|
-
:'media_url'
|
119
|
+
:'media_url',
|
115
120
|
])
|
116
121
|
end
|
117
122
|
|
@@ -173,6 +178,10 @@ module Bandwidth
|
|
173
178
|
if attributes.key?(:'media_url')
|
174
179
|
self.media_url = attributes[:'media_url']
|
175
180
|
end
|
181
|
+
|
182
|
+
if attributes.key?(:'recording_name')
|
183
|
+
self.recording_name = attributes[:'recording_name']
|
184
|
+
end
|
176
185
|
end
|
177
186
|
|
178
187
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -205,7 +214,8 @@ module Bandwidth
|
|
205
214
|
end_time == o.end_time &&
|
206
215
|
file_format == o.file_format &&
|
207
216
|
status == o.status &&
|
208
|
-
media_url == o.media_url
|
217
|
+
media_url == o.media_url &&
|
218
|
+
recording_name == o.recording_name
|
209
219
|
end
|
210
220
|
|
211
221
|
# @see the `==` method
|
@@ -217,7 +227,7 @@ module Bandwidth
|
|
217
227
|
# Calculates hash code according to all attributes.
|
218
228
|
# @return [Integer] Hash code
|
219
229
|
def hash
|
220
|
-
[account_id, conference_id, name, recording_id, duration, channels, start_time, end_time, file_format, status, media_url].hash
|
230
|
+
[account_id, conference_id, name, recording_id, duration, channels, start_time, end_time, file_format, status, media_url, recording_name].hash
|
221
231
|
end
|
222
232
|
|
223
233
|
# Builds the object from hash
|