twilio-ruby 7.5.0 → 7.5.1
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 +4 -4
 - data/CHANGES.md +12 -0
 - data/README.md +2 -2
 - data/lib/twilio-ruby/rest/accounts/v1/safelist.rb +4 -4
 - data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +1 -1
 - data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +1 -1
 - data/lib/twilio-ruby/rest/api/v2010/account/message.rb +3 -0
 - data/lib/twilio-ruby/rest/flex_api/v2/flex_user.rb +0 -39
 - data/lib/twilio-ruby/rest/iam/v1/token.rb +186 -0
 - data/lib/twilio-ruby/rest/iam/v1.rb +6 -0
 - data/lib/twilio-ruby/rest/preview_base.rb +0 -5
 - data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +2 -2
 - data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +2 -2
 - data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +4 -1
 - data/lib/twilio-ruby/version.rb +1 -1
 - metadata +3 -12
 - data/lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb +0 -407
 - data/lib/twilio-ruby/rest/preview/sync/service/document.rb +0 -472
 - data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb +0 -467
 - data/lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb +0 -407
 - data/lib/twilio-ruby/rest/preview/sync/service/sync_list.rb +0 -444
 - data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb +0 -470
 - data/lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb +0 -407
 - data/lib/twilio-ruby/rest/preview/sync/service/sync_map.rb +0 -444
 - data/lib/twilio-ruby/rest/preview/sync/service.rb +0 -529
 - data/lib/twilio-ruby/rest/preview/sync.rb +0 -49
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: aad54e4127225802d5b5d4a1e3711e2237721b9b
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 33661730ed8d04136f1d82c41d06637efacba9f2
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: c4ab77c9062fc59a357c9ee328461b8d1d65a940cd90316abe2c1c31e519e2c8929f9185bcd167f4076783f1c355f073945acad8edc45aa6c624608a77ce6b92
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: ac5416a1673ba49aafef4a58dc5f5dbb77a88dec86e620c97cf2a04fd9f10f9fc8fa6ba761d9ab22f70375d6fb5816b7aefbc05ccb8e943b74795fd39a0603f7
         
     | 
    
        data/CHANGES.md
    CHANGED
    
    | 
         @@ -1,6 +1,18 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            twilio-ruby changelog
         
     | 
| 
       2 
2 
     | 
    
         
             
            =====================
         
     | 
| 
       3 
3 
     | 
    
         | 
| 
      
 4 
     | 
    
         
            +
            [2025-03-20] Version 7.5.1
         
     | 
| 
      
 5 
     | 
    
         
            +
            --------------------------
         
     | 
| 
      
 6 
     | 
    
         
            +
            **Accounts**
         
     | 
| 
      
 7 
     | 
    
         
            +
            - Update Safelist API docs as part of prefix supoort
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            **Flex**
         
     | 
| 
      
 10 
     | 
    
         
            +
            - Removing `first_name`, `last_name`, and `friendly_name` from the Flex User API
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            **Messaging**
         
     | 
| 
      
 13 
     | 
    
         
            +
            - Add missing tests under transaction/phone_numbers and transaction/short_code
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
       4 
16 
     | 
    
         
             
            [2025-03-11] Version 7.5.0
         
     | 
| 
       5 
17 
     | 
    
         
             
            --------------------------
         
     | 
| 
       6 
18 
     | 
    
         
             
            **Library - Feature**
         
     | 
    
        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.5. 
     | 
| 
      
 42 
     | 
    
         
            +
            gem 'twilio-ruby', '~> 7.5.1'
         
     | 
| 
       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.5. 
     | 
| 
      
 48 
     | 
    
         
            +
            gem install twilio-ruby -v 7.5.1
         
     | 
| 
       49 
49 
     | 
    
         
             
            ```
         
     | 
| 
       50 
50 
     | 
    
         | 
| 
       51 
51 
     | 
    
         
             
            To build and install the development branch yourself from the latest source:
         
     | 
| 
         @@ -32,7 +32,7 @@ module Twilio 
     | 
|
| 
       32 
32 
     | 
    
         
             
                                end
         
     | 
| 
       33 
33 
     | 
    
         
             
                                ##
         
     | 
| 
       34 
34 
     | 
    
         
             
                                # Create the SafelistInstance
         
     | 
| 
       35 
     | 
    
         
            -
                                # @param [String] phone_number The phone number to be added in SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).
         
     | 
| 
      
 35 
     | 
    
         
            +
                                # @param [String] phone_number The phone number or phone number 1k prefix to be added in SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).
         
     | 
| 
       36 
36 
     | 
    
         
             
                                # @return [SafelistInstance] Created SafelistInstance
         
     | 
| 
       37 
37 
     | 
    
         
             
                                def create(
         
     | 
| 
       38 
38 
     | 
    
         
             
                                    phone_number: nil
         
     | 
| 
         @@ -57,7 +57,7 @@ module Twilio 
     | 
|
| 
       57 
57 
     | 
    
         | 
| 
       58 
58 
     | 
    
         
             
                                ##
         
     | 
| 
       59 
59 
     | 
    
         
             
                                # Delete the SafelistInstance
         
     | 
| 
       60 
     | 
    
         
            -
                                # @param [String] phone_number The phone number to be removed from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).
         
     | 
| 
      
 60 
     | 
    
         
            +
                                # @param [String] phone_number The phone number or phone number 1k prefix to be removed from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).
         
     | 
| 
       61 
61 
     | 
    
         
             
                                # @return [Boolean] True if delete succeeds, false otherwise
         
     | 
| 
       62 
62 
     | 
    
         
             
                                def delete(
         
     | 
| 
       63 
63 
     | 
    
         
             
                                    phone_number: :unset
         
     | 
| 
         @@ -75,7 +75,7 @@ module Twilio 
     | 
|
| 
       75 
75 
     | 
    
         | 
| 
       76 
76 
     | 
    
         
             
                                ##
         
     | 
| 
       77 
77 
     | 
    
         
             
                                # Fetch the SafelistInstance
         
     | 
| 
       78 
     | 
    
         
            -
                                # @param [String] phone_number The phone number to be fetched from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).
         
     | 
| 
      
 78 
     | 
    
         
            +
                                # @param [String] phone_number The phone number or phone number 1k prefix to be fetched from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).
         
     | 
| 
       79 
79 
     | 
    
         
             
                                # @return [SafelistInstance] Fetched SafelistInstance
         
     | 
| 
       80 
80 
     | 
    
         
             
                                def fetch(
         
     | 
| 
       81 
81 
     | 
    
         
             
                                    phone_number: :unset
         
     | 
| 
         @@ -162,7 +162,7 @@ module Twilio 
     | 
|
| 
       162 
162 
     | 
    
         
             
                                end
         
     | 
| 
       163 
163 
     | 
    
         | 
| 
       164 
164 
     | 
    
         
             
                                ##
         
     | 
| 
       165 
     | 
    
         
            -
                                # @return [String] The phone number in SafeList.
         
     | 
| 
      
 165 
     | 
    
         
            +
                                # @return [String] The phone number or phone number 1k prefix in SafeList.
         
     | 
| 
       166 
166 
     | 
    
         
             
                                def phone_number
         
     | 
| 
       167 
167 
     | 
    
         
             
                                    @properties['phone_number']
         
     | 
| 
       168 
168 
     | 
    
         
             
                                end
         
     | 
| 
         @@ -61,7 +61,7 @@ module Twilio 
     | 
|
| 
       61 
61 
     | 
    
         
             
                                # @param [String] recording_status_callback_method The HTTP method we should use when we call `recording_status_callback`. Can be: `GET` or `POST` and defaults to `POST`.
         
     | 
| 
       62 
62 
     | 
    
         
             
                                # @param [String] sip_auth_username The SIP username used for authentication.
         
     | 
| 
       63 
63 
     | 
    
         
             
                                # @param [String] sip_auth_password The SIP password for authentication.
         
     | 
| 
       64 
     | 
    
         
            -
                                # @param [String] region The [region](https://support.twilio.com/hc/en-us/articles/223132167-How-global-low-latency-routing-and-region-selection-work-for-conferences-and-Client-calls) where we should mix the recorded audio. Can be:`us1`, `ie1`, `de1`, `sg1`, `br1`, `au1`, or `jp1`.
         
     | 
| 
      
 64 
     | 
    
         
            +
                                # @param [String] region The [region](https://support.twilio.com/hc/en-us/articles/223132167-How-global-low-latency-routing-and-region-selection-work-for-conferences-and-Client-calls) where we should mix the recorded audio. Can be:`us1`, `us2`, `ie1`, `de1`, `sg1`, `br1`, `au1`, or `jp1`.
         
     | 
| 
       65 
65 
     | 
    
         
             
                                # @param [String] conference_recording_status_callback The URL we should call using the `conference_recording_status_callback_method` when the conference recording is available.
         
     | 
| 
       66 
66 
     | 
    
         
             
                                # @param [String] conference_recording_status_callback_method The HTTP method we should use to call `conference_recording_status_callback`. Can be: `GET` or `POST` and defaults to `POST`.
         
     | 
| 
       67 
67 
     | 
    
         
             
                                # @param [Array[String]] recording_status_callback_event The recording state changes that should generate a call to `recording_status_callback`. Can be: `started`, `in-progress`, `paused`, `resumed`, `stopped`, `completed`, `failed`, and `absent`. Separate multiple values with a space, ex: `'in-progress completed failed'`.
         
     | 
| 
         @@ -406,7 +406,7 @@ module Twilio 
     | 
|
| 
       406 
406 
     | 
    
         
             
                                end
         
     | 
| 
       407 
407 
     | 
    
         | 
| 
       408 
408 
     | 
    
         
             
                                ##
         
     | 
| 
       409 
     | 
    
         
            -
                                # @return [String] A string that represents the Twilio Region where the conference audio was mixed. May be `us1`, `ie1`,  `de1`, `sg1`, `br1`, `au1`, and `jp1`. Basic conference audio will always be mixed in `us1`. Global Conference audio will be mixed nearest to the majority of participants.
         
     | 
| 
      
 409 
     | 
    
         
            +
                                # @return [String] A string that represents the Twilio Region where the conference audio was mixed. May be `us1`, `us2`, `ie1`,  `de1`, `sg1`, `br1`, `au1`, and `jp1`. Basic conference audio will always be mixed in `us1`. Global Conference audio will be mixed nearest to the majority of participants.
         
     | 
| 
       410 
410 
     | 
    
         
             
                                def region
         
     | 
| 
       411 
411 
     | 
    
         
             
                                    @properties['region']
         
     | 
| 
       412 
412 
     | 
    
         
             
                                end
         
     | 
| 
         @@ -46,6 +46,7 @@ module Twilio 
     | 
|
| 
       46 
46 
     | 
    
         
             
                                # @param [AddressRetention] address_retention 
         
     | 
| 
       47 
47 
     | 
    
         
             
                                # @param [Boolean] smart_encoded Whether to detect Unicode characters that have a similar GSM-7 character and replace them. Can be: `true` or `false`.
         
     | 
| 
       48 
48 
     | 
    
         
             
                                # @param [Array[String]] persistent_action Rich actions for non-SMS/MMS channels. Used for [sending location in WhatsApp messages](https://www.twilio.com/docs/whatsapp/message-features#location-messages-with-whatsapp).
         
     | 
| 
      
 49 
     | 
    
         
            +
                                # @param [TrafficType] traffic_type 
         
     | 
| 
       49 
50 
     | 
    
         
             
                                # @param [Boolean] shorten_urls For Messaging Services with [Link Shortening configured](https://www.twilio.com/docs/messaging/features/link-shortening) only: A Boolean indicating whether or not Twilio should shorten links in the `body` of the Message. Default value is `false`. If `true`, the `messaging_service_sid` parameter must also be provided.
         
     | 
| 
       50 
51 
     | 
    
         
             
                                # @param [ScheduleType] schedule_type 
         
     | 
| 
       51 
52 
     | 
    
         
             
                                # @param [Time] send_at The time that Twilio will send the message. Must be in ISO 8601 format.
         
     | 
| 
         @@ -71,6 +72,7 @@ module Twilio 
     | 
|
| 
       71 
72 
     | 
    
         
             
                                    address_retention: :unset, 
         
     | 
| 
       72 
73 
     | 
    
         
             
                                    smart_encoded: :unset, 
         
     | 
| 
       73 
74 
     | 
    
         
             
                                    persistent_action: :unset, 
         
     | 
| 
      
 75 
     | 
    
         
            +
                                    traffic_type: :unset, 
         
     | 
| 
       74 
76 
     | 
    
         
             
                                    shorten_urls: :unset, 
         
     | 
| 
       75 
77 
     | 
    
         
             
                                    schedule_type: :unset, 
         
     | 
| 
       76 
78 
     | 
    
         
             
                                    send_at: :unset, 
         
     | 
| 
         @@ -97,6 +99,7 @@ module Twilio 
     | 
|
| 
       97 
99 
     | 
    
         
             
                                        'AddressRetention' => address_retention,
         
     | 
| 
       98 
100 
     | 
    
         
             
                                        'SmartEncoded' => smart_encoded,
         
     | 
| 
       99 
101 
     | 
    
         
             
                                        'PersistentAction' => Twilio.serialize_list(persistent_action) { |e| e },
         
     | 
| 
      
 102 
     | 
    
         
            +
                                        'TrafficType' => traffic_type,
         
     | 
| 
       100 
103 
     | 
    
         
             
                                        'ShortenUrls' => shorten_urls,
         
     | 
| 
       101 
104 
     | 
    
         
             
                                        'ScheduleType' => schedule_type,
         
     | 
| 
       102 
105 
     | 
    
         
             
                                        'SendAt' => Twilio.serialize_iso8601_datetime(send_at),
         
     | 
| 
         @@ -78,27 +78,18 @@ module Twilio 
     | 
|
| 
       78 
78 
     | 
    
         | 
| 
       79 
79 
     | 
    
         
             
                                ##
         
     | 
| 
       80 
80 
     | 
    
         
             
                                # Update the FlexUserInstance
         
     | 
| 
       81 
     | 
    
         
            -
                                # @param [String] first_name First name of the User.
         
     | 
| 
       82 
     | 
    
         
            -
                                # @param [String] last_name Last name of the User.
         
     | 
| 
       83 
81 
     | 
    
         
             
                                # @param [String] email Email of the User.
         
     | 
| 
       84 
     | 
    
         
            -
                                # @param [String] friendly_name Friendly name of the User.
         
     | 
| 
       85 
82 
     | 
    
         
             
                                # @param [String] user_sid The unique SID identifier of the Twilio Unified User.
         
     | 
| 
       86 
83 
     | 
    
         
             
                                # @param [String] locale The locale preference of the user.
         
     | 
| 
       87 
84 
     | 
    
         
             
                                # @return [FlexUserInstance] Updated FlexUserInstance
         
     | 
| 
       88 
85 
     | 
    
         
             
                                def update(
         
     | 
| 
       89 
     | 
    
         
            -
                                    first_name: :unset, 
         
     | 
| 
       90 
     | 
    
         
            -
                                    last_name: :unset, 
         
     | 
| 
       91 
86 
     | 
    
         
             
                                    email: :unset, 
         
     | 
| 
       92 
     | 
    
         
            -
                                    friendly_name: :unset, 
         
     | 
| 
       93 
87 
     | 
    
         
             
                                    user_sid: :unset, 
         
     | 
| 
       94 
88 
     | 
    
         
             
                                    locale: :unset
         
     | 
| 
       95 
89 
     | 
    
         
             
                                )
         
     | 
| 
       96 
90 
     | 
    
         | 
| 
       97 
91 
     | 
    
         
             
                                    data = Twilio::Values.of({
         
     | 
| 
       98 
     | 
    
         
            -
                                        'FirstName' => first_name,
         
     | 
| 
       99 
     | 
    
         
            -
                                        'LastName' => last_name,
         
     | 
| 
       100 
92 
     | 
    
         
             
                                        'Email' => email,
         
     | 
| 
       101 
     | 
    
         
            -
                                        'FriendlyName' => friendly_name,
         
     | 
| 
       102 
93 
     | 
    
         
             
                                        'UserSid' => user_sid,
         
     | 
| 
       103 
94 
     | 
    
         
             
                                        'Locale' => locale,
         
     | 
| 
       104 
95 
     | 
    
         
             
                                    })
         
     | 
| 
         @@ -184,11 +175,8 @@ module Twilio 
     | 
|
| 
       184 
175 
     | 
    
         
             
                                        'worker_sid' => payload['worker_sid'],
         
     | 
| 
       185 
176 
     | 
    
         
             
                                        'workspace_sid' => payload['workspace_sid'],
         
     | 
| 
       186 
177 
     | 
    
         
             
                                        'flex_team_sid' => payload['flex_team_sid'],
         
     | 
| 
       187 
     | 
    
         
            -
                                        'first_name' => payload['first_name'],
         
     | 
| 
       188 
     | 
    
         
            -
                                        'last_name' => payload['last_name'],
         
     | 
| 
       189 
178 
     | 
    
         
             
                                        'username' => payload['username'],
         
     | 
| 
       190 
179 
     | 
    
         
             
                                        'email' => payload['email'],
         
     | 
| 
       191 
     | 
    
         
            -
                                        'friendly_name' => payload['friendly_name'],
         
     | 
| 
       192 
180 
     | 
    
         
             
                                        'locale' => payload['locale'],
         
     | 
| 
       193 
181 
     | 
    
         
             
                                        'roles' => payload['roles'],
         
     | 
| 
       194 
182 
     | 
    
         
             
                                        'created_date' => Twilio.deserialize_iso8601_datetime(payload['created_date']),
         
     | 
| 
         @@ -255,18 +243,6 @@ module Twilio 
     | 
|
| 
       255 
243 
     | 
    
         
             
                                    @properties['flex_team_sid']
         
     | 
| 
       256 
244 
     | 
    
         
             
                                end
         
     | 
| 
       257 
245 
     | 
    
         | 
| 
       258 
     | 
    
         
            -
                                ##
         
     | 
| 
       259 
     | 
    
         
            -
                                # @return [String] First name of the User.
         
     | 
| 
       260 
     | 
    
         
            -
                                def first_name
         
     | 
| 
       261 
     | 
    
         
            -
                                    @properties['first_name']
         
     | 
| 
       262 
     | 
    
         
            -
                                end
         
     | 
| 
       263 
     | 
    
         
            -
                                
         
     | 
| 
       264 
     | 
    
         
            -
                                ##
         
     | 
| 
       265 
     | 
    
         
            -
                                # @return [String] Last name of the User.
         
     | 
| 
       266 
     | 
    
         
            -
                                def last_name
         
     | 
| 
       267 
     | 
    
         
            -
                                    @properties['last_name']
         
     | 
| 
       268 
     | 
    
         
            -
                                end
         
     | 
| 
       269 
     | 
    
         
            -
                                
         
     | 
| 
       270 
246 
     | 
    
         
             
                                ##
         
     | 
| 
       271 
247 
     | 
    
         
             
                                # @return [String] Username of the User.
         
     | 
| 
       272 
248 
     | 
    
         
             
                                def username
         
     | 
| 
         @@ -279,12 +255,6 @@ module Twilio 
     | 
|
| 
       279 
255 
     | 
    
         
             
                                    @properties['email']
         
     | 
| 
       280 
256 
     | 
    
         
             
                                end
         
     | 
| 
       281 
257 
     | 
    
         | 
| 
       282 
     | 
    
         
            -
                                ##
         
     | 
| 
       283 
     | 
    
         
            -
                                # @return [String] Friendly name of the User.
         
     | 
| 
       284 
     | 
    
         
            -
                                def friendly_name
         
     | 
| 
       285 
     | 
    
         
            -
                                    @properties['friendly_name']
         
     | 
| 
       286 
     | 
    
         
            -
                                end
         
     | 
| 
       287 
     | 
    
         
            -
                                
         
     | 
| 
       288 
258 
     | 
    
         
             
                                ##
         
     | 
| 
       289 
259 
     | 
    
         
             
                                # @return [String] The locale preference of the user.
         
     | 
| 
       290 
260 
     | 
    
         
             
                                def locale
         
     | 
| 
         @@ -331,27 +301,18 @@ module Twilio 
     | 
|
| 
       331 
301 
     | 
    
         | 
| 
       332 
302 
     | 
    
         
             
                                ##
         
     | 
| 
       333 
303 
     | 
    
         
             
                                # Update the FlexUserInstance
         
     | 
| 
       334 
     | 
    
         
            -
                                # @param [String] first_name First name of the User.
         
     | 
| 
       335 
     | 
    
         
            -
                                # @param [String] last_name Last name of the User.
         
     | 
| 
       336 
304 
     | 
    
         
             
                                # @param [String] email Email of the User.
         
     | 
| 
       337 
     | 
    
         
            -
                                # @param [String] friendly_name Friendly name of the User.
         
     | 
| 
       338 
305 
     | 
    
         
             
                                # @param [String] user_sid The unique SID identifier of the Twilio Unified User.
         
     | 
| 
       339 
306 
     | 
    
         
             
                                # @param [String] locale The locale preference of the user.
         
     | 
| 
       340 
307 
     | 
    
         
             
                                # @return [FlexUserInstance] Updated FlexUserInstance
         
     | 
| 
       341 
308 
     | 
    
         
             
                                def update(
         
     | 
| 
       342 
     | 
    
         
            -
                                    first_name: :unset, 
         
     | 
| 
       343 
     | 
    
         
            -
                                    last_name: :unset, 
         
     | 
| 
       344 
309 
     | 
    
         
             
                                    email: :unset, 
         
     | 
| 
       345 
     | 
    
         
            -
                                    friendly_name: :unset, 
         
     | 
| 
       346 
310 
     | 
    
         
             
                                    user_sid: :unset, 
         
     | 
| 
       347 
311 
     | 
    
         
             
                                    locale: :unset
         
     | 
| 
       348 
312 
     | 
    
         
             
                                )
         
     | 
| 
       349 
313 
     | 
    
         | 
| 
       350 
314 
     | 
    
         
             
                                    context.update(
         
     | 
| 
       351 
     | 
    
         
            -
                                        first_name: first_name, 
         
     | 
| 
       352 
     | 
    
         
            -
                                        last_name: last_name, 
         
     | 
| 
       353 
315 
     | 
    
         
             
                                        email: email, 
         
     | 
| 
       354 
     | 
    
         
            -
                                        friendly_name: friendly_name, 
         
     | 
| 
       355 
316 
     | 
    
         
             
                                        user_sid: user_sid, 
         
     | 
| 
       356 
317 
     | 
    
         
             
                                        locale: locale, 
         
     | 
| 
       357 
318 
     | 
    
         
             
                                    )
         
     | 
| 
         @@ -0,0 +1,186 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            ##
         
     | 
| 
      
 2 
     | 
    
         
            +
            #    This code was generated by
         
     | 
| 
      
 3 
     | 
    
         
            +
            #    ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
         
     | 
| 
      
 4 
     | 
    
         
            +
            #     |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
         
     | 
| 
      
 5 
     | 
    
         
            +
            #     |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
         
     | 
| 
      
 6 
     | 
    
         
            +
            #
         
     | 
| 
      
 7 
     | 
    
         
            +
            #    Twilio - Iam
         
     | 
| 
      
 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 Iam < IamBase
         
     | 
| 
      
 19 
     | 
    
         
            +
                        class V1 < Version
         
     | 
| 
      
 20 
     | 
    
         
            +
                            class TokenList < ListResource
         
     | 
| 
      
 21 
     | 
    
         
            +
                            
         
     | 
| 
      
 22 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 23 
     | 
    
         
            +
                                # Initialize the TokenList
         
     | 
| 
      
 24 
     | 
    
         
            +
                                # @param [Version] version Version that contains the resource
         
     | 
| 
      
 25 
     | 
    
         
            +
                                # @return [TokenList] TokenList
         
     | 
| 
      
 26 
     | 
    
         
            +
                                def initialize(version)
         
     | 
| 
      
 27 
     | 
    
         
            +
                                    super(version)
         
     | 
| 
      
 28 
     | 
    
         
            +
                                    # Path Solution
         
     | 
| 
      
 29 
     | 
    
         
            +
                                    @solution = {  }
         
     | 
| 
      
 30 
     | 
    
         
            +
                                    @uri = "/token"
         
     | 
| 
      
 31 
     | 
    
         
            +
                                    
         
     | 
| 
      
 32 
     | 
    
         
            +
                                end
         
     | 
| 
      
 33 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 34 
     | 
    
         
            +
                                # Create the TokenInstance
         
     | 
| 
      
 35 
     | 
    
         
            +
                                # @param [String] grant_type Grant type is a credential representing resource owner's authorization which can be used by client to obtain access token.
         
     | 
| 
      
 36 
     | 
    
         
            +
                                # @param [String] client_id A 34 character string that uniquely identifies this OAuth App.
         
     | 
| 
      
 37 
     | 
    
         
            +
                                # @param [String] client_secret The credential for confidential OAuth App.
         
     | 
| 
      
 38 
     | 
    
         
            +
                                # @param [String] code JWT token related to the authorization code grant type.
         
     | 
| 
      
 39 
     | 
    
         
            +
                                # @param [String] redirect_uri The redirect uri
         
     | 
| 
      
 40 
     | 
    
         
            +
                                # @param [String] audience The targeted audience uri
         
     | 
| 
      
 41 
     | 
    
         
            +
                                # @param [String] refresh_token JWT token related to refresh access token.
         
     | 
| 
      
 42 
     | 
    
         
            +
                                # @param [String] scope The scope of token
         
     | 
| 
      
 43 
     | 
    
         
            +
                                # @return [TokenInstance] Created TokenInstance
         
     | 
| 
      
 44 
     | 
    
         
            +
                                def create(
         
     | 
| 
      
 45 
     | 
    
         
            +
                                    grant_type: nil, 
         
     | 
| 
      
 46 
     | 
    
         
            +
                                    client_id: nil, 
         
     | 
| 
      
 47 
     | 
    
         
            +
                                    client_secret: :unset, 
         
     | 
| 
      
 48 
     | 
    
         
            +
                                    code: :unset, 
         
     | 
| 
      
 49 
     | 
    
         
            +
                                    redirect_uri: :unset, 
         
     | 
| 
      
 50 
     | 
    
         
            +
                                    audience: :unset, 
         
     | 
| 
      
 51 
     | 
    
         
            +
                                    refresh_token: :unset, 
         
     | 
| 
      
 52 
     | 
    
         
            +
                                    scope: :unset
         
     | 
| 
      
 53 
     | 
    
         
            +
                                )
         
     | 
| 
      
 54 
     | 
    
         
            +
             
     | 
| 
      
 55 
     | 
    
         
            +
                                    data = Twilio::Values.of({
         
     | 
| 
      
 56 
     | 
    
         
            +
                                        'grant_type' => grant_type,
         
     | 
| 
      
 57 
     | 
    
         
            +
                                        'client_id' => client_id,
         
     | 
| 
      
 58 
     | 
    
         
            +
                                        'client_secret' => client_secret,
         
     | 
| 
      
 59 
     | 
    
         
            +
                                        'code' => code,
         
     | 
| 
      
 60 
     | 
    
         
            +
                                        'redirect_uri' => redirect_uri,
         
     | 
| 
      
 61 
     | 
    
         
            +
                                        'audience' => audience,
         
     | 
| 
      
 62 
     | 
    
         
            +
                                        'refresh_token' => refresh_token,
         
     | 
| 
      
 63 
     | 
    
         
            +
                                        'scope' => scope,
         
     | 
| 
      
 64 
     | 
    
         
            +
                                    })
         
     | 
| 
      
 65 
     | 
    
         
            +
             
     | 
| 
      
 66 
     | 
    
         
            +
                                    headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
         
     | 
| 
      
 67 
     | 
    
         
            +
                                    
         
     | 
| 
      
 68 
     | 
    
         
            +
                                    
         
     | 
| 
      
 69 
     | 
    
         
            +
                                    
         
     | 
| 
      
 70 
     | 
    
         
            +
                                    
         
     | 
| 
      
 71 
     | 
    
         
            +
                                    
         
     | 
| 
      
 72 
     | 
    
         
            +
                                    payload = @version.create('POST', @uri, data: data, headers: headers)
         
     | 
| 
      
 73 
     | 
    
         
            +
                                    TokenInstance.new(
         
     | 
| 
      
 74 
     | 
    
         
            +
                                        @version,
         
     | 
| 
      
 75 
     | 
    
         
            +
                                        payload,
         
     | 
| 
      
 76 
     | 
    
         
            +
                                    )
         
     | 
| 
      
 77 
     | 
    
         
            +
                                end
         
     | 
| 
      
 78 
     | 
    
         
            +
             
     | 
| 
      
 79 
     | 
    
         
            +
                            
         
     | 
| 
      
 80 
     | 
    
         
            +
             
     | 
| 
      
 81 
     | 
    
         
            +
             
     | 
| 
      
 82 
     | 
    
         
            +
                                # Provide a user friendly representation
         
     | 
| 
      
 83 
     | 
    
         
            +
                                def to_s
         
     | 
| 
      
 84 
     | 
    
         
            +
                                    '#<Twilio.Iam.V1.TokenList>'
         
     | 
| 
      
 85 
     | 
    
         
            +
                                end
         
     | 
| 
      
 86 
     | 
    
         
            +
                            end
         
     | 
| 
      
 87 
     | 
    
         
            +
             
     | 
| 
      
 88 
     | 
    
         
            +
                            class TokenPage < Page
         
     | 
| 
      
 89 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 90 
     | 
    
         
            +
                                # Initialize the TokenPage
         
     | 
| 
      
 91 
     | 
    
         
            +
                                # @param [Version] version Version that contains the resource
         
     | 
| 
      
 92 
     | 
    
         
            +
                                # @param [Response] response Response from the API
         
     | 
| 
      
 93 
     | 
    
         
            +
                                # @param [Hash] solution Path solution for the resource
         
     | 
| 
      
 94 
     | 
    
         
            +
                                # @return [TokenPage] TokenPage
         
     | 
| 
      
 95 
     | 
    
         
            +
                                def initialize(version, response, solution)
         
     | 
| 
      
 96 
     | 
    
         
            +
                                    super(version, response)
         
     | 
| 
      
 97 
     | 
    
         
            +
             
     | 
| 
      
 98 
     | 
    
         
            +
                                    # Path Solution
         
     | 
| 
      
 99 
     | 
    
         
            +
                                    @solution = solution
         
     | 
| 
      
 100 
     | 
    
         
            +
                                end
         
     | 
| 
      
 101 
     | 
    
         
            +
             
     | 
| 
      
 102 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 103 
     | 
    
         
            +
                                # Build an instance of TokenInstance
         
     | 
| 
      
 104 
     | 
    
         
            +
                                # @param [Hash] payload Payload response from the API
         
     | 
| 
      
 105 
     | 
    
         
            +
                                # @return [TokenInstance] TokenInstance
         
     | 
| 
      
 106 
     | 
    
         
            +
                                def get_instance(payload)
         
     | 
| 
      
 107 
     | 
    
         
            +
                                    TokenInstance.new(@version, payload)
         
     | 
| 
      
 108 
     | 
    
         
            +
                                end
         
     | 
| 
      
 109 
     | 
    
         
            +
             
     | 
| 
      
 110 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 111 
     | 
    
         
            +
                                # Provide a user friendly representation
         
     | 
| 
      
 112 
     | 
    
         
            +
                                def to_s
         
     | 
| 
      
 113 
     | 
    
         
            +
                                    '<Twilio.Iam.V1.TokenPage>'
         
     | 
| 
      
 114 
     | 
    
         
            +
                                end
         
     | 
| 
      
 115 
     | 
    
         
            +
                            end
         
     | 
| 
      
 116 
     | 
    
         
            +
                            class TokenInstance < InstanceResource
         
     | 
| 
      
 117 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 118 
     | 
    
         
            +
                                # Initialize the TokenInstance
         
     | 
| 
      
 119 
     | 
    
         
            +
                                # @param [Version] version Version that contains the resource
         
     | 
| 
      
 120 
     | 
    
         
            +
                                # @param [Hash] payload payload that contains response from Twilio
         
     | 
| 
      
 121 
     | 
    
         
            +
                                # @param [String] account_sid The SID of the
         
     | 
| 
      
 122 
     | 
    
         
            +
                                #   {Account}[https://www.twilio.com/docs/iam/api/account] that created this Token
         
     | 
| 
      
 123 
     | 
    
         
            +
                                #   resource.
         
     | 
| 
      
 124 
     | 
    
         
            +
                                # @param [String] sid The SID of the Call resource to fetch.
         
     | 
| 
      
 125 
     | 
    
         
            +
                                # @return [TokenInstance] TokenInstance
         
     | 
| 
      
 126 
     | 
    
         
            +
                                def initialize(version, payload )
         
     | 
| 
      
 127 
     | 
    
         
            +
                                    super(version)
         
     | 
| 
      
 128 
     | 
    
         
            +
                                    
         
     | 
| 
      
 129 
     | 
    
         
            +
                                    # Marshaled Properties
         
     | 
| 
      
 130 
     | 
    
         
            +
                                    @properties = { 
         
     | 
| 
      
 131 
     | 
    
         
            +
                                        'access_token' => payload['access_token'],
         
     | 
| 
      
 132 
     | 
    
         
            +
                                        'refresh_token' => payload['refresh_token'],
         
     | 
| 
      
 133 
     | 
    
         
            +
                                        'id_token' => payload['id_token'],
         
     | 
| 
      
 134 
     | 
    
         
            +
                                        'token_type' => payload['token_type'],
         
     | 
| 
      
 135 
     | 
    
         
            +
                                        'expires_in' => payload['expires_in'],
         
     | 
| 
      
 136 
     | 
    
         
            +
                                    }
         
     | 
| 
      
 137 
     | 
    
         
            +
                                end
         
     | 
| 
      
 138 
     | 
    
         
            +
             
     | 
| 
      
 139 
     | 
    
         
            +
                                
         
     | 
| 
      
 140 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 141 
     | 
    
         
            +
                                # @return [String] Token which carries the necessary information to access a Twilio resource directly.
         
     | 
| 
      
 142 
     | 
    
         
            +
                                def access_token
         
     | 
| 
      
 143 
     | 
    
         
            +
                                    @properties['access_token']
         
     | 
| 
      
 144 
     | 
    
         
            +
                                end
         
     | 
| 
      
 145 
     | 
    
         
            +
                                
         
     | 
| 
      
 146 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 147 
     | 
    
         
            +
                                # @return [String] Token which carries the information necessary to get a new access token.
         
     | 
| 
      
 148 
     | 
    
         
            +
                                def refresh_token
         
     | 
| 
      
 149 
     | 
    
         
            +
                                    @properties['refresh_token']
         
     | 
| 
      
 150 
     | 
    
         
            +
                                end
         
     | 
| 
      
 151 
     | 
    
         
            +
                                
         
     | 
| 
      
 152 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 153 
     | 
    
         
            +
                                # @return [String] Token which carries the information necessary of user profile.
         
     | 
| 
      
 154 
     | 
    
         
            +
                                def id_token
         
     | 
| 
      
 155 
     | 
    
         
            +
                                    @properties['id_token']
         
     | 
| 
      
 156 
     | 
    
         
            +
                                end
         
     | 
| 
      
 157 
     | 
    
         
            +
                                
         
     | 
| 
      
 158 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 159 
     | 
    
         
            +
                                # @return [String] Token type
         
     | 
| 
      
 160 
     | 
    
         
            +
                                def token_type
         
     | 
| 
      
 161 
     | 
    
         
            +
                                    @properties['token_type']
         
     | 
| 
      
 162 
     | 
    
         
            +
                                end
         
     | 
| 
      
 163 
     | 
    
         
            +
                                
         
     | 
| 
      
 164 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 165 
     | 
    
         
            +
                                # @return [String] 
         
     | 
| 
      
 166 
     | 
    
         
            +
                                def expires_in
         
     | 
| 
      
 167 
     | 
    
         
            +
                                    @properties['expires_in']
         
     | 
| 
      
 168 
     | 
    
         
            +
                                end
         
     | 
| 
      
 169 
     | 
    
         
            +
                                
         
     | 
| 
      
 170 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 171 
     | 
    
         
            +
                                # Provide a user friendly representation
         
     | 
| 
      
 172 
     | 
    
         
            +
                                def to_s
         
     | 
| 
      
 173 
     | 
    
         
            +
                                    "<Twilio.Iam.V1.TokenInstance>"
         
     | 
| 
      
 174 
     | 
    
         
            +
                                end
         
     | 
| 
      
 175 
     | 
    
         
            +
             
     | 
| 
      
 176 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 177 
     | 
    
         
            +
                                # Provide a detailed, user friendly representation
         
     | 
| 
      
 178 
     | 
    
         
            +
                                def inspect
         
     | 
| 
      
 179 
     | 
    
         
            +
                                    "<Twilio.Iam.V1.TokenInstance>"
         
     | 
| 
      
 180 
     | 
    
         
            +
                                end
         
     | 
| 
      
 181 
     | 
    
         
            +
                            end
         
     | 
| 
      
 182 
     | 
    
         
            +
             
     | 
| 
      
 183 
     | 
    
         
            +
                        end
         
     | 
| 
      
 184 
     | 
    
         
            +
                    end
         
     | 
| 
      
 185 
     | 
    
         
            +
                end
         
     | 
| 
      
 186 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -24,6 +24,7 @@ module Twilio 
     | 
|
| 
       24 
24 
     | 
    
         
             
                                @api_key = nil
         
     | 
| 
       25 
25 
     | 
    
         
             
                                @get_api_keys = nil
         
     | 
| 
       26 
26 
     | 
    
         
             
                                @new_api_key = nil
         
     | 
| 
      
 27 
     | 
    
         
            +
                                @token = nil
         
     | 
| 
       27 
28 
     | 
    
         
             
                            end
         
     | 
| 
       28 
29 
     | 
    
         | 
| 
       29 
30 
     | 
    
         
             
                            ##
         
     | 
| 
         @@ -51,6 +52,11 @@ module Twilio 
     | 
|
| 
       51 
52 
     | 
    
         
             
                                @new_api_key ||= NewApiKeyList.new self
         
     | 
| 
       52 
53 
     | 
    
         
             
                            end
         
     | 
| 
       53 
54 
     | 
    
         
             
                            ##
         
     | 
| 
      
 55 
     | 
    
         
            +
                            # @return [Twilio::REST::Iam::V1::TokenList]
         
     | 
| 
      
 56 
     | 
    
         
            +
                            def token
         
     | 
| 
      
 57 
     | 
    
         
            +
                                @token ||= TokenList.new self
         
     | 
| 
      
 58 
     | 
    
         
            +
                            end
         
     | 
| 
      
 59 
     | 
    
         
            +
                            ##
         
     | 
| 
       54 
60 
     | 
    
         
             
                            # Provide a user friendly representation
         
     | 
| 
       55 
61 
     | 
    
         
             
                            def to_s
         
     | 
| 
       56 
62 
     | 
    
         
             
                                '<Twilio::REST::Iam::V1>';
         
     | 
| 
         @@ -22,7 +22,6 @@ module Twilio 
     | 
|
| 
       22 
22 
     | 
    
         
             
                    @host = "preview.twilio.com"
         
     | 
| 
       23 
23 
     | 
    
         
             
                    @port = 443
         
     | 
| 
       24 
24 
     | 
    
         
             
                    @hosted_numbers = nil
         
     | 
| 
       25 
     | 
    
         
            -
                    @sync = nil
         
     | 
| 
       26 
25 
     | 
    
         
             
                    @marketplace = nil
         
     | 
| 
       27 
26 
     | 
    
         
             
                    @wireless = nil
         
     | 
| 
       28 
27 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -31,10 +30,6 @@ module Twilio 
     | 
|
| 
       31 
30 
     | 
    
         
             
                    @hosted_numbers ||= Preview::HostedNumbers.new self
         
     | 
| 
       32 
31 
     | 
    
         
             
                  end
         
     | 
| 
       33 
32 
     | 
    
         | 
| 
       34 
     | 
    
         
            -
                  def sync
         
     | 
| 
       35 
     | 
    
         
            -
                    @sync ||= Preview::Sync.new self
         
     | 
| 
       36 
     | 
    
         
            -
                  end
         
     | 
| 
       37 
     | 
    
         
            -
             
     | 
| 
       38 
33 
     | 
    
         
             
                  def marketplace
         
     | 
| 
       39 
34 
     | 
    
         
             
                    @marketplace ||= Preview::Marketplace.new self
         
     | 
| 
       40 
35 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -226,7 +226,7 @@ module Twilio 
     | 
|
| 
       226 
226 
     | 
    
         
             
                                # @param [String] recording_status_callback_method The HTTP method we should use when we call `recording_status_callback`. Can be: `GET` or `POST` and defaults to `POST`.
         
     | 
| 
       227 
227 
     | 
    
         
             
                                # @param [String] conference_recording_status_callback The URL we should call using the `conference_recording_status_callback_method` when the conference recording is available.
         
     | 
| 
       228 
228 
     | 
    
         
             
                                # @param [String] conference_recording_status_callback_method The HTTP method we should use to call `conference_recording_status_callback`. Can be: `GET` or `POST` and defaults to `POST`.
         
     | 
| 
       229 
     | 
    
         
            -
                                # @param [String] region The [region](https://support.twilio.com/hc/en-us/articles/223132167-How-global-low-latency-routing-and-region-selection-work-for-conferences-and-Client-calls) where we should mix the recorded audio. Can be:`us1`, `ie1`, `de1`, `sg1`, `br1`, `au1`, or `jp1`.
         
     | 
| 
      
 229 
     | 
    
         
            +
                                # @param [String] region The [region](https://support.twilio.com/hc/en-us/articles/223132167-How-global-low-latency-routing-and-region-selection-work-for-conferences-and-Client-calls) where we should mix the recorded audio. Can be:`us1`, `us2`, `ie1`, `de1`, `sg1`, `br1`, `au1`, or `jp1`.
         
     | 
| 
       230 
230 
     | 
    
         
             
                                # @param [String] sip_auth_username The SIP username used for authentication.
         
     | 
| 
       231 
231 
     | 
    
         
             
                                # @param [String] sip_auth_password The SIP password for authentication.
         
     | 
| 
       232 
232 
     | 
    
         
             
                                # @param [Array[String]] dequeue_status_callback_event The Call progress events sent via webhooks as a result of a Dequeue instruction.
         
     | 
| 
         @@ -577,7 +577,7 @@ module Twilio 
     | 
|
| 
       577 
577 
     | 
    
         
             
                                # @param [String] recording_status_callback_method The HTTP method we should use when we call `recording_status_callback`. Can be: `GET` or `POST` and defaults to `POST`.
         
     | 
| 
       578 
578 
     | 
    
         
             
                                # @param [String] conference_recording_status_callback The URL we should call using the `conference_recording_status_callback_method` when the conference recording is available.
         
     | 
| 
       579 
579 
     | 
    
         
             
                                # @param [String] conference_recording_status_callback_method The HTTP method we should use to call `conference_recording_status_callback`. Can be: `GET` or `POST` and defaults to `POST`.
         
     | 
| 
       580 
     | 
    
         
            -
                                # @param [String] region The [region](https://support.twilio.com/hc/en-us/articles/223132167-How-global-low-latency-routing-and-region-selection-work-for-conferences-and-Client-calls) where we should mix the recorded audio. Can be:`us1`, `ie1`, `de1`, `sg1`, `br1`, `au1`, or `jp1`.
         
     | 
| 
      
 580 
     | 
    
         
            +
                                # @param [String] region The [region](https://support.twilio.com/hc/en-us/articles/223132167-How-global-low-latency-routing-and-region-selection-work-for-conferences-and-Client-calls) where we should mix the recorded audio. Can be:`us1`, `us2`, `ie1`, `de1`, `sg1`, `br1`, `au1`, or `jp1`.
         
     | 
| 
       581 
581 
     | 
    
         
             
                                # @param [String] sip_auth_username The SIP username used for authentication.
         
     | 
| 
       582 
582 
     | 
    
         
             
                                # @param [String] sip_auth_password The SIP password for authentication.
         
     | 
| 
       583 
583 
     | 
    
         
             
                                # @param [Array[String]] dequeue_status_callback_event The Call progress events sent via webhooks as a result of a Dequeue instruction.
         
     | 
| 
         @@ -220,7 +220,7 @@ module Twilio 
     | 
|
| 
       220 
220 
     | 
    
         
             
                                # @param [String] recording_status_callback_method The HTTP method we should use when we call `recording_status_callback`. Can be: `GET` or `POST` and defaults to `POST`.
         
     | 
| 
       221 
221 
     | 
    
         
             
                                # @param [String] conference_recording_status_callback The URL we should call using the `conference_recording_status_callback_method` when the conference recording is available.
         
     | 
| 
       222 
222 
     | 
    
         
             
                                # @param [String] conference_recording_status_callback_method The HTTP method we should use to call `conference_recording_status_callback`. Can be: `GET` or `POST` and defaults to `POST`.
         
     | 
| 
       223 
     | 
    
         
            -
                                # @param [String] region The [region](https://support.twilio.com/hc/en-us/articles/223132167-How-global-low-latency-routing-and-region-selection-work-for-conferences-and-Client-calls) where we should mix the recorded audio. Can be:`us1`, `ie1`, `de1`, `sg1`, `br1`, `au1`, or `jp1`.
         
     | 
| 
      
 223 
     | 
    
         
            +
                                # @param [String] region The [region](https://support.twilio.com/hc/en-us/articles/223132167-How-global-low-latency-routing-and-region-selection-work-for-conferences-and-Client-calls) where we should mix the recorded audio. Can be:`us1`, `us2`, `ie1`, `de1`, `sg1`, `br1`, `au1`, or `jp1`.
         
     | 
| 
       224 
224 
     | 
    
         
             
                                # @param [String] sip_auth_username The SIP username used for authentication.
         
     | 
| 
       225 
225 
     | 
    
         
             
                                # @param [String] sip_auth_password The SIP password for authentication.
         
     | 
| 
       226 
226 
     | 
    
         
             
                                # @param [Array[String]] dequeue_status_callback_event The call progress events sent via webhooks as a result of a Dequeue instruction.
         
     | 
| 
         @@ -565,7 +565,7 @@ module Twilio 
     | 
|
| 
       565 
565 
     | 
    
         
             
                                # @param [String] recording_status_callback_method The HTTP method we should use when we call `recording_status_callback`. Can be: `GET` or `POST` and defaults to `POST`.
         
     | 
| 
       566 
566 
     | 
    
         
             
                                # @param [String] conference_recording_status_callback The URL we should call using the `conference_recording_status_callback_method` when the conference recording is available.
         
     | 
| 
       567 
567 
     | 
    
         
             
                                # @param [String] conference_recording_status_callback_method The HTTP method we should use to call `conference_recording_status_callback`. Can be: `GET` or `POST` and defaults to `POST`.
         
     | 
| 
       568 
     | 
    
         
            -
                                # @param [String] region The [region](https://support.twilio.com/hc/en-us/articles/223132167-How-global-low-latency-routing-and-region-selection-work-for-conferences-and-Client-calls) where we should mix the recorded audio. Can be:`us1`, `ie1`, `de1`, `sg1`, `br1`, `au1`, or `jp1`.
         
     | 
| 
      
 568 
     | 
    
         
            +
                                # @param [String] region The [region](https://support.twilio.com/hc/en-us/articles/223132167-How-global-low-latency-routing-and-region-selection-work-for-conferences-and-Client-calls) where we should mix the recorded audio. Can be:`us1`, `us2`, `ie1`, `de1`, `sg1`, `br1`, `au1`, or `jp1`.
         
     | 
| 
       569 
569 
     | 
    
         
             
                                # @param [String] sip_auth_username The SIP username used for authentication.
         
     | 
| 
       570 
570 
     | 
    
         
             
                                # @param [String] sip_auth_password The SIP password for authentication.
         
     | 
| 
       571 
571 
     | 
    
         
             
                                # @param [Array[String]] dequeue_status_callback_event The call progress events sent via webhooks as a result of a Dequeue instruction.
         
     | 
| 
         @@ -43,6 +43,7 @@ module Twilio 
     | 
|
| 
       43 
43 
     | 
    
         
             
                                # @param [Array[String]] international_roaming The list of services that SIMs capable of using GPRS/3G/4G/LTE data connectivity can use outside of the United States. Can contain: `data` and `messaging`.
         
     | 
| 
       44 
44 
     | 
    
         
             
                                # @param [String] national_roaming_data_limit The total data usage (download and upload combined) in Megabytes that the Network allows during one month on non-home networks in the United States. The metering period begins the day of activation and ends on the same day in the following month. Can be up to 2TB. See [national roaming](https://www.twilio.com/docs/iot/wireless/api/rateplan-resource#national-roaming) for more info.
         
     | 
| 
       45 
45 
     | 
    
         
             
                                # @param [String] international_roaming_data_limit The total data usage (download and upload combined) in Megabytes that the Network allows during one month when roaming outside the United States. Can be up to 2TB.
         
     | 
| 
      
 46 
     | 
    
         
            +
                                # @param [DataLimitStrategy] data_limit_strategy 
         
     | 
| 
       46 
47 
     | 
    
         
             
                                # @return [RatePlanInstance] Created RatePlanInstance
         
     | 
| 
       47 
48 
     | 
    
         
             
                                def create(
         
     | 
| 
       48 
49 
     | 
    
         
             
                                    unique_name: :unset, 
         
     | 
| 
         @@ -55,7 +56,8 @@ module Twilio 
     | 
|
| 
       55 
56 
     | 
    
         
             
                                    national_roaming_enabled: :unset, 
         
     | 
| 
       56 
57 
     | 
    
         
             
                                    international_roaming: :unset, 
         
     | 
| 
       57 
58 
     | 
    
         
             
                                    national_roaming_data_limit: :unset, 
         
     | 
| 
       58 
     | 
    
         
            -
                                    international_roaming_data_limit: :unset
         
     | 
| 
      
 59 
     | 
    
         
            +
                                    international_roaming_data_limit: :unset, 
         
     | 
| 
      
 60 
     | 
    
         
            +
                                    data_limit_strategy: :unset
         
     | 
| 
       59 
61 
     | 
    
         
             
                                )
         
     | 
| 
       60 
62 
     | 
    
         | 
| 
       61 
63 
     | 
    
         
             
                                    data = Twilio::Values.of({
         
     | 
| 
         @@ -70,6 +72,7 @@ module Twilio 
     | 
|
| 
       70 
72 
     | 
    
         
             
                                        'InternationalRoaming' => Twilio.serialize_list(international_roaming) { |e| e },
         
     | 
| 
       71 
73 
     | 
    
         
             
                                        'NationalRoamingDataLimit' => national_roaming_data_limit,
         
     | 
| 
       72 
74 
     | 
    
         
             
                                        'InternationalRoamingDataLimit' => international_roaming_data_limit,
         
     | 
| 
      
 75 
     | 
    
         
            +
                                        'DataLimitStrategy' => data_limit_strategy,
         
     | 
| 
       73 
76 
     | 
    
         
             
                                    })
         
     | 
| 
       74 
77 
     | 
    
         | 
| 
       75 
78 
     | 
    
         
             
                                    headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
         
     | 
    
        data/lib/twilio-ruby/version.rb
    CHANGED
    
    
    
        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.5. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 7.5.1
         
     | 
| 
       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-03- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2025-03-20 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: jwt
         
     | 
| 
         @@ -526,6 +526,7 @@ files: 
     | 
|
| 
       526 
526 
     | 
    
         
             
            - lib/twilio-ruby/rest/iam/v1/api_key.rb
         
     | 
| 
       527 
527 
     | 
    
         
             
            - lib/twilio-ruby/rest/iam/v1/get_api_keys.rb
         
     | 
| 
       528 
528 
     | 
    
         
             
            - lib/twilio-ruby/rest/iam/v1/new_api_key.rb
         
     | 
| 
      
 529 
     | 
    
         
            +
            - lib/twilio-ruby/rest/iam/v1/token.rb
         
     | 
| 
       529 
530 
     | 
    
         
             
            - lib/twilio-ruby/rest/iam_base.rb
         
     | 
| 
       530 
531 
     | 
    
         
             
            - lib/twilio-ruby/rest/insights.rb
         
     | 
| 
       531 
532 
     | 
    
         
             
            - lib/twilio-ruby/rest/insights/v1.rb
         
     | 
| 
         @@ -687,16 +688,6 @@ files: 
     | 
|
| 
       687 
688 
     | 
    
         
             
            - lib/twilio-ruby/rest/preview/marketplace/available_add_on/available_add_on_extension.rb
         
     | 
| 
       688 
689 
     | 
    
         
             
            - lib/twilio-ruby/rest/preview/marketplace/installed_add_on.rb
         
     | 
| 
       689 
690 
     | 
    
         
             
            - lib/twilio-ruby/rest/preview/marketplace/installed_add_on/installed_add_on_extension.rb
         
     | 
| 
       690 
     | 
    
         
            -
            - lib/twilio-ruby/rest/preview/sync.rb
         
     | 
| 
       691 
     | 
    
         
            -
            - lib/twilio-ruby/rest/preview/sync/service.rb
         
     | 
| 
       692 
     | 
    
         
            -
            - lib/twilio-ruby/rest/preview/sync/service/document.rb
         
     | 
| 
       693 
     | 
    
         
            -
            - lib/twilio-ruby/rest/preview/sync/service/document/document_permission.rb
         
     | 
| 
       694 
     | 
    
         
            -
            - lib/twilio-ruby/rest/preview/sync/service/sync_list.rb
         
     | 
| 
       695 
     | 
    
         
            -
            - lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_item.rb
         
     | 
| 
       696 
     | 
    
         
            -
            - lib/twilio-ruby/rest/preview/sync/service/sync_list/sync_list_permission.rb
         
     | 
| 
       697 
     | 
    
         
            -
            - lib/twilio-ruby/rest/preview/sync/service/sync_map.rb
         
     | 
| 
       698 
     | 
    
         
            -
            - lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_item.rb
         
     | 
| 
       699 
     | 
    
         
            -
            - lib/twilio-ruby/rest/preview/sync/service/sync_map/sync_map_permission.rb
         
     | 
| 
       700 
691 
     | 
    
         
             
            - lib/twilio-ruby/rest/preview/wireless.rb
         
     | 
| 
       701 
692 
     | 
    
         
             
            - lib/twilio-ruby/rest/preview/wireless/command.rb
         
     | 
| 
       702 
693 
     | 
    
         
             
            - lib/twilio-ruby/rest/preview/wireless/rate_plan.rb
         
     |