noresponse 10.0.19 → 10.0.21
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/attendee.rb +11 -1
- data/lib/no_response/models/shared/attendee.rbi +6 -0
- data/lib/no_response/models/shared/matchstate.rb +1 -1
- data/lib/no_response/models/shared/metric.rb +1 -1
- data/lib/no_response/models/shared/otherevent.rb +11 -1
- data/lib/no_response/models/shared/otherevent.rbi +6 -0
- data/lib/no_response/models/shared/screeningcompleted.rb +13 -3
- data/lib/no_response/models/shared/screeningcompleted.rbi +6 -0
- data/lib/no_response/models/shared/screeningcompletedevent.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/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/usagecount.rb +1 -1
- 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: 4c15756118105c2baed1b001cb8fc158f4e93d982b1c8be8806cb46e7c2411e2
|
|
4
|
+
data.tar.gz: d3eb720aca21c1692f41325358c689f9ec8f15bc27212e45c6019a096dcd4c3f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 29b20e60ac4b7be6ea189d14bc11bdd078257546db3c8ea51c4b9c85571f4e88839fa86e0823244b4269be2899c7f606bb863c1146d546fc27a2ed4bcfe26ad7
|
|
7
|
+
data.tar.gz: 86ebd0de79d7c1cc1d2c1f377e44f865e4dc81a82a43d2e6a5c06992c7994325c42b70a0d46f50c4410d26ad2daed8f7ca62bbeb7ba96e00d9f3532ecd856c9d
|
|
@@ -18,7 +18,7 @@ module NoResponse
|
|
|
18
18
|
)
|
|
19
19
|
# The attendee's full name.
|
|
20
20
|
field :name, ::String, {'format_json': {'letter_case': ::NoResponse::Utils.field_name("name"), required: true}}
|
|
21
|
-
# How sure the latest screening is that it found the attendee's accounts. unscreened until a screening reaches the attendee.
|
|
21
|
+
# How sure the latest screening is that it found the attendee's accounts. unscreened until a screening reaches the attendee, and after one that had no profile to check (no_profile_to_check).
|
|
22
22
|
field(
|
|
23
23
|
:match_state,
|
|
24
24
|
Models::Shared::MatchState,
|
|
@@ -101,6 +101,12 @@ module NoResponse
|
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
)
|
|
104
|
+
# true when the latest screening reached the attendee but the list gave nothing to look up on any requested platform, such as no handle for a platform that reads supplied handles only: nobody looked for a profile. match_state stays unscreened, every platform is in coverage.not_searched, and the attendee is neither none_found nor failed and does not make the screening partial. Its lookups are on its report. Left out otherwise.
|
|
105
|
+
field(
|
|
106
|
+
:no_profile_to_check,
|
|
107
|
+
Crystalline::Nilable.new(Crystalline::Boolean.new),
|
|
108
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("no_profile_to_check")}}
|
|
109
|
+
)
|
|
104
110
|
# The most severe finding's band, or null when nothing was flagged.
|
|
105
111
|
field(
|
|
106
112
|
:highest_band,
|
|
@@ -173,6 +179,7 @@ module NoResponse
|
|
|
173
179
|
city: T.nilable(::String),
|
|
174
180
|
handles: T.nilable(T::Array[Models::Shared::Handle]),
|
|
175
181
|
role: T.nilable(Models::Shared::AttendeeRole),
|
|
182
|
+
no_profile_to_check: T.nilable(T::Boolean),
|
|
176
183
|
highest_band: T.nilable(Models::Shared::HighestBand),
|
|
177
184
|
decision: T.nilable(Models::Shared::AttendeeDecision),
|
|
178
185
|
decision_note: T.nilable(::String),
|
|
@@ -199,6 +206,7 @@ module NoResponse
|
|
|
199
206
|
city: nil,
|
|
200
207
|
handles: nil,
|
|
201
208
|
role: nil,
|
|
209
|
+
no_profile_to_check: nil,
|
|
202
210
|
highest_band: nil,
|
|
203
211
|
decision: nil,
|
|
204
212
|
decision_note: nil,
|
|
@@ -222,6 +230,7 @@ module NoResponse
|
|
|
222
230
|
@city = city
|
|
223
231
|
@handles = handles
|
|
224
232
|
@role = role
|
|
233
|
+
@no_profile_to_check = no_profile_to_check
|
|
225
234
|
@highest_band = highest_band
|
|
226
235
|
@decision = decision
|
|
227
236
|
@decision_note = decision_note
|
|
@@ -249,6 +258,7 @@ module NoResponse
|
|
|
249
258
|
return false unless @city == other.city
|
|
250
259
|
return false unless @handles == other.handles
|
|
251
260
|
return false unless @role == other.role
|
|
261
|
+
return false unless @no_profile_to_check == other.no_profile_to_check
|
|
252
262
|
return false unless @highest_band == other.highest_band
|
|
253
263
|
return false unless @decision == other.decision
|
|
254
264
|
return false unless @decision_note == other.decision_note
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
module NoResponse
|
|
5
5
|
module Models
|
|
6
6
|
module Shared
|
|
7
|
-
# MatchState - How sure the latest screening is that it found the attendee's accounts. unscreened until a screening reaches the attendee.
|
|
7
|
+
# MatchState - How sure the latest screening is that it found the attendee's accounts. unscreened until a screening reaches the attendee, and after one that had no profile to check (no_profile_to_check).
|
|
8
8
|
class MatchState
|
|
9
9
|
include ::Crystalline::Enum
|
|
10
10
|
enums do
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
module NoResponse
|
|
5
5
|
module Models
|
|
6
6
|
module Shared
|
|
7
|
-
# Metric - assessments: assessments admitted. webhook_deliveries: events sent to endpoints, one per event per endpoint. key_usage_events: key-usage events accepted. screenings: attendees a screening recorded a final result for, one per attendee per screening; a failed attendee counts
|
|
7
|
+
# Metric - assessments: assessments admitted. webhook_deliveries: events sent to endpoints, one per event per endpoint. key_usage_events: key-usage events accepted. screenings: attendees a screening recorded a final result for, one per attendee per screening; a failed attendee counts only when its lookups were kept.
|
|
8
8
|
class Metric
|
|
9
9
|
include ::Crystalline::Enum
|
|
10
10
|
enums do
|
|
@@ -38,7 +38,7 @@ module NoResponse
|
|
|
38
38
|
Crystalline::Array.new(Models::Shared::MatchedOn),
|
|
39
39
|
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("matched_on"), required: true}}
|
|
40
40
|
)
|
|
41
|
-
# How sure the latest screening is that it found the attendee's accounts. unscreened until a screening reaches the attendee.
|
|
41
|
+
# How sure the latest screening is that it found the attendee's accounts. unscreened until a screening reaches the attendee, and after one that had no profile to check (no_profile_to_check).
|
|
42
42
|
field(
|
|
43
43
|
:match_state,
|
|
44
44
|
Models::Shared::MatchState,
|
|
@@ -50,6 +50,12 @@ module NoResponse
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
)
|
|
53
|
+
# true when that attendee's latest screening had no profile to check (see the attendee's no_profile_to_check). Left out otherwise.
|
|
54
|
+
field(
|
|
55
|
+
:no_profile_to_check,
|
|
56
|
+
Crystalline::Nilable.new(Crystalline::Boolean.new),
|
|
57
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("no_profile_to_check")}}
|
|
58
|
+
)
|
|
53
59
|
# That attendee's most severe band at that event, or null.
|
|
54
60
|
field(
|
|
55
61
|
:highest_band,
|
|
@@ -95,6 +101,7 @@ module NoResponse
|
|
|
95
101
|
attendee_id: ::String,
|
|
96
102
|
matched_on: T::Array[Models::Shared::MatchedOn],
|
|
97
103
|
match_state: Models::Shared::MatchState,
|
|
104
|
+
no_profile_to_check: T.nilable(T::Boolean),
|
|
98
105
|
highest_band: T.nilable(Models::Shared::HighestBand),
|
|
99
106
|
decision: T.nilable(Models::Shared::AttendeeDecision),
|
|
100
107
|
decided_by: T.nilable(::String),
|
|
@@ -109,6 +116,7 @@ module NoResponse
|
|
|
109
116
|
attendee_id:,
|
|
110
117
|
matched_on:,
|
|
111
118
|
match_state:,
|
|
119
|
+
no_profile_to_check: nil,
|
|
112
120
|
highest_band: nil,
|
|
113
121
|
decision: nil,
|
|
114
122
|
decided_by: nil,
|
|
@@ -120,6 +128,7 @@ module NoResponse
|
|
|
120
128
|
@attendee_id = attendee_id
|
|
121
129
|
@matched_on = matched_on
|
|
122
130
|
@match_state = match_state
|
|
131
|
+
@no_profile_to_check = no_profile_to_check
|
|
123
132
|
@highest_band = highest_band
|
|
124
133
|
@decision = decision
|
|
125
134
|
@decided_by = decided_by
|
|
@@ -135,6 +144,7 @@ module NoResponse
|
|
|
135
144
|
return false unless @attendee_id == other.attendee_id
|
|
136
145
|
return false unless @matched_on == other.matched_on
|
|
137
146
|
return false unless @match_state == other.match_state
|
|
147
|
+
return false unless @no_profile_to_check == other.no_profile_to_check
|
|
138
148
|
return false unless @highest_band == other.highest_band
|
|
139
149
|
return false unless @decision == other.decision
|
|
140
150
|
return false unless @decided_by == other.decided_by
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
module NoResponse
|
|
5
5
|
module Models
|
|
6
6
|
module Shared
|
|
7
|
-
# A screening of an event finished. It counts only the attendees this screening set out to reach, not who they are: read the roster with GET /v1/workspaces/{workspace_id}/events/{environment}/{event_id}/attendees, filtered by band, to act on them. attendees_screened + partial_coverage = attendees_total, attendees_flagged is the sum of by_band,
|
|
7
|
+
# A screening of an event finished. It counts only the attendees this screening set out to reach, not who they are: read the roster with GET /v1/workspaces/{workspace_id}/events/{environment}/{event_id}/attendees, filtered by band, to act on them. attendees_screened + partial_coverage = attendees_total, attendees_flagged is the sum of by_band, no_footprint counts screened attendees with no flag whose accounts were not found, and no_profile_to_check those the screening had nothing to look up for on any requested platform. A cancelled screening sends no event.
|
|
8
8
|
class ScreeningCompleted
|
|
9
9
|
extend T::Sig
|
|
10
10
|
include Crystalline::MetadataFields
|
|
@@ -81,6 +81,12 @@ module NoResponse
|
|
|
81
81
|
Crystalline::Nilable.new(::String),
|
|
82
82
|
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("error_code")}}
|
|
83
83
|
)
|
|
84
|
+
# Screened attendees with no profile to check: the list gave nothing to look up on any requested platform, such as no handle, so nobody looked for a profile (no_profile_to_check on the attendee). Not in no_footprint, and not partial: nothing failed. Their lookups are on their reports.
|
|
85
|
+
field(
|
|
86
|
+
:no_profile_to_check,
|
|
87
|
+
Crystalline::Nilable.new(::Integer),
|
|
88
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("no_profile_to_check")}}
|
|
89
|
+
)
|
|
84
90
|
|
|
85
91
|
sig {
|
|
86
92
|
params(
|
|
@@ -94,7 +100,8 @@ module NoResponse
|
|
|
94
100
|
no_footprint: ::Integer,
|
|
95
101
|
partial_coverage: ::Integer,
|
|
96
102
|
finished_at: ::String,
|
|
97
|
-
error_code: T.nilable(::String)
|
|
103
|
+
error_code: T.nilable(::String),
|
|
104
|
+
no_profile_to_check: T.nilable(::Integer)
|
|
98
105
|
)
|
|
99
106
|
.void
|
|
100
107
|
}
|
|
@@ -109,7 +116,8 @@ module NoResponse
|
|
|
109
116
|
no_footprint:,
|
|
110
117
|
partial_coverage:,
|
|
111
118
|
finished_at:,
|
|
112
|
-
error_code: nil
|
|
119
|
+
error_code: nil,
|
|
120
|
+
no_profile_to_check: nil
|
|
113
121
|
)
|
|
114
122
|
@screening_id = screening_id
|
|
115
123
|
@event_id = event_id
|
|
@@ -122,6 +130,7 @@ module NoResponse
|
|
|
122
130
|
@partial_coverage = partial_coverage
|
|
123
131
|
@finished_at = finished_at
|
|
124
132
|
@error_code = error_code
|
|
133
|
+
@no_profile_to_check = no_profile_to_check
|
|
125
134
|
end
|
|
126
135
|
|
|
127
136
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -138,6 +147,7 @@ module NoResponse
|
|
|
138
147
|
return false unless @partial_coverage == other.partial_coverage
|
|
139
148
|
return false unless @finished_at == other.finished_at
|
|
140
149
|
return false unless @error_code == other.error_code
|
|
150
|
+
return false unless @no_profile_to_check == other.no_profile_to_check
|
|
141
151
|
true
|
|
142
152
|
end
|
|
143
153
|
end
|
|
@@ -17,7 +17,7 @@ module NoResponse
|
|
|
17
17
|
::String,
|
|
18
18
|
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("created_at"), required: true}}
|
|
19
19
|
)
|
|
20
|
-
# A screening of an event finished. It counts only the attendees this screening set out to reach, not who they are: read the roster with GET /v1/workspaces/{workspace_id}/events/{environment}/{event_id}/attendees, filtered by band, to act on them. attendees_screened + partial_coverage = attendees_total, attendees_flagged is the sum of by_band,
|
|
20
|
+
# A screening of an event finished. It counts only the attendees this screening set out to reach, not who they are: read the roster with GET /v1/workspaces/{workspace_id}/events/{environment}/{event_id}/attendees, filtered by band, to act on them. attendees_screened + partial_coverage = attendees_total, attendees_flagged is the sum of by_band, no_footprint counts screened attendees with no flag whose accounts were not found, and no_profile_to_check those the screening had nothing to look up for on any requested platform. A cancelled screening sends no event.
|
|
21
21
|
field(
|
|
22
22
|
:data,
|
|
23
23
|
Models::Shared::ScreeningCompleted,
|
|
@@ -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
|
|
@@ -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
|
|
@@ -22,7 +22,7 @@ module NoResponse
|
|
|
22
22
|
)
|
|
23
23
|
|
|
24
24
|
field :day, ::String, {'format_json': {'letter_case': ::NoResponse::Utils.field_name("day"), required: true}}
|
|
25
|
-
# assessments: assessments admitted. webhook_deliveries: events sent to endpoints, one per event per endpoint. key_usage_events: key-usage events accepted. screenings: attendees a screening recorded a final result for, one per attendee per screening; a failed attendee counts
|
|
25
|
+
# assessments: assessments admitted. webhook_deliveries: events sent to endpoints, one per event per endpoint. key_usage_events: key-usage events accepted. screenings: attendees a screening recorded a final result for, one per attendee per screening; a failed attendee counts only when its lookups were kept.
|
|
26
26
|
field(
|
|
27
27
|
:metric,
|
|
28
28
|
Models::Shared::Metric,
|
|
@@ -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.21"
|
|
99
99
|
@gen_version = "internal"
|
|
100
|
-
@user_agent = "noresponse-sdk/ruby 10.0.
|
|
100
|
+
@user_agent = "noresponse-sdk/ruby 10.0.21 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.21
|
|
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
|