noresponse 8.0.2 → 8.0.3

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: 441dc61ae87ad2e8d797869f3ef6af730f2ad6df8e820aa0f745a3f5d807ab57
4
- data.tar.gz: c9dcb876668695180198d0f29f4522ed0e4e2aa6a30dc45a2195b323ee457d1f
3
+ metadata.gz: 9fbebee86b3b1c3f5177d1e3b9c3aa99936866c073feca1b2fe9b33b70466a08
4
+ data.tar.gz: 04d9eaaed8ba4bbcd98a2caff36455bcef21d9be479b8f31ef27f844d7734d49
5
5
  SHA512:
6
- metadata.gz: 359c75bde46574884cbce39305d9ed140696c548412b1bbf47121b27ab4863748f1b0714636a102cedb840c39d3dac933d4c8bcc6769ac618ed776e222ff84c4
7
- data.tar.gz: 4df1c44d97ee4d8416d0de724eac47ea93a61a750dddb089080e41b4b87e8e333f326889cbd7df09d7d172f32331a3cf8f6fd4e6215d27526ec7237ff22a7b90
6
+ metadata.gz: c8981a8f5ec356e5ef2061e59ffd9a3681c3e269bff7e5a3c147153c04956eceb24791adda8cf305edc372343bd012b06cb38f9ccfe75e7d70067a1326d454ea
7
+ data.tar.gz: 064d72f3d8469f4568c21bb94898d5758ff5d199649154317388164cd87a99d0e3064f533c521bc087eaf9bf22bc4db76b0269cc237972ae33bfcdd9001db349
@@ -26,6 +26,12 @@ module NoResponse
26
26
  }
27
27
  }
28
28
  )
29
+ # Autonomous system number of the network that announces the address, from the offline database. Absent when unknown.
30
+ field(
31
+ :asn,
32
+ Crystalline::Nilable.new(::Integer),
33
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("asn")}}
34
+ )
29
35
  # Assessments in this workspace with the same IP in the last 24 hours, this one included. A count only.
30
36
  field(
31
37
  :seen_in_workspace,
@@ -37,13 +43,15 @@ module NoResponse
37
43
  params(
38
44
  country: T.nilable(::String),
39
45
  type: T.nilable(Models::Shared::IpSummaryType),
46
+ asn: T.nilable(::Integer),
40
47
  seen_in_workspace: T.nilable(::Integer)
41
48
  )
42
49
  .void
43
50
  }
44
- def initialize(country: nil, type: nil, seen_in_workspace: nil)
51
+ def initialize(country: nil, type: nil, asn: nil, seen_in_workspace: nil)
45
52
  @country = country
46
53
  @type = type
54
+ @asn = asn
47
55
  @seen_in_workspace = seen_in_workspace
48
56
  end
49
57
 
@@ -52,6 +60,7 @@ module NoResponse
52
60
  return false unless other.is_a?(self.class)
53
61
  return false unless @country == other.country
54
62
  return false unless @type == other.type
63
+ return false unless @asn == other.asn
55
64
  return false unless @seen_in_workspace == other.seen_in_workspace
56
65
  true
57
66
  end
@@ -18,6 +18,12 @@ class NoResponse::Models::Shared::IpSummary
18
18
  def type=(str_)
19
19
  end
20
20
 
21
+ def asn
22
+ end
23
+
24
+ def asn=(str_)
25
+ end
26
+
21
27
  def seen_in_workspace
22
28
  end
23
29
 
@@ -95,9 +95,9 @@ module NoResponse
95
95
 
96
96
  @language = "ruby"
97
97
  @openapi_doc_version = "1"
98
- @sdk_version = "8.0.2"
98
+ @sdk_version = "8.0.3"
99
99
  @gen_version = "internal"
100
- @user_agent = "noresponse-sdk/ruby 8.0.2 internal 1 noresponse"
100
+ @user_agent = "noresponse-sdk/ruby 8.0.3 internal 1 noresponse"
101
101
  end
102
102
 
103
103
  sig { returns([String, T::Hash[Symbol, String]]) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noresponse
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.0.2
4
+ version: 8.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - NoResponse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-10-26 00:00:00.000000000 Z
11
+ date: 2026-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64