noresponse 10.0.1 → 10.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 +4 -4
- data/lib/no_response/models/shared/attribute.rb +21 -0
- data/lib/no_response/models/shared/attribute.rbi +9 -0
- data/lib/no_response/models/shared/breach.rb +21 -2
- data/lib/no_response/models/shared/breach.rbi +6 -0
- data/lib/no_response/models/shared/breachconduct.rb +20 -0
- data/lib/no_response/models/shared/breachconduct.rbi +9 -0
- data/lib/no_response/models/shared/risk.rb +20 -0
- data/lib/no_response/models/shared/risk.rbi +12 -0
- data/lib/no_response/models/shared/riskdetails.rb +18 -2
- data/lib/no_response/models/shared/riskdetails.rbi +6 -0
- data/lib/no_response/models/shared/riskdetailsattributeconflict.rb +62 -0
- data/lib/no_response/models/shared/riskdetailsattributeconflict.rbi +26 -0
- data/lib/no_response/models/shared.rb +3 -0
- data/lib/no_response/sdkconfiguration.rb +2 -2
- metadata +7 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 39ad875e44199cda0d80de8d4e904a4b6a61f15d77946019af435c6f4d159d38
|
|
4
|
+
data.tar.gz: b47250b98fe3ab72b751a8d2c64f1baa011e41fbfe40c482cbbb469b40ce27ef
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9d0b07c767982ece23ed08de3f461bab9545b67e43908d074950c62ead36f0940f36209e7b0473976f9d12fbd6835c9b66847cf0b3bbccbe69d3e52852ba5d72
|
|
7
|
+
data.tar.gz: f49c991499e72a2ba718a870edd60e3240881921c159340302674b09708bb2b11c0cf6e481a47387df1f0ee51d2e6dea77a1785aad28149d2d09942cc17685e1
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module NoResponse
|
|
5
|
+
module Models
|
|
6
|
+
module Shared
|
|
7
|
+
# Attribute - name_gender is the records' gender against the submitted first name's usual one.
|
|
8
|
+
class Attribute
|
|
9
|
+
include ::Crystalline::Enum
|
|
10
|
+
enums do
|
|
11
|
+
BIRTH_DATE = new("birth_date")
|
|
12
|
+
GENDER = new("gender")
|
|
13
|
+
NATIONALITY = new("nationality")
|
|
14
|
+
NAME_GENDER = new("name_gender")
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
open!
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -64,6 +64,12 @@ module NoResponse
|
|
|
64
64
|
Crystalline::Nilable.new(Crystalline::Array.new(Models::Shared::BreachExposed)),
|
|
65
65
|
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("exposed")}}
|
|
66
66
|
)
|
|
67
|
+
# What this table's rows record against the matched email or username: the tables behind the forum_sanctioned and prior_payment_abuse reasons. Absent when the rows record none, for a table matched on an IP address, and from an answer stored before it was recorded.
|
|
68
|
+
field(
|
|
69
|
+
:conduct,
|
|
70
|
+
Crystalline::Nilable.new(Crystalline::Array.new(Models::Shared::BreachConduct)),
|
|
71
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("conduct")}}
|
|
72
|
+
)
|
|
67
73
|
|
|
68
74
|
sig {
|
|
69
75
|
params(
|
|
@@ -74,11 +80,22 @@ module NoResponse
|
|
|
74
80
|
category: T.nilable(::String),
|
|
75
81
|
year: T.nilable(::Integer),
|
|
76
82
|
month: T.nilable(::Integer),
|
|
77
|
-
exposed: T.nilable(T::Array[Models::Shared::BreachExposed])
|
|
83
|
+
exposed: T.nilable(T::Array[Models::Shared::BreachExposed]),
|
|
84
|
+
conduct: T.nilable(T::Array[Models::Shared::BreachConduct])
|
|
78
85
|
)
|
|
79
86
|
.void
|
|
80
87
|
}
|
|
81
|
-
def initialize(
|
|
88
|
+
def initialize(
|
|
89
|
+
name:,
|
|
90
|
+
kind:,
|
|
91
|
+
matched_on:,
|
|
92
|
+
domain: nil,
|
|
93
|
+
category: nil,
|
|
94
|
+
year: nil,
|
|
95
|
+
month: nil,
|
|
96
|
+
exposed: nil,
|
|
97
|
+
conduct: nil
|
|
98
|
+
)
|
|
82
99
|
@name = name
|
|
83
100
|
@kind = kind
|
|
84
101
|
@matched_on = matched_on
|
|
@@ -87,6 +104,7 @@ module NoResponse
|
|
|
87
104
|
@year = year
|
|
88
105
|
@month = month
|
|
89
106
|
@exposed = exposed
|
|
107
|
+
@conduct = conduct
|
|
90
108
|
end
|
|
91
109
|
|
|
92
110
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -100,6 +118,7 @@ module NoResponse
|
|
|
100
118
|
return false unless @year == other.year
|
|
101
119
|
return false unless @month == other.month
|
|
102
120
|
return false unless @exposed == other.exposed
|
|
121
|
+
return false unless @conduct == other.conduct
|
|
103
122
|
true
|
|
104
123
|
end
|
|
105
124
|
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module NoResponse
|
|
5
|
+
module Models
|
|
6
|
+
module Shared
|
|
7
|
+
# BreachConduct - What a breach table's rows record against the identifier: chargeback, one or more chargebacks; declined_payment, one or more declined payments; forum_sanction, a forum ban, warning or infraction. A category and not a value: the schema has no member for one.
|
|
8
|
+
class BreachConduct
|
|
9
|
+
include ::Crystalline::Enum
|
|
10
|
+
enums do
|
|
11
|
+
CHARGEBACK = new("chargeback")
|
|
12
|
+
DECLINED_PAYMENT = new("declined_payment")
|
|
13
|
+
FORUM_SANCTION = new("forum_sanction")
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
open!
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -80,6 +80,18 @@ module NoResponse
|
|
|
80
80
|
Crystalline::Nilable.new(::Integer),
|
|
81
81
|
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("block_threshold")}}
|
|
82
82
|
)
|
|
83
|
+
# The score at which this answer's flow starts to recommend step_up. Absent from an answer stored before it was recorded.
|
|
84
|
+
field(
|
|
85
|
+
:step_up_threshold,
|
|
86
|
+
Crystalline::Nilable.new(::Integer),
|
|
87
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("step_up_threshold")}}
|
|
88
|
+
)
|
|
89
|
+
# The score at which this answer's flow starts to recommend review. An answer nothing answered recommends review below it, with confidence unavailable. Absent from an answer stored before it was recorded.
|
|
90
|
+
field(
|
|
91
|
+
:review_threshold,
|
|
92
|
+
Crystalline::Nilable.new(::Integer),
|
|
93
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("review_threshold")}}
|
|
94
|
+
)
|
|
83
95
|
# Labels the v0 policy as hand-authored and not statistically validated.
|
|
84
96
|
field(
|
|
85
97
|
:policy_basis,
|
|
@@ -110,6 +122,8 @@ module NoResponse
|
|
|
110
122
|
coverage: Models::Shared::RiskCoverage,
|
|
111
123
|
block: T.nilable(T::Boolean),
|
|
112
124
|
block_threshold: T.nilable(::Integer),
|
|
125
|
+
step_up_threshold: T.nilable(::Integer),
|
|
126
|
+
review_threshold: T.nilable(::Integer),
|
|
113
127
|
policy_basis: ::String,
|
|
114
128
|
summary: T.nilable(Models::Shared::RiskSummary),
|
|
115
129
|
details: T.nilable(Models::Shared::RiskDetails)
|
|
@@ -126,6 +140,8 @@ module NoResponse
|
|
|
126
140
|
coverage:,
|
|
127
141
|
block: nil,
|
|
128
142
|
block_threshold: nil,
|
|
143
|
+
step_up_threshold: nil,
|
|
144
|
+
review_threshold: nil,
|
|
129
145
|
policy_basis: "heuristic_unvalidated",
|
|
130
146
|
summary: nil,
|
|
131
147
|
details: nil
|
|
@@ -139,6 +155,8 @@ module NoResponse
|
|
|
139
155
|
@coverage = coverage
|
|
140
156
|
@block = block
|
|
141
157
|
@block_threshold = block_threshold
|
|
158
|
+
@step_up_threshold = step_up_threshold
|
|
159
|
+
@review_threshold = review_threshold
|
|
142
160
|
unless policy_basis == "heuristic_unvalidated"
|
|
143
161
|
raise ArgumentError, "Invalid value for policy_basis"
|
|
144
162
|
end
|
|
@@ -160,6 +178,8 @@ module NoResponse
|
|
|
160
178
|
return false unless @coverage == other.coverage
|
|
161
179
|
return false unless @block == other.block
|
|
162
180
|
return false unless @block_threshold == other.block_threshold
|
|
181
|
+
return false unless @step_up_threshold == other.step_up_threshold
|
|
182
|
+
return false unless @review_threshold == other.review_threshold
|
|
163
183
|
return false unless @policy_basis == other.policy_basis
|
|
164
184
|
return false unless @summary == other.summary
|
|
165
185
|
return false unless @details == other.details
|
|
@@ -60,6 +60,18 @@ class NoResponse::Models::Shared::Risk
|
|
|
60
60
|
def block_threshold=(str_)
|
|
61
61
|
end
|
|
62
62
|
|
|
63
|
+
def step_up_threshold
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
def step_up_threshold=(str_)
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
def review_threshold
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
def review_threshold=(str_)
|
|
73
|
+
end
|
|
74
|
+
|
|
63
75
|
def policy_basis
|
|
64
76
|
end
|
|
65
77
|
|
|
@@ -38,6 +38,12 @@ module NoResponse
|
|
|
38
38
|
Crystalline::Nilable.new(Crystalline::Array.new(Models::Shared::OnlineAccount)),
|
|
39
39
|
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("accounts")}}
|
|
40
40
|
)
|
|
41
|
+
# What an identity_attribute_conflict reason weighed: each attribute the records disagree on and the sites reporting it. Absent when the reason did not fire, and on an answer stored before conflicts were recorded. No value is served.
|
|
42
|
+
field(
|
|
43
|
+
:attribute_conflicts,
|
|
44
|
+
Crystalline::Nilable.new(Crystalline::Array.new(Models::Shared::RiskDetailsAttributeConflict)),
|
|
45
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("attribute_conflicts")}}
|
|
46
|
+
)
|
|
41
47
|
|
|
42
48
|
sig {
|
|
43
49
|
params(
|
|
@@ -45,16 +51,25 @@ module NoResponse
|
|
|
45
51
|
breaches: T.nilable(T::Array[Models::Shared::Breach]),
|
|
46
52
|
breach_names: T.nilable(T::Array[Models::Shared::RiskDetailsBreachName]),
|
|
47
53
|
events: T.nilable(T::Array[Models::Shared::RiskDetailsEvent]),
|
|
48
|
-
accounts: T.nilable(T::Array[Models::Shared::OnlineAccount])
|
|
54
|
+
accounts: T.nilable(T::Array[Models::Shared::OnlineAccount]),
|
|
55
|
+
attribute_conflicts: T.nilable(T::Array[Models::Shared::RiskDetailsAttributeConflict])
|
|
49
56
|
)
|
|
50
57
|
.void
|
|
51
58
|
}
|
|
52
|
-
def initialize(
|
|
59
|
+
def initialize(
|
|
60
|
+
phone_names: nil,
|
|
61
|
+
breaches: nil,
|
|
62
|
+
breach_names: nil,
|
|
63
|
+
events: nil,
|
|
64
|
+
accounts: nil,
|
|
65
|
+
attribute_conflicts: nil
|
|
66
|
+
)
|
|
53
67
|
@phone_names = phone_names
|
|
54
68
|
@breaches = breaches
|
|
55
69
|
@breach_names = breach_names
|
|
56
70
|
@events = events
|
|
57
71
|
@accounts = accounts
|
|
72
|
+
@attribute_conflicts = attribute_conflicts
|
|
58
73
|
end
|
|
59
74
|
|
|
60
75
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -65,6 +80,7 @@ module NoResponse
|
|
|
65
80
|
return false unless @breach_names == other.breach_names
|
|
66
81
|
return false unless @events == other.events
|
|
67
82
|
return false unless @accounts == other.accounts
|
|
83
|
+
return false unless @attribute_conflicts == other.attribute_conflicts
|
|
68
84
|
true
|
|
69
85
|
end
|
|
70
86
|
end
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module NoResponse
|
|
5
|
+
module Models
|
|
6
|
+
module Shared
|
|
7
|
+
|
|
8
|
+
class RiskDetailsAttributeConflict
|
|
9
|
+
extend T::Sig
|
|
10
|
+
include Crystalline::MetadataFields
|
|
11
|
+
|
|
12
|
+
# name_gender is the records' gender against the submitted first name's usual one.
|
|
13
|
+
field(
|
|
14
|
+
:attribute,
|
|
15
|
+
Models::Shared::Attribute,
|
|
16
|
+
{
|
|
17
|
+
'format_json': {
|
|
18
|
+
'letter_case': ::NoResponse::Utils.field_name("attribute"),
|
|
19
|
+
required: true,
|
|
20
|
+
'decoder': ::NoResponse::Utils.open_enum_from_string(Models::Shared::Attribute, false)
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
)
|
|
24
|
+
# The domains of the breached sites whose tables report the attribute, newest breach first, at most 32. Absent when none of the tables has a site.
|
|
25
|
+
field(
|
|
26
|
+
:sites,
|
|
27
|
+
Crystalline::Nilable.new(Crystalline::Array.new(::String)),
|
|
28
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("sites")}}
|
|
29
|
+
)
|
|
30
|
+
# How many of the tables reporting the attribute have no site, such as a credential list or a stealer log. Absent when none.
|
|
31
|
+
field(
|
|
32
|
+
:unsited,
|
|
33
|
+
Crystalline::Nilable.new(::Integer),
|
|
34
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("unsited")}}
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
sig {
|
|
38
|
+
params(
|
|
39
|
+
attribute: Models::Shared::Attribute,
|
|
40
|
+
sites: T.nilable(T::Array[::String]),
|
|
41
|
+
unsited: T.nilable(::Integer)
|
|
42
|
+
)
|
|
43
|
+
.void
|
|
44
|
+
}
|
|
45
|
+
def initialize(attribute:, sites: nil, unsited: nil)
|
|
46
|
+
@attribute = attribute
|
|
47
|
+
@sites = sites
|
|
48
|
+
@unsited = unsited
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
52
|
+
def ==(other)
|
|
53
|
+
return false unless other.is_a?(self.class)
|
|
54
|
+
return false unless @attribute == other.attribute
|
|
55
|
+
return false unless @sites == other.sites
|
|
56
|
+
return false unless @unsited == other.unsited
|
|
57
|
+
true
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
class NoResponse::Models::Shared::RiskDetailsAttributeConflict
|
|
5
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
class NoResponse::Models::Shared::RiskDetailsAttributeConflict
|
|
9
|
+
def attribute
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def attribute=(str_)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def sites
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def sites=(str_)
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
def unsited
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def unsited=(str_)
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -70,6 +70,7 @@ module NoResponse
|
|
|
70
70
|
autoload :AssessmentUpdatedData, "no_response/models/shared/assessmentupdateddata.rb"
|
|
71
71
|
autoload :AssessmentUpdatedEvent, "no_response/models/shared/assessmentupdatedevent.rb"
|
|
72
72
|
autoload :AssuranceLevel, "no_response/models/shared/assurancelevel.rb"
|
|
73
|
+
autoload :Attribute, "no_response/models/shared/attribute.rb"
|
|
73
74
|
autoload :AttributeAgreement, "no_response/models/shared/attributeagreement.rb"
|
|
74
75
|
autoload :AuditEvent, "no_response/models/shared/auditevent.rb"
|
|
75
76
|
autoload :AuditEventEvent, "no_response/models/shared/auditeventevent.rb"
|
|
@@ -89,6 +90,7 @@ module NoResponse
|
|
|
89
90
|
autoload :BadRequestErrorCode, "no_response/models/shared/badrequesterrorcode.rb"
|
|
90
91
|
autoload :Band, "no_response/models/shared/band.rb"
|
|
91
92
|
autoload :Breach, "no_response/models/shared/breach.rb"
|
|
93
|
+
autoload :BreachConduct, "no_response/models/shared/breachconduct.rb"
|
|
92
94
|
autoload :BreachExposed, "no_response/models/shared/breachexposed.rb"
|
|
93
95
|
autoload :BreachKind, "no_response/models/shared/breachkind.rb"
|
|
94
96
|
autoload :BreachSelector, "no_response/models/shared/breachselector.rb"
|
|
@@ -310,6 +312,7 @@ module NoResponse
|
|
|
310
312
|
autoload :RiskConfidence, "no_response/models/shared/riskconfidence.rb"
|
|
311
313
|
autoload :RiskCoverage, "no_response/models/shared/riskcoverage.rb"
|
|
312
314
|
autoload :RiskDetails, "no_response/models/shared/riskdetails.rb"
|
|
315
|
+
autoload :RiskDetailsAttributeConflict, "no_response/models/shared/riskdetailsattributeconflict.rb"
|
|
313
316
|
autoload :RiskDetailsBreachName, "no_response/models/shared/riskdetailsbreachname.rb"
|
|
314
317
|
autoload :RiskDetailsEvent, "no_response/models/shared/riskdetailsevent.rb"
|
|
315
318
|
autoload :RiskDetailsEventKind, "no_response/models/shared/riskdetailseventkind.rb"
|
|
@@ -95,9 +95,9 @@ module NoResponse
|
|
|
95
95
|
|
|
96
96
|
@language = "ruby"
|
|
97
97
|
@openapi_doc_version = "1"
|
|
98
|
-
@sdk_version = "10.0.
|
|
98
|
+
@sdk_version = "10.0.3"
|
|
99
99
|
@gen_version = "internal"
|
|
100
|
-
@user_agent = "noresponse-sdk/ruby 10.0.
|
|
100
|
+
@user_agent = "noresponse-sdk/ruby 10.0.3 internal 1 noresponse"
|
|
101
101
|
end
|
|
102
102
|
|
|
103
103
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: noresponse
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 10.0.
|
|
4
|
+
version: 10.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- NoResponse
|
|
@@ -807,6 +807,8 @@ files:
|
|
|
807
807
|
- lib/no_response/models/shared/assessmentupdatedevent.rbi
|
|
808
808
|
- lib/no_response/models/shared/assurancelevel.rb
|
|
809
809
|
- lib/no_response/models/shared/assurancelevel.rbi
|
|
810
|
+
- lib/no_response/models/shared/attribute.rb
|
|
811
|
+
- lib/no_response/models/shared/attribute.rbi
|
|
810
812
|
- lib/no_response/models/shared/attributeagreement.rb
|
|
811
813
|
- lib/no_response/models/shared/attributeagreement.rbi
|
|
812
814
|
- lib/no_response/models/shared/auditevent.rb
|
|
@@ -845,6 +847,8 @@ files:
|
|
|
845
847
|
- lib/no_response/models/shared/band.rbi
|
|
846
848
|
- lib/no_response/models/shared/breach.rb
|
|
847
849
|
- lib/no_response/models/shared/breach.rbi
|
|
850
|
+
- lib/no_response/models/shared/breachconduct.rb
|
|
851
|
+
- lib/no_response/models/shared/breachconduct.rbi
|
|
848
852
|
- lib/no_response/models/shared/breachexposed.rb
|
|
849
853
|
- lib/no_response/models/shared/breachexposed.rbi
|
|
850
854
|
- lib/no_response/models/shared/breachkind.rb
|
|
@@ -1295,6 +1299,8 @@ files:
|
|
|
1295
1299
|
- lib/no_response/models/shared/riskcoverage.rbi
|
|
1296
1300
|
- lib/no_response/models/shared/riskdetails.rb
|
|
1297
1301
|
- lib/no_response/models/shared/riskdetails.rbi
|
|
1302
|
+
- lib/no_response/models/shared/riskdetailsattributeconflict.rb
|
|
1303
|
+
- lib/no_response/models/shared/riskdetailsattributeconflict.rbi
|
|
1298
1304
|
- lib/no_response/models/shared/riskdetailsbreachname.rb
|
|
1299
1305
|
- lib/no_response/models/shared/riskdetailsbreachname.rbi
|
|
1300
1306
|
- lib/no_response/models/shared/riskdetailsevent.rb
|