vpndetection 5.6.3 → 5.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/vpndetection/api/account_wire_api.rb +1 -1
- data/lib/vpndetection/api/api_keys_wire_api.rb +1 -1
- data/lib/vpndetection/api/authorization_wire_api.rb +71 -3
- data/lib/vpndetection/api/database_wire_api.rb +3 -3
- data/lib/vpndetection/api/entitlement_wire_api.rb +1 -1
- data/lib/vpndetection/api/lookup_wire_api.rb +1 -1
- data/lib/vpndetection/api/organization_wire_api.rb +3 -3
- data/lib/vpndetection/api_client.rb +1 -1
- data/lib/vpndetection/api_error.rb +1 -1
- data/lib/vpndetection/api_model_base.rb +1 -1
- data/lib/vpndetection/configuration.rb +1 -1
- data/lib/vpndetection/models/account_create_apikey_request.rb +2 -2
- data/lib/vpndetection/models/account_created_apikey.rb +1 -1
- data/lib/vpndetection/models/account_org.rb +1 -1
- data/lib/vpndetection/models/account_org_ref.rb +1 -1
- data/lib/vpndetection/models/account_org_wrap.rb +1 -1
- data/lib/vpndetection/models/account_rc.rb +1 -1
- data/lib/vpndetection/models/account_revealed_apikey.rb +1 -1
- data/lib/vpndetection/models/account_user.rb +1 -1
- data/lib/vpndetection/models/apikey_detail.rb +2 -2
- data/lib/vpndetection/models/apikey_list.rb +1 -1
- data/lib/vpndetection/models/batch_lookup_error.rb +1 -1
- data/lib/vpndetection/models/batch_lookup_request.rb +1 -1
- data/lib/vpndetection/models/batch_lookup_response.rb +1 -1
- data/lib/vpndetection/models/class_detail.rb +1 -1
- data/lib/vpndetection/models/client_registration.rb +306 -0
- data/lib/vpndetection/models/client_registration_request.rb +211 -0
- data/lib/vpndetection/models/database.rb +1 -1
- data/lib/vpndetection/models/database_checksums_response.rb +1 -1
- data/lib/vpndetection/models/database_format.rb +1 -1
- data/lib/vpndetection/models/database_format_size.rb +2 -2
- data/lib/vpndetection/models/database_list.rb +1 -1
- data/lib/vpndetection/models/database_metadata.rb +1 -1
- data/lib/vpndetection/models/database_metadata_column.rb +1 -1
- data/lib/vpndetection/models/database_version.rb +1 -1
- data/lib/vpndetection/models/db_checksums.rb +1 -1
- data/lib/vpndetection/models/device_authorization.rb +1 -1
- data/lib/vpndetection/models/download.rb +1 -1
- data/lib/vpndetection/models/download_list.rb +1 -1
- data/lib/vpndetection/models/entitlement.rb +1 -1
- data/lib/vpndetection/models/entitlement_apikey.rb +1 -1
- data/lib/vpndetection/models/entitlement_error.rb +1 -1
- data/lib/vpndetection/models/entitlement_plan.rb +1 -1
- data/lib/vpndetection/models/entitlement_usage.rb +1 -1
- data/lib/vpndetection/models/error_envelope.rb +1 -1
- data/lib/vpndetection/models/identity.rb +1 -1
- data/lib/vpndetection/models/lookup_error.rb +1 -1
- data/lib/vpndetection/models/lookup_response.rb +1 -1
- data/lib/vpndetection/models/oauth_error.rb +1 -1
- data/lib/vpndetection/models/oauth_metadata.rb +12 -2
- data/lib/vpndetection/models/proxy_detail.rb +1 -1
- data/lib/vpndetection/models/standing.rb +1 -1
- data/lib/vpndetection/models/token_response.rb +2 -2
- data/lib/vpndetection/models/vpn_detail.rb +2 -2
- data/lib/vpndetection/result.rb +3 -3
- data/lib/vpndetection/version.rb +1 -1
- metadata +3 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.10.
|
|
6
|
+
The version of the OpenAPI document: 2026.10.16
|
|
7
7
|
Contact: support@vpndetection.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.10.
|
|
6
|
+
The version of the OpenAPI document: 2026.10.16
|
|
7
7
|
Contact: support@vpndetection.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.10.
|
|
6
|
+
The version of the OpenAPI document: 2026.10.16
|
|
7
7
|
Contact: support@vpndetection.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.10.
|
|
6
|
+
The version of the OpenAPI document: 2026.10.16
|
|
7
7
|
Contact: support@vpndetection.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.10.
|
|
6
|
+
The version of the OpenAPI document: 2026.10.16
|
|
7
7
|
Contact: support@vpndetection.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.10.
|
|
6
|
+
The version of the OpenAPI document: 2026.10.16
|
|
7
7
|
Contact: support@vpndetection.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.10.
|
|
6
|
+
The version of the OpenAPI document: 2026.10.16
|
|
7
7
|
Contact: support@vpndetection.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.10.
|
|
6
|
+
The version of the OpenAPI document: 2026.10.16
|
|
7
7
|
Contact: support@vpndetection.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -36,6 +36,9 @@ module VPNDetection
|
|
|
36
36
|
# Any client may sign in with an https `client_id` serving its own metadata.
|
|
37
37
|
attr_accessor :client_id_metadata_document_supported
|
|
38
38
|
|
|
39
|
+
# RFC 7591 dynamic client registration, for a client that cannot serve its own metadata.
|
|
40
|
+
attr_accessor :registration_endpoint
|
|
41
|
+
|
|
39
42
|
# Always `none`. Every client is public and has no secret.
|
|
40
43
|
attr_accessor :token_endpoint_auth_methods_supported
|
|
41
44
|
|
|
@@ -57,6 +60,7 @@ module VPNDetection
|
|
|
57
60
|
:'grant_types_supported' => :'grant_types_supported',
|
|
58
61
|
:'code_challenge_methods_supported' => :'code_challenge_methods_supported',
|
|
59
62
|
:'client_id_metadata_document_supported' => :'client_id_metadata_document_supported',
|
|
63
|
+
:'registration_endpoint' => :'registration_endpoint',
|
|
60
64
|
:'token_endpoint_auth_methods_supported' => :'token_endpoint_auth_methods_supported',
|
|
61
65
|
:'authorization_response_iss_parameter_supported' => :'authorization_response_iss_parameter_supported',
|
|
62
66
|
:'service_documentation' => :'service_documentation'
|
|
@@ -86,6 +90,7 @@ module VPNDetection
|
|
|
86
90
|
:'grant_types_supported' => :'Array<String>',
|
|
87
91
|
:'code_challenge_methods_supported' => :'Array<String>',
|
|
88
92
|
:'client_id_metadata_document_supported' => :'Boolean',
|
|
93
|
+
:'registration_endpoint' => :'String',
|
|
89
94
|
:'token_endpoint_auth_methods_supported' => :'Array<String>',
|
|
90
95
|
:'authorization_response_iss_parameter_supported' => :'Boolean',
|
|
91
96
|
:'service_documentation' => :'String'
|
|
@@ -168,6 +173,10 @@ module VPNDetection
|
|
|
168
173
|
self.client_id_metadata_document_supported = attributes[:'client_id_metadata_document_supported']
|
|
169
174
|
end
|
|
170
175
|
|
|
176
|
+
if attributes.key?(:'registration_endpoint')
|
|
177
|
+
self.registration_endpoint = attributes[:'registration_endpoint']
|
|
178
|
+
end
|
|
179
|
+
|
|
171
180
|
if attributes.key?(:'token_endpoint_auth_methods_supported')
|
|
172
181
|
if (value = attributes[:'token_endpoint_auth_methods_supported']).is_a?(Array)
|
|
173
182
|
self.token_endpoint_auth_methods_supported = value
|
|
@@ -258,6 +267,7 @@ module VPNDetection
|
|
|
258
267
|
grant_types_supported == o.grant_types_supported &&
|
|
259
268
|
code_challenge_methods_supported == o.code_challenge_methods_supported &&
|
|
260
269
|
client_id_metadata_document_supported == o.client_id_metadata_document_supported &&
|
|
270
|
+
registration_endpoint == o.registration_endpoint &&
|
|
261
271
|
token_endpoint_auth_methods_supported == o.token_endpoint_auth_methods_supported &&
|
|
262
272
|
authorization_response_iss_parameter_supported == o.authorization_response_iss_parameter_supported &&
|
|
263
273
|
service_documentation == o.service_documentation
|
|
@@ -272,7 +282,7 @@ module VPNDetection
|
|
|
272
282
|
# Calculates hash code according to all attributes.
|
|
273
283
|
# @return [Integer] Hash code
|
|
274
284
|
def hash
|
|
275
|
-
[issuer, authorization_endpoint, token_endpoint, device_authorization_endpoint, revocation_endpoint, scopes_supported, response_types_supported, grant_types_supported, code_challenge_methods_supported, client_id_metadata_document_supported, token_endpoint_auth_methods_supported, authorization_response_iss_parameter_supported, service_documentation].hash
|
|
285
|
+
[issuer, authorization_endpoint, token_endpoint, device_authorization_endpoint, revocation_endpoint, scopes_supported, response_types_supported, grant_types_supported, code_challenge_methods_supported, client_id_metadata_document_supported, registration_endpoint, token_endpoint_auth_methods_supported, authorization_response_iss_parameter_supported, service_documentation].hash
|
|
276
286
|
end
|
|
277
287
|
|
|
278
288
|
# Builds the object from hash
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.10.
|
|
6
|
+
The version of the OpenAPI document: 2026.10.16
|
|
7
7
|
Contact: support@vpndetection.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.10.
|
|
6
|
+
The version of the OpenAPI document: 2026.10.16
|
|
7
7
|
Contact: support@vpndetection.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.10.
|
|
6
|
+
The version of the OpenAPI document: 2026.10.16
|
|
7
7
|
Contact: support@vpndetection.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -32,7 +32,7 @@ module VPNDetection
|
|
|
32
32
|
# Not part of OAuth, and only for our own clients. The ID of the API key the person picked when they approved, returned by every grant while this authorization may still read that key back. Absent when no key was picked, or when the person's role no longer allows reading keys back.
|
|
33
33
|
attr_accessor :apikey_id
|
|
34
34
|
|
|
35
|
-
# Not part of OAuth, and only for our own clients: a client that signed in with a Client ID Metadata Document never receives a key. The API key itself, so a device ends up holding an ordinary key. Returned by the device code and authorization code grants only, never by a refresh, and only alongside `mslm:apikey_id`. Absent when that key's secret cannot be read back, which is the case for a key created before keys could be shown again in the console; a rotated key can be.
|
|
35
|
+
# Not part of OAuth, and only for our own clients: a client that signed in with a Client ID Metadata Document or registered itself never receives a key. The API key itself, so a device ends up holding an ordinary key. Returned by the device code and authorization code grants only, never by a refresh, and only alongside `mslm:apikey_id`. Absent when that key's secret cannot be read back, which is the case for a key created before keys could be shown again in the console; a rotated key can be.
|
|
36
36
|
attr_accessor :apikey
|
|
37
37
|
|
|
38
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 2026.10.
|
|
6
|
+
The version of the OpenAPI document: 2026.10.16
|
|
7
7
|
Contact: support@vpndetection.io
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -25,7 +25,7 @@ module VPNDetection
|
|
|
25
25
|
# How strongly the attribution is supported. Max only.
|
|
26
26
|
attr_accessor :confidence
|
|
27
27
|
|
|
28
|
-
# The class of evidence the attribution rests on, one of four values. Max only. `scan` - we spoke the VPN protocol to the address ourselves and got a valid server response. `scrape` - the operator published the address through its own API, client or configuration. `registry` - public registration or naming records attribute it to the operator. `infer` - the address was extrapolated from confirmed
|
|
28
|
+
# The class of evidence the attribution rests on, one of four values. Max only. `scan` - we spoke the VPN protocol to the address ourselves and got a valid server response. `scrape` - the operator published the address through its own API, client or configuration. `registry` - public registration or naming records attribute it to the operator. `infer` - the address was extrapolated from confirmed neighbors in the same block.
|
|
29
29
|
attr_accessor :method
|
|
30
30
|
|
|
31
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
data/lib/vpndetection/result.rb
CHANGED
|
@@ -109,7 +109,7 @@ module VPNDetection
|
|
|
109
109
|
end
|
|
110
110
|
|
|
111
111
|
# Whether the address was seen in a residential proxy pool, or nil when your
|
|
112
|
-
# plan does not include it.
|
|
112
|
+
# plan does not include it. Scale and above.
|
|
113
113
|
def is_resproxy
|
|
114
114
|
@raw['is_resproxy']
|
|
115
115
|
end
|
|
@@ -120,7 +120,7 @@ module VPNDetection
|
|
|
120
120
|
end
|
|
121
121
|
|
|
122
122
|
# Whether the address was seen in a datacenter proxy pool, or nil when your
|
|
123
|
-
# plan does not include it.
|
|
123
|
+
# plan does not include it. Scale and above.
|
|
124
124
|
def is_dcproxy
|
|
125
125
|
@raw['is_dcproxy']
|
|
126
126
|
end
|
|
@@ -131,7 +131,7 @@ module VPNDetection
|
|
|
131
131
|
end
|
|
132
132
|
|
|
133
133
|
# Whether the address was seen in a mobile proxy pool, or nil when your plan
|
|
134
|
-
# does not include it.
|
|
134
|
+
# does not include it. Scale and above.
|
|
135
135
|
def is_mobproxy
|
|
136
136
|
@raw['is_mobproxy']
|
|
137
137
|
end
|
data/lib/vpndetection/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vpndetection
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.
|
|
4
|
+
version: 5.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mslm Dev
|
|
@@ -82,6 +82,8 @@ files:
|
|
|
82
82
|
- lib/vpndetection/models/batch_lookup_request.rb
|
|
83
83
|
- lib/vpndetection/models/batch_lookup_response.rb
|
|
84
84
|
- lib/vpndetection/models/class_detail.rb
|
|
85
|
+
- lib/vpndetection/models/client_registration.rb
|
|
86
|
+
- lib/vpndetection/models/client_registration_request.rb
|
|
85
87
|
- lib/vpndetection/models/database.rb
|
|
86
88
|
- lib/vpndetection/models/database_checksums_response.rb
|
|
87
89
|
- lib/vpndetection/models/database_format.rb
|