twilio-ruby 5.73.3 → 5.74.0

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/CHANGES.md +49 -0
  3. data/README.md +2 -2
  4. data/lib/twilio-ruby/rest/api/v2010/account/address.rb +19 -3
  5. data/lib/twilio-ruby/rest/api/v2010/account/call/user_defined_message_subscription.rb +4 -4
  6. data/lib/twilio-ruby/rest/content/v1/content/approval_fetch.rb +195 -0
  7. data/lib/twilio-ruby/rest/content/v1/content.rb +18 -9
  8. data/lib/twilio-ruby/rest/flex_api/v1/assessments.rb +156 -0
  9. data/lib/twilio-ruby/rest/flex_api/v1/good_data.rb +6 -6
  10. data/lib/twilio-ruby/rest/flex_api/v1/user_roles.rb +1 -1
  11. data/lib/twilio-ruby/rest/flex_api/v1.rb +7 -0
  12. data/lib/twilio-ruby/rest/flex_api/v2/web_channels.rb +133 -0
  13. data/lib/twilio-ruby/rest/flex_api/v2.rb +35 -0
  14. data/lib/twilio-ruby/rest/flex_api.rb +19 -0
  15. data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +81 -6
  16. data/lib/twilio-ruby/rest/messaging/v1/domain_cert.rb +257 -0
  17. data/lib/twilio-ruby/rest/messaging/v1/domain_config.rb +267 -0
  18. data/lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb +43 -18
  19. data/lib/twilio-ruby/rest/messaging/v1.rb +34 -0
  20. data/lib/twilio-ruby/rest/messaging.rb +18 -0
  21. data/lib/twilio-ruby/rest/microvisor/v1/device.rb +7 -0
  22. data/lib/twilio-ruby/rest/oauth/v1/device_code.rb +153 -0
  23. data/lib/twilio-ruby/rest/oauth/v1/openid_discovery.rb +1 -1
  24. data/lib/twilio-ruby/rest/oauth/v1.rb +7 -0
  25. data/lib/twilio-ruby/rest/oauth.rb +6 -0
  26. data/lib/twilio-ruby/rest/preview.rb +0 -33
  27. data/lib/twilio-ruby/rest/supersim/v1/settings_update.rb +12 -5
  28. data/lib/twilio-ruby/twiml/voice_response.rb +21 -21
  29. data/lib/twilio-ruby/version.rb +1 -1
  30. metadata +9 -8
  31. data/lib/twilio-ruby/rest/preview/trusted_comms/branded_channel/channel.rb +0 -165
  32. data/lib/twilio-ruby/rest/preview/trusted_comms/branded_channel.rb +0 -225
  33. data/lib/twilio-ruby/rest/preview/trusted_comms/brands_information.rb +0 -195
  34. data/lib/twilio-ruby/rest/preview/trusted_comms/cps.rb +0 -186
  35. data/lib/twilio-ruby/rest/preview/trusted_comms/current_call.rb +0 -277
  36. data/lib/twilio-ruby/rest/preview/trusted_comms.rb +0 -65
@@ -1,65 +0,0 @@
1
- ##
2
- # This code was generated by
3
- # \ / _ _ _| _ _
4
- # | (_)\/(_)(_|\/| |(/_ v1.0.0
5
- # / /
6
- #
7
- # frozen_string_literal: true
8
-
9
- module Twilio
10
- module REST
11
- class Preview
12
- class TrustedComms < Version
13
- ##
14
- # Initialize the TrustedComms version of Preview
15
- def initialize(domain)
16
- super
17
- @version = 'TrustedComms'
18
- @branded_channels = nil
19
- @brands_information = nil
20
- @cps = nil
21
- @current_calls = nil
22
- end
23
-
24
- ##
25
- # @param [String] sid The unique SID identifier of the Branded Channel.
26
- # @return [Twilio::REST::Preview::TrustedComms::BrandedChannelContext] if sid was passed.
27
- # @return [Twilio::REST::Preview::TrustedComms::BrandedChannelList]
28
- def branded_channels(sid=:unset)
29
- if sid.nil?
30
- raise ArgumentError, 'sid cannot be nil'
31
- end
32
- if sid == :unset
33
- @branded_channels ||= BrandedChannelList.new self
34
- else
35
- BrandedChannelContext.new(self, sid)
36
- end
37
- end
38
-
39
- ##
40
- # @return [Twilio::REST::Preview::TrustedComms::BrandsInformationContext]
41
- def brands_information
42
- @brands_information ||= BrandsInformationContext.new self
43
- end
44
-
45
- ##
46
- # @return [Twilio::REST::Preview::TrustedComms::CpsContext]
47
- def cps
48
- @cps ||= CpsContext.new self
49
- end
50
-
51
- ##
52
- # @return [Twilio::REST::Preview::TrustedComms::CurrentCallContext]
53
- def current_calls
54
- @current_calls ||= CurrentCallContext.new self
55
- end
56
-
57
- ##
58
- # Provide a user friendly representation
59
- def to_s
60
- '<Twilio::REST::Preview::TrustedComms>'
61
- end
62
- end
63
- end
64
- end
65
- end