twilio-ruby 7.8.2 → 7.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/CHANGES.md +22 -0
 - data/README.md +2 -2
 - data/lib/twilio-ruby/http/client_token_manager.rb +5 -2
 - data/lib/twilio-ruby/http/org_token_manager.rb +5 -2
 - data/lib/twilio-ruby/rest/accounts/v1/messaging_geopermissions.rb +161 -0
 - data/lib/twilio-ruby/rest/accounts/v1.rb +6 -0
 - data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +1 -1
 - data/lib/twilio-ruby/rest/api/v2010/account/message.rb +6 -6
 - data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +3 -3
 - data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +13 -13
 - data/lib/twilio-ruby/rest/lookups/v2/query.rb +15 -209
 - data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +202 -3
 - data/lib/twilio-ruby/rest/numbers/v1/porting_all_port_in.rb +270 -0
 - data/lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb +14 -0
 - data/lib/twilio-ruby/rest/numbers/v1.rb +6 -0
 - data/lib/twilio-ruby/rest/verify/v2/service/new_factor.rb +1 -171
 - data/lib/twilio-ruby/rest/verify/v2/service/new_verify_factor.rb +267 -0
 - data/lib/twilio-ruby/rest/verify/v2/service.rb +12 -12
 - data/lib/twilio-ruby/version.rb +1 -1
 - metadata +5 -2
 
| 
         @@ -0,0 +1,267 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            ##
         
     | 
| 
      
 2 
     | 
    
         
            +
            #    This code was generated by
         
     | 
| 
      
 3 
     | 
    
         
            +
            #    ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
         
     | 
| 
      
 4 
     | 
    
         
            +
            #     |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
         
     | 
| 
      
 5 
     | 
    
         
            +
            #     |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
         
     | 
| 
      
 6 
     | 
    
         
            +
            #
         
     | 
| 
      
 7 
     | 
    
         
            +
            #    Twilio - Verify
         
     | 
| 
      
 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 Verify < VerifyBase
         
     | 
| 
      
 19 
     | 
    
         
            +
                        class V2 < Version
         
     | 
| 
      
 20 
     | 
    
         
            +
                            class ServiceContext < InstanceContext
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
                                 class NewVerifyFactorList < ListResource
         
     | 
| 
      
 23 
     | 
    
         
            +
                            
         
     | 
| 
      
 24 
     | 
    
         
            +
                                class VerifyPasskeysFactorRequest
         
     | 
| 
      
 25 
     | 
    
         
            +
                                        # @param [id]: [String] A [base64url](https://base64.guru/standards/base64url) encoded representation of `rawId`.
         
     | 
| 
      
 26 
     | 
    
         
            +
                                        # @param [raw_id]: [String] The globally unique identifier for this `PublicKeyCredential`.
         
     | 
| 
      
 27 
     | 
    
         
            +
                                        # @param [authenticator_attachment]: [String] A string that indicates the mechanism by which the WebAuthn implementation is attached to the authenticator at the time the associated  `navigator.credentials.create()` or `navigator.credentials.get()` call completes.
         
     | 
| 
      
 28 
     | 
    
         
            +
                                        # @param [type]: [String] The valid credential types supported by the API. The values of this enumeration are used for versioning the `AuthenticatorAssertion` and `AuthenticatorAttestation` structures according to the type of the authenticator.
         
     | 
| 
      
 29 
     | 
    
         
            +
                                        # @param [response]: [NewVerifyFactorList.VerifyPasskeysFactorRequestResponse] 
         
     | 
| 
      
 30 
     | 
    
         
            +
                                    attr_accessor :id, :raw_id, :authenticator_attachment, :type, :response
         
     | 
| 
      
 31 
     | 
    
         
            +
                                    def initialize(payload)
         
     | 
| 
      
 32 
     | 
    
         
            +
                                            @id = payload["id"]
         
     | 
| 
      
 33 
     | 
    
         
            +
                                            @raw_id = payload["raw_id"]
         
     | 
| 
      
 34 
     | 
    
         
            +
                                            @authenticator_attachment = payload["authenticator_attachment"]
         
     | 
| 
      
 35 
     | 
    
         
            +
                                            @type = payload["type"]
         
     | 
| 
      
 36 
     | 
    
         
            +
                                            @response = payload["response"]
         
     | 
| 
      
 37 
     | 
    
         
            +
                                    end
         
     | 
| 
      
 38 
     | 
    
         
            +
                                    def to_json(options = {})
         
     | 
| 
      
 39 
     | 
    
         
            +
                                    {
         
     | 
| 
      
 40 
     | 
    
         
            +
                                            "id": @id,
         
     | 
| 
      
 41 
     | 
    
         
            +
                                            "rawId": @raw_id,
         
     | 
| 
      
 42 
     | 
    
         
            +
                                            "authenticatorAttachment": @authenticator_attachment,
         
     | 
| 
      
 43 
     | 
    
         
            +
                                            "type": @type,
         
     | 
| 
      
 44 
     | 
    
         
            +
                                            "response": @response,
         
     | 
| 
      
 45 
     | 
    
         
            +
                                    }.to_json(options)
         
     | 
| 
      
 46 
     | 
    
         
            +
                                    end
         
     | 
| 
      
 47 
     | 
    
         
            +
                                end
         
     | 
| 
      
 48 
     | 
    
         
            +
             
     | 
| 
      
 49 
     | 
    
         
            +
                                class VerifyPasskeysFactorRequestResponse
         
     | 
| 
      
 50 
     | 
    
         
            +
                                        # @param [attestation_object]: [String] The authenticator data and an attestation statement for a new key pair generated by the authenticator.
         
     | 
| 
      
 51 
     | 
    
         
            +
                                        # @param [client_data_json]: [String] This property contains the JSON-compatible serialization of the data passed from the browser to the authenticator in order to generate this credential.
         
     | 
| 
      
 52 
     | 
    
         
            +
                                        # @param [transports]: [Array<String>] An array of strings providing hints as to the methods the client could use to communicate with the relevant authenticator of the public key credential to retrieve.
         
     | 
| 
      
 53 
     | 
    
         
            +
                                    attr_accessor :attestation_object, :client_data_json, :transports
         
     | 
| 
      
 54 
     | 
    
         
            +
                                    def initialize(payload)
         
     | 
| 
      
 55 
     | 
    
         
            +
                                            @attestation_object = payload["attestation_object"]
         
     | 
| 
      
 56 
     | 
    
         
            +
                                            @client_data_json = payload["client_data_json"]
         
     | 
| 
      
 57 
     | 
    
         
            +
                                            @transports = payload["transports"]
         
     | 
| 
      
 58 
     | 
    
         
            +
                                    end
         
     | 
| 
      
 59 
     | 
    
         
            +
                                    def to_json(options = {})
         
     | 
| 
      
 60 
     | 
    
         
            +
                                    {
         
     | 
| 
      
 61 
     | 
    
         
            +
                                            "attestationObject": @attestation_object,
         
     | 
| 
      
 62 
     | 
    
         
            +
                                            "clientDataJSON": @client_data_json,
         
     | 
| 
      
 63 
     | 
    
         
            +
                                            "transports": @transports,
         
     | 
| 
      
 64 
     | 
    
         
            +
                                    }.to_json(options)
         
     | 
| 
      
 65 
     | 
    
         
            +
                                    end
         
     | 
| 
      
 66 
     | 
    
         
            +
                                end
         
     | 
| 
      
 67 
     | 
    
         
            +
             
     | 
| 
      
 68 
     | 
    
         
            +
             
     | 
| 
      
 69 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 70 
     | 
    
         
            +
                                # Initialize the NewVerifyFactorList
         
     | 
| 
      
 71 
     | 
    
         
            +
                                # @param [Version] version Version that contains the resource
         
     | 
| 
      
 72 
     | 
    
         
            +
                                # @return [NewVerifyFactorList] NewVerifyFactorList
         
     | 
| 
      
 73 
     | 
    
         
            +
                                def initialize(version, service_sid: nil)
         
     | 
| 
      
 74 
     | 
    
         
            +
                                    super(version)
         
     | 
| 
      
 75 
     | 
    
         
            +
                                    # Path Solution
         
     | 
| 
      
 76 
     | 
    
         
            +
                                    @solution = { service_sid: service_sid }
         
     | 
| 
      
 77 
     | 
    
         
            +
                                    @uri = "/Services/#{@solution[:service_sid]}/Passkeys/VerifyFactor"
         
     | 
| 
      
 78 
     | 
    
         
            +
                                    
         
     | 
| 
      
 79 
     | 
    
         
            +
                                end
         
     | 
| 
      
 80 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 81 
     | 
    
         
            +
                                # Update the NewVerifyFactorInstance
         
     | 
| 
      
 82 
     | 
    
         
            +
                                # @param [VerifyPasskeysFactorRequest] verify_passkeys_factor_request 
         
     | 
| 
      
 83 
     | 
    
         
            +
                                # @return [NewVerifyFactorInstance] Updated NewVerifyFactorInstance
         
     | 
| 
      
 84 
     | 
    
         
            +
                                def update(verify_passkeys_factor_request: nil
         
     | 
| 
      
 85 
     | 
    
         
            +
                                )
         
     | 
| 
      
 86 
     | 
    
         
            +
             
     | 
| 
      
 87 
     | 
    
         
            +
                                    headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
         
     | 
| 
      
 88 
     | 
    
         
            +
                                    headers['Content-Type'] = 'application/json'
         
     | 
| 
      
 89 
     | 
    
         
            +
                                    
         
     | 
| 
      
 90 
     | 
    
         
            +
                                    
         
     | 
| 
      
 91 
     | 
    
         
            +
                                    
         
     | 
| 
      
 92 
     | 
    
         
            +
                                    
         
     | 
| 
      
 93 
     | 
    
         
            +
                                    payload = @version.update('POST', @uri, headers: headers, data: verify_passkeys_factor_request.to_json)
         
     | 
| 
      
 94 
     | 
    
         
            +
                                    NewVerifyFactorInstance.new(
         
     | 
| 
      
 95 
     | 
    
         
            +
                                        @version,
         
     | 
| 
      
 96 
     | 
    
         
            +
                                        payload,
         
     | 
| 
      
 97 
     | 
    
         
            +
                                        service_sid: @solution[:service_sid],
         
     | 
| 
      
 98 
     | 
    
         
            +
                                    )
         
     | 
| 
      
 99 
     | 
    
         
            +
                                end
         
     | 
| 
      
 100 
     | 
    
         
            +
             
     | 
| 
      
 101 
     | 
    
         
            +
                            
         
     | 
| 
      
 102 
     | 
    
         
            +
             
     | 
| 
      
 103 
     | 
    
         
            +
             
     | 
| 
      
 104 
     | 
    
         
            +
                                # Provide a user friendly representation
         
     | 
| 
      
 105 
     | 
    
         
            +
                                def to_s
         
     | 
| 
      
 106 
     | 
    
         
            +
                                    '#<Twilio.Verify.V2.NewVerifyFactorList>'
         
     | 
| 
      
 107 
     | 
    
         
            +
                                end
         
     | 
| 
      
 108 
     | 
    
         
            +
                            end
         
     | 
| 
      
 109 
     | 
    
         
            +
             
     | 
| 
      
 110 
     | 
    
         
            +
                            class NewVerifyFactorPage < Page
         
     | 
| 
      
 111 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 112 
     | 
    
         
            +
                                # Initialize the NewVerifyFactorPage
         
     | 
| 
      
 113 
     | 
    
         
            +
                                # @param [Version] version Version that contains the resource
         
     | 
| 
      
 114 
     | 
    
         
            +
                                # @param [Response] response Response from the API
         
     | 
| 
      
 115 
     | 
    
         
            +
                                # @param [Hash] solution Path solution for the resource
         
     | 
| 
      
 116 
     | 
    
         
            +
                                # @return [NewVerifyFactorPage] NewVerifyFactorPage
         
     | 
| 
      
 117 
     | 
    
         
            +
                                def initialize(version, response, solution)
         
     | 
| 
      
 118 
     | 
    
         
            +
                                    super(version, response)
         
     | 
| 
      
 119 
     | 
    
         
            +
             
     | 
| 
      
 120 
     | 
    
         
            +
                                    # Path Solution
         
     | 
| 
      
 121 
     | 
    
         
            +
                                    @solution = solution
         
     | 
| 
      
 122 
     | 
    
         
            +
                                end
         
     | 
| 
      
 123 
     | 
    
         
            +
             
     | 
| 
      
 124 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 125 
     | 
    
         
            +
                                # Build an instance of NewVerifyFactorInstance
         
     | 
| 
      
 126 
     | 
    
         
            +
                                # @param [Hash] payload Payload response from the API
         
     | 
| 
      
 127 
     | 
    
         
            +
                                # @return [NewVerifyFactorInstance] NewVerifyFactorInstance
         
     | 
| 
      
 128 
     | 
    
         
            +
                                def get_instance(payload)
         
     | 
| 
      
 129 
     | 
    
         
            +
                                    NewVerifyFactorInstance.new(@version, payload, service_sid: @solution[:service_sid])
         
     | 
| 
      
 130 
     | 
    
         
            +
                                end
         
     | 
| 
      
 131 
     | 
    
         
            +
             
     | 
| 
      
 132 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 133 
     | 
    
         
            +
                                # Provide a user friendly representation
         
     | 
| 
      
 134 
     | 
    
         
            +
                                def to_s
         
     | 
| 
      
 135 
     | 
    
         
            +
                                    '<Twilio.Verify.V2.NewVerifyFactorPage>'
         
     | 
| 
      
 136 
     | 
    
         
            +
                                end
         
     | 
| 
      
 137 
     | 
    
         
            +
                            end
         
     | 
| 
      
 138 
     | 
    
         
            +
                            class NewVerifyFactorInstance < InstanceResource
         
     | 
| 
      
 139 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 140 
     | 
    
         
            +
                                # Initialize the NewVerifyFactorInstance
         
     | 
| 
      
 141 
     | 
    
         
            +
                                # @param [Version] version Version that contains the resource
         
     | 
| 
      
 142 
     | 
    
         
            +
                                # @param [Hash] payload payload that contains response from Twilio
         
     | 
| 
      
 143 
     | 
    
         
            +
                                # @param [String] account_sid The SID of the
         
     | 
| 
      
 144 
     | 
    
         
            +
                                #   {Account}[https://www.twilio.com/docs/iam/api/account] that created this NewVerifyFactor
         
     | 
| 
      
 145 
     | 
    
         
            +
                                #   resource.
         
     | 
| 
      
 146 
     | 
    
         
            +
                                # @param [String] sid The SID of the Call resource to fetch.
         
     | 
| 
      
 147 
     | 
    
         
            +
                                # @return [NewVerifyFactorInstance] NewVerifyFactorInstance
         
     | 
| 
      
 148 
     | 
    
         
            +
                                def initialize(version, payload , service_sid: nil)
         
     | 
| 
      
 149 
     | 
    
         
            +
                                    super(version)
         
     | 
| 
      
 150 
     | 
    
         
            +
                                    
         
     | 
| 
      
 151 
     | 
    
         
            +
                                    # Marshaled Properties
         
     | 
| 
      
 152 
     | 
    
         
            +
                                    @properties = { 
         
     | 
| 
      
 153 
     | 
    
         
            +
                                        'sid' => payload['sid'],
         
     | 
| 
      
 154 
     | 
    
         
            +
                                        'account_sid' => payload['account_sid'],
         
     | 
| 
      
 155 
     | 
    
         
            +
                                        'service_sid' => payload['service_sid'],
         
     | 
| 
      
 156 
     | 
    
         
            +
                                        'entity_sid' => payload['entity_sid'],
         
     | 
| 
      
 157 
     | 
    
         
            +
                                        'identity' => payload['identity'],
         
     | 
| 
      
 158 
     | 
    
         
            +
                                        'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
         
     | 
| 
      
 159 
     | 
    
         
            +
                                        'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
         
     | 
| 
      
 160 
     | 
    
         
            +
                                        'friendly_name' => payload['friendly_name'],
         
     | 
| 
      
 161 
     | 
    
         
            +
                                        'status' => payload['status'],
         
     | 
| 
      
 162 
     | 
    
         
            +
                                        'factor_type' => payload['factor_type'],
         
     | 
| 
      
 163 
     | 
    
         
            +
                                        'config' => payload['config'],
         
     | 
| 
      
 164 
     | 
    
         
            +
                                        'metadata' => payload['metadata'],
         
     | 
| 
      
 165 
     | 
    
         
            +
                                        'url' => payload['url'],
         
     | 
| 
      
 166 
     | 
    
         
            +
                                    }
         
     | 
| 
      
 167 
     | 
    
         
            +
                                end
         
     | 
| 
      
 168 
     | 
    
         
            +
             
     | 
| 
      
 169 
     | 
    
         
            +
                                
         
     | 
| 
      
 170 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 171 
     | 
    
         
            +
                                # @return [String] A 34 character string that uniquely identifies this Factor.
         
     | 
| 
      
 172 
     | 
    
         
            +
                                def sid
         
     | 
| 
      
 173 
     | 
    
         
            +
                                    @properties['sid']
         
     | 
| 
      
 174 
     | 
    
         
            +
                                end
         
     | 
| 
      
 175 
     | 
    
         
            +
                                
         
     | 
| 
      
 176 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 177 
     | 
    
         
            +
                                # @return [String] The unique SID identifier of the Account.
         
     | 
| 
      
 178 
     | 
    
         
            +
                                def account_sid
         
     | 
| 
      
 179 
     | 
    
         
            +
                                    @properties['account_sid']
         
     | 
| 
      
 180 
     | 
    
         
            +
                                end
         
     | 
| 
      
 181 
     | 
    
         
            +
                                
         
     | 
| 
      
 182 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 183 
     | 
    
         
            +
                                # @return [String] The unique SID identifier of the Service.
         
     | 
| 
      
 184 
     | 
    
         
            +
                                def service_sid
         
     | 
| 
      
 185 
     | 
    
         
            +
                                    @properties['service_sid']
         
     | 
| 
      
 186 
     | 
    
         
            +
                                end
         
     | 
| 
      
 187 
     | 
    
         
            +
                                
         
     | 
| 
      
 188 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 189 
     | 
    
         
            +
                                # @return [String] The unique SID identifier of the Entity.
         
     | 
| 
      
 190 
     | 
    
         
            +
                                def entity_sid
         
     | 
| 
      
 191 
     | 
    
         
            +
                                    @properties['entity_sid']
         
     | 
| 
      
 192 
     | 
    
         
            +
                                end
         
     | 
| 
      
 193 
     | 
    
         
            +
                                
         
     | 
| 
      
 194 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 195 
     | 
    
         
            +
                                # @return [String] Customer unique identity for the Entity owner of the Factor.
         
     | 
| 
      
 196 
     | 
    
         
            +
                                def identity
         
     | 
| 
      
 197 
     | 
    
         
            +
                                    @properties['identity']
         
     | 
| 
      
 198 
     | 
    
         
            +
                                end
         
     | 
| 
      
 199 
     | 
    
         
            +
                                
         
     | 
| 
      
 200 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 201 
     | 
    
         
            +
                                # @return [Time] The date that this Factor was created, given in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
         
     | 
| 
      
 202 
     | 
    
         
            +
                                def date_created
         
     | 
| 
      
 203 
     | 
    
         
            +
                                    @properties['date_created']
         
     | 
| 
      
 204 
     | 
    
         
            +
                                end
         
     | 
| 
      
 205 
     | 
    
         
            +
                                
         
     | 
| 
      
 206 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 207 
     | 
    
         
            +
                                # @return [Time] The date that this Factor was updated, given in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
         
     | 
| 
      
 208 
     | 
    
         
            +
                                def date_updated
         
     | 
| 
      
 209 
     | 
    
         
            +
                                    @properties['date_updated']
         
     | 
| 
      
 210 
     | 
    
         
            +
                                end
         
     | 
| 
      
 211 
     | 
    
         
            +
                                
         
     | 
| 
      
 212 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 213 
     | 
    
         
            +
                                # @return [String] A human readable description of this resource, up to 64 characters.
         
     | 
| 
      
 214 
     | 
    
         
            +
                                def friendly_name
         
     | 
| 
      
 215 
     | 
    
         
            +
                                    @properties['friendly_name']
         
     | 
| 
      
 216 
     | 
    
         
            +
                                end
         
     | 
| 
      
 217 
     | 
    
         
            +
                                
         
     | 
| 
      
 218 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 219 
     | 
    
         
            +
                                # @return [String] The Status of this Factor. One of `unverified` or `verified`.
         
     | 
| 
      
 220 
     | 
    
         
            +
                                def status
         
     | 
| 
      
 221 
     | 
    
         
            +
                                    @properties['status']
         
     | 
| 
      
 222 
     | 
    
         
            +
                                end
         
     | 
| 
      
 223 
     | 
    
         
            +
                                
         
     | 
| 
      
 224 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 225 
     | 
    
         
            +
                                # @return [String] The Type of this Factor. Currently `push` and `totp` are supported.
         
     | 
| 
      
 226 
     | 
    
         
            +
                                def factor_type
         
     | 
| 
      
 227 
     | 
    
         
            +
                                    @properties['factor_type']
         
     | 
| 
      
 228 
     | 
    
         
            +
                                end
         
     | 
| 
      
 229 
     | 
    
         
            +
                                
         
     | 
| 
      
 230 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 231 
     | 
    
         
            +
                                # @return [Hash] An object that contains configurations specific to a `factor_type`.
         
     | 
| 
      
 232 
     | 
    
         
            +
                                def config
         
     | 
| 
      
 233 
     | 
    
         
            +
                                    @properties['config']
         
     | 
| 
      
 234 
     | 
    
         
            +
                                end
         
     | 
| 
      
 235 
     | 
    
         
            +
                                
         
     | 
| 
      
 236 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 237 
     | 
    
         
            +
                                # @return [Hash] Custom metadata associated with the factor.
         
     | 
| 
      
 238 
     | 
    
         
            +
                                def metadata
         
     | 
| 
      
 239 
     | 
    
         
            +
                                    @properties['metadata']
         
     | 
| 
      
 240 
     | 
    
         
            +
                                end
         
     | 
| 
      
 241 
     | 
    
         
            +
                                
         
     | 
| 
      
 242 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 243 
     | 
    
         
            +
                                # @return [String] The URL of this resource.
         
     | 
| 
      
 244 
     | 
    
         
            +
                                def url
         
     | 
| 
      
 245 
     | 
    
         
            +
                                    @properties['url']
         
     | 
| 
      
 246 
     | 
    
         
            +
                                end
         
     | 
| 
      
 247 
     | 
    
         
            +
                                
         
     | 
| 
      
 248 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 249 
     | 
    
         
            +
                                # Provide a user friendly representation
         
     | 
| 
      
 250 
     | 
    
         
            +
                                def to_s
         
     | 
| 
      
 251 
     | 
    
         
            +
                                    "<Twilio.Verify.V2.NewVerifyFactorInstance>"
         
     | 
| 
      
 252 
     | 
    
         
            +
                                end
         
     | 
| 
      
 253 
     | 
    
         
            +
             
     | 
| 
      
 254 
     | 
    
         
            +
                                ##
         
     | 
| 
      
 255 
     | 
    
         
            +
                                # Provide a detailed, user friendly representation
         
     | 
| 
      
 256 
     | 
    
         
            +
                                def inspect
         
     | 
| 
      
 257 
     | 
    
         
            +
                                    "<Twilio.Verify.V2.NewVerifyFactorInstance>"
         
     | 
| 
      
 258 
     | 
    
         
            +
                                end
         
     | 
| 
      
 259 
     | 
    
         
            +
                            end
         
     | 
| 
      
 260 
     | 
    
         
            +
             
     | 
| 
      
 261 
     | 
    
         
            +
                         end
         
     | 
| 
      
 262 
     | 
    
         
            +
                        end
         
     | 
| 
      
 263 
     | 
    
         
            +
                    end
         
     | 
| 
      
 264 
     | 
    
         
            +
                end
         
     | 
| 
      
 265 
     | 
    
         
            +
            end
         
     | 
| 
      
 266 
     | 
    
         
            +
             
     | 
| 
      
 267 
     | 
    
         
            +
             
     | 
| 
         @@ -242,7 +242,7 @@ module Twilio 
     | 
|
| 
       242 
242 
     | 
    
         | 
| 
       243 
243 
     | 
    
         
             
                                    # Dependents
         
     | 
| 
       244 
244 
     | 
    
         
             
                                    @verification_checks = nil
         
     | 
| 
       245 
     | 
    
         
            -
                                    @ 
     | 
| 
      
 245 
     | 
    
         
            +
                                    @new_verify_factors = nil
         
     | 
| 
       246 
246 
     | 
    
         
             
                                    @new_factors = nil
         
     | 
| 
       247 
247 
     | 
    
         
             
                                    @approve_challenge = nil
         
     | 
| 
       248 
248 
     | 
    
         
             
                                    @verifications = nil
         
     | 
| 
         @@ -397,15 +397,15 @@ module Twilio 
     | 
|
| 
       397 
397 
     | 
    
         
             
                                  @verification_checks
         
     | 
| 
       398 
398 
     | 
    
         
             
                                end
         
     | 
| 
       399 
399 
     | 
    
         
             
                                ##
         
     | 
| 
       400 
     | 
    
         
            -
                                # Access the  
     | 
| 
       401 
     | 
    
         
            -
                                # @return [ 
     | 
| 
       402 
     | 
    
         
            -
                                # @return [ 
     | 
| 
       403 
     | 
    
         
            -
                                def  
     | 
| 
       404 
     | 
    
         
            -
                                  unless @ 
     | 
| 
       405 
     | 
    
         
            -
                                    @ 
     | 
| 
      
 400 
     | 
    
         
            +
                                # Access the new_verify_factors
         
     | 
| 
      
 401 
     | 
    
         
            +
                                # @return [NewVerifyFactorList]
         
     | 
| 
      
 402 
     | 
    
         
            +
                                # @return [NewVerifyFactorContext]
         
     | 
| 
      
 403 
     | 
    
         
            +
                                def new_verify_factors
         
     | 
| 
      
 404 
     | 
    
         
            +
                                  unless @new_verify_factors
         
     | 
| 
      
 405 
     | 
    
         
            +
                                    @new_verify_factors = NewVerifyFactorList.new(
         
     | 
| 
       406 
406 
     | 
    
         
             
                                            @version, )
         
     | 
| 
       407 
407 
     | 
    
         
             
                                  end
         
     | 
| 
       408 
     | 
    
         
            -
                                  @ 
     | 
| 
      
 408 
     | 
    
         
            +
                                  @new_verify_factors
         
     | 
| 
       409 
409 
     | 
    
         
             
                                end
         
     | 
| 
       410 
410 
     | 
    
         
             
                                ##
         
     | 
| 
       411 
411 
     | 
    
         
             
                                # Access the new_factors
         
     | 
| 
         @@ -889,10 +889,10 @@ module Twilio 
     | 
|
| 
       889 
889 
     | 
    
         
             
                                end
         
     | 
| 
       890 
890 
     | 
    
         | 
| 
       891 
891 
     | 
    
         
             
                                ##
         
     | 
| 
       892 
     | 
    
         
            -
                                # Access the  
     | 
| 
       893 
     | 
    
         
            -
                                # @return [ 
     | 
| 
       894 
     | 
    
         
            -
                                def  
     | 
| 
       895 
     | 
    
         
            -
                                    context. 
     | 
| 
      
 892 
     | 
    
         
            +
                                # Access the new_verify_factors
         
     | 
| 
      
 893 
     | 
    
         
            +
                                # @return [new_verify_factors] new_verify_factors
         
     | 
| 
      
 894 
     | 
    
         
            +
                                def new_verify_factors
         
     | 
| 
      
 895 
     | 
    
         
            +
                                    context.new_verify_factors
         
     | 
| 
       896 
896 
     | 
    
         
             
                                end
         
     | 
| 
       897 
897 
     | 
    
         | 
| 
       898 
898 
     | 
    
         
             
                                ##
         
     | 
    
        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.8. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 7.8.4
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Twilio API Team
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire:
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2025- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2025-10-14 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: jwt
         
     | 
| 
         @@ -264,6 +264,7 @@ files: 
     | 
|
| 
       264 
264 
     | 
    
         
             
            - lib/twilio-ruby/rest/accounts/v1/credential.rb
         
     | 
| 
       265 
265 
     | 
    
         
             
            - lib/twilio-ruby/rest/accounts/v1/credential/aws.rb
         
     | 
| 
       266 
266 
     | 
    
         
             
            - lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb
         
     | 
| 
      
 267 
     | 
    
         
            +
            - lib/twilio-ruby/rest/accounts/v1/messaging_geopermissions.rb
         
     | 
| 
       267 
268 
     | 
    
         
             
            - lib/twilio-ruby/rest/accounts/v1/safelist.rb
         
     | 
| 
       268 
269 
     | 
    
         
             
            - lib/twilio-ruby/rest/accounts/v1/secondary_auth_token.rb
         
     | 
| 
       269 
270 
     | 
    
         
             
            - lib/twilio-ruby/rest/accounts_base.rb
         
     | 
| 
         @@ -625,6 +626,7 @@ files: 
     | 
|
| 
       625 
626 
     | 
    
         
             
            - lib/twilio-ruby/rest/numbers/v1.rb
         
     | 
| 
       626 
627 
     | 
    
         
             
            - lib/twilio-ruby/rest/numbers/v1/bulk_eligibility.rb
         
     | 
| 
       627 
628 
     | 
    
         
             
            - lib/twilio-ruby/rest/numbers/v1/eligibility.rb
         
     | 
| 
      
 629 
     | 
    
         
            +
            - lib/twilio-ruby/rest/numbers/v1/porting_all_port_in.rb
         
     | 
| 
       628 
630 
     | 
    
         
             
            - lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb
         
     | 
| 
       629 
631 
     | 
    
         
             
            - lib/twilio-ruby/rest/numbers/v1/porting_port_in_phone_number.rb
         
     | 
| 
       630 
632 
     | 
    
         
             
            - lib/twilio-ruby/rest/numbers/v1/porting_portability.rb
         
     | 
| 
         @@ -853,6 +855,7 @@ files: 
     | 
|
| 
       853 
855 
     | 
    
         
             
            - lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb
         
     | 
| 
       854 
856 
     | 
    
         
             
            - lib/twilio-ruby/rest/verify/v2/service/new_challenge.rb
         
     | 
| 
       855 
857 
     | 
    
         
             
            - lib/twilio-ruby/rest/verify/v2/service/new_factor.rb
         
     | 
| 
      
 858 
     | 
    
         
            +
            - lib/twilio-ruby/rest/verify/v2/service/new_verify_factor.rb
         
     | 
| 
       856 
859 
     | 
    
         
             
            - lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb
         
     | 
| 
       857 
860 
     | 
    
         
             
            - lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb
         
     | 
| 
       858 
861 
     | 
    
         
             
            - lib/twilio-ruby/rest/verify/v2/service/verification.rb
         
     |