internetdata 2.8.7 → 2.8.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0f14b7d6a525337e7b52c053e18cef8025bf359912e95bc819d8fd410caa9838
4
- data.tar.gz: 44b976c01d3f6ddb0cdcbd92183fedadecb6f579350c00663377d7b8f3f65242
3
+ metadata.gz: 6157ddaca572a6fdbec4f07bb91cdcecd4d21bc888a8641e7961411f6e164ea5
4
+ data.tar.gz: 1fd6bb9d10a79748fb42f053950f3fd4dbe64aaae36b2c9d6c3ab88bf9981594
5
5
  SHA512:
6
- metadata.gz: b07e9d69f4b16770627a42cff9ea3db360646b97758ffdba433c8e534b3e4dbaf596101d0829021e146707bcc03105031902b80b241505c89af026802a2b2c30
7
- data.tar.gz: 50d8d1cc12b1f427d669cd273bed58af9a37f9eef8e1c3bc2e317f301fbade53a8f0ef7672680988aa77edb283d39e33685e8a53c59b1f86661a7f6cc7ad56c7
6
+ metadata.gz: 283bda9e8965585d5e110427a3fff75b2e85c437f5f11e2c0eb3fd956adf3d31b8cfb2561ba3c719d339f9e2c11605df54f8c49b67f341e3ba4a4ead8c38474c
7
+ data.tar.gz: 17ee516cbafe10ee08649833d59813c3e1f81c1650c950c99c17ac5bedfeaa18972d09c234eacdc1a26fb71a00301bfe686602146fda17c498362784bf397e92
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: 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.02
6
+ The version of the OpenAPI document: 2026.11.05
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -169,6 +169,7 @@ module InternetData
169
169
  # @param id [String] Database identifier (e.g. `vpn_ip_v1`, `resproxy_provider_v1`).
170
170
  # @param format [DatabaseFormat] Database file format.
171
171
  # @param [Hash] opts the optional parameters
172
+ # @option opts [String] :build One build of the database, by the name a `database.updated` webhook gives it, so the file is the one whose `sha256` the webhook carries. Without it, the build that is live.
172
173
  # @return [nil]
173
174
  def download_database_v2(id, format, opts = {})
174
175
  download_database_v2_with_http_info(id, format, opts)
@@ -180,6 +181,7 @@ module InternetData
180
181
  # @param id [String] Database identifier (e.g. `vpn_ip_v1`, `resproxy_provider_v1`).
181
182
  # @param format [DatabaseFormat] Database file format.
182
183
  # @param [Hash] opts the optional parameters
184
+ # @option opts [String] :build One build of the database, by the name a `database.updated` webhook gives it, so the file is the one whose `sha256` the webhook carries. Without it, the build that is live.
183
185
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
184
186
  def download_database_v2_with_http_info(id, format, opts = {})
185
187
  if @api_client.config.debugging
@@ -198,6 +200,11 @@ module InternetData
198
200
  if @api_client.config.client_side_validation && format.nil?
199
201
  fail ArgumentError, "Missing the required parameter 'format' when calling DatabaseV2Api.download_database_v2"
200
202
  end
203
+ pattern = Regexp.new(/^[0-9]{8}\.[a-z0-9]{6}$/)
204
+ if @api_client.config.client_side_validation && !opts[:'build'].nil? && opts[:'build'] !~ pattern
205
+ fail ArgumentError, "invalid value for 'opts[:\"build\"]' when calling DatabaseV2Api.download_database_v2, must conform to the pattern #{pattern}."
206
+ end
207
+
201
208
  # resource path
202
209
  local_var_path = '/api/v2/database/download'
203
210
 
@@ -205,6 +212,7 @@ module InternetData
205
212
  query_params = opts[:query_params] || {}
206
213
  query_params[:'id'] = id
207
214
  query_params[:'format'] = format
215
+ query_params[:'build'] = opts[:'build'] if !opts[:'build'].nil?
208
216
 
209
217
  # header parameters
210
218
  header_params = opts[:header_params] || {}
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The InternetData API: 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.02
6
+ The version of the OpenAPI document: 2026.11.05
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: 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.02
6
+ The version of the OpenAPI document: 2026.11.05
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: 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.02
6
+ The version of the OpenAPI document: 2026.11.05
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: 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.02
6
+ The version of the OpenAPI document: 2026.11.05
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: 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.02
6
+ The version of the OpenAPI document: 2026.11.05
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: 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.02
6
+ The version of the OpenAPI document: 2026.11.05
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: 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.02
6
+ The version of the OpenAPI document: 2026.11.05
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: 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.02
6
+ The version of the OpenAPI document: 2026.11.05
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: 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.02
6
+ The version of the OpenAPI document: 2026.11.05
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: 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.02
6
+ The version of the OpenAPI document: 2026.11.05
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: 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.02
6
+ The version of the OpenAPI document: 2026.11.05
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: 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.02
6
+ The version of the OpenAPI document: 2026.11.05
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: 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.02
6
+ The version of the OpenAPI document: 2026.11.05
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: 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.02
6
+ The version of the OpenAPI document: 2026.11.05
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: 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.02
6
+ The version of the OpenAPI document: 2026.11.05
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: 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.02
6
+ The version of the OpenAPI document: 2026.11.05
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: 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.02
6
+ The version of the OpenAPI document: 2026.11.05
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: 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.02
6
+ The version of the OpenAPI document: 2026.11.05
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: 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.02
6
+ The version of the OpenAPI document: 2026.11.05
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: 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.02
6
+ The version of the OpenAPI document: 2026.11.05
7
7
  Contact: support@internetdata.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module InternetData
4
- VERSION = '2.8.7'
4
+ VERSION = '2.8.8'
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.8.7
4
+ version: 2.8.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mslm Dev