internetdata 2.11.1 → 2.13.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 (65) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -0
  3. data/lib/internetdata/api/database_v2_api.rb +1 -1
  4. data/lib/internetdata/api_client.rb +1 -1
  5. data/lib/internetdata/api_error.rb +1 -1
  6. data/lib/internetdata/api_model_base.rb +1 -1
  7. data/lib/internetdata/asn_result.rb +56 -1
  8. data/lib/internetdata/bogon.rb +2 -2
  9. data/lib/internetdata/configuration.rb +1 -1
  10. data/lib/internetdata/database_api.rb +3 -3
  11. data/lib/internetdata/models/abuse_contact.rb +1 -1
  12. data/lib/internetdata/models/asn.rb +1 -1
  13. data/lib/internetdata/models/asn_hosted_domains.rb +178 -0
  14. data/lib/internetdata/models/asn_lookup_response.rb +97 -2
  15. data/lib/internetdata/models/asn_prefix.rb +1 -1
  16. data/lib/internetdata/models/batch_lookup_error.rb +1 -1
  17. data/lib/internetdata/models/bit_torrent_detail.rb +1 -1
  18. data/lib/internetdata/models/carrier_detail.rb +1 -1
  19. data/lib/internetdata/models/class_detail.rb +1 -1
  20. data/lib/internetdata/models/client_registration.rb +1 -1
  21. data/lib/internetdata/models/company.rb +1 -1
  22. data/lib/internetdata/models/database.rb +1 -1
  23. data/lib/internetdata/models/database_checksums_response.rb +1 -1
  24. data/lib/internetdata/models/database_format.rb +1 -1
  25. data/lib/internetdata/models/database_list.rb +1 -1
  26. data/lib/internetdata/models/database_metadata.rb +1 -1
  27. data/lib/internetdata/models/database_metadata_column.rb +1 -1
  28. data/lib/internetdata/models/database_version.rb +1 -1
  29. data/lib/internetdata/models/db_checksums.rb +1 -1
  30. data/lib/internetdata/models/device_authorization.rb +1 -1
  31. data/lib/internetdata/models/disposable_detail.rb +1 -1
  32. data/lib/internetdata/models/dns_address_record.rb +1 -1
  33. data/lib/internetdata/models/dns_cname_record.rb +1 -1
  34. data/lib/internetdata/models/dns_mx_record.rb +1 -1
  35. data/lib/internetdata/models/dns_ns_record.rb +1 -1
  36. data/lib/internetdata/models/dns_resolver_detail.rb +1 -1
  37. data/lib/internetdata/models/domain_dns.rb +1 -1
  38. data/lib/internetdata/models/domain_ip_range.rb +1 -1
  39. data/lib/internetdata/models/domain_ip_ranges.rb +1 -1
  40. data/lib/internetdata/models/domain_lookup_response.rb +1 -1
  41. data/lib/internetdata/models/download.rb +1 -1
  42. data/lib/internetdata/models/download_list.rb +1 -1
  43. data/lib/internetdata/models/entitlement.rb +1 -1
  44. data/lib/internetdata/models/entitlement_apikey.rb +1 -1
  45. data/lib/internetdata/models/entitlement_plan.rb +31 -4
  46. data/lib/internetdata/models/entitlement_usage.rb +1 -1
  47. data/lib/internetdata/models/error_envelope.rb +1 -1
  48. data/lib/internetdata/models/hosted_domains.rb +18 -6
  49. data/lib/internetdata/models/location.rb +1 -1
  50. data/lib/internetdata/models/lookup_response.rb +1 -1
  51. data/lib/internetdata/models/oauth_metadata.rb +1 -1
  52. data/lib/internetdata/models/proxy_detail.rb +1 -1
  53. data/lib/internetdata/models/pubproxy_detail.rb +1 -1
  54. data/lib/internetdata/models/rwhois.rb +1 -1
  55. data/lib/internetdata/models/satellite_detail.rb +1 -1
  56. data/lib/internetdata/models/smtp_detail.rb +1 -1
  57. data/lib/internetdata/models/ssh_detail.rb +1 -1
  58. data/lib/internetdata/models/standing.rb +1 -1
  59. data/lib/internetdata/models/token_response.rb +1 -1
  60. data/lib/internetdata/models/web_detail.rb +1 -1
  61. data/lib/internetdata/models/whois.rb +1 -1
  62. data/lib/internetdata/result.rb +3 -2
  63. data/lib/internetdata/transport.rb +2 -1
  64. data/lib/internetdata/version.rb +1 -1
  65. metadata +2 -1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -15,10 +15,13 @@ require 'time'
15
15
 
16
16
  module InternetData
17
17
  class EntitlementPlan < ApiModelBase
18
- # The plan the organization is on: `free` for the free plan, Unlimited, or a paid plan's key. On `free`, usage counts the day's lookups answered with every field, its daily trial.
18
+ # The plan the organization is on, as an identifier that is never renamed or reused: `free` for the free plan, or a paid plan's key. Compare against it and show `name`. On `free`, usage counts the day's lookups answered with every field, its daily trial.
19
19
  attr_accessor :key
20
20
 
21
- # The field tier, which decides how much of a lookup answer comes back; `free` is the free plan's. What each tier includes is documented on the lookup endpoint rather than repeated here, so there is one place it can be wrong.
21
+ # The plan's name, as the site and console show it: `Unlimited` for the free plan. Show this rather than a name built from `key`: a plan's name can change, and its key never does.
22
+ attr_accessor :name
23
+
24
+ # The field tier, which decides how much of a lookup answer comes back; `free` is the free plan's. This list never gains a value: a new plan reports one of these. What each tier includes is documented on the lookup endpoint rather than repeated here, so there is one place it can be wrong.
22
25
  attr_accessor :tier
23
26
 
24
27
  class EnumAttributeValidator
@@ -47,6 +50,7 @@ module InternetData
47
50
  def self.attribute_map
48
51
  {
49
52
  :'key' => :'key',
53
+ :'name' => :'name',
50
54
  :'tier' => :'tier'
51
55
  }
52
56
  end
@@ -65,6 +69,7 @@ module InternetData
65
69
  def self.openapi_types
66
70
  {
67
71
  :'key' => :'String',
72
+ :'name' => :'String',
68
73
  :'tier' => :'String'
69
74
  }
70
75
  end
@@ -97,6 +102,12 @@ module InternetData
97
102
  self.key = nil
98
103
  end
99
104
 
105
+ if attributes.key?(:'name')
106
+ self.name = attributes[:'name']
107
+ else
108
+ self.name = nil
109
+ end
110
+
100
111
  if attributes.key?(:'tier')
101
112
  self.tier = attributes[:'tier']
102
113
  else
@@ -113,6 +124,10 @@ module InternetData
113
124
  invalid_properties.push('invalid value for "key", key cannot be nil.')
114
125
  end
115
126
 
127
+ if @name.nil?
128
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
129
+ end
130
+
116
131
  if @tier.nil?
117
132
  invalid_properties.push('invalid value for "tier", tier cannot be nil.')
118
133
  end
@@ -125,6 +140,7 @@ module InternetData
125
140
  def valid?
126
141
  warn '[DEPRECATED] the `valid?` method is obsolete'
127
142
  return false if @key.nil?
143
+ return false if @name.nil?
128
144
  return false if @tier.nil?
129
145
  tier_validator = EnumAttributeValidator.new('String', ["free", "starter", "scale", "max"])
130
146
  return false unless tier_validator.valid?(@tier)
@@ -141,6 +157,16 @@ module InternetData
141
157
  @key = key
142
158
  end
143
159
 
160
+ # Custom attribute writer method with validation
161
+ # @param [Object] name Value to be assigned
162
+ def name=(name)
163
+ if name.nil?
164
+ fail ArgumentError, 'name cannot be nil'
165
+ end
166
+
167
+ @name = name
168
+ end
169
+
144
170
  # Custom attribute writer method checking allowed values (enum).
145
171
  # @param [Object] tier Object to be assigned
146
172
  def tier=(tier)
@@ -157,6 +183,7 @@ module InternetData
157
183
  return true if self.equal?(o)
158
184
  self.class == o.class &&
159
185
  key == o.key &&
186
+ name == o.name &&
160
187
  tier == o.tier
161
188
  end
162
189
 
@@ -169,7 +196,7 @@ module InternetData
169
196
  # Calculates hash code according to all attributes.
170
197
  # @return [Integer] Hash code
171
198
  def hash
172
- [key, tier].hash
199
+ [key, name, tier].hash
173
200
  end
174
201
 
175
202
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -14,15 +14,19 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module InternetData
17
- # From IP Hosted Domains: a count, never the list. Paid plans and the trial.
17
+ # From IP Hosted Domains: how many registered domains resolve to the address, and the 10 most popular. Its database lists up to 1,000 an address. Paid plans and the trial.
18
18
  class HostedDomains < ApiModelBase
19
19
  # How many registered domains resolve to the address.
20
20
  attr_accessor :total
21
21
 
22
+ # Up to 10 of them, the most popular first; `[]` when none does.
23
+ attr_accessor :domains
24
+
22
25
  # Attribute mapping from ruby-style variable name to JSON key.
23
26
  def self.attribute_map
24
27
  {
25
- :'total' => :'total'
28
+ :'total' => :'total',
29
+ :'domains' => :'domains'
26
30
  }
27
31
  end
28
32
 
@@ -39,7 +43,8 @@ module InternetData
39
43
  # Attribute type mapping.
40
44
  def self.openapi_types
41
45
  {
42
- :'total' => :'Integer'
46
+ :'total' => :'Integer',
47
+ :'domains' => :'Array<String>'
43
48
  }
44
49
  end
45
50
 
@@ -70,6 +75,12 @@ module InternetData
70
75
  else
71
76
  self.total = nil
72
77
  end
78
+
79
+ if attributes.key?(:'domains')
80
+ if (value = attributes[:'domains']).is_a?(Array)
81
+ self.domains = value
82
+ end
83
+ end
73
84
  end
74
85
 
75
86
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -107,7 +118,8 @@ module InternetData
107
118
  def ==(o)
108
119
  return true if self.equal?(o)
109
120
  self.class == o.class &&
110
- total == o.total
121
+ total == o.total &&
122
+ domains == o.domains
111
123
  end
112
124
 
113
125
  # @see the `==` method
@@ -119,7 +131,7 @@ module InternetData
119
131
  # Calculates hash code according to all attributes.
120
132
  # @return [Integer] Hash code
121
133
  def hash
122
- [total].hash
134
+ [total, domains].hash
123
135
  end
124
136
 
125
137
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.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 InternetData API: look up what every database InternetData publishes says about an IP address, an AS or a domain, download the databases your organization is licensed for, and manage the account behind them. See https://docs.internetdata.io for guides and https://github.com/internetdata for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.11.13
6
+ The version of the OpenAPI document: 2026.11.15
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -406,8 +406,9 @@ module InternetData
406
406
  @raw['rwhois']
407
407
  end
408
408
 
409
- # How many domains IP Hosted Domains finds on the address, as
410
- # `{'total' => n}`: a count, never the list. Paid plans and the trial.
409
+ # How many domains IP Hosted Domains finds on the address, and the 10 most
410
+ # popular, as `{'total' => n, 'domains' => [...]}`: `domains` is `[]` when
411
+ # none does. Paid plans and the trial.
411
412
  def hosted_domains
412
413
  @raw['hosted_domains']
413
414
  end
@@ -380,6 +380,7 @@ module InternetData
380
380
  'HostedDomains' => %i[total],
381
381
  'AsnLookupResponse' => %i[asn name country registry allocated domain],
382
382
  'AsnPrefix' => %i[prefix peer_count rpki_status first_seen country size other_origins],
383
+ 'AsnHostedDomains' => %i[total],
383
384
  'DomainLookupResponse' => %i[domain is_registered has_a has_aaaa has_mx has_ns has_cname],
384
385
  'DomainDns' => %i[a aaaa mx ns cname],
385
386
  'DnsAddressRecord' => %i[ip last_seen],
@@ -392,7 +393,7 @@ module InternetData
392
393
  'BatchLookupError' => %i[status error],
393
394
  'Entitlement' => %i[org_id apikey plan usage],
394
395
  'EntitlementApikey' => %i[id expires allowed_cidrs],
395
- 'EntitlementPlan' => %i[key tier],
396
+ 'EntitlementPlan' => %i[key name tier],
396
397
  'EntitlementUsage' => %i[requests quota hard_limit window_start window_end],
397
398
  'DatabaseList' => %i[databases],
398
399
  'Database' => %i[base name summary standing open license_type starts expires renews_at notice_due_at versions],
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module InternetData
4
- VERSION = '2.11.1'
4
+ VERSION = '2.13.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: internetdata
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.1
4
+ version: 2.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mslm Dev
@@ -67,6 +67,7 @@ files:
67
67
  - lib/internetdata/middleware/core.rb
68
68
  - lib/internetdata/models/abuse_contact.rb
69
69
  - lib/internetdata/models/asn.rb
70
+ - lib/internetdata/models/asn_hosted_domains.rb
70
71
  - lib/internetdata/models/asn_lookup_response.rb
71
72
  - lib/internetdata/models/asn_prefix.rb
72
73
  - lib/internetdata/models/batch_lookup_error.rb