twilio-ruby 7.8.7 → 7.9.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.
@@ -34,6 +34,7 @@ module Twilio
34
34
  # Create the ComplianceTollfreeInquiriesInstance
35
35
  # @param [String] tollfree_phone_number The Tollfree phone number to be verified
36
36
  # @param [String] notification_email The email address to receive the notification about the verification result.
37
+ # @param [String] customer_profile_sid The Customer Profile Sid associated with the Account.
37
38
  # @param [String] business_name The name of the business or organization using the Tollfree number.
38
39
  # @param [String] business_website The website of the business or organization using the Tollfree number.
39
40
  # @param [Array[String]] use_case_categories The category of the use case for the Tollfree Number. List as many are applicable..
@@ -55,10 +56,23 @@ module Twilio
55
56
  # @param [String] business_contact_phone The phone number of the contact for the business or organization using the Tollfree number.
56
57
  # @param [String] theme_set_id Theme id for styling the inquiry form.
57
58
  # @param [Boolean] skip_messaging_use_case Skip the messaging use case screen of the inquiry form.
59
+ # @param [String] business_registration_number The Business Registration Number of the business or organization.
60
+ # @param [String] business_registration_authority The Business Registration Authority of the business or organization.
61
+ # @param [String] business_registration_country The Business Registration Country of the business or organization.
62
+ # @param [BusinessType] business_type
63
+ # @param [String] doing_business_as Trade name, sub entity, or downstream business name of business being submitted for verification.
64
+ # @param [String] opt_in_confirmation_message The confirmation message sent to users when they opt in to receive messages.
65
+ # @param [String] help_message_sample A sample help message provided to users.
66
+ # @param [String] privacy_policy_url The URL to the privacy policy for the business or organization.
67
+ # @param [String] terms_and_conditions_url The URL to the terms and conditions for the business or organization.
68
+ # @param [Boolean] age_gated_content Indicates if the content is age gated.
69
+ # @param [String] external_reference_id A legally recognized business registration number.
70
+ # @param [Array[String]] opt_in_keywords List of keywords that users can text in to opt in to receive messages.
58
71
  # @return [ComplianceTollfreeInquiriesInstance] Created ComplianceTollfreeInquiriesInstance
59
72
  def create(
60
73
  tollfree_phone_number: nil,
61
74
  notification_email: nil,
75
+ customer_profile_sid: :unset,
62
76
  business_name: :unset,
63
77
  business_website: :unset,
64
78
  use_case_categories: :unset,
@@ -79,12 +93,25 @@ module Twilio
79
93
  business_contact_email: :unset,
80
94
  business_contact_phone: :unset,
81
95
  theme_set_id: :unset,
82
- skip_messaging_use_case: :unset
96
+ skip_messaging_use_case: :unset,
97
+ business_registration_number: :unset,
98
+ business_registration_authority: :unset,
99
+ business_registration_country: :unset,
100
+ business_type: :unset,
101
+ doing_business_as: :unset,
102
+ opt_in_confirmation_message: :unset,
103
+ help_message_sample: :unset,
104
+ privacy_policy_url: :unset,
105
+ terms_and_conditions_url: :unset,
106
+ age_gated_content: :unset,
107
+ external_reference_id: :unset,
108
+ opt_in_keywords: :unset
83
109
  )
84
110
 
85
111
  data = Twilio::Values.of({
86
112
  'TollfreePhoneNumber' => tollfree_phone_number,
87
113
  'NotificationEmail' => notification_email,
114
+ 'CustomerProfileSid' => customer_profile_sid,
88
115
  'BusinessName' => business_name,
89
116
  'BusinessWebsite' => business_website,
90
117
  'UseCaseCategories' => Twilio.serialize_list(use_case_categories) { |e| e },
@@ -106,6 +133,18 @@ module Twilio
106
133
  'BusinessContactPhone' => business_contact_phone,
107
134
  'ThemeSetId' => theme_set_id,
108
135
  'SkipMessagingUseCase' => skip_messaging_use_case,
136
+ 'BusinessRegistrationNumber' => business_registration_number,
137
+ 'BusinessRegistrationAuthority' => business_registration_authority,
138
+ 'BusinessRegistrationCountry' => business_registration_country,
139
+ 'BusinessType' => business_type,
140
+ 'DoingBusinessAs' => doing_business_as,
141
+ 'OptInConfirmationMessage' => opt_in_confirmation_message,
142
+ 'HelpMessageSample' => help_message_sample,
143
+ 'PrivacyPolicyUrl' => privacy_policy_url,
144
+ 'TermsAndConditionsUrl' => terms_and_conditions_url,
145
+ 'AgeGatedContent' => age_gated_content,
146
+ 'ExternalReferenceId' => external_reference_id,
147
+ 'OptInKeywords' => Twilio.serialize_list(opt_in_keywords) { |e| e },
109
148
  })
110
149
 
111
150
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
@@ -1,3 +1,3 @@
1
1
  module Twilio
2
- VERSION = '7.8.7'
2
+ VERSION = '7.9.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: 7.8.7
4
+ version: 7.9.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: 2025-11-20 00:00:00.000000000 Z
11
+ date: 2025-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -499,6 +499,7 @@ files:
499
499
  - lib/twilio-ruby/rest/iam/v1/api_key.rb
500
500
  - lib/twilio-ruby/rest/iam/v1/get_api_keys.rb
501
501
  - lib/twilio-ruby/rest/iam/v1/new_api_key.rb
502
+ - lib/twilio-ruby/rest/iam/v1/o_auth_app.rb
502
503
  - lib/twilio-ruby/rest/iam/v1/token.rb
503
504
  - lib/twilio-ruby/rest/iam_base.rb
504
505
  - lib/twilio-ruby/rest/insights.rb
@@ -592,6 +593,7 @@ files:
592
593
  - lib/twilio-ruby/rest/messaging/v1/domain_certs.rb
593
594
  - lib/twilio-ruby/rest/messaging/v1/domain_config.rb
594
595
  - lib/twilio-ruby/rest/messaging/v1/domain_config_messaging_service.rb
596
+ - lib/twilio-ruby/rest/messaging/v1/domain_validate_dn.rb
595
597
  - lib/twilio-ruby/rest/messaging/v1/external_campaign.rb
596
598
  - lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service.rb
597
599
  - lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service_domain_association.rb
@@ -608,6 +610,7 @@ files:
608
610
  - lib/twilio-ruby/rest/messaging/v1/usecase.rb
609
611
  - lib/twilio-ruby/rest/messaging/v2.rb
610
612
  - lib/twilio-ruby/rest/messaging/v2/channels_sender.rb
613
+ - lib/twilio-ruby/rest/messaging/v2/domain_certs.rb
611
614
  - lib/twilio-ruby/rest/messaging/v2/typing_indicator.rb
612
615
  - lib/twilio-ruby/rest/messaging_base.rb
613
616
  - lib/twilio-ruby/rest/monitor.rb