vpndetection 5.20.1 → 5.21.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 (74) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/lib/vpndetection/api/account_wire_api.rb +2 -2
  4. data/lib/vpndetection/api/api_keys_wire_api.rb +2 -2
  5. data/lib/vpndetection/api/authorization_wire_api.rb +2 -2
  6. data/lib/vpndetection/api/database_wire_api.rb +2 -2
  7. data/lib/vpndetection/api/entitlement_wire_api.rb +2 -2
  8. data/lib/vpndetection/api/lookup_wire_api.rb +2 -2
  9. data/lib/vpndetection/api/organization_wire_api.rb +2 -2
  10. data/lib/vpndetection/api_client.rb +2 -2
  11. data/lib/vpndetection/api_error.rb +2 -2
  12. data/lib/vpndetection/api_model_base.rb +2 -2
  13. data/lib/vpndetection/configuration.rb +2 -2
  14. data/lib/vpndetection/middleware/condition.rb +11 -4
  15. data/lib/vpndetection/models/abuse_contact.rb +3 -3
  16. data/lib/vpndetection/models/account_create_apikey_request.rb +2 -2
  17. data/lib/vpndetection/models/account_created_apikey.rb +2 -2
  18. data/lib/vpndetection/models/account_org.rb +2 -2
  19. data/lib/vpndetection/models/account_org_ref.rb +2 -2
  20. data/lib/vpndetection/models/account_org_wrap.rb +2 -2
  21. data/lib/vpndetection/models/account_rc.rb +2 -2
  22. data/lib/vpndetection/models/account_revealed_apikey.rb +2 -2
  23. data/lib/vpndetection/models/account_user.rb +2 -2
  24. data/lib/vpndetection/models/apikey_detail.rb +2 -2
  25. data/lib/vpndetection/models/apikey_list.rb +2 -2
  26. data/lib/vpndetection/models/asn.rb +2 -2
  27. data/lib/vpndetection/models/batch_lookup_error.rb +2 -2
  28. data/lib/vpndetection/models/batch_lookup_request.rb +2 -2
  29. data/lib/vpndetection/models/batch_lookup_response.rb +2 -2
  30. data/lib/vpndetection/models/bit_torrent_detail.rb +2 -2
  31. data/lib/vpndetection/models/bot_detail.rb +2 -2
  32. data/lib/vpndetection/models/carrier_detail.rb +2 -2
  33. data/lib/vpndetection/models/class_detail.rb +2 -2
  34. data/lib/vpndetection/models/client_registration.rb +2 -2
  35. data/lib/vpndetection/models/client_registration_request.rb +2 -2
  36. data/lib/vpndetection/models/company.rb +3 -3
  37. data/lib/vpndetection/models/database.rb +2 -2
  38. data/lib/vpndetection/models/database_checksums_response.rb +2 -2
  39. data/lib/vpndetection/models/database_format.rb +2 -2
  40. data/lib/vpndetection/models/database_format_size.rb +2 -2
  41. data/lib/vpndetection/models/database_list.rb +2 -2
  42. data/lib/vpndetection/models/database_metadata.rb +2 -2
  43. data/lib/vpndetection/models/database_metadata_column.rb +2 -2
  44. data/lib/vpndetection/models/database_version.rb +2 -2
  45. data/lib/vpndetection/models/db_checksums.rb +2 -2
  46. data/lib/vpndetection/models/device_authorization.rb +2 -2
  47. data/lib/vpndetection/models/dns_resolver_detail.rb +2 -2
  48. data/lib/vpndetection/models/download.rb +2 -2
  49. data/lib/vpndetection/models/download_list.rb +2 -2
  50. data/lib/vpndetection/models/entitlement.rb +2 -2
  51. data/lib/vpndetection/models/entitlement_apikey.rb +2 -2
  52. data/lib/vpndetection/models/entitlement_error.rb +2 -2
  53. data/lib/vpndetection/models/entitlement_plan.rb +3 -3
  54. data/lib/vpndetection/models/entitlement_usage.rb +4 -4
  55. data/lib/vpndetection/models/error_envelope.rb +2 -2
  56. data/lib/vpndetection/models/identity.rb +2 -2
  57. data/lib/vpndetection/models/location.rb +12 -12
  58. data/lib/vpndetection/models/lookup_error.rb +2 -2
  59. data/lib/vpndetection/models/lookup_response.rb +30 -30
  60. data/lib/vpndetection/models/oauth_error.rb +2 -2
  61. data/lib/vpndetection/models/oauth_metadata.rb +2 -2
  62. data/lib/vpndetection/models/proxy_detail.rb +2 -2
  63. data/lib/vpndetection/models/pubproxy_detail.rb +2 -2
  64. data/lib/vpndetection/models/satellite_detail.rb +2 -2
  65. data/lib/vpndetection/models/smtp_detail.rb +2 -2
  66. data/lib/vpndetection/models/ssh_detail.rb +2 -2
  67. data/lib/vpndetection/models/standing.rb +2 -2
  68. data/lib/vpndetection/models/token_response.rb +2 -2
  69. data/lib/vpndetection/models/user_agent_verdict.rb +2 -2
  70. data/lib/vpndetection/models/vpn_detail.rb +2 -2
  71. data/lib/vpndetection/models/web_detail.rb +2 -2
  72. data/lib/vpndetection/result.rb +31 -31
  73. data/lib/vpndetection/version.rb +1 -1
  74. metadata +1 -1
@@ -1,9 +1,9 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: Unlimited, the free plan, answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and a free account tries them. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: Unlimited, the free plan, answers any address with no daily or monthly cap, with a key or without one. The Data plan answers every field, and a free account tries them. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). 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.23
6
+ The version of the OpenAPI document: 2026.11.25
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -1,9 +1,9 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: Unlimited, the free plan, answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and a free account tries them. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: Unlimited, the free plan, answers any address with no daily or monthly cap, with a key or without one. The Data plan answers every field, and a free account tries them. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). 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.23
6
+ The version of the OpenAPI document: 2026.11.25
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -1,9 +1,9 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: Unlimited, the free plan, answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and a free account tries them. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: Unlimited, the free plan, answers any address with no daily or monthly cap, with a key or without one. The Data plan answers every field, and a free account tries them. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). 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.23
6
+ The version of the OpenAPI document: 2026.11.25
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -1,9 +1,9 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: Unlimited, the free plan, answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and a free account tries them. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: Unlimited, the free plan, answers any address with no daily or monthly cap, with a key or without one. The Data plan answers every field, and a free account tries them. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). 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.23
6
+ The version of the OpenAPI document: 2026.11.25
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -1,9 +1,9 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: Unlimited, the free plan, answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and a free account tries them. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: Unlimited, the free plan, answers any address with no daily or monthly cap, with a key or without one. The Data plan answers every field, and a free account tries them. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). 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.23
6
+ The version of the OpenAPI document: 2026.11.25
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -1,9 +1,9 @@
1
1
  =begin
2
2
  #VPNDetection API
3
3
 
4
- #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: Unlimited, the free plan, answers any address with no daily or monthly cap, with a key or without one. Every paid plan answers every field, and a free account tries them. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. Lookups need no API key: Unlimited, the free plan, answers any address with no daily or monthly cap, with a key or without one. The Data plan answers every field, and a free account tries them. Unlimited's answers may be used commercially, but not redistributed or used in a competing service (https://vpndetection.io/terms#no-key). 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.23
6
+ The version of the OpenAPI document: 2026.11.25
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -95,7 +95,7 @@ module VPNDetection
95
95
  end
96
96
 
97
97
  # Whether the address belongs to a hosting or cloud provider, or nil when
98
- # your plan does not include it. On every paid plan.
98
+ # your plan does not include it. On a paid plan.
99
99
  def is_hosting
100
100
  @raw['is_hosting']
101
101
  end
@@ -128,7 +128,7 @@ module VPNDetection
128
128
  end
129
129
 
130
130
  # Whether the address belongs to a CDN, or nil when your plan does not
131
- # include it. On every paid plan.
131
+ # include it. On a paid plan.
132
132
  def is_cdn
133
133
  @raw['is_cdn']
134
134
  end
@@ -152,7 +152,7 @@ module VPNDetection
152
152
  end
153
153
 
154
154
  # Whether the address was seen in a residential proxy pool, or nil when your
155
- # plan does not include it. On every paid plan.
155
+ # plan does not include it. On a paid plan.
156
156
  def is_resproxy
157
157
  @raw['is_resproxy']
158
158
  end
@@ -164,7 +164,7 @@ module VPNDetection
164
164
 
165
165
  # Whether the address is one a datacenter proxy service sells or runs on, a
166
166
  # proxy company's own ranges included, or nil when your plan does not
167
- # include it. On every paid plan.
167
+ # include it. On a paid plan.
168
168
  def is_dcproxy
169
169
  @raw['is_dcproxy']
170
170
  end
@@ -175,7 +175,7 @@ module VPNDetection
175
175
  end
176
176
 
177
177
  # Whether the address was seen in a mobile proxy pool, or nil when your plan
178
- # does not include it. On every paid plan.
178
+ # does not include it. On a paid plan.
179
179
  def is_mobproxy
180
180
  @raw['is_mobproxy']
181
181
  end
@@ -187,7 +187,7 @@ module VPNDetection
187
187
 
188
188
  # Whether a public proxy, one anyone can connect through, listens on the
189
189
  # address or sends its traffic out from it, or nil when your plan does not
190
- # include it. On every paid plan.
190
+ # include it. On a paid plan.
191
191
  def is_pubproxy
192
192
  @raw['is_pubproxy']
193
193
  end
@@ -210,7 +210,7 @@ module VPNDetection
210
210
  end
211
211
 
212
212
  # Whether the address is a mobile carrier's, where many phones can share one
213
- # address, or nil when your plan does not include it. On every paid plan.
213
+ # address, or nil when your plan does not include it. On a paid plan.
214
214
  def is_carrier
215
215
  @raw['is_carrier']
216
216
  end
@@ -221,7 +221,7 @@ module VPNDetection
221
221
  end
222
222
 
223
223
  # Whether the address is a satellite operator's, or nil when your plan does
224
- # not include it. On every paid plan.
224
+ # not include it. On a paid plan.
225
225
  def is_satellite
226
226
  @raw['is_satellite']
227
227
  end
@@ -232,7 +232,7 @@ module VPNDetection
232
232
  end
233
233
 
234
234
  # Whether an SSH server answered on the address, or nil when your plan does
235
- # not include it. On every paid plan.
235
+ # not include it. On a paid plan.
236
236
  def is_ssh
237
237
  @raw['is_ssh']
238
238
  end
@@ -243,7 +243,7 @@ module VPNDetection
243
243
  end
244
244
 
245
245
  # Whether a mail server answered on the address, or nil when your plan does
246
- # not include it. On every paid plan.
246
+ # not include it. On a paid plan.
247
247
  def is_smtp
248
248
  @raw['is_smtp']
249
249
  end
@@ -254,7 +254,7 @@ module VPNDetection
254
254
  end
255
255
 
256
256
  # Whether a web server answered on the address, on port 80 or 443, or nil
257
- # when your plan does not include it. On every paid plan.
257
+ # when your plan does not include it. On a paid plan.
258
258
  def is_web
259
259
  @raw['is_web']
260
260
  end
@@ -265,7 +265,7 @@ module VPNDetection
265
265
  end
266
266
 
267
267
  # Whether an open DNS resolver answered on the address, or nil when your
268
- # plan does not include it. On every paid plan.
268
+ # plan does not include it. On a paid plan.
269
269
  def is_dns_resolver
270
270
  @raw['is_dns_resolver']
271
271
  end
@@ -276,7 +276,7 @@ module VPNDetection
276
276
  end
277
277
 
278
278
  # Whether a BitTorrent client was seen on the address in the last 90 days,
279
- # or nil when your plan does not include it. On every paid plan.
279
+ # or nil when your plan does not include it. On a paid plan.
280
280
  def is_bittorrent
281
281
  @raw['is_bittorrent']
282
282
  end
@@ -286,13 +286,13 @@ module VPNDetection
286
286
  @raw['is_bittorrent'] == true
287
287
  end
288
288
 
289
- # Detail for `is_vpn`: provider, last_seen and confidence. Every paid plan.
289
+ # Detail for `is_vpn`: provider, last_seen and confidence. On a paid plan.
290
290
  # `method` is deprecated: no plan is answered with it since 2026-10-20.
291
291
  def vpn
292
292
  @raw['vpn']
293
293
  end
294
294
 
295
- # Detail for `is_hosting`. Every paid plan.
295
+ # Detail for `is_hosting`. On a paid plan.
296
296
  def hosting
297
297
  @raw['hosting']
298
298
  end
@@ -307,7 +307,7 @@ module VPNDetection
307
307
  @raw['tor']
308
308
  end
309
309
 
310
- # Detail for `is_cdn`. Every paid plan.
310
+ # Detail for `is_cdn`. On a paid plan.
311
311
  def cdn
312
312
  @raw['cdn']
313
313
  end
@@ -315,23 +315,23 @@ module VPNDetection
315
315
  # Detail for `is_bot`: provider, provider_name, agents, categories,
316
316
  # verified, identity, verified_by, confidence, first_seen and last_seen.
317
317
  # agents and categories are lists, in the order served, and `[]` where none
318
- # is known; verified_by is an empty string when verified is false. Every
318
+ # is known; verified_by is an empty string when verified is false. On a
319
319
  # paid plan.
320
320
  def bot
321
321
  @raw['bot']
322
322
  end
323
323
 
324
- # Detail for `is_resproxy`. Every paid plan.
324
+ # Detail for `is_resproxy`. On a paid plan.
325
325
  def resproxy
326
326
  @raw['resproxy']
327
327
  end
328
328
 
329
- # Detail for `is_dcproxy`. Every paid plan.
329
+ # Detail for `is_dcproxy`. On a paid plan.
330
330
  def dcproxy
331
331
  @raw['dcproxy']
332
332
  end
333
333
 
334
- # Detail for `is_mobproxy`. Every paid plan.
334
+ # Detail for `is_mobproxy`. On a paid plan.
335
335
  def mobproxy
336
336
  @raw['mobproxy']
337
337
  end
@@ -340,50 +340,50 @@ module VPNDetection
340
340
  # num_proxies, last_seen and last_usable. num_ports is 0 when the address
341
341
  # is only an exit and num_proxies 0 when it is only an entry; last_usable is
342
342
  # an empty string when no request through a proxy on the address was
343
- # answered. Every paid plan.
343
+ # answered. On a paid plan.
344
344
  def pubproxy
345
345
  @raw['pubproxy']
346
346
  end
347
347
 
348
- # Detail for `is_carrier`: name, mcc, mnc, country and confidence. Every
348
+ # Detail for `is_carrier`: name, mcc, mnc, country and confidence. On a
349
349
  # paid plan.
350
350
  def carrier
351
351
  @raw['carrier']
352
352
  end
353
353
 
354
354
  # Detail for `is_satellite`: provider, provider_name, orbit, segment,
355
- # country, asn and confidence. Every paid plan.
355
+ # country, asn and confidence. On a paid plan.
356
356
  def satellite
357
357
  @raw['satellite']
358
358
  end
359
359
 
360
360
  # Detail for `is_ssh`: port, banner, host_key_fp, session_ok, first_seen and
361
- # last_seen. Every paid plan.
361
+ # last_seen. On a paid plan.
362
362
  def ssh
363
363
  @raw['ssh']
364
364
  end
365
365
 
366
366
  # Detail for `is_smtp`: port, banner, session_ok, first_seen and last_seen.
367
- # Every paid plan.
367
+ # On a paid plan.
368
368
  def smtp
369
369
  @raw['smtp']
370
370
  end
371
371
 
372
372
  # Detail for `is_web`: a row per port that answered, lowest first, and `[]`
373
- # when the flag is false. Every paid plan.
373
+ # when the flag is false. On a paid plan.
374
374
  def web
375
375
  @raw['web']
376
376
  end
377
377
 
378
378
  # Detail for `is_dns_resolver`: port, recursion_available, rcode,
379
- # answer_correct, first_seen and last_seen. Every paid plan.
379
+ # answer_correct, first_seen and last_seen. On a paid plan.
380
380
  def dns_resolver
381
381
  @raw['dns_resolver']
382
382
  end
383
383
 
384
384
  # Detail for `is_bittorrent`: verified, id_matches_ip, first_seen,
385
385
  # last_seen, last_reachable, days_seen, num_ports, peak_num_ports, indexer
386
- # and clients. Every paid plan.
386
+ # and clients. On a paid plan.
387
387
  def bittorrent
388
388
  @raw['bittorrent']
389
389
  end
@@ -391,7 +391,7 @@ module VPNDetection
391
391
  # Where the address is: continent, country, timezone, the country's
392
392
  # currency and flag, as a wire hash (`result.location['country']`). Every
393
393
  # answer, with or without a key; the region, city, postal code, coordinates
394
- # and the rest of the finer members on every paid plan.
394
+ # and the rest of the finer members on a paid plan.
395
395
  def location
396
396
  @raw['location']
397
397
  end
@@ -405,7 +405,7 @@ module VPNDetection
405
405
  end
406
406
 
407
407
  # Who uses the address: name, domain, type and country, as a wire hash.
408
- # Every paid plan.
408
+ # On a paid plan.
409
409
  def company
410
410
  @raw['company']
411
411
  end
@@ -417,7 +417,7 @@ module VPNDetection
417
417
  end
418
418
 
419
419
  # Where to report abuse from the address: email, name, phone, address,
420
- # country, network, validated and unvalidated_since, as a wire hash. Every
420
+ # country, network, validated and unvalidated_since, as a wire hash. On a
421
421
  # paid plan.
422
422
  def abuse
423
423
  @raw['abuse']
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VPNDetection
4
- VERSION = '5.20.1'
4
+ VERSION = '5.21.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.20.1
4
+ version: 5.21.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mslm Dev