noresponse 10.0.18 → 10.0.20
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/profilematchstate.rb +1 -1
- data/lib/no_response/models/shared/screeningcoverage.rb +10 -0
- data/lib/no_response/models/shared/screeningcoverage.rbi +6 -0
- data/lib/no_response/models/shared/screeningfinding.rb +12 -2
- data/lib/no_response/models/shared/screeningfinding.rbi +6 -0
- data/lib/no_response/models/shared/screeningmatch.rb +1 -1
- data/lib/no_response/models/shared/screeningmatchevidence.rb +1 -1
- data/lib/no_response/models/shared/screeningmatchevidencekind.rb +1 -1
- data/lib/no_response/models/shared/screeningmediaobservation.rb +49 -0
- data/lib/no_response/models/shared/screeningmediaobservation.rbi +26 -0
- data/lib/no_response/models/shared/screeningnotanalysedcount.rb +47 -0
- data/lib/no_response/models/shared/screeningnotanalysedcount.rbi +20 -0
- data/lib/no_response/models/shared/screeningnotanalysedreason.rb +25 -0
- data/lib/no_response/models/shared/screeningnotanalysedreason.rbi +9 -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: fed3353f7ecf829645985d9de3bff2e449e4dab042c47571e93b0e7731267a4a
|
|
4
|
+
data.tar.gz: 41ed9075d67356ffff6d439979ec27435f0065a97a68b4b1da3906119d5e1615
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5195482c46385c15ce9f39ea2ca0edc80e908509885a8223fd1675db49d2718be64e04596114e562ba055c76ccf37849b5db69c5e2374622f424826e2aa5ae9c
|
|
7
|
+
data.tar.gz: e48224b31b40e1248628986f046e0d0dff47474b9681d03cd0a0d9e1c41720018af807e489d9d8180547fa2f2779187db4692fd9ae243226372f97e74af061a6
|
|
@@ -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)
|
|
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
|
|
@@ -38,6 +38,12 @@ module NoResponse
|
|
|
38
38
|
Crystalline::Nilable.new(::Integer),
|
|
39
39
|
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("items_not_analysed")}}
|
|
40
40
|
)
|
|
41
|
+
# items_not_analysed split by reason, each reason once with at least one item.
|
|
42
|
+
field(
|
|
43
|
+
:not_analysed_by_reason,
|
|
44
|
+
Crystalline::Nilable.new(Crystalline::Array.new(Models::Shared::ScreeningNotAnalysedCount)),
|
|
45
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("not_analysed_by_reason")}}
|
|
46
|
+
)
|
|
41
47
|
# The oldest item read on any platform.
|
|
42
48
|
field(
|
|
43
49
|
:period_from,
|
|
@@ -64,6 +70,7 @@ module NoResponse
|
|
|
64
70
|
items_read: ::Integer,
|
|
65
71
|
platforms: T::Array[Models::Shared::ScreeningPlatformCoverage],
|
|
66
72
|
items_not_analysed: T.nilable(::Integer),
|
|
73
|
+
not_analysed_by_reason: T.nilable(T::Array[Models::Shared::ScreeningNotAnalysedCount]),
|
|
67
74
|
period_from: T.nilable(::String),
|
|
68
75
|
period_to: T.nilable(::String),
|
|
69
76
|
not_searched: T.nilable(T::Array[Models::Shared::HandlePlatform])
|
|
@@ -76,6 +83,7 @@ module NoResponse
|
|
|
76
83
|
items_read:,
|
|
77
84
|
platforms:,
|
|
78
85
|
items_not_analysed: nil,
|
|
86
|
+
not_analysed_by_reason: nil,
|
|
79
87
|
period_from: nil,
|
|
80
88
|
period_to: nil,
|
|
81
89
|
not_searched: nil
|
|
@@ -85,6 +93,7 @@ module NoResponse
|
|
|
85
93
|
@items_read = items_read
|
|
86
94
|
@platforms = platforms
|
|
87
95
|
@items_not_analysed = items_not_analysed
|
|
96
|
+
@not_analysed_by_reason = not_analysed_by_reason
|
|
88
97
|
@period_from = period_from
|
|
89
98
|
@period_to = period_to
|
|
90
99
|
@not_searched = not_searched
|
|
@@ -98,6 +107,7 @@ module NoResponse
|
|
|
98
107
|
return false unless @items_read == other.items_read
|
|
99
108
|
return false unless @platforms == other.platforms
|
|
100
109
|
return false unless @items_not_analysed == other.items_not_analysed
|
|
110
|
+
return false unless @not_analysed_by_reason == other.not_analysed_by_reason
|
|
101
111
|
return false unless @period_from == other.period_from
|
|
102
112
|
return false unless @period_to == other.period_to
|
|
103
113
|
return false unless @not_searched == other.not_searched
|
|
@@ -93,6 +93,12 @@ module NoResponse
|
|
|
93
93
|
Crystalline::Nilable.new(::String),
|
|
94
94
|
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("quote")}}
|
|
95
95
|
)
|
|
96
|
+
# What the analyser saw in each image among evidence that the finding rests on. Unlike quote, an observation cannot be checked against the record: judge it against the image at the media item's permalink.
|
|
97
|
+
field(
|
|
98
|
+
:media_observations,
|
|
99
|
+
Crystalline::Nilable.new(Crystalline::Array.new(Models::Shared::ScreeningMediaObservation)),
|
|
100
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("media_observations")}}
|
|
101
|
+
)
|
|
96
102
|
|
|
97
103
|
sig {
|
|
98
104
|
params(
|
|
@@ -107,7 +113,8 @@ module NoResponse
|
|
|
107
113
|
spend_minor: ::Integer,
|
|
108
114
|
created_at: ::String,
|
|
109
115
|
capped_from: T.nilable(Models::Shared::FindingBand),
|
|
110
|
-
quote: T.nilable(::String)
|
|
116
|
+
quote: T.nilable(::String),
|
|
117
|
+
media_observations: T.nilable(T::Array[Models::Shared::ScreeningMediaObservation])
|
|
111
118
|
)
|
|
112
119
|
.void
|
|
113
120
|
}
|
|
@@ -123,7 +130,8 @@ module NoResponse
|
|
|
123
130
|
spend_minor:,
|
|
124
131
|
created_at:,
|
|
125
132
|
capped_from: nil,
|
|
126
|
-
quote: nil
|
|
133
|
+
quote: nil,
|
|
134
|
+
media_observations: nil
|
|
127
135
|
)
|
|
128
136
|
@id = id
|
|
129
137
|
@category = category
|
|
@@ -137,6 +145,7 @@ module NoResponse
|
|
|
137
145
|
@created_at = created_at
|
|
138
146
|
@capped_from = capped_from
|
|
139
147
|
@quote = quote
|
|
148
|
+
@media_observations = media_observations
|
|
140
149
|
end
|
|
141
150
|
|
|
142
151
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -154,6 +163,7 @@ module NoResponse
|
|
|
154
163
|
return false unless @created_at == other.created_at
|
|
155
164
|
return false unless @capped_from == other.capped_from
|
|
156
165
|
return false unless @quote == other.quote
|
|
166
|
+
return false unless @media_observations == other.media_observations
|
|
157
167
|
true
|
|
158
168
|
end
|
|
159
169
|
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)
|
|
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
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module NoResponse
|
|
5
|
+
module Models
|
|
6
|
+
module Shared
|
|
7
|
+
# What an analyser saw in one image that a finding rests on.
|
|
8
|
+
class ScreeningMediaObservation
|
|
9
|
+
extend T::Sig
|
|
10
|
+
include Crystalline::MetadataFields
|
|
11
|
+
|
|
12
|
+
# The image, one of the finding's evidence.
|
|
13
|
+
field(
|
|
14
|
+
:media_id,
|
|
15
|
+
::String,
|
|
16
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("media_id"), required: true}}
|
|
17
|
+
)
|
|
18
|
+
# What the analyser saw in the image that supports the finding.
|
|
19
|
+
field(
|
|
20
|
+
:description,
|
|
21
|
+
::String,
|
|
22
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("description"), required: true}}
|
|
23
|
+
)
|
|
24
|
+
# Words the analyser read in the image, as it read them. They come from the image's pixels, not from a post's text, so they are not a quote and were not checked against the record.
|
|
25
|
+
field(
|
|
26
|
+
:read_text,
|
|
27
|
+
Crystalline::Nilable.new(::String),
|
|
28
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("read_text")}}
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
sig { params(media_id: ::String, description: ::String, read_text: T.nilable(::String)).void }
|
|
32
|
+
def initialize(media_id:, description:, read_text: nil)
|
|
33
|
+
@media_id = media_id
|
|
34
|
+
@description = description
|
|
35
|
+
@read_text = read_text
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
39
|
+
def ==(other)
|
|
40
|
+
return false unless other.is_a?(self.class)
|
|
41
|
+
return false unless @media_id == other.media_id
|
|
42
|
+
return false unless @description == other.description
|
|
43
|
+
return false unless @read_text == other.read_text
|
|
44
|
+
true
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
class NoResponse::Models::Shared::ScreeningMediaObservation
|
|
5
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
class NoResponse::Models::Shared::ScreeningMediaObservation
|
|
9
|
+
def media_id
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def media_id=(str_)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def description
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def description=(str_)
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
def read_text
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def read_text=(str_)
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module NoResponse
|
|
5
|
+
module Models
|
|
6
|
+
module Shared
|
|
7
|
+
# How many items read were not analysed for one reason.
|
|
8
|
+
class ScreeningNotAnalysedCount
|
|
9
|
+
extend T::Sig
|
|
10
|
+
include Crystalline::MetadataFields
|
|
11
|
+
|
|
12
|
+
# Why an item read was not analysed. video: a video, whose caption alone is read. image_unavailable: the image could not be fetched from the platform. image_unsupported: not a JPEG, PNG, GIF or WebP image, or too large to send. image_limit: past the most images one attendee's analysis reads. refused: the model declined to read it. unfinished: the model cut its batch short or answered outside the schema, or the request was rejected. unverified: a finding cited it with words it does not contain or an image it did not describe. unspecified: the analyser gave no reason.
|
|
13
|
+
field(
|
|
14
|
+
:reason,
|
|
15
|
+
Models::Shared::ScreeningNotAnalysedReason,
|
|
16
|
+
{
|
|
17
|
+
'format_json': {
|
|
18
|
+
'letter_case': ::NoResponse::Utils.field_name("reason"),
|
|
19
|
+
required: true,
|
|
20
|
+
'decoder': ::NoResponse::Utils.open_enum_from_string(Models::Shared::ScreeningNotAnalysedReason, false)
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
field(
|
|
26
|
+
:items,
|
|
27
|
+
::Integer,
|
|
28
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("items"), required: true}}
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
sig { params(reason: Models::Shared::ScreeningNotAnalysedReason, items: ::Integer).void }
|
|
32
|
+
def initialize(reason:, items:)
|
|
33
|
+
@reason = reason
|
|
34
|
+
@items = items
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
38
|
+
def ==(other)
|
|
39
|
+
return false unless other.is_a?(self.class)
|
|
40
|
+
return false unless @reason == other.reason
|
|
41
|
+
return false unless @items == other.items
|
|
42
|
+
true
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
class NoResponse::Models::Shared::ScreeningNotAnalysedCount
|
|
5
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
class NoResponse::Models::Shared::ScreeningNotAnalysedCount
|
|
9
|
+
def reason
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def reason=(str_)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def items
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def items=(str_)
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module NoResponse
|
|
5
|
+
module Models
|
|
6
|
+
module Shared
|
|
7
|
+
# ScreeningNotAnalysedReason - Why an item read was not analysed. video: a video, whose caption alone is read. image_unavailable: the image could not be fetched from the platform. image_unsupported: not a JPEG, PNG, GIF or WebP image, or too large to send. image_limit: past the most images one attendee's analysis reads. refused: the model declined to read it. unfinished: the model cut its batch short or answered outside the schema, or the request was rejected. unverified: a finding cited it with words it does not contain or an image it did not describe. unspecified: the analyser gave no reason.
|
|
8
|
+
class ScreeningNotAnalysedReason
|
|
9
|
+
include ::Crystalline::Enum
|
|
10
|
+
enums do
|
|
11
|
+
VIDEO = new("video")
|
|
12
|
+
IMAGE_UNAVAILABLE = new("image_unavailable")
|
|
13
|
+
IMAGE_UNSUPPORTED = new("image_unsupported")
|
|
14
|
+
IMAGE_LIMIT = new("image_limit")
|
|
15
|
+
REFUSED = new("refused")
|
|
16
|
+
UNFINISHED = new("unfinished")
|
|
17
|
+
UNVERIFIED = new("unverified")
|
|
18
|
+
UNSPECIFIED = new("unspecified")
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
open!
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -375,6 +375,9 @@ module NoResponse
|
|
|
375
375
|
autoload :ScreeningMatchEvidence, "no_response/models/shared/screeningmatchevidence.rb"
|
|
376
376
|
autoload :ScreeningMatchEvidenceKind, "no_response/models/shared/screeningmatchevidencekind.rb"
|
|
377
377
|
autoload :ScreeningMedia, "no_response/models/shared/screeningmedia.rb"
|
|
378
|
+
autoload :ScreeningMediaObservation, "no_response/models/shared/screeningmediaobservation.rb"
|
|
379
|
+
autoload :ScreeningNotAnalysedCount, "no_response/models/shared/screeningnotanalysedcount.rb"
|
|
380
|
+
autoload :ScreeningNotAnalysedReason, "no_response/models/shared/screeningnotanalysedreason.rb"
|
|
378
381
|
autoload :ScreeningPlatformCoverage, "no_response/models/shared/screeningplatformcoverage.rb"
|
|
379
382
|
autoload :ScreeningPlatformCoverageStatus, "no_response/models/shared/screeningplatformcoveragestatus.rb"
|
|
380
383
|
autoload :ScreeningPost, "no_response/models/shared/screeningpost.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.20"
|
|
99
99
|
@gen_version = "internal"
|
|
100
|
-
@user_agent = "noresponse-sdk/ruby 10.0.
|
|
100
|
+
@user_agent = "noresponse-sdk/ruby 10.0.20 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.20
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- NoResponse
|
|
@@ -1486,6 +1486,12 @@ files:
|
|
|
1486
1486
|
- lib/no_response/models/shared/screeningmatchevidencekind.rbi
|
|
1487
1487
|
- lib/no_response/models/shared/screeningmedia.rb
|
|
1488
1488
|
- lib/no_response/models/shared/screeningmedia.rbi
|
|
1489
|
+
- lib/no_response/models/shared/screeningmediaobservation.rb
|
|
1490
|
+
- lib/no_response/models/shared/screeningmediaobservation.rbi
|
|
1491
|
+
- lib/no_response/models/shared/screeningnotanalysedcount.rb
|
|
1492
|
+
- lib/no_response/models/shared/screeningnotanalysedcount.rbi
|
|
1493
|
+
- lib/no_response/models/shared/screeningnotanalysedreason.rb
|
|
1494
|
+
- lib/no_response/models/shared/screeningnotanalysedreason.rbi
|
|
1489
1495
|
- lib/no_response/models/shared/screeningplatformcoverage.rb
|
|
1490
1496
|
- lib/no_response/models/shared/screeningplatformcoverage.rbi
|
|
1491
1497
|
- lib/no_response/models/shared/screeningplatformcoveragestatus.rb
|