twilio-ruby 5.63.1 → 5.65.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test-and-deploy.yml +7 -2
  3. data/CHANGES.md +81 -0
  4. data/README.md +3 -2
  5. data/lib/twilio-ruby/rest/api/v2010/account/call/siprec.rb +7 -0
  6. data/lib/twilio-ruby/rest/api/v2010/account/call/stream.rb +674 -0
  7. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +26 -0
  8. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +27 -7
  9. data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +10 -4
  10. data/lib/twilio-ruby/rest/conversations/v1/address_configuration.rb +447 -0
  11. data/lib/twilio-ruby/rest/conversations/v1.rb +17 -0
  12. data/lib/twilio-ruby/rest/conversations.rb +9 -0
  13. data/lib/twilio-ruby/rest/fax/v1/fax.rb +0 -77
  14. data/lib/twilio-ruby/rest/insights/v1/conference/conference_participant.rb +56 -65
  15. data/lib/twilio-ruby/rest/insights/v1/conference.rb +82 -54
  16. data/lib/twilio-ruby/rest/insights/v1.rb +1 -1
  17. data/lib/twilio-ruby/rest/insights.rb +1 -1
  18. data/lib/twilio-ruby/rest/media/v1/media_recording.rb +385 -0
  19. data/lib/twilio-ruby/rest/media/v1.rb +16 -0
  20. data/lib/twilio-ruby/rest/media.rb +9 -0
  21. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb +75 -18
  22. data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +7 -0
  23. data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +71 -30
  24. data/lib/twilio-ruby/rest/supersim/v1/sms_command.rb +1 -1
  25. data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +9 -9
  26. data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +18 -1
  27. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +22 -4
  28. data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +7 -0
  29. data/lib/twilio-ruby/rest/verify/v2/service/entity/new_factor.rb +16 -6
  30. data/lib/twilio-ruby/rest/verify/v2/template.rb +1 -1
  31. data/lib/twilio-ruby/rest/verify/v2/verification_attempt.rb +89 -21
  32. data/lib/twilio-ruby/rest/verify.rb +2 -2
  33. data/lib/twilio-ruby/rest/video/v1/room.rb +7 -4
  34. data/lib/twilio-ruby/version.rb +1 -1
  35. data/lib/twilio-ruby.rb +1 -1
  36. metadata +5 -2
@@ -27,16 +27,23 @@ module Twilio
27
27
  # Lists ConferenceInstance records from the API as a list.
28
28
  # Unlike stream(), this operation is eager and will load `limit` records into
29
29
  # memory before returning.
30
- # @param [String] conference_sid The conference_sid
31
- # @param [String] friendly_name The friendly_name
32
- # @param [String] status The status
33
- # @param [String] created_after The created_after
34
- # @param [String] created_before The created_before
35
- # @param [String] mixer_region The mixer_region
36
- # @param [String] tags The tags
37
- # @param [String] subaccount The subaccount
38
- # @param [String] detected_issues The detected_issues
39
- # @param [String] end_reason The end_reason
30
+ # @param [String] conference_sid The SID of the conference.
31
+ # @param [String] friendly_name Custom label for the conference resource, up to 64
32
+ # characters.
33
+ # @param [String] status Conference status.
34
+ # @param [String] created_after Conferences created after the provided timestamp
35
+ # specified in ISO 8601 format
36
+ # @param [String] created_before Conferences created before the provided timestamp
37
+ # specified in ISO 8601 format.
38
+ # @param [String] mixer_region Twilio region where the conference media was mixed.
39
+ # @param [String] tags Tags applied by Twilio for common potential configuration,
40
+ # quality, or performance issues.
41
+ # @param [String] subaccount Account SID for the subaccount whose resources you
42
+ # wish to retrieve.
43
+ # @param [String] detected_issues Potential configuration, behavior, or
44
+ # performance issues detected during the conference.
45
+ # @param [String] end_reason Conference end reason; e.g. last participant left,
46
+ # modified by API, etc.
40
47
  # @param [Integer] limit Upper limit for the number of records to return. stream()
41
48
  # guarantees to never return more than limit. Default is no limit
42
49
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -65,16 +72,23 @@ module Twilio
65
72
  # Streams ConferenceInstance records from the API as an Enumerable.
66
73
  # This operation lazily loads records as efficiently as possible until the limit
67
74
  # is reached.
68
- # @param [String] conference_sid The conference_sid
69
- # @param [String] friendly_name The friendly_name
70
- # @param [String] status The status
71
- # @param [String] created_after The created_after
72
- # @param [String] created_before The created_before
73
- # @param [String] mixer_region The mixer_region
74
- # @param [String] tags The tags
75
- # @param [String] subaccount The subaccount
76
- # @param [String] detected_issues The detected_issues
77
- # @param [String] end_reason The end_reason
75
+ # @param [String] conference_sid The SID of the conference.
76
+ # @param [String] friendly_name Custom label for the conference resource, up to 64
77
+ # characters.
78
+ # @param [String] status Conference status.
79
+ # @param [String] created_after Conferences created after the provided timestamp
80
+ # specified in ISO 8601 format
81
+ # @param [String] created_before Conferences created before the provided timestamp
82
+ # specified in ISO 8601 format.
83
+ # @param [String] mixer_region Twilio region where the conference media was mixed.
84
+ # @param [String] tags Tags applied by Twilio for common potential configuration,
85
+ # quality, or performance issues.
86
+ # @param [String] subaccount Account SID for the subaccount whose resources you
87
+ # wish to retrieve.
88
+ # @param [String] detected_issues Potential configuration, behavior, or
89
+ # performance issues detected during the conference.
90
+ # @param [String] end_reason Conference end reason; e.g. last participant left,
91
+ # modified by API, etc.
78
92
  # @param [Integer] limit Upper limit for the number of records to return. stream()
79
93
  # guarantees to never return more than limit. Default is no limit.
80
94
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -119,16 +133,23 @@ module Twilio
119
133
  ##
120
134
  # Retrieve a single page of ConferenceInstance records from the API.
121
135
  # Request is executed immediately.
122
- # @param [String] conference_sid The conference_sid
123
- # @param [String] friendly_name The friendly_name
124
- # @param [String] status The status
125
- # @param [String] created_after The created_after
126
- # @param [String] created_before The created_before
127
- # @param [String] mixer_region The mixer_region
128
- # @param [String] tags The tags
129
- # @param [String] subaccount The subaccount
130
- # @param [String] detected_issues The detected_issues
131
- # @param [String] end_reason The end_reason
136
+ # @param [String] conference_sid The SID of the conference.
137
+ # @param [String] friendly_name Custom label for the conference resource, up to 64
138
+ # characters.
139
+ # @param [String] status Conference status.
140
+ # @param [String] created_after Conferences created after the provided timestamp
141
+ # specified in ISO 8601 format
142
+ # @param [String] created_before Conferences created before the provided timestamp
143
+ # specified in ISO 8601 format.
144
+ # @param [String] mixer_region Twilio region where the conference media was mixed.
145
+ # @param [String] tags Tags applied by Twilio for common potential configuration,
146
+ # quality, or performance issues.
147
+ # @param [String] subaccount Account SID for the subaccount whose resources you
148
+ # wish to retrieve.
149
+ # @param [String] detected_issues Potential configuration, behavior, or
150
+ # performance issues detected during the conference.
151
+ # @param [String] end_reason Conference end reason; e.g. last participant left,
152
+ # modified by API, etc.
132
153
  # @param [String] page_token PageToken provided by the API
133
154
  # @param [Integer] page_number Page Number, this value is simply for client state
134
155
  # @param [Integer] page_size Number of records to return, defaults to 50
@@ -208,7 +229,7 @@ module Twilio
208
229
  ##
209
230
  # Initialize the ConferenceContext
210
231
  # @param [Version] version Version that contains the resource
211
- # @param [String] conference_sid The conference_sid
232
+ # @param [String] conference_sid The unique SID identifier of the Conference.
212
233
  # @return [ConferenceContext] ConferenceContext
213
234
  def initialize(version, conference_sid)
214
235
  super(version)
@@ -271,7 +292,7 @@ module Twilio
271
292
  # Initialize the ConferenceInstance
272
293
  # @param [Version] version Version that contains the resource
273
294
  # @param [Hash] payload payload that contains response from Twilio
274
- # @param [String] conference_sid The conference_sid
295
+ # @param [String] conference_sid The unique SID identifier of the Conference.
275
296
  # @return [ConferenceInstance] ConferenceInstance
276
297
  def initialize(version, payload, conference_sid: nil)
277
298
  super(version)
@@ -298,6 +319,7 @@ module Twilio
298
319
  'detected_issues' => payload['detected_issues'],
299
320
  'tags' => payload['tags'],
300
321
  'tag_info' => payload['tag_info'],
322
+ 'processing_state' => payload['processing_state'],
301
323
  'url' => payload['url'],
302
324
  'links' => payload['links'],
303
325
  }
@@ -319,133 +341,139 @@ module Twilio
319
341
  end
320
342
 
321
343
  ##
322
- # @return [String] The conference_sid
344
+ # @return [String] Conference SID.
323
345
  def conference_sid
324
346
  @properties['conference_sid']
325
347
  end
326
348
 
327
349
  ##
328
- # @return [String] The account_sid
350
+ # @return [String] Account SID.
329
351
  def account_sid
330
352
  @properties['account_sid']
331
353
  end
332
354
 
333
355
  ##
334
- # @return [String] The friendly_name
356
+ # @return [String] Custom label for the conference.
335
357
  def friendly_name
336
358
  @properties['friendly_name']
337
359
  end
338
360
 
339
361
  ##
340
- # @return [Time] The create_time
362
+ # @return [Time] Conference creation date/time.
341
363
  def create_time
342
364
  @properties['create_time']
343
365
  end
344
366
 
345
367
  ##
346
- # @return [Time] The start_time
368
+ # @return [Time] Timestamp in ISO 8601 format when the conference started.
347
369
  def start_time
348
370
  @properties['start_time']
349
371
  end
350
372
 
351
373
  ##
352
- # @return [Time] The end_time
374
+ # @return [Time] Conference end date/time.
353
375
  def end_time
354
376
  @properties['end_time']
355
377
  end
356
378
 
357
379
  ##
358
- # @return [String] The duration_seconds
380
+ # @return [String] Conference duration in seconds.
359
381
  def duration_seconds
360
382
  @properties['duration_seconds']
361
383
  end
362
384
 
363
385
  ##
364
- # @return [String] The connect_duration_seconds
386
+ # @return [String] Duration of the conference in seconds.
365
387
  def connect_duration_seconds
366
388
  @properties['connect_duration_seconds']
367
389
  end
368
390
 
369
391
  ##
370
- # @return [conference.ConferenceStatus] The status
392
+ # @return [conference.ConferenceStatus] Status of conference
371
393
  def status
372
394
  @properties['status']
373
395
  end
374
396
 
375
397
  ##
376
- # @return [String] The max_participants
398
+ # @return [String] Max participants specified in config.
377
399
  def max_participants
378
400
  @properties['max_participants']
379
401
  end
380
402
 
381
403
  ##
382
- # @return [String] The max_concurrent_participants
404
+ # @return [String] Actual maximum concurrent participants.
383
405
  def max_concurrent_participants
384
406
  @properties['max_concurrent_participants']
385
407
  end
386
408
 
387
409
  ##
388
- # @return [String] The unique_participants
410
+ # @return [String] Unique conference participants.
389
411
  def unique_participants
390
412
  @properties['unique_participants']
391
413
  end
392
414
 
393
415
  ##
394
- # @return [conference.ConferenceEndReason] The end_reason
416
+ # @return [conference.ConferenceEndReason] Conference end reason.
395
417
  def end_reason
396
418
  @properties['end_reason']
397
419
  end
398
420
 
399
421
  ##
400
- # @return [String] The ended_by
422
+ # @return [String] Call SID that ended the conference.
401
423
  def ended_by
402
424
  @properties['ended_by']
403
425
  end
404
426
 
405
427
  ##
406
- # @return [conference.Region] The mixer_region
428
+ # @return [conference.Region] Region where the conference was mixed.
407
429
  def mixer_region
408
430
  @properties['mixer_region']
409
431
  end
410
432
 
411
433
  ##
412
- # @return [conference.Region] The mixer_region_requested
434
+ # @return [conference.Region] Configuration-requested conference mixer region.
413
435
  def mixer_region_requested
414
436
  @properties['mixer_region_requested']
415
437
  end
416
438
 
417
439
  ##
418
- # @return [Boolean] The recording_enabled
440
+ # @return [Boolean] Boolean. Indicates whether recording was enabled.
419
441
  def recording_enabled
420
442
  @properties['recording_enabled']
421
443
  end
422
444
 
423
445
  ##
424
- # @return [Hash] The detected_issues
446
+ # @return [Hash] Potential issues detected during the conference.
425
447
  def detected_issues
426
448
  @properties['detected_issues']
427
449
  end
428
450
 
429
451
  ##
430
- # @return [Array[conference.Tag]] The tags
452
+ # @return [Array[conference.Tag]] Tags for detected conference conditions and participant behaviors.
431
453
  def tags
432
454
  @properties['tags']
433
455
  end
434
456
 
435
457
  ##
436
- # @return [Hash] The tag_info
458
+ # @return [Hash] Object. Contains details about conference tags.
437
459
  def tag_info
438
460
  @properties['tag_info']
439
461
  end
440
462
 
441
463
  ##
442
- # @return [String] The url
464
+ # @return [conference.ProcessingState] Processing state for the Conference Summary resource.
465
+ def processing_state
466
+ @properties['processing_state']
467
+ end
468
+
469
+ ##
470
+ # @return [String] The URL of this resource.
443
471
  def url
444
472
  @properties['url']
445
473
  end
446
474
 
447
475
  ##
448
- # @return [String] The links
476
+ # @return [String] Nested resource URLs.
449
477
  def links
450
478
  @properties['links']
451
479
  end
@@ -50,7 +50,7 @@ module Twilio
50
50
  end
51
51
 
52
52
  ##
53
- # @param [String] conference_sid The conference_sid
53
+ # @param [String] conference_sid The unique SID identifier of the Conference.
54
54
  # @return [Twilio::REST::Insights::V1::ConferenceContext] if conference_sid was passed.
55
55
  # @return [Twilio::REST::Insights::V1::ConferenceList]
56
56
  def conferences(conference_sid=:unset)
@@ -49,7 +49,7 @@ module Twilio
49
49
  end
50
50
 
51
51
  ##
52
- # @param [String] conference_sid The conference_sid
52
+ # @param [String] conference_sid The unique SID identifier of the Conference.
53
53
  # @return [Twilio::REST::Insights::V1::ConferenceInstance] if conference_sid was passed.
54
54
  # @return [Twilio::REST::Insights::V1::ConferenceList]
55
55
  def conferences(conference_sid=:unset)