vpndetection 5.12.0 → 5.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -9
  3. data/lib/vpndetection/api/account_wire_api.rb +3 -3
  4. data/lib/vpndetection/api/api_keys_wire_api.rb +7 -7
  5. data/lib/vpndetection/api/authorization_wire_api.rb +5 -5
  6. data/lib/vpndetection/api/database_wire_api.rb +5 -5
  7. data/lib/vpndetection/api/entitlement_wire_api.rb +1 -1
  8. data/lib/vpndetection/api/lookup_wire_api.rb +7 -7
  9. data/lib/vpndetection/api/organization_wire_api.rb +5 -5
  10. data/lib/vpndetection/api_client.rb +1 -1
  11. data/lib/vpndetection/api_error.rb +1 -1
  12. data/lib/vpndetection/api_model_base.rb +1 -1
  13. data/lib/vpndetection/client.rb +7 -4
  14. data/lib/vpndetection/configuration.rb +1 -1
  15. data/lib/vpndetection/models/account_create_apikey_request.rb +1 -1
  16. data/lib/vpndetection/models/account_created_apikey.rb +1 -1
  17. data/lib/vpndetection/models/account_org.rb +1 -1
  18. data/lib/vpndetection/models/account_org_ref.rb +1 -1
  19. data/lib/vpndetection/models/account_org_wrap.rb +1 -1
  20. data/lib/vpndetection/models/account_rc.rb +1 -1
  21. data/lib/vpndetection/models/account_revealed_apikey.rb +1 -1
  22. data/lib/vpndetection/models/account_user.rb +1 -1
  23. data/lib/vpndetection/models/apikey_detail.rb +1 -1
  24. data/lib/vpndetection/models/apikey_list.rb +1 -1
  25. data/lib/vpndetection/models/asn.rb +2 -2
  26. data/lib/vpndetection/models/batch_lookup_error.rb +1 -1
  27. data/lib/vpndetection/models/batch_lookup_request.rb +1 -1
  28. data/lib/vpndetection/models/batch_lookup_response.rb +1 -1
  29. data/lib/vpndetection/models/class_detail.rb +1 -1
  30. data/lib/vpndetection/models/client_registration.rb +1 -1
  31. data/lib/vpndetection/models/client_registration_request.rb +1 -1
  32. data/lib/vpndetection/models/database.rb +1 -1
  33. data/lib/vpndetection/models/database_checksums_response.rb +1 -1
  34. data/lib/vpndetection/models/database_format.rb +1 -1
  35. data/lib/vpndetection/models/database_format_size.rb +1 -1
  36. data/lib/vpndetection/models/database_list.rb +1 -1
  37. data/lib/vpndetection/models/database_metadata.rb +1 -1
  38. data/lib/vpndetection/models/database_metadata_column.rb +1 -1
  39. data/lib/vpndetection/models/database_version.rb +1 -1
  40. data/lib/vpndetection/models/db_checksums.rb +1 -1
  41. data/lib/vpndetection/models/device_authorization.rb +1 -1
  42. data/lib/vpndetection/models/download.rb +1 -1
  43. data/lib/vpndetection/models/download_list.rb +1 -1
  44. data/lib/vpndetection/models/entitlement.rb +1 -1
  45. data/lib/vpndetection/models/entitlement_apikey.rb +1 -1
  46. data/lib/vpndetection/models/entitlement_error.rb +1 -1
  47. data/lib/vpndetection/models/entitlement_plan.rb +1 -1
  48. data/lib/vpndetection/models/entitlement_usage.rb +1 -1
  49. data/lib/vpndetection/models/error_envelope.rb +1 -1
  50. data/lib/vpndetection/models/identity.rb +1 -1
  51. data/lib/vpndetection/models/location.rb +2 -2
  52. data/lib/vpndetection/models/lookup_error.rb +1 -1
  53. data/lib/vpndetection/models/lookup_response.rb +12 -12
  54. data/lib/vpndetection/models/oauth_error.rb +1 -1
  55. data/lib/vpndetection/models/oauth_metadata.rb +1 -1
  56. data/lib/vpndetection/models/proxy_detail.rb +1 -1
  57. data/lib/vpndetection/models/pubproxy_detail.rb +1 -1
  58. data/lib/vpndetection/models/standing.rb +1 -1
  59. data/lib/vpndetection/models/token_response.rb +1 -1
  60. data/lib/vpndetection/models/vpn_detail.rb +1 -1
  61. data/lib/vpndetection/result.rb +19 -17
  62. data/lib/vpndetection/version.rb +1 -1
  63. metadata +1 -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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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
- # Where the address is, to the country: the fields of our IP Country database. Free and paid plans. Each field is present whenever the object is, so an address in no country, or a private one, answers empty strings.
17
+ # Where the address is, to the country: the fields of our IP Country database. Every answer, with or without a key. Each field is present whenever the object is, so an address in no country, or a private one, answers empty strings.
18
18
  class Location < ApiModelBase
19
19
  # Continent code: AF, AN (Antarctica), AS, EU, NA, OC or SA.
20
20
  attr_accessor :continent
@@ -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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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 union of every plan's answer. Only `ip` and `is_vpn` are guaranteed; each remaining field is present when your plan includes it, and absent otherwise. A client that must work across plans should treat an absent flag as unknown rather than as `false`.
17
+ # The union of every plan's answer. Every answer carries `ip`, `is_vpn`, the Tor and relay members, `location` and `asn`, with or without a key; each remaining field is present when your key includes it, and absent otherwise. A client that must work across plans should treat an absent flag as unknown rather than as `false`.
18
18
  class LookupResponse < ApiModelBase
19
19
  # The address that was looked up, normalized.
20
20
  attr_accessor :ip
@@ -22,28 +22,28 @@ module VPNDetection
22
22
  # Whether the address is VPN infrastructure. Keys off presence in the VPN dataset, so an unattributed range with no provider is still `true`.
23
23
  attr_accessor :is_vpn
24
24
 
25
- # Whether the address belongs to a hosting or cloud provider. Paid plans.
25
+ # Whether the address belongs to a hosting or cloud provider. Free and paid plans.
26
26
  attr_accessor :is_hosting
27
27
 
28
- # Whether the address is privacy relay or enterprise web gateway egress, such as iCloud Private Relay or Zscaler. Free and paid plans.
28
+ # Whether the address is privacy relay or enterprise web gateway egress, such as iCloud Private Relay or Zscaler. Every answer, with or without a key.
29
29
  attr_accessor :is_relay
30
30
 
31
- # Whether the address is a Tor node. Free and paid plans.
31
+ # Whether the address is a Tor node. Every answer, with or without a key.
32
32
  attr_accessor :is_tor
33
33
 
34
- # Whether the address belongs to a CDN. Paid plans.
34
+ # Whether the address belongs to a CDN. Free and paid plans.
35
35
  attr_accessor :is_cdn
36
36
 
37
- # Whether the address was seen in a residential proxy pool. Paid plans.
37
+ # Whether the address was seen in a residential proxy pool. Free and paid plans.
38
38
  attr_accessor :is_resproxy
39
39
 
40
- # Whether the address was seen in a datacenter proxy pool. Paid plans.
40
+ # Whether the address is one a datacenter proxy service sells or runs on, a proxy company's own ranges included. Free and paid plans.
41
41
  attr_accessor :is_dcproxy
42
42
 
43
- # Whether the address was seen in a mobile proxy pool. Paid plans.
43
+ # Whether the address was seen in a mobile proxy pool. Free and paid plans.
44
44
  attr_accessor :is_mobproxy
45
45
 
46
- # Whether a public proxy, one anyone can connect through, listens on the address or sends its traffic out from it. Paid plans.
46
+ # Whether a public proxy, one anyone can connect through, listens on the address or sends its traffic out from it. Free and paid plans.
47
47
  attr_accessor :is_pubproxy
48
48
 
49
49
  # Detail for `is_vpn`. Empty when `is_vpn` is false. Paid plans.
@@ -52,10 +52,10 @@ module VPNDetection
52
52
  # Detail for `is_hosting`. Empty when false. Paid plans.
53
53
  attr_accessor :hosting
54
54
 
55
- # Detail for `is_relay`. Empty when false. Free and paid plans.
55
+ # Detail for `is_relay`. Empty when false. Every answer, with or without a key.
56
56
  attr_accessor :relay
57
57
 
58
- # Detail for `is_tor`. Empty when false. Free and paid plans. The tor dataset carries no provider, so `provider` is always an empty string.
58
+ # Detail for `is_tor`. Empty when false. Every answer, with or without a key. The tor dataset carries no provider, so `provider` is always an empty string.
59
59
  attr_accessor :tor
60
60
 
61
61
  # Detail for `is_cdn`. Empty when false. Paid plans.
@@ -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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
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.11.05
6
+ The version of the OpenAPI document: 2026.11.11
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -24,8 +24,9 @@ module VPNDetection
24
24
 
25
25
  DETAILS = %w[vpn hosting relay tor cdn resproxy dcproxy mobproxy pubproxy].freeze
26
26
 
27
- # Where the address is, and the AS announcing it: every keyed answer carries
28
- # both, each member present, an empty string or AS 0 where nothing is known.
27
+ # Where the address is, and the AS announcing it: every answer carries both,
28
+ # with or without a key, each member present, an empty string or AS 0 where
29
+ # nothing is known.
29
30
  LOCATION = %w[
30
31
  continent continent_name country country_name timezone currency_code currency_name currency_symbol
31
32
  flag_emoji flag_unicode
@@ -75,7 +76,7 @@ module VPNDetection
75
76
  end
76
77
 
77
78
  # Whether the address belongs to a hosting or cloud provider, or nil when
78
- # your plan does not include it. Every paid plan.
79
+ # your plan does not include it. With any key, a free one included.
79
80
  def is_hosting
80
81
  @raw['is_hosting']
81
82
  end
@@ -86,7 +87,7 @@ module VPNDetection
86
87
  end
87
88
 
88
89
  # Whether the address is a privacy relay egress, or nil when your plan does
89
- # not include it. Free and paid plans.
90
+ # not include it. Every answer, with or without a key.
90
91
  def is_relay
91
92
  @raw['is_relay']
92
93
  end
@@ -97,7 +98,7 @@ module VPNDetection
97
98
  end
98
99
 
99
100
  # Whether the address is a Tor node, or nil when your plan does not include
100
- # it. Free and paid plans.
101
+ # it. Every answer, with or without a key.
101
102
  def is_tor
102
103
  @raw['is_tor']
103
104
  end
@@ -108,7 +109,7 @@ module VPNDetection
108
109
  end
109
110
 
110
111
  # Whether the address belongs to a CDN, or nil when your plan does not
111
- # include it. Every paid plan.
112
+ # include it. With any key, a free one included.
112
113
  def is_cdn
113
114
  @raw['is_cdn']
114
115
  end
@@ -119,7 +120,7 @@ module VPNDetection
119
120
  end
120
121
 
121
122
  # Whether the address was seen in a residential proxy pool, or nil when your
122
- # plan does not include it. Every paid plan.
123
+ # plan does not include it. With any key, a free one included.
123
124
  def is_resproxy
124
125
  @raw['is_resproxy']
125
126
  end
@@ -129,8 +130,9 @@ module VPNDetection
129
130
  @raw['is_resproxy'] == true
130
131
  end
131
132
 
132
- # Whether the address was seen in a datacenter proxy pool, or nil when your
133
- # plan does not include it. Every paid plan.
133
+ # Whether the address is one a datacenter proxy service sells or runs on, a
134
+ # proxy company's own ranges included, or nil when your plan does not
135
+ # include it. With any key, a free one included.
134
136
  def is_dcproxy
135
137
  @raw['is_dcproxy']
136
138
  end
@@ -141,7 +143,7 @@ module VPNDetection
141
143
  end
142
144
 
143
145
  # Whether the address was seen in a mobile proxy pool, or nil when your plan
144
- # does not include it. Every paid plan.
146
+ # does not include it. With any key, a free one included.
145
147
  def is_mobproxy
146
148
  @raw['is_mobproxy']
147
149
  end
@@ -153,7 +155,7 @@ module VPNDetection
153
155
 
154
156
  # Whether a public proxy, one anyone can connect through, listens on the
155
157
  # address or sends its traffic out from it, or nil when your plan does not
156
- # include it. Every paid plan.
158
+ # include it. With any key, a free one included.
157
159
  def is_pubproxy
158
160
  @raw['is_pubproxy']
159
161
  end
@@ -174,12 +176,12 @@ module VPNDetection
174
176
  @raw['hosting']
175
177
  end
176
178
 
177
- # Detail for `is_relay`. Free and paid plans.
179
+ # Detail for `is_relay`. Every answer, with or without a key.
178
180
  def relay
179
181
  @raw['relay']
180
182
  end
181
183
 
182
- # Detail for `is_tor`. Free and paid plans.
184
+ # Detail for `is_tor`. Every answer, with or without a key.
183
185
  def tor
184
186
  @raw['tor']
185
187
  end
@@ -214,15 +216,15 @@ module VPNDetection
214
216
  end
215
217
 
216
218
  # Where the address is: continent, country, timezone, the country's
217
- # currency and flag, as a wire hash (`result.location['country']`). Free and
218
- # paid plans.
219
+ # currency and flag, as a wire hash (`result.location['country']`). Every
220
+ # answer, with or without a key.
219
221
  def location
220
222
  @raw['location']
221
223
  end
222
224
 
223
225
  # The AS announcing the address: asn, name, domain, type and prefix, as a
224
- # wire hash (`result.asn['name']`), with asn 0 where none does. Free and paid
225
- # plans.
226
+ # wire hash (`result.asn['name']`), with asn 0 where none does. Every
227
+ # answer, with or without a key.
226
228
  def asn
227
229
  @raw['asn']
228
230
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VPNDetection
4
- VERSION = '5.12.0'
4
+ VERSION = '5.13.1'
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.12.0
4
+ version: 5.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mslm Dev