twilio-ruby 6.4.0 → 6.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -242,8 +242,8 @@ module Twilio
242
242
  @uri = "/RegulatoryCompliance/Bundles/#{@solution[:sid]}"
243
243
 
244
244
  # Dependents
245
- @bundle_copies = nil
246
245
  @replace_items = nil
246
+ @bundle_copies = nil
247
247
  @item_assignments = nil
248
248
  @evaluations = nil
249
249
  end
@@ -297,17 +297,6 @@ module Twilio
297
297
  )
298
298
  end
299
299
 
300
- ##
301
- # Access the bundle_copies
302
- # @return [BundleCopyList]
303
- # @return [BundleCopyContext]
304
- def bundle_copies
305
- unless @bundle_copies
306
- @bundle_copies = BundleCopyList.new(
307
- @version, bundle_sid: @solution[:sid], )
308
- end
309
- @bundle_copies
310
- end
311
300
  ##
312
301
  # Access the replace_items
313
302
  # @return [ReplaceItemsList]
@@ -320,6 +309,17 @@ module Twilio
320
309
  @replace_items
321
310
  end
322
311
  ##
312
+ # Access the bundle_copies
313
+ # @return [BundleCopyList]
314
+ # @return [BundleCopyContext]
315
+ def bundle_copies
316
+ unless @bundle_copies
317
+ @bundle_copies = BundleCopyList.new(
318
+ @version, bundle_sid: @solution[:sid], )
319
+ end
320
+ @bundle_copies
321
+ end
322
+ ##
323
323
  # Access the item_assignments
324
324
  # @return [ItemAssignmentList]
325
325
  # @return [ItemAssignmentContext] if sid was passed.
@@ -556,13 +556,6 @@ module Twilio
556
556
  )
557
557
  end
558
558
 
559
- ##
560
- # Access the bundle_copies
561
- # @return [bundle_copies] bundle_copies
562
- def bundle_copies
563
- context.bundle_copies
564
- end
565
-
566
559
  ##
567
560
  # Access the replace_items
568
561
  # @return [replace_items] replace_items
@@ -570,6 +563,13 @@ module Twilio
570
563
  context.replace_items
571
564
  end
572
565
 
566
+ ##
567
+ # Access the bundle_copies
568
+ # @return [bundle_copies] bundle_copies
569
+ def bundle_copies
570
+ context.bundle_copies
571
+ end
572
+
573
573
  ##
574
574
  # Access the item_assignments
575
575
  # @return [item_assignments] item_assignments
@@ -28,15 +28,28 @@ module Twilio
28
28
  @solution = { }
29
29
  @uri = "/RegulatoryCompliance"
30
30
  # Components
31
+ @supporting_documents = nil
31
32
  @end_users = nil
32
33
  @bundles = nil
33
34
  @supporting_document_types = nil
34
35
  @regulations = nil
35
36
  @end_user_types = nil
36
- @supporting_documents = nil
37
37
  end
38
38
 
39
39
 
40
+ ##
41
+ # Access the supporting_documents
42
+ # @return [SupportingDocumentList]
43
+ # @return [SupportingDocumentContext] if sid was passed.
44
+ def supporting_documents(sid=:unset)
45
+ raise ArgumentError, 'sid cannot be nil' if sid.nil?
46
+
47
+ if sid != :unset
48
+ return SupportingDocumentContext.new(@version,sid )
49
+ end
50
+
51
+ @supporting_documents ||= SupportingDocumentList.new(@version )
52
+ end
40
53
  ##
41
54
  # Access the end_users
42
55
  # @return [EndUserList]
@@ -102,19 +115,6 @@ module Twilio
102
115
 
103
116
  @end_user_types ||= EndUserTypeList.new(@version )
104
117
  end
105
- ##
106
- # Access the supporting_documents
107
- # @return [SupportingDocumentList]
108
- # @return [SupportingDocumentContext] if sid was passed.
109
- def supporting_documents(sid=:unset)
110
- raise ArgumentError, 'sid cannot be nil' if sid.nil?
111
-
112
- if sid != :unset
113
- return SupportingDocumentContext.new(@version,sid )
114
- end
115
-
116
- @supporting_documents ||= SupportingDocumentList.new(@version )
117
- end
118
118
 
119
119
  # Provide a user friendly representation
120
120
  def to_s
@@ -22,6 +22,7 @@ module Twilio
22
22
  super
23
23
  @version = 'v2'
24
24
  @authorization_documents = nil
25
+ @bulk_hosted_number_orders = nil
25
26
  @hosted_number_orders = nil
26
27
  @regulatory_compliance = nil
27
28
  end
@@ -41,6 +42,20 @@ module Twilio
41
42
  end
42
43
  end
43
44
  ##
45
+ # @param [String] bulk_hosting_sid A 34 character string that uniquely identifies this BulkHostedNumberOrder.
46
+ # @return [Twilio::REST::Numbers::V2::BulkHostedNumberOrderContext] if bulkHostingSid was passed.
47
+ # @return [Twilio::REST::Numbers::V2::BulkHostedNumberOrderList]
48
+ def bulk_hosted_number_orders(bulk_hosting_sid=:unset)
49
+ if bulk_hosting_sid.nil?
50
+ raise ArgumentError, 'bulk_hosting_sid cannot be nil'
51
+ end
52
+ if bulk_hosting_sid == :unset
53
+ @bulk_hosted_number_orders ||= BulkHostedNumberOrderList.new self
54
+ else
55
+ BulkHostedNumberOrderContext.new(self, bulk_hosting_sid)
56
+ end
57
+ end
58
+ ##
44
59
  # @param [String] sid A 34 character string that uniquely identifies this HostedNumberOrder.
45
60
  # @return [Twilio::REST::Numbers::V2::HostedNumberOrderContext] if sid was passed.
46
61
  # @return [Twilio::REST::Numbers::V2::HostedNumberOrderList]
@@ -39,7 +39,7 @@ module Twilio
39
39
  # @param [String] max_participants The maximum number of concurrent Participants allowed in the room. Peer-to-peer rooms can have up to 10 Participants. Small Group rooms can have up to 4 Participants. Group rooms can have up to 50 Participants.
40
40
  # @param [Boolean] record_participants_on_connect Whether to start recording when Participants connect. ***This feature is not available in `peer-to-peer` rooms.***
41
41
  # @param [Array[VideoCodec]] video_codecs An array of the video codecs that are supported when publishing a track in the room. Can be: `VP8` and `H264`. ***This feature is not available in `peer-to-peer` rooms***
42
- # @param [String] media_region The region for the media server in Group Rooms. Can be: one of the [available Media Regions](https://www.twilio.com/docs/video/ip-address-whitelisting#group-rooms-media-servers). ***This feature is not available in `peer-to-peer` rooms.***
42
+ # @param [String] media_region The region for the media server in Group Rooms. Can be: one of the [available Media Regions](https://www.twilio.com/docs/video/ip-addresses#group-rooms-media-servers). ***This feature is not available in `peer-to-peer` rooms.***
43
43
  # @param [Object] recording_rules A collection of Recording Rules that describe how to include or exclude matching tracks for recording
44
44
  # @param [Boolean] audio_only When set to true, indicates that the participants in the room will only publish audio. No video tracks will be allowed. Group rooms only.
45
45
  # @param [String] max_participant_duration The maximum number of seconds a Participant can be connected to the room. The maximum possible value is 86400 seconds (24 hours). The default is 14400 seconds (4 hours).
@@ -512,7 +512,7 @@ module Twilio
512
512
  end
513
513
 
514
514
  ##
515
- # @return [String] The region for the media server in Group Rooms. Can be: one of the [available Media Regions](https://www.twilio.com/docs/video/ip-address-whitelisting#media-servers). ***This feature is not available in `peer-to-peer` rooms.***
515
+ # @return [String] The region for the media server in Group Rooms. Can be: one of the [available Media Regions](https://www.twilio.com/docs/video/ip-addresses#media-servers). ***This feature is not available in `peer-to-peer` rooms.***
516
516
  def media_region
517
517
  @properties['media_region']
518
518
  end
@@ -41,7 +41,7 @@ module Twilio
41
41
  # @param [String] country_code Filter the results by specified [country codes](https://www.itu.int/itudoc/itu-t/ob-lists/icc/e164_763.html)
42
42
  # @param [Boolean] low_risk_numbers_enabled Filter to retrieve the country permissions with dialing to low-risk numbers enabled. Can be: `true` or `false`.
43
43
  # @param [Boolean] high_risk_special_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk special service numbers enabled. Can be: `true` or `false`
44
- # @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/learn/voice-and-video/toll-fraud) numbers enabled. Can be: `true` or `false`.
44
+ # @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html) numbers enabled. Can be: `true` or `false`.
45
45
  # @param [Integer] limit Upper limit for the number of records to return. stream()
46
46
  # guarantees to never return more than limit. Default is no limit
47
47
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -71,7 +71,7 @@ module Twilio
71
71
  # @param [String] country_code Filter the results by specified [country codes](https://www.itu.int/itudoc/itu-t/ob-lists/icc/e164_763.html)
72
72
  # @param [Boolean] low_risk_numbers_enabled Filter to retrieve the country permissions with dialing to low-risk numbers enabled. Can be: `true` or `false`.
73
73
  # @param [Boolean] high_risk_special_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk special service numbers enabled. Can be: `true` or `false`
74
- # @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/learn/voice-and-video/toll-fraud) numbers enabled. Can be: `true` or `false`.
74
+ # @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html) numbers enabled. Can be: `true` or `false`.
75
75
  # @param [Integer] limit Upper limit for the number of records to return. stream()
76
76
  # guarantees to never return more than limit. Default is no limit
77
77
  # @param [Integer] page_size Number of records to fetch per request, when
@@ -116,7 +116,7 @@ module Twilio
116
116
  # @param [String] country_code Filter the results by specified [country codes](https://www.itu.int/itudoc/itu-t/ob-lists/icc/e164_763.html)
117
117
  # @param [Boolean] low_risk_numbers_enabled Filter to retrieve the country permissions with dialing to low-risk numbers enabled. Can be: `true` or `false`.
118
118
  # @param [Boolean] high_risk_special_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk special service numbers enabled. Can be: `true` or `false`
119
- # @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/learn/voice-and-video/toll-fraud) numbers enabled. Can be: `true` or `false`.
119
+ # @param [Boolean] high_risk_tollfraud_numbers_enabled Filter to retrieve the country permissions with dialing to high-risk [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html) numbers enabled. Can be: `true` or `false`.
120
120
  # @param [String] page_token PageToken provided by the API
121
121
  # @param [Integer] page_number Page Number, this value is simply for client state
122
122
  # @param [Integer] page_size Number of records to return, defaults to 50
@@ -326,7 +326,7 @@ module Twilio
326
326
  end
327
327
 
328
328
  ##
329
- # @return [Boolean] Whether dialing to high-risk [toll fraud](https://www.twilio.com/learn/voice-and-video/toll-fraud) numbers is enabled. These prefixes include narrow number ranges that have a high-risk of international revenue sharing fraud (IRSF) attacks, also known as [toll fraud](https://www.twilio.com/learn/voice-and-video/toll-fraud). These prefixes are collected from anti-fraud databases and verified by analyzing calls on our network. These prefixes are not available for download and are updated frequently
329
+ # @return [Boolean] Whether dialing to high-risk [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html) numbers is enabled. These prefixes include narrow number ranges that have a high-risk of international revenue sharing fraud (IRSF) attacks, also known as [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html). These prefixes are collected from anti-fraud databases and verified by analyzing calls on our network. These prefixes are not available for download and are updated frequently
330
330
  def high_risk_tollfraud_numbers_enabled
331
331
  @properties['high_risk_tollfraud_numbers_enabled']
332
332
  end
@@ -1,3 +1,3 @@
1
1
  module Twilio
2
- VERSION = '6.4.0'
2
+ VERSION = '6.6.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.4.0
4
+ version: 6.6.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-08-10 00:00:00.000000000 Z
11
+ date: 2023-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -537,6 +537,7 @@ files:
537
537
  - lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service_domain_association.rb
538
538
  - lib/twilio-ruby/rest/messaging/v1/service.rb
539
539
  - lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb
540
+ - lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb
540
541
  - lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb
541
542
  - lib/twilio-ruby/rest/messaging/v1/service/short_code.rb
542
543
  - lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb
@@ -574,6 +575,7 @@ files:
574
575
  - lib/twilio-ruby/rest/numbers/v2.rb
575
576
  - lib/twilio-ruby/rest/numbers/v2/authorization_document.rb
576
577
  - lib/twilio-ruby/rest/numbers/v2/authorization_document/dependent_hosted_number_order.rb
578
+ - lib/twilio-ruby/rest/numbers/v2/bulk_hosted_number_order.rb
577
579
  - lib/twilio-ruby/rest/numbers/v2/hosted_number_order.rb
578
580
  - lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb
579
581
  - lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb