noresponse 10.0.17 → 10.0.19

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: db7b1bd2c716daeb17b2af4a90dae7efe328aa259df7740694449792e0335d4b
4
- data.tar.gz: c9b7ac0128a525b06e486304d6396265d9d63e2cd488401d4d1a76492b83fc52
3
+ metadata.gz: c596b46fbb0b8a25acf2943f082497ac2796b804368232cfb6fd18414a268a96
4
+ data.tar.gz: 5ec8e3f6697b85bc963befcf8e69c75ead1b70e664a757dff76788cf7cc76bd4
5
5
  SHA512:
6
- metadata.gz: f565351952a8cad521a83bf238ba0d6b0acca2b69832f1ff92430d529e170dab2fabdc9cf40df58946484465e26d9b03890209613a368dd4fc14a21849ae6e31
7
- data.tar.gz: 978406e68c35468cf64416474bd6aee2053d63ad9b550f099af15b640478ef8618b38b8cafc552b9e438352961f4eaf4b9ac7c6194d9c644c33e9a865f52333d
6
+ metadata.gz: 85568dfde0a7af85c913623e8502ae70d44a06263be32d8fbad1dc9dfde2f9eaecaa0b0054b0ff9a5b9c4bba6a1c50862d13b43eb1ac13c62d714da1f433e9ad
7
+ data.tar.gz: 5df303f105b973f0aed1986efa9aefd542206682c7b612f86997a5c0fa423195fd5c044ef2b52f76f322ab7b532e10eb14655a8deaf88e047bef1412ee2158bc
@@ -51,6 +51,12 @@ module NoResponse
51
51
  Models::Shared::OtherEvents,
52
52
  {'format_json': {'letter_case': ::NoResponse::Utils.field_name("other_events"), required: true}}
53
53
  )
54
+ # What the signup check's lookups found for an attendee: account presence for the email, phone and usernames (the attendee's handles), the phone lookup, the email domain's registration and the breach search. Context and coverage for the reviewer, not a finding: nothing here sets a band or a match state.
55
+ field(
56
+ :lookup,
57
+ Crystalline::Nilable.new(Models::Shared::ScreeningLookup),
58
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("lookup")}}
59
+ )
54
60
 
55
61
  sig {
56
62
  params(
@@ -60,11 +66,12 @@ module NoResponse
60
66
  posts: T::Array[Models::Shared::ScreeningPost],
61
67
  media: T::Array[Models::Shared::ScreeningMedia],
62
68
  reviews: T::Array[Models::Shared::AttendeeReview],
63
- other_events: Models::Shared::OtherEvents
69
+ other_events: Models::Shared::OtherEvents,
70
+ lookup: T.nilable(Models::Shared::ScreeningLookup)
64
71
  )
65
72
  .void
66
73
  }
67
- def initialize(attendee:, profiles:, findings:, posts:, media:, reviews:, other_events:)
74
+ def initialize(attendee:, profiles:, findings:, posts:, media:, reviews:, other_events:, lookup: nil)
68
75
  @attendee = attendee
69
76
  @profiles = profiles
70
77
  @findings = findings
@@ -72,6 +79,7 @@ module NoResponse
72
79
  @media = media
73
80
  @reviews = reviews
74
81
  @other_events = other_events
82
+ @lookup = lookup
75
83
  end
76
84
 
77
85
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -84,6 +92,7 @@ module NoResponse
84
92
  return false unless @media == other.media
85
93
  return false unless @reviews == other.reviews
86
94
  return false unless @other_events == other.other_events
95
+ return false unless @lookup == other.lookup
87
96
  true
88
97
  end
89
98
  end
@@ -47,4 +47,10 @@ class NoResponse::Models::Shared::AttendeeReport
47
47
 
48
48
  def other_events=(str_)
49
49
  end
50
+
51
+ def lookup
52
+ end
53
+
54
+ def lookup=(str_)
55
+ end
50
56
  end
@@ -4,7 +4,7 @@
4
4
  module NoResponse
5
5
  module Models
6
6
  module Shared
7
- # ProfileMatchState - How sure the screening is that a profile is the attendee's, from its evidence: confirmed is two or more hard identifiers (email, phone, a supplied handle, or a fact an existing source returned), probable is one identifier beyond the name, possible is the name alone.
7
+ # ProfileMatchState - How sure the screening is that a profile is the attendee's, from its evidence: confirmed is a handle on the attendee row, or two or more hard identifiers (email, phone, a supplied handle, or a fact an existing source returned); probable is one identifier beyond the name; possible is the name alone.
8
8
  class ProfileMatchState
9
9
  include ::Crystalline::Enum
10
10
  enums do
@@ -98,13 +98,13 @@ module NoResponse
98
98
  ::String,
99
99
  {'format_json': {'letter_case': ::NoResponse::Utils.field_name("policy_basis"), required: true}}
100
100
  )
101
- # A few typed facts per identifier. Every fact is optional: absent means the evidence did not answer and makes no claim, while false or 0 is a definite answer. Lanes that do not exist yet leave their members absent.
101
+ # A few typed facts per identifier: an assessment's risk.summary, and an event screening attendee's lookup summary. Every fact is optional: absent means the evidence did not answer and makes no claim, while false or 0 is a definite answer.
102
102
  field(
103
103
  :summary,
104
104
  Crystalline::Nilable.new(Models::Shared::RiskSummary),
105
105
  {'format_json': {'letter_case': ::NoResponse::Utils.field_name("summary")}}
106
106
  )
107
- # Detailed view only (response_mode=detailed, which needs the detailed scope); a standard answer leaves it out. Merged observations without provider, source, origin, raw breach record, value or score.
107
+ # Merged observations behind the summary, served only to a caller who may read evidence: no provider, source, origin, raw breach record or score.
108
108
  field(
109
109
  :details,
110
110
  Crystalline::Nilable.new(Models::Shared::RiskDetails),
@@ -4,7 +4,7 @@
4
4
  module NoResponse
5
5
  module Models
6
6
  module Shared
7
- # Detailed view only (response_mode=detailed, which needs the detailed scope); a standard answer leaves it out. Merged observations without provider, source, origin, raw breach record, value or score.
7
+ # Merged observations behind the summary, served only to a caller who may read evidence: no provider, source, origin, raw breach record or score.
8
8
  class RiskDetails
9
9
  extend T::Sig
10
10
  include Crystalline::MetadataFields
@@ -4,7 +4,7 @@
4
4
  module NoResponse
5
5
  module Models
6
6
  module Shared
7
- # A few typed facts per identifier. Every fact is optional: absent means the evidence did not answer and makes no claim, while false or 0 is a definite answer. Lanes that do not exist yet leave their members absent.
7
+ # A few typed facts per identifier: an assessment's risk.summary, and an event screening attendee's lookup summary. Every fact is optional: absent means the evidence did not answer and makes no claim, while false or 0 is a definite answer.
8
8
  class RiskSummary
9
9
  extend T::Sig
10
10
  include Crystalline::MetadataFields
@@ -0,0 +1,65 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ module NoResponse
5
+ module Models
6
+ module Shared
7
+ # What the signup check's lookups found for an attendee: account presence for the email, phone and usernames (the attendee's handles), the phone lookup, the email domain's registration and the breach search. Context and coverage for the reviewer, not a finding: nothing here sets a band or a match state.
8
+ class ScreeningLookup
9
+ extend T::Sig
10
+ include Crystalline::MetadataFields
11
+
12
+ # Each lane each identifier was looked up in, identifiers in the order email, phone, username and lanes in the order accounts, phone, breach, domain. Every lane the attendee's identifiers are looked up in is listed: one that no source answered, or that no source could be asked in, is not_covered. Empty when the attendee has no email, phone or handle to look up.
13
+ field(
14
+ :checks,
15
+ Crystalline::Array.new(Models::Shared::ScreeningLookupCheck),
16
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("checks"), required: true}}
17
+ )
18
+ # When the lookups ran.
19
+ field(
20
+ :looked_at,
21
+ ::String,
22
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("looked_at"), required: true}}
23
+ )
24
+ # A few typed facts per identifier: an assessment's risk.summary, and an event screening attendee's lookup summary. Every fact is optional: absent means the evidence did not answer and makes no claim, while false or 0 is a definite answer.
25
+ field(
26
+ :summary,
27
+ Crystalline::Nilable.new(Models::Shared::RiskSummary),
28
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("summary")}}
29
+ )
30
+ # Merged observations behind the summary, served only to a caller who may read evidence: no provider, source, origin, raw breach record or score.
31
+ field(
32
+ :details,
33
+ Crystalline::Nilable.new(Models::Shared::RiskDetails),
34
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("details")}}
35
+ )
36
+
37
+ sig {
38
+ params(
39
+ checks: T::Array[Models::Shared::ScreeningLookupCheck],
40
+ looked_at: ::String,
41
+ summary: T.nilable(Models::Shared::RiskSummary),
42
+ details: T.nilable(Models::Shared::RiskDetails)
43
+ )
44
+ .void
45
+ }
46
+ def initialize(checks:, looked_at:, summary: nil, details: nil)
47
+ @checks = checks
48
+ @looked_at = looked_at
49
+ @summary = summary
50
+ @details = details
51
+ end
52
+
53
+ sig { params(other: T.untyped).returns(T::Boolean) }
54
+ def ==(other)
55
+ return false unless other.is_a?(self.class)
56
+ return false unless @checks == other.checks
57
+ return false unless @looked_at == other.looked_at
58
+ return false unless @summary == other.summary
59
+ return false unless @details == other.details
60
+ true
61
+ end
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,32 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ class NoResponse::Models::Shared::ScreeningLookup
5
+ extend ::Crystalline::MetadataFields::ClassMethods
6
+ end
7
+
8
+ class NoResponse::Models::Shared::ScreeningLookup
9
+ def checks
10
+ end
11
+
12
+ def checks=(str_)
13
+ end
14
+
15
+ def looked_at
16
+ end
17
+
18
+ def looked_at=(str_)
19
+ end
20
+
21
+ def summary
22
+ end
23
+
24
+ def summary=(str_)
25
+ end
26
+
27
+ def details
28
+ end
29
+
30
+ def details=(str_)
31
+ end
32
+ end
@@ -0,0 +1,114 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ module NoResponse
5
+ module Models
6
+ module Shared
7
+ # What came of one lane of the lookups for one identifier.
8
+ class ScreeningLookupCheck
9
+ extend T::Sig
10
+ include Crystalline::MetadataFields
11
+
12
+ field(
13
+ :identifier,
14
+ Models::Shared::IdentifierSearchKind,
15
+ {
16
+ 'format_json': {
17
+ 'letter_case': ::NoResponse::Utils.field_name("identifier"),
18
+ required: true,
19
+ 'decoder': ::NoResponse::Utils.open_enum_from_string(Models::Shared::IdentifierSearchKind, false)
20
+ }
21
+ }
22
+ )
23
+ # An evidence lane: accounts (account presence for email and username), phone, breach, domain (the email domain's registration) and ip.
24
+ field(
25
+ :lane,
26
+ Models::Shared::Lane,
27
+ {
28
+ 'format_json': {
29
+ 'letter_case': ::NoResponse::Utils.field_name("lane"),
30
+ required: true,
31
+ 'decoder': ::NoResponse::Utils.open_enum_from_string(Models::Shared::Lane, false)
32
+ }
33
+ }
34
+ )
35
+ # found: a source found the identifier. not_found: every source answered and none found it. partial: the sources that answered found nothing and the others did not answer. not_covered: no source answered. A lookup that failed reads partial or not_covered, not not_found.
36
+ field(
37
+ :status,
38
+ Models::Shared::ScreeningLookupCheckStatus,
39
+ {
40
+ 'format_json': {
41
+ 'letter_case': ::NoResponse::Utils.field_name("status"),
42
+ required: true,
43
+ 'decoder': ::NoResponse::Utils.open_enum_from_string(Models::Shared::ScreeningLookupCheckStatus, false)
44
+ }
45
+ }
46
+ )
47
+ # Sources asked: none when no source could be, as when the source is stopped or your workspace refuses it.
48
+ field(
49
+ :sources,
50
+ ::Integer,
51
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("sources"), required: true}}
52
+ )
53
+ # Sources that gave a definite answer.
54
+ field(
55
+ :answered,
56
+ ::Integer,
57
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("answered"), required: true}}
58
+ )
59
+ # Sources that found the identifier.
60
+ field(
61
+ :found,
62
+ ::Integer,
63
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("found"), required: true}}
64
+ )
65
+ # Why a signal or source did not produce a definite found/not_found. timed_out means the source missed the request deadline; a continuation may still settle it. deferred means the (source, identifier) pair is async-only and was not attempted on the synchronous path; a continuation settles it.
66
+ field(
67
+ :reason,
68
+ Crystalline::Nilable.new(Models::Shared::FailureReason),
69
+ {
70
+ 'format_json': {
71
+ 'letter_case': ::NoResponse::Utils.field_name("reason"),
72
+ 'decoder': ::NoResponse::Utils.open_enum_from_string(Models::Shared::FailureReason, true)
73
+ }
74
+ }
75
+ )
76
+
77
+ sig {
78
+ params(
79
+ identifier: Models::Shared::IdentifierSearchKind,
80
+ lane: Models::Shared::Lane,
81
+ status: Models::Shared::ScreeningLookupCheckStatus,
82
+ sources: ::Integer,
83
+ answered: ::Integer,
84
+ found: ::Integer,
85
+ reason: T.nilable(Models::Shared::FailureReason)
86
+ )
87
+ .void
88
+ }
89
+ def initialize(identifier:, lane:, status:, sources:, answered:, found:, reason: nil)
90
+ @identifier = identifier
91
+ @lane = lane
92
+ @status = status
93
+ @sources = sources
94
+ @answered = answered
95
+ @found = found
96
+ @reason = reason
97
+ end
98
+
99
+ sig { params(other: T.untyped).returns(T::Boolean) }
100
+ def ==(other)
101
+ return false unless other.is_a?(self.class)
102
+ return false unless @identifier == other.identifier
103
+ return false unless @lane == other.lane
104
+ return false unless @status == other.status
105
+ return false unless @sources == other.sources
106
+ return false unless @answered == other.answered
107
+ return false unless @found == other.found
108
+ return false unless @reason == other.reason
109
+ true
110
+ end
111
+ end
112
+ end
113
+ end
114
+ end
@@ -0,0 +1,50 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ class NoResponse::Models::Shared::ScreeningLookupCheck
5
+ extend ::Crystalline::MetadataFields::ClassMethods
6
+ end
7
+
8
+ class NoResponse::Models::Shared::ScreeningLookupCheck
9
+ def identifier
10
+ end
11
+
12
+ def identifier=(str_)
13
+ end
14
+
15
+ def lane
16
+ end
17
+
18
+ def lane=(str_)
19
+ end
20
+
21
+ def status
22
+ end
23
+
24
+ def status=(str_)
25
+ end
26
+
27
+ def sources
28
+ end
29
+
30
+ def sources=(str_)
31
+ end
32
+
33
+ def answered
34
+ end
35
+
36
+ def answered=(str_)
37
+ end
38
+
39
+ def found
40
+ end
41
+
42
+ def found=(str_)
43
+ end
44
+
45
+ def reason
46
+ end
47
+
48
+ def reason=(str_)
49
+ end
50
+ end
@@ -0,0 +1,21 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ module NoResponse
5
+ module Models
6
+ module Shared
7
+ # ScreeningLookupCheckStatus - found: a source found the identifier. not_found: every source answered and none found it. partial: the sources that answered found nothing and the others did not answer. not_covered: no source answered. A lookup that failed reads partial or not_covered, not not_found.
8
+ class ScreeningLookupCheckStatus
9
+ include ::Crystalline::Enum
10
+ enums do
11
+ FOUND = new("found")
12
+ NOT_FOUND = new("not_found")
13
+ PARTIAL = new("partial")
14
+ NOT_COVERED = new("not_covered")
15
+ end
16
+
17
+ open!
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,9 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ class NoResponse::Models::Shared::ScreeningLookupCheckStatus
5
+ extend ::Crystalline::MetadataFields::ClassMethods
6
+ end
7
+
8
+ class NoResponse::Models::Shared::ScreeningLookupCheckStatus
9
+ end
@@ -9,7 +9,7 @@ module NoResponse
9
9
  extend T::Sig
10
10
  include Crystalline::MetadataFields
11
11
 
12
- # How sure the screening is that a profile is the attendee's, from its evidence: confirmed is two or more hard identifiers (email, phone, a supplied handle, or a fact an existing source returned), probable is one identifier beyond the name, possible is the name alone.
12
+ # How sure the screening is that a profile is the attendee's, from its evidence: confirmed is a handle on the attendee row, or two or more hard identifiers (email, phone, a supplied handle, or a fact an existing source returned); probable is one identifier beyond the name; possible is the name alone.
13
13
  field(
14
14
  :state,
15
15
  Models::Shared::ProfileMatchState,
@@ -9,7 +9,7 @@ module NoResponse
9
9
  extend T::Sig
10
10
  include Crystalline::MetadataFields
11
11
 
12
- # What matched. email, phone, supplied_handle and source_fact are hard identifiers; company, city and school are soft.
12
+ # What matched. email, phone, supplied_handle and source_fact are hard identifiers; company, city and school are soft. supplied_handle is a handle on the attendee row; source_fact is an account a profile found by the attendee's lookups lists.
13
13
  field(
14
14
  :kind,
15
15
  Models::Shared::ScreeningMatchEvidenceKind,
@@ -4,7 +4,7 @@
4
4
  module NoResponse
5
5
  module Models
6
6
  module Shared
7
- # ScreeningMatchEvidenceKind - What matched. email, phone, supplied_handle and source_fact are hard identifiers; company, city and school are soft.
7
+ # ScreeningMatchEvidenceKind - What matched. email, phone, supplied_handle and source_fact are hard identifiers; company, city and school are soft. supplied_handle is a handle on the attendee row; source_fact is an account a profile found by the attendee's lookups lists.
8
8
  class ScreeningMatchEvidenceKind
9
9
  include ::Crystalline::Enum
10
10
  enums do
@@ -368,6 +368,9 @@ module NoResponse
368
368
  autoload :ScreeningDepth, "no_response/models/shared/screeningdepth.rb"
369
369
  autoload :ScreeningFinding, "no_response/models/shared/screeningfinding.rb"
370
370
  autoload :ScreeningList, "no_response/models/shared/screeninglist.rb"
371
+ autoload :ScreeningLookup, "no_response/models/shared/screeninglookup.rb"
372
+ autoload :ScreeningLookupCheck, "no_response/models/shared/screeninglookupcheck.rb"
373
+ autoload :ScreeningLookupCheckStatus, "no_response/models/shared/screeninglookupcheckstatus.rb"
371
374
  autoload :ScreeningMatch, "no_response/models/shared/screeningmatch.rb"
372
375
  autoload :ScreeningMatchEvidence, "no_response/models/shared/screeningmatchevidence.rb"
373
376
  autoload :ScreeningMatchEvidenceKind, "no_response/models/shared/screeningmatchevidencekind.rb"
@@ -95,9 +95,9 @@ module NoResponse
95
95
 
96
96
  @language = "ruby"
97
97
  @openapi_doc_version = "1"
98
- @sdk_version = "10.0.17"
98
+ @sdk_version = "10.0.19"
99
99
  @gen_version = "internal"
100
- @user_agent = "noresponse-sdk/ruby 10.0.17 internal 1 noresponse"
100
+ @user_agent = "noresponse-sdk/ruby 10.0.19 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.17
4
+ version: 10.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - NoResponse
@@ -1472,6 +1472,12 @@ files:
1472
1472
  - lib/no_response/models/shared/screeningfinding.rbi
1473
1473
  - lib/no_response/models/shared/screeninglist.rb
1474
1474
  - lib/no_response/models/shared/screeninglist.rbi
1475
+ - lib/no_response/models/shared/screeninglookup.rb
1476
+ - lib/no_response/models/shared/screeninglookup.rbi
1477
+ - lib/no_response/models/shared/screeninglookupcheck.rb
1478
+ - lib/no_response/models/shared/screeninglookupcheck.rbi
1479
+ - lib/no_response/models/shared/screeninglookupcheckstatus.rb
1480
+ - lib/no_response/models/shared/screeninglookupcheckstatus.rbi
1475
1481
  - lib/no_response/models/shared/screeningmatch.rb
1476
1482
  - lib/no_response/models/shared/screeningmatch.rbi
1477
1483
  - lib/no_response/models/shared/screeningmatchevidence.rb