noresponse 10.0.2 → 10.0.4
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/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/consistency.rb +1 -1
- data/lib/no_response/models/shared/country.rb +1 -1
- data/lib/no_response/models/shared/reasoncode.rb +2 -0
- data/lib/no_response/models/shared.rb +1 -0
- data/lib/no_response/sdkconfiguration.rb +2 -2
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fea27fabd00bc174ec260f6d035ecd4cb0e9c5de83927be09d3359ba6be24f95
|
|
4
|
+
data.tar.gz: 1ce1bfd735f69a5699f1e6a90226750c65bb6c7bb73e05c7fc557824080827f3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7b94ba2d2743259d55379c7f786a5e358c8ed33b099d965cb942c08966dff042e613c89f5d144684fdb6efffc151c9aa0889c71f6e2bfdae96c055e4c22ef13a
|
|
7
|
+
data.tar.gz: 3ff2692982cab6554e015977beabaf11bc8c85a2bf85f8358eaecdf38622e4e92f23f47a201589660f71c5cdd3842cb682e1a11b62398cbd6d3aca6405a36049
|
|
@@ -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
|
|
@@ -42,7 +42,7 @@ module NoResponse
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
)
|
|
45
|
-
# IP country, phone country, breach countries and policy_context.region together.
|
|
45
|
+
# IP country, phone country, breach countries and policy_context.region together. When the breach records give a country, the timezone and locale countries count too. The IP country of a proxy or hosting network does not count.
|
|
46
46
|
field(
|
|
47
47
|
:country,
|
|
48
48
|
Crystalline::Nilable.new(Models::Shared::Country),
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
module NoResponse
|
|
5
5
|
module Models
|
|
6
6
|
module Shared
|
|
7
|
-
# Country - IP country, phone country, breach countries and policy_context.region together.
|
|
7
|
+
# Country - IP country, phone country, breach countries and policy_context.region together. When the breach records give a country, the timezone and locale countries count too. The IP country of a proxy or hosting network does not count.
|
|
8
8
|
class Country
|
|
9
9
|
include ::Crystalline::Enum
|
|
10
10
|
enums do
|
|
@@ -67,6 +67,8 @@ module NoResponse
|
|
|
67
67
|
NATIONALITY_MISMATCH = new("nationality_mismatch")
|
|
68
68
|
MINOR_IDENTITY = new("minor_identity")
|
|
69
69
|
REPORTED_ACCOUNT_ABUSE = new("reported_account_abuse")
|
|
70
|
+
BREACH_CITY_MATCH = new("breach_city_match")
|
|
71
|
+
BREACH_CITY_MISMATCH = new("breach_city_mismatch")
|
|
70
72
|
end
|
|
71
73
|
|
|
72
74
|
open!
|
|
@@ -90,6 +90,7 @@ module NoResponse
|
|
|
90
90
|
autoload :BadRequestErrorCode, "no_response/models/shared/badrequesterrorcode.rb"
|
|
91
91
|
autoload :Band, "no_response/models/shared/band.rb"
|
|
92
92
|
autoload :Breach, "no_response/models/shared/breach.rb"
|
|
93
|
+
autoload :BreachConduct, "no_response/models/shared/breachconduct.rb"
|
|
93
94
|
autoload :BreachExposed, "no_response/models/shared/breachexposed.rb"
|
|
94
95
|
autoload :BreachKind, "no_response/models/shared/breachkind.rb"
|
|
95
96
|
autoload :BreachSelector, "no_response/models/shared/breachselector.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.4"
|
|
99
99
|
@gen_version = "internal"
|
|
100
|
-
@user_agent = "noresponse-sdk/ruby 10.0.
|
|
100
|
+
@user_agent = "noresponse-sdk/ruby 10.0.4 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.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- NoResponse
|
|
@@ -847,6 +847,8 @@ files:
|
|
|
847
847
|
- lib/no_response/models/shared/band.rbi
|
|
848
848
|
- lib/no_response/models/shared/breach.rb
|
|
849
849
|
- lib/no_response/models/shared/breach.rbi
|
|
850
|
+
- lib/no_response/models/shared/breachconduct.rb
|
|
851
|
+
- lib/no_response/models/shared/breachconduct.rbi
|
|
850
852
|
- lib/no_response/models/shared/breachexposed.rb
|
|
851
853
|
- lib/no_response/models/shared/breachexposed.rbi
|
|
852
854
|
- lib/no_response/models/shared/breachkind.rb
|