twilio-ruby 6.6.0 → 6.7.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.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +15 -0
  3. data/README.md +2 -2
  4. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +1 -1
  5. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb +7 -7
  6. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +8 -8
  7. data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +2 -2
  8. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +1 -1
  9. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +1 -1
  10. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +3 -3
  11. data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +1 -1
  12. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +1 -1
  13. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +2 -2
  14. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +1 -1
  15. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +3 -3
  16. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +1 -1
  17. data/lib/twilio-ruby/rest/api/v2010/safelist.rb +169 -0
  18. data/lib/twilio-ruby/rest/api/v2010.rb +6 -0
  19. data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb +1 -1
  20. data/lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb +2 -2
  21. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +3 -3
  22. data/lib/twilio-ruby/rest/chat/v1/service/user.rb +1 -1
  23. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +4 -4
  24. data/lib/twilio-ruby/rest/chat/v2/service/user.rb +2 -2
  25. data/lib/twilio-ruby/rest/chat/v3/channel.rb +3 -3
  26. data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +3 -3
  27. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +10 -1
  28. data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +22 -4
  29. data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +10 -1
  30. data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +25 -7
  31. data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +1 -1
  32. data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +7 -0
  33. data/lib/twilio-ruby/rest/flex_api/v1/interaction/interaction_channel.rb +6 -6
  34. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +3 -3
  35. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +1 -1
  36. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +4 -4
  37. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +2 -2
  38. data/lib/twilio-ruby/rest/messaging/v1/external_campaign.rb +2 -2
  39. data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +2 -2
  40. data/lib/twilio-ruby/rest/messaging/v1/service.rb +4 -4
  41. data/lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb +3 -3
  42. data/lib/twilio-ruby/rest/numbers/v2/authorization_document.rb +3 -3
  43. data/lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb +2 -2
  44. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +3 -3
  45. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +4 -4
  46. data/lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb +3 -3
  47. data/lib/twilio-ruby/rest/preview/sync/service/document.rb +1 -1
  48. data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +2 -2
  49. data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +2 -2
  50. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +1 -1
  51. data/lib/twilio-ruby/rest/preview/understand/assistant/task.rb +2 -2
  52. data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +1 -1
  53. data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +2 -2
  54. data/lib/twilio-ruby/rest/proxy/v1/service.rb +4 -4
  55. data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +1 -1
  56. data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +3 -3
  57. data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +1 -1
  58. data/lib/twilio-ruby/rest/studio/v1/flow/engagement.rb +1 -1
  59. data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +1 -1
  60. data/lib/twilio-ruby/rest/studio/v2/flow/execution.rb +1 -1
  61. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +1 -1
  62. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +2 -2
  63. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +2 -2
  64. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +1 -1
  65. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +1 -1
  66. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +2 -2
  67. data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +1 -1
  68. data/lib/twilio-ruby/rest/verify/v2/service/entity.rb +3 -3
  69. data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +4 -4
  70. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +1 -1
  71. data/lib/twilio-ruby/rest/video/v1/room/participant.rb +3 -3
  72. data/lib/twilio-ruby/version.rb +1 -1
  73. metadata +3 -2
@@ -193,7 +193,7 @@ module Twilio
193
193
  def new_factors
194
194
  unless @new_factors
195
195
  @new_factors = NewFactorList.new(
196
- @version, service_sid: @solution[:service_sid], identity: @solution[:identity], )
196
+ @version, service_sid: @solution[:service_sid], identity: @solution[:identity], )
197
197
  end
198
198
  @new_factors
199
199
  end
@@ -211,7 +211,7 @@ module Twilio
211
211
 
212
212
  unless @factors
213
213
  @factors = FactorList.new(
214
- @version, service_sid: @solution[:service_sid], identity: @solution[:identity], )
214
+ @version, service_sid: @solution[:service_sid], identity: @solution[:identity], )
215
215
  end
216
216
 
217
217
  @factors
@@ -230,7 +230,7 @@ module Twilio
230
230
 
231
231
  unless @challenges
232
232
  @challenges = ChallengeList.new(
233
- @version, service_sid: @solution[:service_sid], identity: @solution[:identity], )
233
+ @version, service_sid: @solution[:service_sid], identity: @solution[:identity], )
234
234
  end
235
235
 
236
236
  @challenges
@@ -34,7 +34,7 @@ module Twilio
34
34
  ##
35
35
  # Create the MessagingConfigurationInstance
36
36
  # @param [String] country The [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the country this configuration will be applied to. If this is a global configuration, Country will take the value `all`.
37
- # @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to be used to send SMS to the country of this configuration.
37
+ # @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration.
38
38
  # @return [MessagingConfigurationInstance] Created MessagingConfigurationInstance
39
39
  def create(
40
40
  country: nil,
@@ -188,7 +188,7 @@ module Twilio
188
188
 
189
189
  ##
190
190
  # Update the MessagingConfigurationInstance
191
- # @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to be used to send SMS to the country of this configuration.
191
+ # @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration.
192
192
  # @return [MessagingConfigurationInstance] Updated MessagingConfigurationInstance
193
193
  def update(
194
194
  messaging_service_sid: nil
@@ -310,7 +310,7 @@ module Twilio
310
310
  end
311
311
 
312
312
  ##
313
- # @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to be used to send SMS to the country of this configuration.
313
+ # @return [String] The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration.
314
314
  def messaging_service_sid
315
315
  @properties['messaging_service_sid']
316
316
  end
@@ -351,7 +351,7 @@ module Twilio
351
351
 
352
352
  ##
353
353
  # Update the MessagingConfigurationInstance
354
- # @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to be used to send SMS to the country of this configuration.
354
+ # @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to be used to send SMS to the country of this configuration.
355
355
  # @return [MessagingConfigurationInstance] Updated MessagingConfigurationInstance
356
356
  def update(
357
357
  messaging_service_sid: nil
@@ -222,7 +222,7 @@ module Twilio
222
222
 
223
223
  unless @buckets
224
224
  @buckets = BucketList.new(
225
- @version, service_sid: @solution[:service_sid], rate_limit_sid: @solution[:sid], )
225
+ @version, service_sid: @solution[:service_sid], rate_limit_sid: @solution[:sid], )
226
226
  end
227
227
 
228
228
  @buckets
@@ -211,7 +211,7 @@ module Twilio
211
211
  def subscribe_rules
212
212
  unless @subscribe_rules
213
213
  @subscribe_rules = SubscribeRulesList.new(
214
- @version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], )
214
+ @version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], )
215
215
  end
216
216
  @subscribe_rules
217
217
  end
@@ -229,7 +229,7 @@ module Twilio
229
229
 
230
230
  unless @subscribed_tracks
231
231
  @subscribed_tracks = SubscribedTrackList.new(
232
- @version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], )
232
+ @version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], )
233
233
  end
234
234
 
235
235
  @subscribed_tracks
@@ -259,7 +259,7 @@ module Twilio
259
259
 
260
260
  unless @published_tracks
261
261
  @published_tracks = PublishedTrackList.new(
262
- @version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], )
262
+ @version, room_sid: @solution[:room_sid], participant_sid: @solution[:sid], )
263
263
  end
264
264
 
265
265
  @published_tracks
@@ -1,3 +1,3 @@
1
1
  module Twilio
2
- VERSION = '6.6.0'
2
+ VERSION = '6.7.0'
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: 6.6.0
4
+ version: 6.7.0
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: 2023-09-07 00:00:00.000000000 Z
11
+ date: 2023-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -332,6 +332,7 @@ files:
332
332
  - lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb
333
333
  - lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb
334
334
  - lib/twilio-ruby/rest/api/v2010/account/validation_request.rb
335
+ - lib/twilio-ruby/rest/api/v2010/safelist.rb
335
336
  - lib/twilio-ruby/rest/api_base.rb
336
337
  - lib/twilio-ruby/rest/autopilot.rb
337
338
  - lib/twilio-ruby/rest/autopilot/v1.rb