twilio-ruby 7.8.3 → 7.8.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7bdacb2b1723f31e2bfcb808ce15b6b23e27a9ef
4
- data.tar.gz: 2db4118751d3d2fc3e7a9a1d7e24d6415f0eb0e4
3
+ metadata.gz: 717fd198518145a4a13996430b53c260cf1dd222
4
+ data.tar.gz: f1360919d7fb079bfe5a550f01ed535a6cd74caa
5
5
  SHA512:
6
- metadata.gz: 528b441db6a43dafaaf5188016a7349e2b3814308038851cd8c3248cf77861655065de4613704eb703925619f13c96883f156d5b582721237e0b7a979e237f80
7
- data.tar.gz: 0d1274281e1b08e5ec16c7d8656f7e80cfbe9a4e3becaeb635bb854d562e3c93e87e35e801e38338d97e92aa0bde1516feed23ff1d8bba7203324da4a6ffa823
6
+ metadata.gz: d8a236114c60303410d32928124cee48a44de3c6df09fdf2010e714588b930ea436c17086271bed1bbf16dd21f3afd170e5da3841f096ca9fdad3691b37bfd98
7
+ data.tar.gz: a625a235409c75329bfb9bcd400e669bfcb3aa7dee9afb8d35b0fefe787c675c6e40803589288ff2ace124bf6104ff2904258956435be514374dde952c120949
data/CHANGES.md CHANGED
@@ -1,6 +1,19 @@
1
1
  twilio-ruby changelog
2
2
  =====================
3
3
 
4
+ [2025-10-14] Version 7.8.4
5
+ --------------------------
6
+ **Library - Chore**
7
+ - [PR #763](https://github.com/twilio/twilio-ruby/pull/763): fix test failures. Thanks to [@manisha1997](https://github.com/manisha1997)!
8
+
9
+ **Api**
10
+ - Updated description for property `CallerDisplayName` for participant create request
11
+ - Updated description for property `CallerDisplayName` for participant create request
12
+
13
+ **Accounts**
14
+ - FILE_IS_AUTO_GENERATED: false
15
+
16
+
4
17
  [2025-09-30] Version 7.8.3
5
18
  --------------------------
6
19
  **Library - Chore**
data/README.md CHANGED
@@ -39,13 +39,13 @@ This library supports the following Ruby implementations:
39
39
  To install using [Bundler][bundler] grab the latest stable version:
40
40
 
41
41
  ```ruby
42
- gem 'twilio-ruby', '~> 7.8.3'
42
+ gem 'twilio-ruby', '~> 7.8.4'
43
43
  ```
44
44
 
45
45
  To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
46
46
 
47
47
  ```bash
48
- gem install twilio-ruby -v 7.8.3
48
+ gem install twilio-ruby -v 7.8.4
49
49
  ```
50
50
 
51
51
  To build and install the development branch yourself from the latest source:
@@ -0,0 +1,161 @@
1
+ ##
2
+ # This code was generated by
3
+ # ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
4
+ # | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
5
+ # | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
6
+ #
7
+ # Twilio - Accounts
8
+ # This is the public Twilio REST API.
9
+ #
10
+ # NOTE: This class is auto generated by OpenAPI Generator.
11
+ # https://openapi-generator.tech
12
+ # Do not edit the class manually.
13
+ #
14
+
15
+
16
+ module Twilio
17
+ module REST
18
+ class Accounts < AccountsBase
19
+ class V1 < Version
20
+ class MessagingGeopermissionsList < ListResource
21
+
22
+ ##
23
+ # Initialize the MessagingGeopermissionsList
24
+ # @param [Version] version Version that contains the resource
25
+ # @return [MessagingGeopermissionsList] MessagingGeopermissionsList
26
+ def initialize(version)
27
+ super(version)
28
+ # Path Solution
29
+ @solution = { }
30
+ @uri = "/Messaging/GeoPermissions"
31
+
32
+ end
33
+ ##
34
+ # Fetch the MessagingGeopermissionsInstance
35
+ # @param [String] country_code The country code to filter the geo permissions. If provided, only the geo permission for the specified country will be returned.
36
+ # @return [MessagingGeopermissionsInstance] Fetched MessagingGeopermissionsInstance
37
+ def fetch(
38
+ country_code: :unset
39
+ )
40
+
41
+ params = Twilio::Values.of({
42
+ 'CountryCode' => country_code,
43
+ })
44
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
45
+
46
+
47
+
48
+
49
+
50
+ payload = @version.fetch('GET', @uri, params: params, headers: headers)
51
+ MessagingGeopermissionsInstance.new(
52
+ @version,
53
+ payload,
54
+ )
55
+ end
56
+
57
+ ##
58
+ # Update the MessagingGeopermissionsInstance
59
+ # @param [Array[Hash]] permissions A list of objects where each object represents the Geo Permission to be updated. Each object contains the following fields: `country_code`, unique code for each country of Geo Permission; `type`, permission type of the Geo Permission i.e. country; `enabled`, configure true for enabling the Geo Permission, false for disabling the Geo Permission.
60
+ # @return [MessagingGeopermissionsInstance] Updated MessagingGeopermissionsInstance
61
+ def update(
62
+ permissions: nil
63
+ )
64
+
65
+ data = Twilio::Values.of({
66
+ 'Permissions' => Twilio.serialize_list(permissions) { |e| Twilio.serialize_object(e) },
67
+ })
68
+
69
+ headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
70
+
71
+
72
+
73
+
74
+
75
+ payload = @version.update('PATCH', @uri, data: data, headers: headers)
76
+ MessagingGeopermissionsInstance.new(
77
+ @version,
78
+ payload,
79
+ )
80
+ end
81
+
82
+
83
+
84
+
85
+ # Provide a user friendly representation
86
+ def to_s
87
+ '#<Twilio.Accounts.V1.MessagingGeopermissionsList>'
88
+ end
89
+ end
90
+
91
+ class MessagingGeopermissionsPage < Page
92
+ ##
93
+ # Initialize the MessagingGeopermissionsPage
94
+ # @param [Version] version Version that contains the resource
95
+ # @param [Response] response Response from the API
96
+ # @param [Hash] solution Path solution for the resource
97
+ # @return [MessagingGeopermissionsPage] MessagingGeopermissionsPage
98
+ def initialize(version, response, solution)
99
+ super(version, response)
100
+
101
+ # Path Solution
102
+ @solution = solution
103
+ end
104
+
105
+ ##
106
+ # Build an instance of MessagingGeopermissionsInstance
107
+ # @param [Hash] payload Payload response from the API
108
+ # @return [MessagingGeopermissionsInstance] MessagingGeopermissionsInstance
109
+ def get_instance(payload)
110
+ MessagingGeopermissionsInstance.new(@version, payload)
111
+ end
112
+
113
+ ##
114
+ # Provide a user friendly representation
115
+ def to_s
116
+ '<Twilio.Accounts.V1.MessagingGeopermissionsPage>'
117
+ end
118
+ end
119
+ class MessagingGeopermissionsInstance < InstanceResource
120
+ ##
121
+ # Initialize the MessagingGeopermissionsInstance
122
+ # @param [Version] version Version that contains the resource
123
+ # @param [Hash] payload payload that contains response from Twilio
124
+ # @param [String] account_sid The SID of the
125
+ # {Account}[https://www.twilio.com/docs/iam/api/account] that created this MessagingGeopermissions
126
+ # resource.
127
+ # @param [String] sid The SID of the Call resource to fetch.
128
+ # @return [MessagingGeopermissionsInstance] MessagingGeopermissionsInstance
129
+ def initialize(version, payload )
130
+ super(version)
131
+
132
+ # Marshaled Properties
133
+ @properties = {
134
+ 'permissions' => payload['permissions'],
135
+ }
136
+ end
137
+
138
+
139
+ ##
140
+ # @return [Hash] A list of objects where each object represents the result of processing a messaging Geo Permission. Each object contains the following fields: `country_code`, the country code of the country for which the permission was updated; `type`, the type of the permission i.e. country; `enabled`, true if the permission is enabled else false; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty.
141
+ def permissions
142
+ @properties['permissions']
143
+ end
144
+
145
+ ##
146
+ # Provide a user friendly representation
147
+ def to_s
148
+ "<Twilio.Accounts.V1.MessagingGeopermissionsInstance>"
149
+ end
150
+
151
+ ##
152
+ # Provide a detailed, user friendly representation
153
+ def inspect
154
+ "<Twilio.Accounts.V1.MessagingGeopermissionsInstance>"
155
+ end
156
+ end
157
+
158
+ end
159
+ end
160
+ end
161
+ end
@@ -25,6 +25,7 @@ module Twilio
25
25
  @bulk_consents = nil
26
26
  @bulk_contacts = nil
27
27
  @credentials = nil
28
+ @messaging_geopermissions = nil
28
29
  @safelist = nil
29
30
  @secondary_auth_token = nil
30
31
  end
@@ -50,6 +51,11 @@ module Twilio
50
51
  @credentials ||= CredentialList.new self
51
52
  end
52
53
  ##
54
+ # @return [Twilio::REST::Accounts::V1::MessagingGeopermissionsList]
55
+ def messaging_geopermissions
56
+ @messaging_geopermissions ||= MessagingGeopermissionsList.new self
57
+ end
58
+ ##
53
59
  # @return [Twilio::REST::Accounts::V1::SafelistList]
54
60
  def safelist
55
61
  @safelist ||= SafelistList.new self
@@ -83,7 +83,7 @@ module Twilio
83
83
  # @param [String] amd_status_callback_method The HTTP method we should use when calling the `amd_status_callback` URL. Can be: `GET` or `POST` and the default is `POST`.
84
84
  # @param [String] trim Whether to trim any leading and trailing silence from the participant recording. Can be: `trim-silence` or `do-not-trim` and the default is `trim-silence`.
85
85
  # @param [String] call_token A token string needed to invoke a forwarded call. A call_token is generated when an incoming call is received on a Twilio number. Pass an incoming call's call_token value to a forwarded call via the call_token parameter when creating a new call. A forwarded call should bear the same CallerID of the original incoming call.
86
- # @param [String] caller_display_name The name that appears to the called party for this call. Must be between 2 and 255 characters.
86
+ # @param [String] caller_display_name The name that populates the display name in the From header. Must be between 2 and 255 characters. Only applicable for calls to sip address.
87
87
  # @return [ParticipantInstance] Created ParticipantInstance
88
88
  def create(
89
89
  from: nil,
@@ -132,8 +132,8 @@ module Twilio
132
132
  # Lists MessageInstance records from the API as a list.
133
133
  # Unlike stream(), this operation is eager and will load `limit` records into
134
134
  # memory before returning.
135
- # @param [String] to Filter by recipient. For example: Set this `to` parameter to `+15558881111` to retrieve a list of Message resources with `to` properties of `+15558881111`
136
- # @param [String] from Filter by sender. For example: Set this `from` parameter to `+15552229999` to retrieve a list of Message resources with `from` properties of `+15552229999`
135
+ # @param [String] to Filter by recipient. For example: Set this parameter to `+15558881111` to retrieve a list of Message resources sent to `+15558881111`.
136
+ # @param [String] from Filter by sender. For example: Set this parameter to `+15552229999` to retrieve a list of Message resources sent by `+15552229999`.
137
137
  # @param [Time] date_sent Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
138
138
  # @param [Time] date_sent_before Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
139
139
  # @param [Time] date_sent_after Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
@@ -160,8 +160,8 @@ module Twilio
160
160
  # Streams Instance records from the API as an Enumerable.
161
161
  # This operation lazily loads records as efficiently as possible until the limit
162
162
  # is reached.
163
- # @param [String] to Filter by recipient. For example: Set this `to` parameter to `+15558881111` to retrieve a list of Message resources with `to` properties of `+15558881111`
164
- # @param [String] from Filter by sender. For example: Set this `from` parameter to `+15552229999` to retrieve a list of Message resources with `from` properties of `+15552229999`
163
+ # @param [String] to Filter by recipient. For example: Set this parameter to `+15558881111` to retrieve a list of Message resources sent to `+15558881111`.
164
+ # @param [String] from Filter by sender. For example: Set this parameter to `+15552229999` to retrieve a list of Message resources sent by `+15552229999`.
165
165
  # @param [Time] date_sent Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
166
166
  # @param [Time] date_sent_before Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
167
167
  # @param [Time] date_sent_after Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
@@ -203,8 +203,8 @@ module Twilio
203
203
  ##
204
204
  # Retrieve a single page of MessageInstance records from the API.
205
205
  # Request is executed immediately.
206
- # @param [String] to Filter by recipient. For example: Set this `to` parameter to `+15558881111` to retrieve a list of Message resources with `to` properties of `+15558881111`
207
- # @param [String] from Filter by sender. For example: Set this `from` parameter to `+15552229999` to retrieve a list of Message resources with `from` properties of `+15552229999`
206
+ # @param [String] to Filter by recipient. For example: Set this parameter to `+15558881111` to retrieve a list of Message resources sent to `+15558881111`.
207
+ # @param [String] from Filter by sender. For example: Set this parameter to `+15552229999` to retrieve a list of Message resources sent by `+15552229999`.
208
208
  # @param [Time] date_sent Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
209
209
  # @param [Time] date_sent_before Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
210
210
  # @param [Time] date_sent_after Filter by Message `sent_date`. Accepts GMT dates in the following formats: `YYYY-MM-DD` (to find Messages with a specific `sent_date`), `<=YYYY-MM-DD` (to find Messages with `sent_date`s on and before a specific date), and `>=YYYY-MM-DD` (to find Messages with `sent_dates` on and after a specific date).
@@ -55,6 +55,18 @@ module Twilio
55
55
  # @param [String] business_contact_email The email address of the contact for the business or organization using the Tollfree number.
56
56
  # @param [String] business_contact_phone The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
57
57
  # @param [String] external_reference_id An optional external reference ID supplied by customer and echoed back on status retrieval.
58
+ # @param [String] business_registration_number A legally recognized business registration number
59
+ # @param [String] business_registration_authority The organizational authority for business registrations
60
+ # @param [String] business_registration_country Country business is registered in
61
+ # @param [String] business_type The type of business, valid values are PRIVATE_PROFIT, PUBLIC_PROFIT, NON_PROFIT, SOLE_PROPRIETOR, GOVERNMENT
62
+ # @param [String] business_registration_phone_number The E.164 formatted number associated with the business.
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 [Array[String]] opt_in_keywords List of keywords that users can text in to opt in to receive messages.
58
70
  # @return [TollfreeVerificationInstance] Created TollfreeVerificationInstance
59
71
  def create(
60
72
  business_name: nil,
@@ -79,7 +91,19 @@ module Twilio
79
91
  business_contact_last_name: :unset,
80
92
  business_contact_email: :unset,
81
93
  business_contact_phone: :unset,
82
- external_reference_id: :unset
94
+ external_reference_id: :unset,
95
+ business_registration_number: :unset,
96
+ business_registration_authority: :unset,
97
+ business_registration_country: :unset,
98
+ business_type: :unset,
99
+ business_registration_phone_number: :unset,
100
+ doing_business_as: :unset,
101
+ opt_in_confirmation_message: :unset,
102
+ help_message_sample: :unset,
103
+ privacy_policy_url: :unset,
104
+ terms_and_conditions_url: :unset,
105
+ age_gated_content: :unset,
106
+ opt_in_keywords: :unset
83
107
  )
84
108
 
85
109
  data = Twilio::Values.of({
@@ -106,6 +130,18 @@ module Twilio
106
130
  'BusinessContactEmail' => business_contact_email,
107
131
  'BusinessContactPhone' => business_contact_phone,
108
132
  'ExternalReferenceId' => external_reference_id,
133
+ 'BusinessRegistrationNumber' => business_registration_number,
134
+ 'BusinessRegistrationAuthority' => business_registration_authority,
135
+ 'BusinessRegistrationCountry' => business_registration_country,
136
+ 'BusinessType' => business_type,
137
+ 'BusinessRegistrationPhoneNumber' => business_registration_phone_number,
138
+ 'DoingBusinessAs' => doing_business_as,
139
+ 'OptInConfirmationMessage' => opt_in_confirmation_message,
140
+ 'HelpMessageSample' => help_message_sample,
141
+ 'PrivacyPolicyUrl' => privacy_policy_url,
142
+ 'TermsAndConditionsUrl' => terms_and_conditions_url,
143
+ 'AgeGatedContent' => age_gated_content,
144
+ 'OptInKeywords' => Twilio.serialize_list(opt_in_keywords) { |e| e },
109
145
  })
110
146
 
111
147
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
@@ -311,6 +347,18 @@ module Twilio
311
347
  # @param [String] business_contact_email The email address of the contact for the business or organization using the Tollfree number.
312
348
  # @param [String] business_contact_phone The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
313
349
  # @param [String] edit_reason Describe why the verification is being edited. If the verification was rejected because of a technical issue, such as the website being down, and the issue has been resolved this parameter should be set to something similar to 'Website fixed'.
350
+ # @param [String] business_registration_number A legaly recognized business registration number
351
+ # @param [String] business_registration_authority The organizational authority for business registrations
352
+ # @param [String] business_registration_country Country business is registered in
353
+ # @param [String] business_type The type of business, valid values are PRIVATE_PROFIT, PUBLIC_PROFIT, NON_PROFIT, SOLE_PROPRIETOR, GOVERNMENT
354
+ # @param [String] business_registration_phone_number The E.164 formatted number associated with the business.
355
+ # @param [String] doing_business_as Trade name, sub entity, or downstream business name of business being submitted for verification
356
+ # @param [String] opt_in_confirmation_message The confirmation message sent to users when they opt in to receive messages.
357
+ # @param [String] help_message_sample A sample help message provided to users.
358
+ # @param [String] privacy_policy_url The URL to the privacy policy for the business or organization.
359
+ # @param [String] terms_and_conditions_url The URL to the terms and conditions for the business or organization.
360
+ # @param [Boolean] age_gated_content Indicates if the content is age gated.
361
+ # @param [Array[String]] opt_in_keywords List of keywords that users can text in to opt in to receive messages.
314
362
  # @return [TollfreeVerificationInstance] Updated TollfreeVerificationInstance
315
363
  def update(
316
364
  business_name: :unset,
@@ -333,7 +381,19 @@ module Twilio
333
381
  business_contact_last_name: :unset,
334
382
  business_contact_email: :unset,
335
383
  business_contact_phone: :unset,
336
- edit_reason: :unset
384
+ edit_reason: :unset,
385
+ business_registration_number: :unset,
386
+ business_registration_authority: :unset,
387
+ business_registration_country: :unset,
388
+ business_type: :unset,
389
+ business_registration_phone_number: :unset,
390
+ doing_business_as: :unset,
391
+ opt_in_confirmation_message: :unset,
392
+ help_message_sample: :unset,
393
+ privacy_policy_url: :unset,
394
+ terms_and_conditions_url: :unset,
395
+ age_gated_content: :unset,
396
+ opt_in_keywords: :unset
337
397
  )
338
398
 
339
399
  data = Twilio::Values.of({
@@ -358,6 +418,18 @@ module Twilio
358
418
  'BusinessContactEmail' => business_contact_email,
359
419
  'BusinessContactPhone' => business_contact_phone,
360
420
  'EditReason' => edit_reason,
421
+ 'BusinessRegistrationNumber' => business_registration_number,
422
+ 'BusinessRegistrationAuthority' => business_registration_authority,
423
+ 'BusinessRegistrationCountry' => business_registration_country,
424
+ 'BusinessType' => business_type,
425
+ 'BusinessRegistrationPhoneNumber' => business_registration_phone_number,
426
+ 'DoingBusinessAs' => doing_business_as,
427
+ 'OptInConfirmationMessage' => opt_in_confirmation_message,
428
+ 'HelpMessageSample' => help_message_sample,
429
+ 'PrivacyPolicyUrl' => privacy_policy_url,
430
+ 'TermsAndConditionsUrl' => terms_and_conditions_url,
431
+ 'AgeGatedContent' => age_gated_content,
432
+ 'OptInKeywords' => Twilio.serialize_list(opt_in_keywords) { |e| e },
361
433
  })
362
434
 
363
435
  headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
@@ -766,7 +838,7 @@ module Twilio
766
838
  end
767
839
 
768
840
  ##
769
- # @return [String] The URL to the terms and conditions for the business or organization.
841
+ # @return [String] The URL of the terms and conditions for the business or organization.
770
842
  def terms_and_conditions_url
771
843
  @properties['terms_and_conditions_url']
772
844
  end
@@ -778,7 +850,7 @@ module Twilio
778
850
  end
779
851
 
780
852
  ##
781
- # @return [Array<String>] List of keywords that users can text in to opt in to receive messages.
853
+ # @return [Array<String>] List of keywords that users can send to opt in or out of messages.
782
854
  def opt_in_keywords
783
855
  @properties['opt_in_keywords']
784
856
  end
@@ -840,6 +912,18 @@ module Twilio
840
912
  # @param [String] business_contact_email The email address of the contact for the business or organization using the Tollfree number.
841
913
  # @param [String] business_contact_phone The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
842
914
  # @param [String] edit_reason Describe why the verification is being edited. If the verification was rejected because of a technical issue, such as the website being down, and the issue has been resolved this parameter should be set to something similar to 'Website fixed'.
915
+ # @param [String] business_registration_number A legaly recognized business registration number
916
+ # @param [String] business_registration_authority The organizational authority for business registrations
917
+ # @param [String] business_registration_country Country business is registered in
918
+ # @param [String] business_type The type of business, valid values are PRIVATE_PROFIT, PUBLIC_PROFIT, NON_PROFIT, SOLE_PROPRIETOR, GOVERNMENT
919
+ # @param [String] business_registration_phone_number The E.164 formatted number associated with the business.
920
+ # @param [String] doing_business_as Trade name, sub entity, or downstream business name of business being submitted for verification
921
+ # @param [String] opt_in_confirmation_message The confirmation message sent to users when they opt in to receive messages.
922
+ # @param [String] help_message_sample A sample help message provided to users.
923
+ # @param [String] privacy_policy_url The URL to the privacy policy for the business or organization.
924
+ # @param [String] terms_and_conditions_url The URL to the terms and conditions for the business or organization.
925
+ # @param [Boolean] age_gated_content Indicates if the content is age gated.
926
+ # @param [Array[String]] opt_in_keywords List of keywords that users can text in to opt in to receive messages.
843
927
  # @return [TollfreeVerificationInstance] Updated TollfreeVerificationInstance
844
928
  def update(
845
929
  business_name: :unset,
@@ -862,7 +946,19 @@ module Twilio
862
946
  business_contact_last_name: :unset,
863
947
  business_contact_email: :unset,
864
948
  business_contact_phone: :unset,
865
- edit_reason: :unset
949
+ edit_reason: :unset,
950
+ business_registration_number: :unset,
951
+ business_registration_authority: :unset,
952
+ business_registration_country: :unset,
953
+ business_type: :unset,
954
+ business_registration_phone_number: :unset,
955
+ doing_business_as: :unset,
956
+ opt_in_confirmation_message: :unset,
957
+ help_message_sample: :unset,
958
+ privacy_policy_url: :unset,
959
+ terms_and_conditions_url: :unset,
960
+ age_gated_content: :unset,
961
+ opt_in_keywords: :unset
866
962
  )
867
963
 
868
964
  context.update(
@@ -887,6 +983,18 @@ module Twilio
887
983
  business_contact_email: business_contact_email,
888
984
  business_contact_phone: business_contact_phone,
889
985
  edit_reason: edit_reason,
986
+ business_registration_number: business_registration_number,
987
+ business_registration_authority: business_registration_authority,
988
+ business_registration_country: business_registration_country,
989
+ business_type: business_type,
990
+ business_registration_phone_number: business_registration_phone_number,
991
+ doing_business_as: doing_business_as,
992
+ opt_in_confirmation_message: opt_in_confirmation_message,
993
+ help_message_sample: help_message_sample,
994
+ privacy_policy_url: privacy_policy_url,
995
+ terms_and_conditions_url: terms_and_conditions_url,
996
+ age_gated_content: age_gated_content,
997
+ opt_in_keywords: opt_in_keywords,
890
998
  )
891
999
  end
892
1000
 
@@ -269,6 +269,7 @@ module Twilio
269
269
  'auto_cancel_approval_numbers' => payload['auto_cancel_approval_numbers'],
270
270
  'documents' => payload['documents'],
271
271
  'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
272
+ 'support_ticket_id' => payload['support_ticket_id'] == nil ? payload['support_ticket_id'] : payload['support_ticket_id'].to_i,
272
273
  }
273
274
 
274
275
  # Context
@@ -383,6 +384,12 @@ module Twilio
383
384
  @properties['date_created']
384
385
  end
385
386
 
387
+ ##
388
+ # @return [String] Unique ID of the request's support ticket
389
+ def support_ticket_id
390
+ @properties['support_ticket_id']
391
+ end
392
+
386
393
  ##
387
394
  # Delete the PortingPortInInstance
388
395
  # @return [Boolean] True if delete succeeds, false otherwise
@@ -1,3 +1,3 @@
1
1
  module Twilio
2
- VERSION = '7.8.3'
2
+ VERSION = '7.8.4'
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.3
4
+ version: 7.8.4
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-09-30 00:00:00.000000000 Z
11
+ date: 2025-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -264,6 +264,7 @@ files:
264
264
  - lib/twilio-ruby/rest/accounts/v1/credential.rb
265
265
  - lib/twilio-ruby/rest/accounts/v1/credential/aws.rb
266
266
  - lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb
267
+ - lib/twilio-ruby/rest/accounts/v1/messaging_geopermissions.rb
267
268
  - lib/twilio-ruby/rest/accounts/v1/safelist.rb
268
269
  - lib/twilio-ruby/rest/accounts/v1/secondary_auth_token.rb
269
270
  - lib/twilio-ruby/rest/accounts_base.rb