twilio-ruby 7.6.3 → 7.6.4

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.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +28 -0
  3. data/README.md +2 -2
  4. data/lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb +1 -1
  5. data/lib/twilio-ruby/rest/bulkexports/v1/export/job.rb +1 -1
  6. data/lib/twilio-ruby/rest/client.rb +0 -10
  7. data/lib/twilio-ruby/rest/lookups/v2/bucket.rb +315 -0
  8. data/lib/twilio-ruby/rest/lookups/v2/lookup_override.rb +390 -0
  9. data/lib/twilio-ruby/rest/lookups/v2/query.rb +456 -0
  10. data/lib/twilio-ruby/rest/lookups/v2/rate_limit.rb +136 -0
  11. data/lib/twilio-ruby/rest/lookups/v2.rb +86 -0
  12. data/lib/twilio-ruby/rest/messaging/v1/service.rb +4 -4
  13. data/lib/twilio-ruby/rest/messaging/v2/channels_sender.rb +133 -1
  14. data/lib/twilio-ruby/rest/numbers/v1/{porting_webhook_configuration_fetch.rb → webhook.rb} +20 -20
  15. data/lib/twilio-ruby/rest/numbers/v1.rb +6 -6
  16. data/lib/twilio-ruby/rest/proxy/v1/service.rb +0 -27
  17. data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +1 -1
  18. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +1 -1
  19. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +7 -0
  20. data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +3 -3
  21. data/lib/twilio-ruby/rest/verify/v2/verification_attempts_summary.rb +2 -2
  22. data/lib/twilio-ruby/rest/{proxy/v1/service/short_code.rb → video/v1/room/transcriptions.rb} +110 -123
  23. data/lib/twilio-ruby/rest/video/v1/room.rb +27 -0
  24. data/lib/twilio-ruby/twiml/voice_response.rb +24 -0
  25. data/lib/twilio-ruby/version.rb +1 -1
  26. metadata +8 -20
  27. data/lib/twilio-ruby/rest/knowledge/v1/knowledge/chunk.rb +0 -232
  28. data/lib/twilio-ruby/rest/knowledge/v1/knowledge/knowledge_status.rb +0 -213
  29. data/lib/twilio-ruby/rest/knowledge/v1/knowledge.rb +0 -623
  30. data/lib/twilio-ruby/rest/knowledge/v1.rb +0 -49
  31. data/lib/twilio-ruby/rest/knowledge.rb +0 -6
  32. data/lib/twilio-ruby/rest/knowledge_base.rb +0 -38
  33. data/lib/twilio-ruby/rest/microvisor/v1/account_config.rb +0 -382
  34. data/lib/twilio-ruby/rest/microvisor/v1/account_secret.rb +0 -375
  35. data/lib/twilio-ruby/rest/microvisor/v1/app/app_manifest.rb +0 -213
  36. data/lib/twilio-ruby/rest/microvisor/v1/app.rb +0 -361
  37. data/lib/twilio-ruby/rest/microvisor/v1/device/device_config.rb +0 -398
  38. data/lib/twilio-ruby/rest/microvisor/v1/device/device_secret.rb +0 -391
  39. data/lib/twilio-ruby/rest/microvisor/v1/device.rb +0 -441
  40. data/lib/twilio-ruby/rest/microvisor/v1.rb +0 -94
  41. data/lib/twilio-ruby/rest/microvisor.rb +0 -24
  42. data/lib/twilio-ruby/rest/microvisor_base.rb +0 -38
@@ -4,7 +4,7 @@
4
4
  # | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
5
5
  # | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
6
6
  #
7
- # Twilio - Proxy
7
+ # Twilio - Video
8
8
  # This is the public Twilio REST API.
9
9
  #
10
10
  # NOTE: This class is auto generated by OpenAPI Generator.
@@ -15,33 +15,33 @@
15
15
 
16
16
  module Twilio
17
17
  module REST
18
- class Proxy < ProxyBase
18
+ class Video < VideoBase
19
19
  class V1 < Version
20
- class ServiceContext < InstanceContext
20
+ class RoomContext < InstanceContext
21
21
 
22
- class ShortCodeList < ListResource
22
+ class TranscriptionsList < ListResource
23
23
 
24
24
  ##
25
- # Initialize the ShortCodeList
25
+ # Initialize the TranscriptionsList
26
26
  # @param [Version] version Version that contains the resource
27
- # @return [ShortCodeList] ShortCodeList
28
- def initialize(version, service_sid: nil)
27
+ # @return [TranscriptionsList] TranscriptionsList
28
+ def initialize(version, room_sid: nil)
29
29
  super(version)
30
30
  # Path Solution
31
- @solution = { service_sid: service_sid }
32
- @uri = "/Services/#{@solution[:service_sid]}/ShortCodes"
31
+ @solution = { room_sid: room_sid }
32
+ @uri = "/Rooms/#{@solution[:room_sid]}/Transcriptions"
33
33
 
34
34
  end
35
35
  ##
36
- # Create the ShortCodeInstance
37
- # @param [String] sid The SID of a Twilio [ShortCode](https://www.twilio.com/en-us/messaging/channels/sms/short-codes) resource that represents the short code you would like to assign to your Proxy Service.
38
- # @return [ShortCodeInstance] Created ShortCodeInstance
36
+ # Create the TranscriptionsInstance
37
+ # @param [Object] configuration A collection of properties that describe transcription behaviour.
38
+ # @return [TranscriptionsInstance] Created TranscriptionsInstance
39
39
  def create(
40
- sid: nil
40
+ configuration: :unset
41
41
  )
42
42
 
43
43
  data = Twilio::Values.of({
44
- 'Sid' => sid,
44
+ 'Configuration' => Twilio.serialize_object(configuration),
45
45
  })
46
46
 
47
47
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
@@ -51,16 +51,16 @@ module Twilio
51
51
 
52
52
 
53
53
  payload = @version.create('POST', @uri, data: data, headers: headers)
54
- ShortCodeInstance.new(
54
+ TranscriptionsInstance.new(
55
55
  @version,
56
56
  payload,
57
- service_sid: @solution[:service_sid],
57
+ room_sid: @solution[:room_sid],
58
58
  )
59
59
  end
60
60
 
61
61
 
62
62
  ##
63
- # Lists ShortCodeInstance records from the API as a list.
63
+ # Lists TranscriptionsInstance records from the API as a list.
64
64
  # Unlike stream(), this operation is eager and will load `limit` records into
65
65
  # memory before returning.
66
66
  # @param [Integer] limit Upper limit for the number of records to return. stream()
@@ -98,7 +98,7 @@ module Twilio
98
98
  end
99
99
 
100
100
  ##
101
- # When passed a block, yields ShortCodeInstance records from the API.
101
+ # When passed a block, yields TranscriptionsInstance records from the API.
102
102
  # This operation lazily loads records as efficiently as possible until the limit
103
103
  # is reached.
104
104
  def each
@@ -112,12 +112,12 @@ module Twilio
112
112
  end
113
113
 
114
114
  ##
115
- # Retrieve a single page of ShortCodeInstance records from the API.
115
+ # Retrieve a single page of TranscriptionsInstance records from the API.
116
116
  # Request is executed immediately.
117
117
  # @param [String] page_token PageToken provided by the API
118
118
  # @param [Integer] page_number Page Number, this value is simply for client state
119
119
  # @param [Integer] page_size Number of records to return, defaults to 50
120
- # @return [Page] Page of ShortCodeInstance
120
+ # @return [Page] Page of TranscriptionsInstance
121
121
  def page(page_token: :unset, page_number: :unset, page_size: :unset)
122
122
  params = Twilio::Values.of({
123
123
  'PageToken' => page_token,
@@ -130,62 +130,50 @@ module Twilio
130
130
 
131
131
  response = @version.page('GET', @uri, params: params, headers: headers)
132
132
 
133
- ShortCodePage.new(@version, response, @solution)
133
+ TranscriptionsPage.new(@version, response, @solution)
134
134
  end
135
135
 
136
136
  ##
137
- # Retrieve a single page of ShortCodeInstance records from the API.
137
+ # Retrieve a single page of TranscriptionsInstance records from the API.
138
138
  # Request is executed immediately.
139
139
  # @param [String] target_url API-generated URL for the requested results page
140
- # @return [Page] Page of ShortCodeInstance
140
+ # @return [Page] Page of TranscriptionsInstance
141
141
  def get_page(target_url)
142
142
  response = @version.domain.request(
143
143
  'GET',
144
144
  target_url
145
145
  )
146
- ShortCodePage.new(@version, response, @solution)
146
+ TranscriptionsPage.new(@version, response, @solution)
147
147
  end
148
148
 
149
149
 
150
150
 
151
151
  # Provide a user friendly representation
152
152
  def to_s
153
- '#<Twilio.Proxy.V1.ShortCodeList>'
153
+ '#<Twilio.Video.V1.TranscriptionsList>'
154
154
  end
155
155
  end
156
156
 
157
157
 
158
- class ShortCodeContext < InstanceContext
158
+ class TranscriptionsContext < InstanceContext
159
159
  ##
160
- # Initialize the ShortCodeContext
160
+ # Initialize the TranscriptionsContext
161
161
  # @param [Version] version Version that contains the resource
162
- # @param [String] service_sid The SID of the parent [Service](https://www.twilio.com/docs/proxy/api/service) of the resource to update.
163
- # @param [String] sid The Twilio-provided string that uniquely identifies the ShortCode resource to update.
164
- # @return [ShortCodeContext] ShortCodeContext
165
- def initialize(version, service_sid, sid)
162
+ # @param [String] room_sid The SID of the room with the transcriptions resource to update.
163
+ # @param [String] ttid The Twilio type id of the transcriptions resource to update.
164
+ # @return [TranscriptionsContext] TranscriptionsContext
165
+ def initialize(version, room_sid, ttid)
166
166
  super(version)
167
167
 
168
168
  # Path Solution
169
- @solution = { service_sid: service_sid, sid: sid, }
170
- @uri = "/Services/#{@solution[:service_sid]}/ShortCodes/#{@solution[:sid]}"
169
+ @solution = { room_sid: room_sid, ttid: ttid, }
170
+ @uri = "/Rooms/#{@solution[:room_sid]}/Transcriptions/#{@solution[:ttid]}"
171
171
 
172
172
 
173
173
  end
174
174
  ##
175
- # Delete the ShortCodeInstance
176
- # @return [Boolean] True if delete succeeds, false otherwise
177
- def delete
178
-
179
- headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
180
-
181
-
182
-
183
- @version.delete('DELETE', @uri, headers: headers)
184
- end
185
-
186
- ##
187
- # Fetch the ShortCodeInstance
188
- # @return [ShortCodeInstance] Fetched ShortCodeInstance
175
+ # Fetch the TranscriptionsInstance
176
+ # @return [TranscriptionsInstance] Fetched TranscriptionsInstance
189
177
  def fetch
190
178
 
191
179
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
@@ -195,24 +183,24 @@ module Twilio
195
183
 
196
184
 
197
185
  payload = @version.fetch('GET', @uri, headers: headers)
198
- ShortCodeInstance.new(
186
+ TranscriptionsInstance.new(
199
187
  @version,
200
188
  payload,
201
- service_sid: @solution[:service_sid],
202
- sid: @solution[:sid],
189
+ room_sid: @solution[:room_sid],
190
+ ttid: @solution[:ttid],
203
191
  )
204
192
  end
205
193
 
206
194
  ##
207
- # Update the ShortCodeInstance
208
- # @param [Boolean] is_reserved Whether the short code should be reserved and not be assigned to a participant using proxy pool logic. See [Reserved Phone Numbers](https://www.twilio.com/docs/proxy/reserved-phone-numbers) for more information.
209
- # @return [ShortCodeInstance] Updated ShortCodeInstance
195
+ # Update the TranscriptionsInstance
196
+ # @param [Status] status
197
+ # @return [TranscriptionsInstance] Updated TranscriptionsInstance
210
198
  def update(
211
- is_reserved: :unset
199
+ status: :unset
212
200
  )
213
201
 
214
202
  data = Twilio::Values.of({
215
- 'IsReserved' => is_reserved,
203
+ 'Status' => status,
216
204
  })
217
205
 
218
206
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
@@ -222,11 +210,11 @@ module Twilio
222
210
 
223
211
 
224
212
  payload = @version.update('POST', @uri, data: data, headers: headers)
225
- ShortCodeInstance.new(
213
+ TranscriptionsInstance.new(
226
214
  @version,
227
215
  payload,
228
- service_sid: @solution[:service_sid],
229
- sid: @solution[:sid],
216
+ room_sid: @solution[:room_sid],
217
+ ttid: @solution[:ttid],
230
218
  )
231
219
  end
232
220
 
@@ -235,24 +223,24 @@ module Twilio
235
223
  # Provide a user friendly representation
236
224
  def to_s
237
225
  context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
238
- "#<Twilio.Proxy.V1.ShortCodeContext #{context}>"
226
+ "#<Twilio.Video.V1.TranscriptionsContext #{context}>"
239
227
  end
240
228
 
241
229
  ##
242
230
  # Provide a detailed, user friendly representation
243
231
  def inspect
244
232
  context = @solution.map{|k, v| "#{k}: #{v}"}.join(',')
245
- "#<Twilio.Proxy.V1.ShortCodeContext #{context}>"
233
+ "#<Twilio.Video.V1.TranscriptionsContext #{context}>"
246
234
  end
247
235
  end
248
236
 
249
- class ShortCodePage < Page
237
+ class TranscriptionsPage < Page
250
238
  ##
251
- # Initialize the ShortCodePage
239
+ # Initialize the TranscriptionsPage
252
240
  # @param [Version] version Version that contains the resource
253
241
  # @param [Response] response Response from the API
254
242
  # @param [Hash] solution Path solution for the resource
255
- # @return [ShortCodePage] ShortCodePage
243
+ # @return [TranscriptionsPage] TranscriptionsPage
256
244
  def initialize(version, response, solution)
257
245
  super(version, response)
258
246
 
@@ -261,148 +249,147 @@ module Twilio
261
249
  end
262
250
 
263
251
  ##
264
- # Build an instance of ShortCodeInstance
252
+ # Build an instance of TranscriptionsInstance
265
253
  # @param [Hash] payload Payload response from the API
266
- # @return [ShortCodeInstance] ShortCodeInstance
254
+ # @return [TranscriptionsInstance] TranscriptionsInstance
267
255
  def get_instance(payload)
268
- ShortCodeInstance.new(@version, payload, service_sid: @solution[:service_sid])
256
+ TranscriptionsInstance.new(@version, payload, room_sid: @solution[:room_sid])
269
257
  end
270
258
 
271
259
  ##
272
260
  # Provide a user friendly representation
273
261
  def to_s
274
- '<Twilio.Proxy.V1.ShortCodePage>'
262
+ '<Twilio.Video.V1.TranscriptionsPage>'
275
263
  end
276
264
  end
277
- class ShortCodeInstance < InstanceResource
265
+ class TranscriptionsInstance < InstanceResource
278
266
  ##
279
- # Initialize the ShortCodeInstance
267
+ # Initialize the TranscriptionsInstance
280
268
  # @param [Version] version Version that contains the resource
281
269
  # @param [Hash] payload payload that contains response from Twilio
282
270
  # @param [String] account_sid The SID of the
283
- # {Account}[https://www.twilio.com/docs/iam/api/account] that created this ShortCode
271
+ # {Account}[https://www.twilio.com/docs/iam/api/account] that created this Transcriptions
284
272
  # resource.
285
273
  # @param [String] sid The SID of the Call resource to fetch.
286
- # @return [ShortCodeInstance] ShortCodeInstance
287
- def initialize(version, payload , service_sid: nil, sid: nil)
274
+ # @return [TranscriptionsInstance] TranscriptionsInstance
275
+ def initialize(version, payload , room_sid: nil, ttid: nil)
288
276
  super(version)
289
277
 
290
278
  # Marshaled Properties
291
279
  @properties = {
292
- 'sid' => payload['sid'],
280
+ 'ttid' => payload['ttid'],
293
281
  'account_sid' => payload['account_sid'],
294
- 'service_sid' => payload['service_sid'],
282
+ 'room_sid' => payload['room_sid'],
283
+ 'status' => payload['status'],
284
+ 'identity' => payload['identity'],
295
285
  'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
296
286
  'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
297
- 'short_code' => payload['short_code'],
298
- 'iso_country' => payload['iso_country'],
299
- 'capabilities' => payload['capabilities'],
287
+ 'start_time' => Twilio.deserialize_iso8601_datetime(payload['start_time']),
288
+ 'end_time' => Twilio.deserialize_iso8601_datetime(payload['end_time']),
289
+ 'duration' => payload['duration'] == nil ? payload['duration'] : payload['duration'].to_i,
300
290
  'url' => payload['url'],
301
- 'is_reserved' => payload['is_reserved'],
302
291
  }
303
292
 
304
293
  # Context
305
294
  @instance_context = nil
306
- @params = { 'service_sid' => service_sid || @properties['service_sid'] ,'sid' => sid || @properties['sid'] , }
295
+ @params = { 'room_sid' => room_sid || @properties['room_sid'] ,'ttid' => ttid || @properties['ttid'] , }
307
296
  end
308
297
 
309
298
  ##
310
299
  # Generate an instance context for the instance, the context is capable of
311
300
  # performing various actions. All instance actions are proxied to the context
312
- # @return [ShortCodeContext] CallContext for this CallInstance
301
+ # @return [TranscriptionsContext] CallContext for this CallInstance
313
302
  def context
314
303
  unless @instance_context
315
- @instance_context = ShortCodeContext.new(@version , @params['service_sid'], @params['sid'])
304
+ @instance_context = TranscriptionsContext.new(@version , @params['room_sid'], @params['ttid'])
316
305
  end
317
306
  @instance_context
318
307
  end
319
308
 
320
309
  ##
321
- # @return [String] The unique string that we created to identify the ShortCode resource.
322
- def sid
323
- @properties['sid']
310
+ # @return [String] The unique string that we created to identify the transcriptions resource.
311
+ def ttid
312
+ @properties['ttid']
324
313
  end
325
314
 
326
315
  ##
327
- # @return [String] The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ShortCode resource.
316
+ # @return [String] The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Room resource.
328
317
  def account_sid
329
318
  @properties['account_sid']
330
319
  end
331
320
 
332
321
  ##
333
- # @return [String] The SID of the ShortCode resource's parent [Service](https://www.twilio.com/docs/proxy/api/service) resource.
334
- def service_sid
335
- @properties['service_sid']
322
+ # @return [String] The SID of the transcriptions's room.
323
+ def room_sid
324
+ @properties['room_sid']
325
+ end
326
+
327
+ ##
328
+ # @return [Status]
329
+ def status
330
+ @properties['status']
336
331
  end
337
332
 
338
333
  ##
339
- # @return [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time in GMT when the resource was created.
334
+ # @return [String] The application-defined string that uniquely identifies the resource's User within a Room. If a client joins with an existing Identity, the existing client is disconnected. See [access tokens](https://www.twilio.com/docs/video/tutorials/user-identity-access-tokens) and [limits](https://www.twilio.com/docs/video/programmable-video-limits) for more info.
335
+ def identity
336
+ @properties['identity']
337
+ end
338
+
339
+ ##
340
+ # @return [Time] The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
340
341
  def date_created
341
342
  @properties['date_created']
342
343
  end
343
344
 
344
345
  ##
345
- # @return [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time in GMT when the resource was last updated.
346
+ # @return [Time] The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
346
347
  def date_updated
347
348
  @properties['date_updated']
348
349
  end
349
350
 
350
351
  ##
351
- # @return [String] The short code's number.
352
- def short_code
353
- @properties['short_code']
352
+ # @return [Time] The time of transcriptions connected to the room in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#UTC) format.
353
+ def start_time
354
+ @properties['start_time']
354
355
  end
355
356
 
356
357
  ##
357
- # @return [String] The ISO Country Code for the short code.
358
- def iso_country
359
- @properties['iso_country']
358
+ # @return [Time] The time when the transcriptions disconnected from the room in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#UTC) format.
359
+ def end_time
360
+ @properties['end_time']
360
361
  end
361
362
 
362
363
  ##
363
- # @return [ProxyV1ServiceShortCodeCapabilities]
364
- def capabilities
365
- @properties['capabilities']
364
+ # @return [String] The duration in seconds that the transcriptions were `connected`. Populated only after the transcriptions is `stopped`.
365
+ def duration
366
+ @properties['duration']
366
367
  end
367
368
 
368
369
  ##
369
- # @return [String] The absolute URL of the ShortCode resource.
370
+ # @return [String] The absolute URL of the resource.
370
371
  def url
371
372
  @properties['url']
372
373
  end
373
374
 
374
375
  ##
375
- # @return [Boolean] Whether the short code should be reserved and not be assigned to a participant using proxy pool logic. See [Reserved Phone Numbers](https://www.twilio.com/docs/proxy/reserved-phone-numbers) for more information.
376
- def is_reserved
377
- @properties['is_reserved']
378
- end
379
-
380
- ##
381
- # Delete the ShortCodeInstance
382
- # @return [Boolean] True if delete succeeds, false otherwise
383
- def delete
384
-
385
- context.delete
386
- end
387
-
388
- ##
389
- # Fetch the ShortCodeInstance
390
- # @return [ShortCodeInstance] Fetched ShortCodeInstance
376
+ # Fetch the TranscriptionsInstance
377
+ # @return [TranscriptionsInstance] Fetched TranscriptionsInstance
391
378
  def fetch
392
379
 
393
380
  context.fetch
394
381
  end
395
382
 
396
383
  ##
397
- # Update the ShortCodeInstance
398
- # @param [Boolean] is_reserved Whether the short code should be reserved and not be assigned to a participant using proxy pool logic. See [Reserved Phone Numbers](https://www.twilio.com/docs/proxy/reserved-phone-numbers) for more information.
399
- # @return [ShortCodeInstance] Updated ShortCodeInstance
384
+ # Update the TranscriptionsInstance
385
+ # @param [Status] status
386
+ # @return [TranscriptionsInstance] Updated TranscriptionsInstance
400
387
  def update(
401
- is_reserved: :unset
388
+ status: :unset
402
389
  )
403
390
 
404
391
  context.update(
405
- is_reserved: is_reserved,
392
+ status: status,
406
393
  )
407
394
  end
408
395
 
@@ -410,14 +397,14 @@ module Twilio
410
397
  # Provide a user friendly representation
411
398
  def to_s
412
399
  values = @params.map{|k, v| "#{k}: #{v}"}.join(" ")
413
- "<Twilio.Proxy.V1.ShortCodeInstance #{values}>"
400
+ "<Twilio.Video.V1.TranscriptionsInstance #{values}>"
414
401
  end
415
402
 
416
403
  ##
417
404
  # Provide a detailed, user friendly representation
418
405
  def inspect
419
406
  values = @properties.map{|k, v| "#{k}: #{v}"}.join(" ")
420
- "<Twilio.Proxy.V1.ShortCodeInstance #{values}>"
407
+ "<Twilio.Video.V1.TranscriptionsInstance #{values}>"
421
408
  end
422
409
  end
423
410
 
@@ -240,6 +240,7 @@ module Twilio
240
240
  # Dependents
241
241
  @recording_rules = nil
242
242
  @participants = nil
243
+ @transcriptions = nil
243
244
  @recordings = nil
244
245
  end
245
246
  ##
@@ -318,6 +319,25 @@ module Twilio
318
319
  @participants
319
320
  end
320
321
  ##
322
+ # Access the transcriptions
323
+ # @return [TranscriptionsList]
324
+ # @return [TranscriptionsContext] if sid was passed.
325
+ def transcriptions(ttid=:unset)
326
+
327
+ raise ArgumentError, 'ttid cannot be nil' if ttid.nil?
328
+
329
+ if ttid != :unset
330
+ return TranscriptionsContext.new(@version, @solution[:sid],ttid )
331
+ end
332
+
333
+ unless @transcriptions
334
+ @transcriptions = TranscriptionsList.new(
335
+ @version, room_sid: @solution[:sid], )
336
+ end
337
+
338
+ @transcriptions
339
+ end
340
+ ##
321
341
  # Access the recordings
322
342
  # @return [RoomRecordingList]
323
343
  # @return [RoomRecordingContext] if sid was passed.
@@ -616,6 +636,13 @@ module Twilio
616
636
  context.participants
617
637
  end
618
638
 
639
+ ##
640
+ # Access the transcriptions
641
+ # @return [transcriptions] transcriptions
642
+ def transcriptions
643
+ context.transcriptions
644
+ end
645
+
619
646
  ##
620
647
  # Access the recordings
621
648
  # @return [recordings] recordings
@@ -1761,6 +1761,30 @@ module Twilio
1761
1761
  yield(application) if block_given?
1762
1762
  append(application)
1763
1763
  end
1764
+
1765
+ ##
1766
+ # Create a new <WhatsApp> element
1767
+ # phone_number:: WhatsApp Phone Number to dial
1768
+ # url:: TwiML URL
1769
+ # method:: TwiML URL Method
1770
+ # status_callback_event:: Events to trigger status callback
1771
+ # status_callback:: Status Callback URL
1772
+ # status_callback_method:: Status Callback URL Method
1773
+ # keyword_args:: additional attributes
1774
+ def whats_app(phone_number, url: nil, method: nil, status_callback_event: nil, status_callback: nil, status_callback_method: nil, **keyword_args)
1775
+ append(WhatsApp.new(phone_number, url: url, method: method, status_callback_event: status_callback_event, status_callback: status_callback, status_callback_method: status_callback_method, **keyword_args))
1776
+ end
1777
+ end
1778
+
1779
+ ##
1780
+ # <WhatsApp> TwiML Noun
1781
+ class WhatsApp < TwiML
1782
+ def initialize(phone_number, **keyword_args)
1783
+ super(**keyword_args)
1784
+ @name = 'WhatsApp'
1785
+ @value = phone_number
1786
+ yield(self) if block_given?
1787
+ end
1764
1788
  end
1765
1789
 
1766
1790
  ##
@@ -1,3 +1,3 @@
1
1
  module Twilio
2
- VERSION = '7.6.3'
2
+ VERSION = '7.6.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twilio-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.6.3
4
+ version: 7.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Twilio API Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-06-12 00:00:00.000000000 Z
11
+ date: 2025-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -553,17 +553,15 @@ files:
553
553
  - lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb
554
554
  - lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb
555
555
  - lib/twilio-ruby/rest/ip_messaging_base.rb
556
- - lib/twilio-ruby/rest/knowledge.rb
557
- - lib/twilio-ruby/rest/knowledge/v1.rb
558
- - lib/twilio-ruby/rest/knowledge/v1/knowledge.rb
559
- - lib/twilio-ruby/rest/knowledge/v1/knowledge/chunk.rb
560
- - lib/twilio-ruby/rest/knowledge/v1/knowledge/knowledge_status.rb
561
- - lib/twilio-ruby/rest/knowledge_base.rb
562
556
  - lib/twilio-ruby/rest/lookups.rb
563
557
  - lib/twilio-ruby/rest/lookups/v1.rb
564
558
  - lib/twilio-ruby/rest/lookups/v1/phone_number.rb
565
559
  - lib/twilio-ruby/rest/lookups/v2.rb
560
+ - lib/twilio-ruby/rest/lookups/v2/bucket.rb
561
+ - lib/twilio-ruby/rest/lookups/v2/lookup_override.rb
566
562
  - lib/twilio-ruby/rest/lookups/v2/phone_number.rb
563
+ - lib/twilio-ruby/rest/lookups/v2/query.rb
564
+ - lib/twilio-ruby/rest/lookups/v2/rate_limit.rb
567
565
  - lib/twilio-ruby/rest/lookups_base.rb
568
566
  - lib/twilio-ruby/rest/marketplace.rb
569
567
  - lib/twilio-ruby/rest/marketplace/v1.rb
@@ -602,16 +600,6 @@ files:
602
600
  - lib/twilio-ruby/rest/messaging/v2.rb
603
601
  - lib/twilio-ruby/rest/messaging/v2/channels_sender.rb
604
602
  - lib/twilio-ruby/rest/messaging_base.rb
605
- - lib/twilio-ruby/rest/microvisor.rb
606
- - lib/twilio-ruby/rest/microvisor/v1.rb
607
- - lib/twilio-ruby/rest/microvisor/v1/account_config.rb
608
- - lib/twilio-ruby/rest/microvisor/v1/account_secret.rb
609
- - lib/twilio-ruby/rest/microvisor/v1/app.rb
610
- - lib/twilio-ruby/rest/microvisor/v1/app/app_manifest.rb
611
- - lib/twilio-ruby/rest/microvisor/v1/device.rb
612
- - lib/twilio-ruby/rest/microvisor/v1/device/device_config.rb
613
- - lib/twilio-ruby/rest/microvisor/v1/device/device_secret.rb
614
- - lib/twilio-ruby/rest/microvisor_base.rb
615
603
  - lib/twilio-ruby/rest/monitor.rb
616
604
  - lib/twilio-ruby/rest/monitor/v1.rb
617
605
  - lib/twilio-ruby/rest/monitor/v1/alert.rb
@@ -633,8 +621,8 @@ files:
633
621
  - lib/twilio-ruby/rest/numbers/v1/porting_portability.rb
634
622
  - lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration.rb
635
623
  - lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_delete.rb
636
- - lib/twilio-ruby/rest/numbers/v1/porting_webhook_configuration_fetch.rb
637
624
  - lib/twilio-ruby/rest/numbers/v1/signing_request_configuration.rb
625
+ - lib/twilio-ruby/rest/numbers/v1/webhook.rb
638
626
  - lib/twilio-ruby/rest/numbers/v2.rb
639
627
  - lib/twilio-ruby/rest/numbers/v2/authorization_document.rb
640
628
  - lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb
@@ -708,7 +696,6 @@ files:
708
696
  - lib/twilio-ruby/rest/proxy/v1/service/session/interaction.rb
709
697
  - lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb
710
698
  - lib/twilio-ruby/rest/proxy/v1/service/session/participant/message_interaction.rb
711
- - lib/twilio-ruby/rest/proxy/v1/service/short_code.rb
712
699
  - lib/twilio-ruby/rest/proxy_base.rb
713
700
  - lib/twilio-ruby/rest/routes.rb
714
701
  - lib/twilio-ruby/rest/routes/v2.rb
@@ -874,6 +861,7 @@ files:
874
861
  - lib/twilio-ruby/rest/video/v1/room/participant/subscribed_track.rb
875
862
  - lib/twilio-ruby/rest/video/v1/room/recording_rules.rb
876
863
  - lib/twilio-ruby/rest/video/v1/room/room_recording.rb
864
+ - lib/twilio-ruby/rest/video/v1/room/transcriptions.rb
877
865
  - lib/twilio-ruby/rest/video_base.rb
878
866
  - lib/twilio-ruby/rest/voice.rb
879
867
  - lib/twilio-ruby/rest/voice/v1.rb