noresponse 10.0.15 → 10.0.17

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: e3a9828799fec69263aef8a373fba29654e65f3ddac5f3cc845540c80d5ba45f
4
- data.tar.gz: 3326f5459ad900762e29a06d35597d5f839209ff13a5f319725b09ef13cdd5c5
3
+ metadata.gz: db7b1bd2c716daeb17b2af4a90dae7efe328aa259df7740694449792e0335d4b
4
+ data.tar.gz: c9b7ac0128a525b06e486304d6396265d9d63e2cd488401d4d1a76492b83fc52
5
5
  SHA512:
6
- metadata.gz: b01a63af3ab39a9d8f40b0a499c22c851b96140d37b16b790c55d51e7b6b0aa2df783e0b97e0ee3d8e66dca7119fc2209cc08ebf4ce0db09a75819e3a86aee46
7
- data.tar.gz: eeb98218432f41338c69b9af47f7b56aa93734beba9051b0403f719402d56787d7788239e0d9aac4526c79d5a229847c2d976624cb5456c8fba037487295fc0b
6
+ metadata.gz: f565351952a8cad521a83bf238ba0d6b0acca2b69832f1ff92430d529e170dab2fabdc9cf40df58946484465e26d9b03890209613a368dd4fc14a21849ae6e31
7
+ data.tar.gz: 978406e68c35468cf64416474bd6aee2053d63ad9b550f099af15b640478ef8618b38b8cafc552b9e438352961f4eaf4b9ac7c6194d9c644c33e9a865f52333d
@@ -2124,7 +2124,7 @@ module NoResponse
2124
2124
  http_headers: nil
2125
2125
  )
2126
2126
  # get_attendee - Read an attendee's report.
2127
- # Read an attendee's report: matched profiles, findings with their evidence and every recorded decision.
2127
+ # Read an attendee's report: matched profiles, findings with their evidence, every recorded decision, and the other events where the same email or phone appears.
2128
2128
  request = Models::Operations::GetAttendeeRequest.new(
2129
2129
  workspace_id: workspace_id,
2130
2130
  environment: environment,
@@ -4,7 +4,7 @@
4
4
  module NoResponse
5
5
  module Models
6
6
  module Shared
7
- # Everything known about one attendee.
7
+ # Everything known about one attendee, and where else in the environment they appear.
8
8
  class AttendeeReport
9
9
  extend T::Sig
10
10
  include Crystalline::MetadataFields
@@ -45,6 +45,12 @@ module NoResponse
45
45
  Crystalline::Array.new(Models::Shared::AttendeeReview),
46
46
  {'format_json': {'letter_case': ::NoResponse::Utils.field_name("reviews"), required: true}}
47
47
  )
48
+ # Where else in the environment the attendee appears, read live from those events: deleting one removes it here.
49
+ field(
50
+ :other_events,
51
+ Models::Shared::OtherEvents,
52
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("other_events"), required: true}}
53
+ )
48
54
 
49
55
  sig {
50
56
  params(
@@ -53,17 +59,19 @@ module NoResponse
53
59
  findings: T::Array[Models::Shared::ScreeningFinding],
54
60
  posts: T::Array[Models::Shared::ScreeningPost],
55
61
  media: T::Array[Models::Shared::ScreeningMedia],
56
- reviews: T::Array[Models::Shared::AttendeeReview]
62
+ reviews: T::Array[Models::Shared::AttendeeReview],
63
+ other_events: Models::Shared::OtherEvents
57
64
  )
58
65
  .void
59
66
  }
60
- def initialize(attendee:, profiles:, findings:, posts:, media:, reviews:)
67
+ def initialize(attendee:, profiles:, findings:, posts:, media:, reviews:, other_events:)
61
68
  @attendee = attendee
62
69
  @profiles = profiles
63
70
  @findings = findings
64
71
  @posts = posts
65
72
  @media = media
66
73
  @reviews = reviews
74
+ @other_events = other_events
67
75
  end
68
76
 
69
77
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -75,6 +83,7 @@ module NoResponse
75
83
  return false unless @posts == other.posts
76
84
  return false unless @media == other.media
77
85
  return false unless @reviews == other.reviews
86
+ return false unless @other_events == other.other_events
78
87
  true
79
88
  end
80
89
  end
@@ -41,4 +41,10 @@ class NoResponse::Models::Shared::AttendeeReport
41
41
 
42
42
  def reviews=(str_)
43
43
  end
44
+
45
+ def other_events
46
+ end
47
+
48
+ def other_events=(str_)
49
+ end
44
50
  end
@@ -0,0 +1,20 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ module NoResponse
5
+ module Models
6
+ module Shared
7
+
8
+ class MatchedOn
9
+ include ::Crystalline::Enum
10
+ enums do
11
+ EMAIL = new("email")
12
+ PHONE = new("phone")
13
+ EXTERNAL_ID = new("external_id")
14
+ end
15
+
16
+ open!
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,9 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ class NoResponse::Models::Shared::MatchedOn
5
+ extend ::Crystalline::MetadataFields::ClassMethods
6
+ end
7
+
8
+ class NoResponse::Models::Shared::MatchedOn
9
+ end
@@ -0,0 +1,147 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ module NoResponse
5
+ module Models
6
+ module Shared
7
+ # An attendee of another event in the same environment who shares an email or phone with this one, as that event recorded them.
8
+ class OtherEvent
9
+ extend T::Sig
10
+ include Crystalline::MetadataFields
11
+
12
+ field(
13
+ :event_id,
14
+ ::String,
15
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("event_id"), required: true}}
16
+ )
17
+
18
+ field(
19
+ :event_name,
20
+ ::String,
21
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("event_name"), required: true}}
22
+ )
23
+
24
+ field(
25
+ :event_starts_at,
26
+ ::String,
27
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("event_starts_at"), required: true}}
28
+ )
29
+ # The attendee on that event's list.
30
+ field(
31
+ :attendee_id,
32
+ ::String,
33
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("attendee_id"), required: true}}
34
+ )
35
+ # Which identifiers match, in this order. external_id appears only beside email or phone: the same external id alone is not a match, since ticket numbers may be reused across events.
36
+ field(
37
+ :matched_on,
38
+ Crystalline::Array.new(Models::Shared::MatchedOn),
39
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("matched_on"), required: true}}
40
+ )
41
+ # How sure the latest screening is that it found the attendee's accounts. unscreened until a screening reaches the attendee.
42
+ field(
43
+ :match_state,
44
+ Models::Shared::MatchState,
45
+ {
46
+ 'format_json': {
47
+ 'letter_case': ::NoResponse::Utils.field_name("match_state"),
48
+ required: true,
49
+ 'decoder': ::NoResponse::Utils.open_enum_from_string(Models::Shared::MatchState, false)
50
+ }
51
+ }
52
+ )
53
+ # That attendee's most severe band at that event, or null.
54
+ field(
55
+ :highest_band,
56
+ Crystalline::Nilable.new(Models::Shared::HighestBand),
57
+ {
58
+ 'format_json': {
59
+ 'letter_case': ::NoResponse::Utils.field_name("highest_band"),
60
+ required: true,
61
+ 'decoder': ::NoResponse::Utils.open_enum_from_string(Models::Shared::HighestBand, false)
62
+ }
63
+ }
64
+ )
65
+ # The latest reviewer decision at that event, or null before any.
66
+ field(
67
+ :decision,
68
+ Crystalline::Nilable.new(Models::Shared::AttendeeDecision),
69
+ {
70
+ 'format_json': {
71
+ 'letter_case': ::NoResponse::Utils.field_name("decision"),
72
+ required: true,
73
+ 'decoder': ::NoResponse::Utils.open_enum_from_string(Models::Shared::AttendeeDecision, false)
74
+ }
75
+ }
76
+ )
77
+ # Who made that decision.
78
+ field(
79
+ :decided_by,
80
+ Crystalline::Nilable.new(::String),
81
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("decided_by")}}
82
+ )
83
+ # When that decision was made.
84
+ field(
85
+ :decided_at,
86
+ Crystalline::Nilable.new(::String),
87
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("decided_at")}}
88
+ )
89
+
90
+ sig {
91
+ params(
92
+ event_id: ::String,
93
+ event_name: ::String,
94
+ event_starts_at: ::String,
95
+ attendee_id: ::String,
96
+ matched_on: T::Array[Models::Shared::MatchedOn],
97
+ match_state: Models::Shared::MatchState,
98
+ highest_band: T.nilable(Models::Shared::HighestBand),
99
+ decision: T.nilable(Models::Shared::AttendeeDecision),
100
+ decided_by: T.nilable(::String),
101
+ decided_at: T.nilable(::String)
102
+ )
103
+ .void
104
+ }
105
+ def initialize(
106
+ event_id:,
107
+ event_name:,
108
+ event_starts_at:,
109
+ attendee_id:,
110
+ matched_on:,
111
+ match_state:,
112
+ highest_band: nil,
113
+ decision: nil,
114
+ decided_by: nil,
115
+ decided_at: nil
116
+ )
117
+ @event_id = event_id
118
+ @event_name = event_name
119
+ @event_starts_at = event_starts_at
120
+ @attendee_id = attendee_id
121
+ @matched_on = matched_on
122
+ @match_state = match_state
123
+ @highest_band = highest_band
124
+ @decision = decision
125
+ @decided_by = decided_by
126
+ @decided_at = decided_at
127
+ end
128
+
129
+ sig { params(other: T.untyped).returns(T::Boolean) }
130
+ def ==(other)
131
+ return false unless other.is_a?(self.class)
132
+ return false unless @event_id == other.event_id
133
+ return false unless @event_name == other.event_name
134
+ return false unless @event_starts_at == other.event_starts_at
135
+ return false unless @attendee_id == other.attendee_id
136
+ return false unless @matched_on == other.matched_on
137
+ return false unless @match_state == other.match_state
138
+ return false unless @highest_band == other.highest_band
139
+ return false unless @decision == other.decision
140
+ return false unless @decided_by == other.decided_by
141
+ return false unless @decided_at == other.decided_at
142
+ true
143
+ end
144
+ end
145
+ end
146
+ end
147
+ end
@@ -0,0 +1,68 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ class NoResponse::Models::Shared::OtherEvent
5
+ extend ::Crystalline::MetadataFields::ClassMethods
6
+ end
7
+
8
+ class NoResponse::Models::Shared::OtherEvent
9
+ def event_id
10
+ end
11
+
12
+ def event_id=(str_)
13
+ end
14
+
15
+ def event_name
16
+ end
17
+
18
+ def event_name=(str_)
19
+ end
20
+
21
+ def event_starts_at
22
+ end
23
+
24
+ def event_starts_at=(str_)
25
+ end
26
+
27
+ def attendee_id
28
+ end
29
+
30
+ def attendee_id=(str_)
31
+ end
32
+
33
+ def matched_on
34
+ end
35
+
36
+ def matched_on=(str_)
37
+ end
38
+
39
+ def match_state
40
+ end
41
+
42
+ def match_state=(str_)
43
+ end
44
+
45
+ def highest_band
46
+ end
47
+
48
+ def highest_band=(str_)
49
+ end
50
+
51
+ def decision
52
+ end
53
+
54
+ def decision=(str_)
55
+ end
56
+
57
+ def decided_by
58
+ end
59
+
60
+ def decided_by=(str_)
61
+ end
62
+
63
+ def decided_at
64
+ end
65
+
66
+ def decided_at=(str_)
67
+ end
68
+ end
@@ -0,0 +1,41 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ module NoResponse
5
+ module Models
6
+ module Shared
7
+ # Where else in the environment the attendee appears, read live from those events: deleting one removes it here.
8
+ class OtherEvents
9
+ extend T::Sig
10
+ include Crystalline::MetadataFields
11
+
12
+ # How many attendees of other events match, of which items lists the 20 most recent.
13
+ field(
14
+ :total,
15
+ ::Integer,
16
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("total"), required: true}}
17
+ )
18
+ # The 20 attendees of the most recent other events, newest event first.
19
+ field(
20
+ :items,
21
+ Crystalline::Array.new(Models::Shared::OtherEvent),
22
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("items"), required: true}}
23
+ )
24
+
25
+ sig { params(total: ::Integer, items: T::Array[Models::Shared::OtherEvent]).void }
26
+ def initialize(total:, items:)
27
+ @total = total
28
+ @items = items
29
+ end
30
+
31
+ sig { params(other: T.untyped).returns(T::Boolean) }
32
+ def ==(other)
33
+ return false unless other.is_a?(self.class)
34
+ return false unless @total == other.total
35
+ return false unless @items == other.items
36
+ true
37
+ end
38
+ end
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,20 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ class NoResponse::Models::Shared::OtherEvents
5
+ extend ::Crystalline::MetadataFields::ClassMethods
6
+ end
7
+
8
+ class NoResponse::Models::Shared::OtherEvents
9
+ def total
10
+ end
11
+
12
+ def total=(str_)
13
+ end
14
+
15
+ def items
16
+ end
17
+
18
+ def items=(str_)
19
+ end
20
+ end
@@ -50,6 +50,12 @@ module NoResponse
50
50
  Crystalline::Nilable.new(::String),
51
51
  {'format_json': {'letter_case': ::NoResponse::Utils.field_name("period_to")}}
52
52
  )
53
+ # Requested platforms where the attendee gave the screening nothing to look up, such as no handle for a platform that reads supplied handles only. Nothing looked and nothing failed: such a platform is not in platforms, is not none_found and does not make the attendee partial.
54
+ field(
55
+ :not_searched,
56
+ Crystalline::Nilable.new(Crystalline::Array.new(Models::Shared::HandlePlatform)),
57
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("not_searched")}}
58
+ )
53
59
 
54
60
  sig {
55
61
  params(
@@ -59,7 +65,8 @@ module NoResponse
59
65
  platforms: T::Array[Models::Shared::ScreeningPlatformCoverage],
60
66
  items_not_analysed: T.nilable(::Integer),
61
67
  period_from: T.nilable(::String),
62
- period_to: T.nilable(::String)
68
+ period_to: T.nilable(::String),
69
+ not_searched: T.nilable(T::Array[Models::Shared::HandlePlatform])
63
70
  )
64
71
  .void
65
72
  }
@@ -70,7 +77,8 @@ module NoResponse
70
77
  platforms:,
71
78
  items_not_analysed: nil,
72
79
  period_from: nil,
73
- period_to: nil
80
+ period_to: nil,
81
+ not_searched: nil
74
82
  )
75
83
  @accounts_found = accounts_found
76
84
  @accounts_accessible = accounts_accessible
@@ -79,6 +87,7 @@ module NoResponse
79
87
  @items_not_analysed = items_not_analysed
80
88
  @period_from = period_from
81
89
  @period_to = period_to
90
+ @not_searched = not_searched
82
91
  end
83
92
 
84
93
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -91,6 +100,7 @@ module NoResponse
91
100
  return false unless @items_not_analysed == other.items_not_analysed
92
101
  return false unless @period_from == other.period_from
93
102
  return false unless @period_to == other.period_to
103
+ return false unless @not_searched == other.not_searched
94
104
  true
95
105
  end
96
106
  end
@@ -47,4 +47,10 @@ class NoResponse::Models::Shared::ScreeningCoverage
47
47
 
48
48
  def period_to=(str_)
49
49
  end
50
+
51
+ def not_searched
52
+ end
53
+
54
+ def not_searched=(str_)
55
+ end
50
56
  end
@@ -266,6 +266,8 @@ module NoResponse
266
266
  autoload :OperationalAggregateQueue, "no_response/models/shared/operationalaggregatequeue.rb"
267
267
  autoload :OperationalAggregateTotals, "no_response/models/shared/operationalaggregatetotals.rb"
268
268
  autoload :Origin, "no_response/models/shared/origin.rb"
269
+ autoload :OtherEvent, "no_response/models/shared/otherevent.rb"
270
+ autoload :OtherEvents, "no_response/models/shared/otherevents.rb"
269
271
  autoload :Outcome, "no_response/models/shared/outcome.rb"
270
272
  autoload :Outcomes, "no_response/models/shared/outcomes.rb"
271
273
  autoload :OutcomesByOutcome, "no_response/models/shared/outcomesbyoutcome.rb"
@@ -435,6 +437,7 @@ module NoResponse
435
437
  autoload :ListAttendeesRole, "no_response/models/shared/listattendeesrole.rb"
436
438
  autoload :Location, "no_response/models/shared/location.rb"
437
439
  autoload :LocationUnion, "no_response/models/shared/location_union.rb"
440
+ autoload :MatchedOn, "no_response/models/shared/matched_on.rb"
438
441
  autoload :NameCandidate, "no_response/models/shared/name_candidate.rb"
439
442
  autoload :NameCandidateUnion, "no_response/models/shared/name_candidate_union.rb"
440
443
  autoload :SignIn, "no_response/models/shared/sign_in.rb"
@@ -95,9 +95,9 @@ module NoResponse
95
95
 
96
96
  @language = "ruby"
97
97
  @openapi_doc_version = "1"
98
- @sdk_version = "10.0.15"
98
+ @sdk_version = "10.0.17"
99
99
  @gen_version = "internal"
100
- @user_agent = "noresponse-sdk/ruby 10.0.15 internal 1 noresponse"
100
+ @user_agent = "noresponse-sdk/ruby 10.0.17 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.15
4
+ version: 10.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - NoResponse
@@ -1228,6 +1228,8 @@ files:
1228
1228
  - lib/no_response/models/shared/location_union.rbi
1229
1229
  - lib/no_response/models/shared/match.rb
1230
1230
  - lib/no_response/models/shared/match.rbi
1231
+ - lib/no_response/models/shared/matched_on.rb
1232
+ - lib/no_response/models/shared/matched_on.rbi
1231
1233
  - lib/no_response/models/shared/matchstate.rb
1232
1234
  - lib/no_response/models/shared/matchstate.rbi
1233
1235
  - lib/no_response/models/shared/mediatype.rb
@@ -1272,6 +1274,10 @@ files:
1272
1274
  - lib/no_response/models/shared/operationalaggregatetotals.rbi
1273
1275
  - lib/no_response/models/shared/origin.rb
1274
1276
  - lib/no_response/models/shared/origin.rbi
1277
+ - lib/no_response/models/shared/otherevent.rb
1278
+ - lib/no_response/models/shared/otherevent.rbi
1279
+ - lib/no_response/models/shared/otherevents.rb
1280
+ - lib/no_response/models/shared/otherevents.rbi
1275
1281
  - lib/no_response/models/shared/outcome.rb
1276
1282
  - lib/no_response/models/shared/outcome.rbi
1277
1283
  - lib/no_response/models/shared/outcomes.rb