noresponse 10.0.3 → 10.0.5
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/assessmentsearchrequest.rb +15 -0
- data/lib/no_response/models/shared/assessmentsearchrequest.rbi +6 -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/origin.rb +16 -0
- data/lib/no_response/models/shared/origin.rbi +9 -0
- 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: 90a9acd3e07475a71a496b5a1561aac43fca38b6f7a63ceced667f60d3c7342e
|
|
4
|
+
data.tar.gz: 601bd19751442caa14f0ce8984d9b9576c7f5952810a4f25104a4725a70aae9e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a281ad4e28a52bfb2857c5e36826ec4f93fc0c7832564ded7db33b9cab7533a806233df4efe59cc5b20978b17f8c41cf02630d3f220dbc52429d49af7981e951
|
|
7
|
+
data.tar.gz: d4ca73da5d0ae9d360e5b527e89c5f5dc41ef393b2f9196bd5a60af58328890af1c3e0e9b21f6e35a1deee3cdd32b07a27382d02ef886e3609457c2e4f4c129a
|
|
@@ -46,6 +46,17 @@ module NoResponse
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
)
|
|
49
|
+
# api (the default) searches the assessments your integration sent. lookup searches the assessments your team ran by hand on the console's Lookup page. The API sets an assessment's origin from the credential that sent it. A lookup is not in any other list, count, webhook event or account.
|
|
50
|
+
field(
|
|
51
|
+
:origin,
|
|
52
|
+
Crystalline::Nilable.new(Models::Shared::Origin),
|
|
53
|
+
{
|
|
54
|
+
'format_json': {
|
|
55
|
+
'letter_case': ::NoResponse::Utils.field_name("origin"),
|
|
56
|
+
'decoder': ::NoResponse::Utils.enum_from_string(Models::Shared::Origin, true)
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
)
|
|
49
60
|
# The recommended action: allow, step_up or review. Your application applies it.
|
|
50
61
|
field(
|
|
51
62
|
:recommendation,
|
|
@@ -208,6 +219,7 @@ module NoResponse
|
|
|
208
219
|
email: T.nilable(::String),
|
|
209
220
|
flow: T.nilable(Models::Shared::Flow),
|
|
210
221
|
status: T.nilable(Models::Shared::Status),
|
|
222
|
+
origin: T.nilable(Models::Shared::Origin),
|
|
211
223
|
recommendation: T.nilable(Models::Shared::Recommendation),
|
|
212
224
|
cursor: T.nilable(::String),
|
|
213
225
|
response_mode: T.nilable(Models::Shared::ResponseMode),
|
|
@@ -236,6 +248,7 @@ module NoResponse
|
|
|
236
248
|
email: nil,
|
|
237
249
|
flow: nil,
|
|
238
250
|
status: nil,
|
|
251
|
+
origin: nil,
|
|
239
252
|
recommendation: nil,
|
|
240
253
|
cursor: nil,
|
|
241
254
|
response_mode: nil,
|
|
@@ -261,6 +274,7 @@ module NoResponse
|
|
|
261
274
|
@email = email
|
|
262
275
|
@flow = flow
|
|
263
276
|
@status = status
|
|
277
|
+
@origin = origin
|
|
264
278
|
@recommendation = recommendation
|
|
265
279
|
@cursor = cursor
|
|
266
280
|
@response_mode = response_mode
|
|
@@ -290,6 +304,7 @@ module NoResponse
|
|
|
290
304
|
return false unless @email == other.email
|
|
291
305
|
return false unless @flow == other.flow
|
|
292
306
|
return false unless @status == other.status
|
|
307
|
+
return false unless @origin == other.origin
|
|
293
308
|
return false unless @recommendation == other.recommendation
|
|
294
309
|
return false unless @cursor == other.cursor
|
|
295
310
|
return false unless @response_mode == other.response_mode
|
|
@@ -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
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module NoResponse
|
|
5
|
+
module Models
|
|
6
|
+
module Shared
|
|
7
|
+
# Origin - api (the default) searches the assessments your integration sent. lookup searches the assessments your team ran by hand on the console's Lookup page. The API sets an assessment's origin from the credential that sent it. A lookup is not in any other list, count, webhook event or account.
|
|
8
|
+
class Origin < T::Enum
|
|
9
|
+
enums do
|
|
10
|
+
API = new("api")
|
|
11
|
+
LOOKUP = new("lookup")
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -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!
|
|
@@ -236,6 +236,7 @@ module NoResponse
|
|
|
236
236
|
autoload :OperationalAggregateBucket, "no_response/models/shared/operationalaggregatebucket.rb"
|
|
237
237
|
autoload :OperationalAggregateQueue, "no_response/models/shared/operationalaggregatequeue.rb"
|
|
238
238
|
autoload :OperationalAggregateTotals, "no_response/models/shared/operationalaggregatetotals.rb"
|
|
239
|
+
autoload :Origin, "no_response/models/shared/origin.rb"
|
|
239
240
|
autoload :Outcome, "no_response/models/shared/outcome.rb"
|
|
240
241
|
autoload :Outcomes, "no_response/models/shared/outcomes.rb"
|
|
241
242
|
autoload :OutcomesByOutcome, "no_response/models/shared/outcomesbyoutcome.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.5"
|
|
99
99
|
@gen_version = "internal"
|
|
100
|
-
@user_agent = "noresponse-sdk/ruby 10.0.
|
|
100
|
+
@user_agent = "noresponse-sdk/ruby 10.0.5 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.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- NoResponse
|
|
@@ -1153,6 +1153,8 @@ files:
|
|
|
1153
1153
|
- lib/no_response/models/shared/operationalaggregatequeue.rbi
|
|
1154
1154
|
- lib/no_response/models/shared/operationalaggregatetotals.rb
|
|
1155
1155
|
- lib/no_response/models/shared/operationalaggregatetotals.rbi
|
|
1156
|
+
- lib/no_response/models/shared/origin.rb
|
|
1157
|
+
- lib/no_response/models/shared/origin.rbi
|
|
1156
1158
|
- lib/no_response/models/shared/outcome.rb
|
|
1157
1159
|
- lib/no_response/models/shared/outcome.rbi
|
|
1158
1160
|
- lib/no_response/models/shared/outcomes.rb
|