Skip to content

Commit 98ba30a

Browse files
committed
[Librarian] Regenerated @ c9ac9b9736431d573d8dec29ad3095eee969cdea
1 parent 2a7e269 commit 98ba30a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+402
-151
lines changed

CHANGES.md

+15
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
twilio-ruby changelog
22
=====================
33

4+
[2023-09-21] Version 6.7.0
5+
--------------------------
6+
**Conversations**
7+
- Enable conversation email bindings, email address configurations and email message subjects
8+
9+
**Flex**
10+
- Adding `console_errors_included` to Flex Configuration field `debugger_integrations`
11+
- Introducing new channel status as `inactive` in modify channel endpoint for leave functionality **(breaking change)**
12+
- Adding `citrix_voice_vdi` to Flex Configuration
13+
14+
**Taskrouter**
15+
- Add Update Queues, Workers, Workflow Real Time Statistics API to flex-rt-data-api-v2 endpoint
16+
- Add Update Workspace Real Time Statistics API to flex-rt-data-api-v2 endpoint
17+
18+
419
[2023-09-07] Version 6.6.0
520
--------------------------
621
**Api**

lib/twilio-ruby/rest/api/v2010.rb

+6
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ def initialize(domain)
2222
super
2323
@version = '2010-04-01'
2424
@accounts = nil
25+
@safelist = nil
2526
end
2627

2728
##
@@ -122,6 +123,11 @@ def accounts(sid=:unset)
122123
end
123124
end
124125
##
126+
# @return [Twilio::REST::Api::V2010::SafelistList]
127+
def safelist
128+
@safelist ||= SafelistList.new self
129+
end
130+
##
125131
# Provide a user friendly representation
126132
def to_s
127133
'<Twilio::REST::Api::V2010>';

lib/twilio-ruby/rest/api/v2010/account/address.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def update(
281281
def dependent_phone_numbers
282282
unless @dependent_phone_numbers
283283
@dependent_phone_numbers = DependentPhoneNumberList.new(
284-
@version, account_sid: @solution[:account_sid], address_sid: @solution[:sid], )
284+
@version, account_sid: @solution[:account_sid], address_sid: @solution[:sid], )
285285
end
286286
@dependent_phone_numbers
287287
end

lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country.rb

+7-7
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def fetch
169169
def voip
170170
unless @voip
171171
@voip = VoipList.new(
172-
@version, account_sid: @solution[:account_sid], country_code: @solution[:country_code], )
172+
@version, account_sid: @solution[:account_sid], country_code: @solution[:country_code], )
173173
end
174174
@voip
175175
end
@@ -180,7 +180,7 @@ def voip
180180
def national
181181
unless @national
182182
@national = NationalList.new(
183-
@version, account_sid: @solution[:account_sid], country_code: @solution[:country_code], )
183+
@version, account_sid: @solution[:account_sid], country_code: @solution[:country_code], )
184184
end
185185
@national
186186
end
@@ -191,7 +191,7 @@ def national
191191
def mobile
192192
unless @mobile
193193
@mobile = MobileList.new(
194-
@version, account_sid: @solution[:account_sid], country_code: @solution[:country_code], )
194+
@version, account_sid: @solution[:account_sid], country_code: @solution[:country_code], )
195195
end
196196
@mobile
197197
end
@@ -202,7 +202,7 @@ def mobile
202202
def machine_to_machine
203203
unless @machine_to_machine
204204
@machine_to_machine = MachineToMachineList.new(
205-
@version, account_sid: @solution[:account_sid], country_code: @solution[:country_code], )
205+
@version, account_sid: @solution[:account_sid], country_code: @solution[:country_code], )
206206
end
207207
@machine_to_machine
208208
end
@@ -213,7 +213,7 @@ def machine_to_machine
213213
def toll_free
214214
unless @toll_free
215215
@toll_free = TollFreeList.new(
216-
@version, account_sid: @solution[:account_sid], country_code: @solution[:country_code], )
216+
@version, account_sid: @solution[:account_sid], country_code: @solution[:country_code], )
217217
end
218218
@toll_free
219219
end
@@ -224,7 +224,7 @@ def toll_free
224224
def shared_cost
225225
unless @shared_cost
226226
@shared_cost = SharedCostList.new(
227-
@version, account_sid: @solution[:account_sid], country_code: @solution[:country_code], )
227+
@version, account_sid: @solution[:account_sid], country_code: @solution[:country_code], )
228228
end
229229
@shared_cost
230230
end
@@ -235,7 +235,7 @@ def shared_cost
235235
def local
236236
unless @local
237237
@local = LocalList.new(
238-
@version, account_sid: @solution[:account_sid], country_code: @solution[:country_code], )
238+
@version, account_sid: @solution[:account_sid], country_code: @solution[:country_code], )
239239
end
240240
@local
241241
end

lib/twilio-ruby/rest/api/v2010/account/call.rb

+8-8
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ def update(
420420
def events
421421
unless @events
422422
@events = EventList.new(
423-
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
423+
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
424424
end
425425
@events
426426
end
@@ -431,7 +431,7 @@ def events
431431
def user_defined_messages
432432
unless @user_defined_messages
433433
@user_defined_messages = UserDefinedMessageList.new(
434-
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
434+
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
435435
end
436436
@user_defined_messages
437437
end
@@ -449,7 +449,7 @@ def siprec(sid=:unset)
449449

450450
unless @siprec
451451
@siprec = SiprecList.new(
452-
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
452+
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
453453
end
454454

455455
@siprec
@@ -468,7 +468,7 @@ def user_defined_message_subscriptions(sid=:unset)
468468

469469
unless @user_defined_message_subscriptions
470470
@user_defined_message_subscriptions = UserDefinedMessageSubscriptionList.new(
471-
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
471+
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
472472
end
473473

474474
@user_defined_message_subscriptions
@@ -487,7 +487,7 @@ def payments(sid=:unset)
487487

488488
unless @payments
489489
@payments = PaymentList.new(
490-
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
490+
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
491491
end
492492

493493
@payments
@@ -506,7 +506,7 @@ def recordings(sid=:unset)
506506

507507
unless @recordings
508508
@recordings = RecordingList.new(
509-
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
509+
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
510510
end
511511

512512
@recordings
@@ -525,7 +525,7 @@ def notifications(sid=:unset)
525525

526526
unless @notifications
527527
@notifications = NotificationList.new(
528-
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
528+
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
529529
end
530530

531531
@notifications
@@ -555,7 +555,7 @@ def streams(sid=:unset)
555555

556556
unless @streams
557557
@streams = StreamList.new(
558-
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
558+
@version, account_sid: @solution[:account_sid], call_sid: @solution[:sid], )
559559
end
560560

561561
@streams

lib/twilio-ruby/rest/api/v2010/account/conference.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def recordings(sid=:unset)
246246

247247
unless @recordings
248248
@recordings = RecordingList.new(
249-
@version, account_sid: @solution[:account_sid], conference_sid: @solution[:sid], )
249+
@version, account_sid: @solution[:account_sid], conference_sid: @solution[:sid], )
250250
end
251251

252252
@recordings
@@ -265,7 +265,7 @@ def participants(call_sid=:unset)
265265

266266
unless @participants
267267
@participants = ParticipantList.new(
268-
@version, account_sid: @solution[:account_sid], conference_sid: @solution[:sid], )
268+
@version, account_sid: @solution[:account_sid], conference_sid: @solution[:sid], )
269269
end
270270

271271
@participants

lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ def assigned_add_ons(sid=:unset)
402402

403403
unless @assigned_add_ons
404404
@assigned_add_ons = AssignedAddOnList.new(
405-
@version, account_sid: @solution[:account_sid], resource_sid: @solution[:sid], )
405+
@version, account_sid: @solution[:account_sid], resource_sid: @solution[:sid], )
406406
end
407407

408408
@assigned_add_ons

lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def extensions(sid=:unset)
204204

205205
unless @extensions
206206
@extensions = AssignedAddOnExtensionList.new(
207-
@version, account_sid: @solution[:account_sid], resource_sid: @solution[:resource_sid], assigned_add_on_sid: @solution[:sid], )
207+
@version, account_sid: @solution[:account_sid], resource_sid: @solution[:resource_sid], assigned_add_on_sid: @solution[:sid], )
208208
end
209209

210210
@extensions

lib/twilio-ruby/rest/api/v2010/account/message.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def initialize(version, account_sid: nil)
5252
# @param [String] content_variables For [Content Editor/API](https://www.twilio.com/docs/content) only: Key-value pairs of [Template variables](https://www.twilio.com/docs/content/using-variables-with-content-api) and their substitution values. `content_sid` parameter must also be provided. If values are not defined in the `content_variables` parameter, the [Template's default placeholder values](https://www.twilio.com/docs/content/content-api-resources#create-templates) are used.
5353
# @param [String] tags A string containing a JSON map of key value pairs of tags to be recorded as metadata for the message. The object may contain up to 10 tags. Keys and values can each be up to 128 characters in length.
5454
# @param [RiskCheck] risk_check
55-
# @param [String] from The sender's Twilio phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/iot/wireless/programmable-wireless-send-machine-machine-sms-commands), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g., `whatsapp:+15554449999`). The value of the `from` parameter must be a sender that is hosted within Twilio and belong to the Account creating the Message. If you are using `messaging_service_sid`, this parameter can be empty (Twilio assigns a `from` value from the Messaging Service's Sender Pool) or you can provide a specific sender from your Sender Pool.
55+
# @param [String] from The sender's Twilio phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), [Wireless SIM](https://www.twilio.com/docs/iot/wireless/programmable-wireless-send-machine-machine-sms-commands), [short code](https://www.twilio.com/docs/sms/api/short-code), or [channel address](https://www.twilio.com/docs/messaging/channels) (e.g., `whatsapp:+15554449999`). The value of the `from` parameter must be a sender that is hosted within Twilio and belongs to the Account creating the Message. If you are using `messaging_service_sid`, this parameter can be empty (Twilio assigns a `from` value from the Messaging Service's Sender Pool) or you can provide a specific sender from your Sender Pool.
5656
# @param [String] messaging_service_sid The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services) you want to associate with the Message. When this parameter is provided and the `from` parameter is omitted, Twilio selects the optimal sender from the Messaging Service's Sender Pool. You may also provide a `from` parameter if you want to use a specific Sender from the Sender Pool.
5757
# @param [String] body The text content of the outgoing message. Can be up to 1,600 characters in length. SMS only: If the `body` contains more than 160 [GSM-7](https://www.twilio.com/docs/glossary/what-is-gsm-7-character-encoding) characters (or 70 [UCS-2](https://www.twilio.com/docs/glossary/what-is-ucs-2-character-encoding) characters), the message is segmented and charged accordingly. For long `body` text, consider using the [send_as_mms parameter](https://www.twilio.com/blog/mms-for-long-text-messages).
5858
# @param [Array[String]] media_url The URL of media to include in the Message content. `jpeg`, `jpg`, `gif`, and `png` file types are fully supported by Twilio and content is formatted for delivery on destination devices. The media size limit is 5 MB for supported file types (`jpeg`, `jpg`, `png`, `gif`) and 500 KB for [other types](https://www.twilio.com/docs/sms/accepted-mime-types) of accepted media. To send more than one image in the message, provide multiple `media_url` parameters in the POST request. You can include up to ten `media_url` parameters per message. [International](https://support.twilio.com/hc/en-us/articles/223179808-Sending-and-receiving-MMS-messages) and [carrier](https://support.twilio.com/hc/en-us/articles/223133707-Is-MMS-supported-for-all-carriers-in-US-and-Canada-) limits apply.
@@ -315,7 +315,7 @@ def update(
315315
def feedback
316316
unless @feedback
317317
@feedback = FeedbackList.new(
318-
@version, account_sid: @solution[:account_sid], message_sid: @solution[:sid], )
318+
@version, account_sid: @solution[:account_sid], message_sid: @solution[:sid], )
319319
end
320320
@feedback
321321
end
@@ -333,7 +333,7 @@ def media(sid=:unset)
333333

334334
unless @media
335335
@media = MediaList.new(
336-
@version, account_sid: @solution[:account_sid], message_sid: @solution[:sid], )
336+
@version, account_sid: @solution[:account_sid], message_sid: @solution[:sid], )
337337
end
338338

339339
@media

lib/twilio-ruby/rest/api/v2010/account/queue.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def members(call_sid=:unset)
225225

226226
unless @members
227227
@members = MemberList.new(
228-
@version, account_sid: @solution[:account_sid], queue_sid: @solution[:sid], )
228+
@version, account_sid: @solution[:account_sid], queue_sid: @solution[:sid], )
229229
end
230230

231231
@members

lib/twilio-ruby/rest/api/v2010/account/recording.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def add_on_results(sid=:unset)
221221

222222
unless @add_on_results
223223
@add_on_results = AddOnResultList.new(
224-
@version, account_sid: @solution[:account_sid], reference_sid: @solution[:sid], )
224+
@version, account_sid: @solution[:account_sid], reference_sid: @solution[:sid], )
225225
end
226226

227227
@add_on_results
@@ -240,7 +240,7 @@ def transcriptions(sid=:unset)
240240

241241
unless @transcriptions
242242
@transcriptions = TranscriptionList.new(
243-
@version, account_sid: @solution[:account_sid], recording_sid: @solution[:sid], )
243+
@version, account_sid: @solution[:account_sid], recording_sid: @solution[:sid], )
244244
end
245245

246246
@transcriptions

lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def payloads(sid=:unset)
181181

182182
unless @payloads
183183
@payloads = PayloadList.new(
184-
@version, account_sid: @solution[:account_sid], reference_sid: @solution[:reference_sid], add_on_result_sid: @solution[:sid], )
184+
@version, account_sid: @solution[:account_sid], reference_sid: @solution[:reference_sid], add_on_result_sid: @solution[:sid], )
185185
end
186186

187187
@payloads

lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def credentials(sid=:unset)
220220

221221
unless @credentials
222222
@credentials = CredentialList.new(
223-
@version, account_sid: @solution[:account_sid], credential_list_sid: @solution[:sid], )
223+
@version, account_sid: @solution[:account_sid], credential_list_sid: @solution[:sid], )
224224
end
225225

226226
@credentials

lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def update(
287287
def auth
288288
unless @auth
289289
@auth = AuthTypesList.new(
290-
@version, account_sid: @solution[:account_sid], domain_sid: @solution[:sid], )
290+
@version, account_sid: @solution[:account_sid], domain_sid: @solution[:sid], )
291291
end
292292
@auth
293293
end
@@ -305,7 +305,7 @@ def ip_access_control_list_mappings(sid=:unset)
305305

306306
unless @ip_access_control_list_mappings
307307
@ip_access_control_list_mappings = IpAccessControlListMappingList.new(
308-
@version, account_sid: @solution[:account_sid], domain_sid: @solution[:sid], )
308+
@version, account_sid: @solution[:account_sid], domain_sid: @solution[:sid], )
309309
end
310310

311311
@ip_access_control_list_mappings
@@ -324,7 +324,7 @@ def credential_list_mappings(sid=:unset)
324324

325325
unless @credential_list_mappings
326326
@credential_list_mappings = CredentialListMappingList.new(
327-
@version, account_sid: @solution[:account_sid], domain_sid: @solution[:sid], )
327+
@version, account_sid: @solution[:account_sid], domain_sid: @solution[:sid], )
328328
end
329329

330330
@credential_list_mappings

0 commit comments

Comments
 (0)