vpndetection 5.8.0 → 5.9.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.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/lib/vpndetection/api/account_wire_api.rb +1 -1
  3. data/lib/vpndetection/api/api_keys_wire_api.rb +1 -1
  4. data/lib/vpndetection/api/authorization_wire_api.rb +1 -1
  5. data/lib/vpndetection/api/database_wire_api.rb +1 -1
  6. data/lib/vpndetection/api/entitlement_wire_api.rb +1 -1
  7. data/lib/vpndetection/api/lookup_wire_api.rb +1 -1
  8. data/lib/vpndetection/api/organization_wire_api.rb +1 -1
  9. data/lib/vpndetection/api_client.rb +1 -1
  10. data/lib/vpndetection/api_error.rb +1 -1
  11. data/lib/vpndetection/api_model_base.rb +1 -1
  12. data/lib/vpndetection/configuration.rb +1 -1
  13. data/lib/vpndetection/errors.rb +4 -2
  14. data/lib/vpndetection/models/account_create_apikey_request.rb +1 -1
  15. data/lib/vpndetection/models/account_created_apikey.rb +1 -1
  16. data/lib/vpndetection/models/account_org.rb +1 -1
  17. data/lib/vpndetection/models/account_org_ref.rb +1 -1
  18. data/lib/vpndetection/models/account_org_wrap.rb +1 -1
  19. data/lib/vpndetection/models/account_rc.rb +1 -1
  20. data/lib/vpndetection/models/account_revealed_apikey.rb +1 -1
  21. data/lib/vpndetection/models/account_user.rb +1 -1
  22. data/lib/vpndetection/models/apikey_detail.rb +1 -1
  23. data/lib/vpndetection/models/apikey_list.rb +1 -1
  24. data/lib/vpndetection/models/batch_lookup_error.rb +1 -1
  25. data/lib/vpndetection/models/batch_lookup_request.rb +1 -1
  26. data/lib/vpndetection/models/batch_lookup_response.rb +1 -1
  27. data/lib/vpndetection/models/class_detail.rb +1 -1
  28. data/lib/vpndetection/models/client_registration.rb +2 -2
  29. data/lib/vpndetection/models/client_registration_request.rb +1 -1
  30. data/lib/vpndetection/models/database.rb +1 -1
  31. data/lib/vpndetection/models/database_checksums_response.rb +1 -1
  32. data/lib/vpndetection/models/database_format.rb +1 -1
  33. data/lib/vpndetection/models/database_format_size.rb +1 -1
  34. data/lib/vpndetection/models/database_list.rb +1 -1
  35. data/lib/vpndetection/models/database_metadata.rb +1 -1
  36. data/lib/vpndetection/models/database_metadata_column.rb +1 -1
  37. data/lib/vpndetection/models/database_version.rb +1 -1
  38. data/lib/vpndetection/models/db_checksums.rb +1 -1
  39. data/lib/vpndetection/models/device_authorization.rb +1 -1
  40. data/lib/vpndetection/models/download.rb +1 -1
  41. data/lib/vpndetection/models/download_list.rb +1 -1
  42. data/lib/vpndetection/models/entitlement.rb +1 -1
  43. data/lib/vpndetection/models/entitlement_apikey.rb +1 -1
  44. data/lib/vpndetection/models/entitlement_error.rb +1 -1
  45. data/lib/vpndetection/models/entitlement_plan.rb +1 -1
  46. data/lib/vpndetection/models/entitlement_usage.rb +1 -1
  47. data/lib/vpndetection/models/error_envelope.rb +1 -1
  48. data/lib/vpndetection/models/identity.rb +1 -1
  49. data/lib/vpndetection/models/lookup_error.rb +1 -1
  50. data/lib/vpndetection/models/lookup_response.rb +1 -1
  51. data/lib/vpndetection/models/oauth_error.rb +1 -1
  52. data/lib/vpndetection/models/oauth_metadata.rb +1 -1
  53. data/lib/vpndetection/models/proxy_detail.rb +1 -1
  54. data/lib/vpndetection/models/pubproxy_detail.rb +23 -3
  55. data/lib/vpndetection/models/standing.rb +1 -1
  56. data/lib/vpndetection/models/token_response.rb +1 -1
  57. data/lib/vpndetection/models/vpn_detail.rb +1 -1
  58. data/lib/vpndetection/result.rb +5 -3
  59. data/lib/vpndetection/version.rb +1 -1
  60. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e3e3bbf2f5a292ebd5e49932b7d940be34945846e704a62be599a15a3fc08430
4
- data.tar.gz: 4f2516fc0bfa84939306ab1d164e613aaa6bb1b0ac392b567ea6d57367ea8c52
3
+ metadata.gz: 9dd1a9015e11fcd72008303761601cdeb4fb1bf3b9b672e7e6636ce0ee0a540f
4
+ data.tar.gz: f8cff5caeff344d0a669fd066423861cbcde845d22a832859e13e0ef7871583e
5
5
  SHA512:
6
- metadata.gz: 113482fcc8b4379c25e9ff82e1e6136fc9048d62a788cdf5d4eec254c9b0b7e050e4e43639599cd2aba37d0fcd7a692acc756944d9eb6c1aa36e47717bc16a40
7
- data.tar.gz: 1986b745e3c5994f63cfcf1191f65edf0fd08debd4364fb57e925d1f3249750aa913d6febbc328dd7075cc6d58d4701bf05fb42f5ce3fbad879959cf0bca94d1
6
+ metadata.gz: b290fc24f994a07348fa600ea74bdd4abb75b38d7e9745ce5a2988f0d8556ac0b923e72f39b1f186913dd47b9819e513e33d387f3d22075a0679a19b1ac553d9
7
+ data.tar.gz: 75b53d7b79396301334010f6f5893431f6d51ab2bcc4a2e1cee0a862926812e46c9ebfc8ed98398ea7887c9dfcc2f844775fdd7fdfb8de3a30ce8e64f5da6a52
@@ -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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -104,9 +104,11 @@ module VPNDetection
104
104
  return nil if value.empty?
105
105
  return Integer(value, 10) if value.match?(/\A\d+\z/)
106
106
 
107
- # The header also permits an HTTP date.
107
+ # The header also permits an HTTP date, naming a real day: `Time.httpdate`
108
+ # reads `31 Nov` as 1 December, and the day it names comes first in all
109
+ # three forms.
108
110
  when_at = Time.httpdate(value) rescue nil
109
- return nil if when_at.nil?
111
+ return nil if when_at.nil? || when_at.day != value[/\d+/].to_i
110
112
 
111
113
  [0, (when_at - Time.now).ceil].max
112
114
  end
@@ -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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -17,7 +17,7 @@ module VPNDetection
17
17
  class ClientRegistration < ApiModelBase
18
18
  attr_accessor :client_id
19
19
 
20
- # Unix seconds.
20
+ # Unix seconds. 64-bit, since 32 bits run out on 2038-01-19.
21
21
  attr_accessor :client_id_issued_at
22
22
 
23
23
  # As the person will see it.
@@ -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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.16
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module VPNDetection
17
- # The address in Public Proxy IP, open proxies anyone can connect through, over a rolling 90 day window. It covers both ends of a proxy: the address it listens on and the address its traffic leaves from. Every key is present when the object is populated; the object is `{}` when `is_pubproxy` is false.
17
+ # The address in Public Proxy IP, open proxies anyone can connect through, measured over a rolling 90 day window. An address is either end of a proxy, or both: where it listens, and where its traffic leaves from. Every key is present when the object is populated; the object is `{}` when `is_pubproxy` is false.
18
18
  class PubproxyDetail < ApiModelBase
19
19
  # Whether a public proxy listens on this address.
20
20
  attr_accessor :entry
@@ -25,6 +25,12 @@ module VPNDetection
25
25
  # The protocols of the proxies listening on or leaving from this address: `http`, `https` (an HTTP proxy that also tunnels HTTPS), `socks4` or `socks5`. Empty where only the address is known.
26
26
  attr_accessor :protocols
27
27
 
28
+ # How many distinct ports a public proxy listens on at this address; 0 when it is only an exit, or its port is not known.
29
+ attr_accessor :num_ports
30
+
31
+ # How many distinct public proxies' traffic left from this address; 0 when it is only an entry.
32
+ attr_accessor :num_proxies
33
+
28
34
  # The most recent date within the window a proxy on this address was seen.
29
35
  attr_accessor :last_seen
30
36
 
@@ -37,6 +43,8 @@ module VPNDetection
37
43
  :'entry' => :'entry',
38
44
  :'exit' => :'exit',
39
45
  :'protocols' => :'protocols',
46
+ :'num_ports' => :'num_ports',
47
+ :'num_proxies' => :'num_proxies',
40
48
  :'last_seen' => :'last_seen',
41
49
  :'last_usable' => :'last_usable'
42
50
  }
@@ -58,6 +66,8 @@ module VPNDetection
58
66
  :'entry' => :'Boolean',
59
67
  :'exit' => :'Boolean',
60
68
  :'protocols' => :'Array<String>',
69
+ :'num_ports' => :'Integer',
70
+ :'num_proxies' => :'Integer',
61
71
  :'last_seen' => :'Date',
62
72
  :'last_usable' => :'String'
63
73
  }
@@ -99,6 +109,14 @@ module VPNDetection
99
109
  end
100
110
  end
101
111
 
112
+ if attributes.key?(:'num_ports')
113
+ self.num_ports = attributes[:'num_ports']
114
+ end
115
+
116
+ if attributes.key?(:'num_proxies')
117
+ self.num_proxies = attributes[:'num_proxies']
118
+ end
119
+
102
120
  if attributes.key?(:'last_seen')
103
121
  self.last_seen = attributes[:'last_seen']
104
122
  end
@@ -131,6 +149,8 @@ module VPNDetection
131
149
  entry == o.entry &&
132
150
  exit == o.exit &&
133
151
  protocols == o.protocols &&
152
+ num_ports == o.num_ports &&
153
+ num_proxies == o.num_proxies &&
134
154
  last_seen == o.last_seen &&
135
155
  last_usable == o.last_usable
136
156
  end
@@ -144,7 +164,7 @@ module VPNDetection
144
164
  # Calculates hash code according to all attributes.
145
165
  # @return [Integer] Hash code
146
166
  def hash
147
- [entry, exit, protocols, last_seen, last_usable].hash
167
+ [entry, exit, protocols, num_ports, num_proxies, last_seen, last_usable].hash
148
168
  end
149
169
 
150
170
  # 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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
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.18
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -194,9 +194,11 @@ module VPNDetection
194
194
  @raw['mobproxy']
195
195
  end
196
196
 
197
- # Detail for `is_pubproxy`: entry, exit, protocols, last_seen and
198
- # last_usable, the last an empty string when no request through a proxy on
199
- # the address was answered. Max only.
197
+ # Detail for `is_pubproxy`: entry, exit, protocols, num_ports,
198
+ # num_proxies, last_seen and last_usable. num_ports is 0 when the address
199
+ # is only an exit and num_proxies 0 when it is only an entry; last_usable is
200
+ # an empty string when no request through a proxy on the address was
201
+ # answered. Max only.
200
202
  def pubproxy
201
203
  @raw['pubproxy']
202
204
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VPNDetection
4
- VERSION = '5.8.0'
4
+ VERSION = '5.9.0'
5
5
  end
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.8.0
4
+ version: 5.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mslm Dev