noresponse 19.0.6 → 20.0.0
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/groups.rb +1 -1
- data/lib/no_response/investigations.rb +2 -290
- data/lib/no_response/models/operations.rb +0 -2
- data/lib/no_response/models/shared/investigation.rb +0 -46
- data/lib/no_response/models/shared/investigation.rbi +0 -24
- data/lib/no_response/models/shared/investigationreport.rb +2 -20
- data/lib/no_response/models/shared/investigationreport.rbi +0 -6
- data/lib/no_response/sdkconfiguration.rb +2 -2
- metadata +1 -5
- data/lib/no_response/models/operations/reviewinvestigation_request.rb +0 -36
- data/lib/no_response/models/operations/reviewinvestigation_request.rbi +0 -20
- data/lib/no_response/models/operations/reviewinvestigation_response.rb +0 -32
- data/lib/no_response/models/operations/reviewinvestigation_response.rbi +0 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dda07fb9bf22648b7e307bd6339eeb20403e11e2bd8648adbc67fb4f31a31a16
|
|
4
|
+
data.tar.gz: ce8f5b8ada39b6d92a75803423ef110f24cec28f86de2027c19a1ae461209a86
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e8f02114a39dc76d67d0154777940e61dc678e2cf2a17d7b3cc988f741492424d6347db96128beb4670ef337902aea8f7a5f506ca223b932da7f87bc8e05f7e1
|
|
7
|
+
data.tar.gz: 5e48bd16024f4ed214ba895a2537c322e23efe9bee62cf4726ffbdd151ceb84c78c4e4b1256476cf63bb7c3c5a4ff7a4b5c40653826632ae958b7e4416e9fc52
|
data/lib/no_response/groups.rb
CHANGED
|
@@ -2656,7 +2656,7 @@ module NoResponse
|
|
|
2656
2656
|
}
|
|
2657
2657
|
def review_person(body:, group_id:, person_id:, timeout_ms: nil, http_headers: nil)
|
|
2658
2658
|
# Method: review_person - Record a decision on a person.
|
|
2659
|
-
# Marks the person's latest finished investigation cleared, watch or escalated with a note
|
|
2659
|
+
# Marks the person's latest finished investigation cleared, watch or escalated with a note; a person with no finished investigation answers 409 group_conflict. Decisions are kept in order; the latest is the person's until a newer investigation finishes. A decision changes nothing else: no screening reads it. Deprecated: decisions are leaving people and groups. The console no longer records them and no screening reads them. This route is removed in the next contract release; stop calling it. The decisions scope grants this operation. Explicit evidence.read restrictions override default evidence access. The groups scope is also accepted for existing integrations. The API key selects the workspace and environment.
|
|
2660
2660
|
request = Models::Operations::ReviewPersonRequest.new(
|
|
2661
2661
|
group_id: group_id,
|
|
2662
2662
|
person_id: person_id,
|
|
@@ -15,7 +15,7 @@ module NoResponse
|
|
|
15
15
|
class Investigations
|
|
16
16
|
extend T::Sig
|
|
17
17
|
|
|
18
|
-
# Person investigation jobs
|
|
18
|
+
# Person investigation jobs and retained results.
|
|
19
19
|
|
|
20
20
|
sig { params(sdk_config: SDKConfiguration).void }
|
|
21
21
|
def initialize(sdk_config)
|
|
@@ -635,7 +635,7 @@ module NoResponse
|
|
|
635
635
|
}
|
|
636
636
|
def get(investigation_id:, retries: nil, timeout_ms: nil, http_headers: nil)
|
|
637
637
|
# Method: get - Read an investigation and its evidence.
|
|
638
|
-
# Returns this investigation's status, coverage, source records, posts
|
|
638
|
+
# Returns this investigation's status, coverage, source records, posts and media. Full evidence is returned by default; explicit evidence.read denial keeps submitted person details, status and coverage, and hides collected evidence. The read is durably audited as person.viewed. The API key selects the workspace and environment. Missing, foreign or expired results answer 404.
|
|
639
639
|
request = Models::Operations::GetInvestigationRequest.new(
|
|
640
640
|
investigation_id: investigation_id
|
|
641
641
|
)
|
|
@@ -912,294 +912,6 @@ module NoResponse
|
|
|
912
912
|
end
|
|
913
913
|
end
|
|
914
914
|
|
|
915
|
-
sig {
|
|
916
|
-
params(
|
|
917
|
-
body: Models::Shared::PersonReviewRequest,
|
|
918
|
-
investigation_id: ::String,
|
|
919
|
-
timeout_ms: T.nilable(Integer),
|
|
920
|
-
http_headers: T.nilable(T::Hash[T.any(String, Symbol), String])
|
|
921
|
-
)
|
|
922
|
-
.returns(Models::Operations::ReviewInvestigationResponse)
|
|
923
|
-
}
|
|
924
|
-
def review(body:, investigation_id:, timeout_ms: nil, http_headers: nil)
|
|
925
|
-
# Method: review - Record an investigation decision.
|
|
926
|
-
# Record an investigation decision. Deprecated: decisions are leaving people and groups. The console no longer records them and no screening reads them. This route is removed in the next contract release; stop calling it. The API key determines the workspace and environment.
|
|
927
|
-
request = Models::Operations::ReviewInvestigationRequest.new(
|
|
928
|
-
investigation_id: investigation_id,
|
|
929
|
-
body: body
|
|
930
|
-
)
|
|
931
|
-
url, params = @sdk_configuration.get_server_details
|
|
932
|
-
base_url = Utils.template_url(url, params)
|
|
933
|
-
url = Utils.generate_url(
|
|
934
|
-
Models::Operations::ReviewInvestigationRequest,
|
|
935
|
-
base_url,
|
|
936
|
-
"/v1/investigations/{investigation_id}/reviews",
|
|
937
|
-
request
|
|
938
|
-
)
|
|
939
|
-
headers = {}
|
|
940
|
-
headers = T.cast(headers, T::Hash[String, String])
|
|
941
|
-
req_content_type, data, form = Utils.serialize_request_body(request, false, false, :body, :json)
|
|
942
|
-
headers["content-type"] = req_content_type
|
|
943
|
-
raise StandardError, "request body is required" if data.nil? && form.nil?
|
|
944
|
-
|
|
945
|
-
if form && !form.empty?
|
|
946
|
-
body = Utils.encode_form(form)
|
|
947
|
-
elsif Utils.match_content_type(req_content_type, "application/x-www-form-urlencoded")
|
|
948
|
-
body = URI.encode_www_form(T.cast(data, T::Hash[Symbol, Object]))
|
|
949
|
-
else
|
|
950
|
-
body = data
|
|
951
|
-
end
|
|
952
|
-
|
|
953
|
-
headers["Accept"] = "application/json"
|
|
954
|
-
headers["user-agent"] = @sdk_configuration.user_agent
|
|
955
|
-
|
|
956
|
-
security = @sdk_configuration.security_source&.call
|
|
957
|
-
|
|
958
|
-
timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
|
|
959
|
-
timeout ||= @sdk_configuration.timeout
|
|
960
|
-
|
|
961
|
-
connection = @sdk_configuration.client
|
|
962
|
-
|
|
963
|
-
hook_ctx = SDKHooks::HookContext.new(
|
|
964
|
-
config: @sdk_configuration,
|
|
965
|
-
base_url: base_url,
|
|
966
|
-
oauth2_scopes: nil,
|
|
967
|
-
operation_id: "reviewInvestigation",
|
|
968
|
-
security_source: @sdk_configuration.security_source
|
|
969
|
-
)
|
|
970
|
-
|
|
971
|
-
error = T.let(nil, T.nilable(StandardError))
|
|
972
|
-
http_response = T.let(nil, T.nilable(Faraday::Response))
|
|
973
|
-
|
|
974
|
-
begin
|
|
975
|
-
http_response = T.must(connection).post(url) do |req|
|
|
976
|
-
req.body = body
|
|
977
|
-
req.headers.merge!(headers)
|
|
978
|
-
req.options.timeout = timeout unless timeout.nil?
|
|
979
|
-
Utils.configure_request_security(req, security)
|
|
980
|
-
http_headers&.each do |key, value|
|
|
981
|
-
req.headers[key.to_s] = value
|
|
982
|
-
end
|
|
983
|
-
|
|
984
|
-
@sdk_configuration.hooks.before_request(
|
|
985
|
-
hook_ctx: SDKHooks::BeforeRequestHookContext.new(
|
|
986
|
-
hook_ctx: hook_ctx
|
|
987
|
-
),
|
|
988
|
-
request: req
|
|
989
|
-
)
|
|
990
|
-
end
|
|
991
|
-
|
|
992
|
-
rescue StandardError => e
|
|
993
|
-
error = e
|
|
994
|
-
ensure
|
|
995
|
-
if http_response.nil? || Utils.error_status?(http_response.status)
|
|
996
|
-
http_response = @sdk_configuration.hooks.after_error(
|
|
997
|
-
error: error,
|
|
998
|
-
hook_ctx: SDKHooks::AfterErrorHookContext.new(
|
|
999
|
-
hook_ctx: hook_ctx
|
|
1000
|
-
),
|
|
1001
|
-
response: http_response
|
|
1002
|
-
)
|
|
1003
|
-
else
|
|
1004
|
-
http_response = @sdk_configuration.hooks.after_success(
|
|
1005
|
-
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
1006
|
-
hook_ctx: hook_ctx
|
|
1007
|
-
),
|
|
1008
|
-
response: http_response
|
|
1009
|
-
)
|
|
1010
|
-
end
|
|
1011
|
-
|
|
1012
|
-
if http_response.nil?
|
|
1013
|
-
raise error if !error.nil?
|
|
1014
|
-
raise "no response"
|
|
1015
|
-
end
|
|
1016
|
-
end
|
|
1017
|
-
|
|
1018
|
-
content_type = http_response.headers.fetch("Content-Type", "application/octet-stream")
|
|
1019
|
-
if Utils.match_status_code(http_response.status, ["200"])
|
|
1020
|
-
if Utils.match_content_type(content_type, "application/json")
|
|
1021
|
-
@sdk_configuration.hooks.after_success(
|
|
1022
|
-
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
1023
|
-
hook_ctx: hook_ctx
|
|
1024
|
-
),
|
|
1025
|
-
response: http_response
|
|
1026
|
-
)
|
|
1027
|
-
response_data = http_response.env.response_body
|
|
1028
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Shared::Investigation)
|
|
1029
|
-
result = obj
|
|
1030
|
-
response = Models::Operations::ReviewInvestigationResponse.new(
|
|
1031
|
-
result: result,
|
|
1032
|
-
headers: http_response.headers
|
|
1033
|
-
)
|
|
1034
|
-
|
|
1035
|
-
return response
|
|
1036
|
-
else
|
|
1037
|
-
raise(
|
|
1038
|
-
::NoResponse::Models::Errors::APIStatusError.new(
|
|
1039
|
-
status_code: http_response.status,
|
|
1040
|
-
body: http_response.env.response_body,
|
|
1041
|
-
raw_response: http_response
|
|
1042
|
-
),
|
|
1043
|
-
"Unknown content type received"
|
|
1044
|
-
)
|
|
1045
|
-
end
|
|
1046
|
-
elsif Utils.match_status_code(http_response.status, ["400"])
|
|
1047
|
-
if Utils.match_content_type(content_type, "application/problem+json")
|
|
1048
|
-
@sdk_configuration.hooks.after_success(
|
|
1049
|
-
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
1050
|
-
hook_ctx: hook_ctx
|
|
1051
|
-
),
|
|
1052
|
-
response: http_response
|
|
1053
|
-
)
|
|
1054
|
-
response_data = http_response.env.response_body
|
|
1055
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::BadRequestError)
|
|
1056
|
-
raise obj
|
|
1057
|
-
else
|
|
1058
|
-
raise(
|
|
1059
|
-
::NoResponse::Models::Errors::APIStatusError.new(
|
|
1060
|
-
status_code: http_response.status,
|
|
1061
|
-
body: http_response.env.response_body,
|
|
1062
|
-
raw_response: http_response
|
|
1063
|
-
),
|
|
1064
|
-
"Unknown content type received"
|
|
1065
|
-
)
|
|
1066
|
-
end
|
|
1067
|
-
elsif Utils.match_status_code(http_response.status, ["401"])
|
|
1068
|
-
if Utils.match_content_type(content_type, "application/problem+json")
|
|
1069
|
-
@sdk_configuration.hooks.after_success(
|
|
1070
|
-
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
1071
|
-
hook_ctx: hook_ctx
|
|
1072
|
-
),
|
|
1073
|
-
response: http_response
|
|
1074
|
-
)
|
|
1075
|
-
response_data = http_response.env.response_body
|
|
1076
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::AuthenticationError)
|
|
1077
|
-
raise obj
|
|
1078
|
-
else
|
|
1079
|
-
raise(
|
|
1080
|
-
::NoResponse::Models::Errors::APIStatusError.new(
|
|
1081
|
-
status_code: http_response.status,
|
|
1082
|
-
body: http_response.env.response_body,
|
|
1083
|
-
raw_response: http_response
|
|
1084
|
-
),
|
|
1085
|
-
"Unknown content type received"
|
|
1086
|
-
)
|
|
1087
|
-
end
|
|
1088
|
-
elsif Utils.match_status_code(http_response.status, ["403"])
|
|
1089
|
-
if Utils.match_content_type(content_type, "application/problem+json")
|
|
1090
|
-
@sdk_configuration.hooks.after_success(
|
|
1091
|
-
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
1092
|
-
hook_ctx: hook_ctx
|
|
1093
|
-
),
|
|
1094
|
-
response: http_response
|
|
1095
|
-
)
|
|
1096
|
-
response_data = http_response.env.response_body
|
|
1097
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::PermissionDeniedError)
|
|
1098
|
-
raise obj
|
|
1099
|
-
else
|
|
1100
|
-
raise(
|
|
1101
|
-
::NoResponse::Models::Errors::APIStatusError.new(
|
|
1102
|
-
status_code: http_response.status,
|
|
1103
|
-
body: http_response.env.response_body,
|
|
1104
|
-
raw_response: http_response
|
|
1105
|
-
),
|
|
1106
|
-
"Unknown content type received"
|
|
1107
|
-
)
|
|
1108
|
-
end
|
|
1109
|
-
elsif Utils.match_status_code(http_response.status, ["404"])
|
|
1110
|
-
if Utils.match_content_type(content_type, "application/problem+json")
|
|
1111
|
-
@sdk_configuration.hooks.after_success(
|
|
1112
|
-
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
1113
|
-
hook_ctx: hook_ctx
|
|
1114
|
-
),
|
|
1115
|
-
response: http_response
|
|
1116
|
-
)
|
|
1117
|
-
response_data = http_response.env.response_body
|
|
1118
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::NotFoundError)
|
|
1119
|
-
raise obj
|
|
1120
|
-
else
|
|
1121
|
-
raise(
|
|
1122
|
-
::NoResponse::Models::Errors::APIStatusError.new(
|
|
1123
|
-
status_code: http_response.status,
|
|
1124
|
-
body: http_response.env.response_body,
|
|
1125
|
-
raw_response: http_response
|
|
1126
|
-
),
|
|
1127
|
-
"Unknown content type received"
|
|
1128
|
-
)
|
|
1129
|
-
end
|
|
1130
|
-
elsif Utils.match_status_code(http_response.status, ["409"])
|
|
1131
|
-
if Utils.match_content_type(content_type, "application/problem+json")
|
|
1132
|
-
@sdk_configuration.hooks.after_success(
|
|
1133
|
-
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
1134
|
-
hook_ctx: hook_ctx
|
|
1135
|
-
),
|
|
1136
|
-
response: http_response
|
|
1137
|
-
)
|
|
1138
|
-
response_data = http_response.env.response_body
|
|
1139
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::ConflictError)
|
|
1140
|
-
raise obj
|
|
1141
|
-
else
|
|
1142
|
-
raise(
|
|
1143
|
-
::NoResponse::Models::Errors::APIStatusError.new(
|
|
1144
|
-
status_code: http_response.status,
|
|
1145
|
-
body: http_response.env.response_body,
|
|
1146
|
-
raw_response: http_response
|
|
1147
|
-
),
|
|
1148
|
-
"Unknown content type received"
|
|
1149
|
-
)
|
|
1150
|
-
end
|
|
1151
|
-
elsif Utils.match_status_code(http_response.status, ["429"])
|
|
1152
|
-
if Utils.match_content_type(content_type, "application/problem+json")
|
|
1153
|
-
@sdk_configuration.hooks.after_success(
|
|
1154
|
-
hook_ctx: SDKHooks::AfterSuccessHookContext.new(
|
|
1155
|
-
hook_ctx: hook_ctx
|
|
1156
|
-
),
|
|
1157
|
-
response: http_response
|
|
1158
|
-
)
|
|
1159
|
-
response_data = http_response.env.response_body
|
|
1160
|
-
obj = Crystalline.unmarshal_json(JSON.parse(response_data), Models::Errors::RateLimitError)
|
|
1161
|
-
raise obj
|
|
1162
|
-
else
|
|
1163
|
-
raise(
|
|
1164
|
-
::NoResponse::Models::Errors::APIStatusError.new(
|
|
1165
|
-
status_code: http_response.status,
|
|
1166
|
-
body: http_response.env.response_body,
|
|
1167
|
-
raw_response: http_response
|
|
1168
|
-
),
|
|
1169
|
-
"Unknown content type received"
|
|
1170
|
-
)
|
|
1171
|
-
end
|
|
1172
|
-
elsif Utils.match_status_code(http_response.status, ["4XX"])
|
|
1173
|
-
raise(
|
|
1174
|
-
::NoResponse::Models::Errors::APIStatusError.new(
|
|
1175
|
-
status_code: http_response.status,
|
|
1176
|
-
body: http_response.env.response_body,
|
|
1177
|
-
raw_response: http_response
|
|
1178
|
-
),
|
|
1179
|
-
"API error occurred"
|
|
1180
|
-
)
|
|
1181
|
-
elsif Utils.match_status_code(http_response.status, ["5XX"])
|
|
1182
|
-
raise(
|
|
1183
|
-
::NoResponse::Models::Errors::APIStatusError.new(
|
|
1184
|
-
status_code: http_response.status,
|
|
1185
|
-
body: http_response.env.response_body,
|
|
1186
|
-
raw_response: http_response
|
|
1187
|
-
),
|
|
1188
|
-
"API error occurred"
|
|
1189
|
-
)
|
|
1190
|
-
else
|
|
1191
|
-
raise(
|
|
1192
|
-
::NoResponse::Models::Errors::APIStatusError.new(
|
|
1193
|
-
status_code: http_response.status,
|
|
1194
|
-
body: http_response.env.response_body,
|
|
1195
|
-
raw_response: http_response
|
|
1196
|
-
),
|
|
1197
|
-
"Unknown status code received"
|
|
1198
|
-
)
|
|
1199
|
-
|
|
1200
|
-
end
|
|
1201
|
-
end
|
|
1202
|
-
|
|
1203
915
|
sig {
|
|
1204
916
|
params(
|
|
1205
917
|
body: Models::Shared::ScreeningCancelRequest,
|
|
@@ -224,8 +224,6 @@ module NoResponse
|
|
|
224
224
|
autoload :RetireAccountCredentialResponse, "no_response/models/operations/retireaccountcredential_response.rb"
|
|
225
225
|
autoload :RetryCustomerExportRequest, "no_response/models/operations/retrycustomerexport_request.rb"
|
|
226
226
|
autoload :RetryCustomerExportResponse, "no_response/models/operations/retrycustomerexport_response.rb"
|
|
227
|
-
autoload :ReviewInvestigationRequest, "no_response/models/operations/reviewinvestigation_request.rb"
|
|
228
|
-
autoload :ReviewInvestigationResponse, "no_response/models/operations/reviewinvestigation_response.rb"
|
|
229
227
|
autoload :ReviewPersonRequest, "no_response/models/operations/reviewperson_request.rb"
|
|
230
228
|
autoload :ReviewPersonResponse, "no_response/models/operations/reviewperson_response.rb"
|
|
231
229
|
autoload(
|
|
@@ -77,36 +77,6 @@ module NoResponse
|
|
|
77
77
|
::String,
|
|
78
78
|
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("deadline_at"), required: true}}
|
|
79
79
|
)
|
|
80
|
-
# The latest reviewer decision, or null before any.
|
|
81
|
-
field(
|
|
82
|
-
:decision,
|
|
83
|
-
Crystalline::Nilable.new(Models::Shared::PersonDecision),
|
|
84
|
-
{
|
|
85
|
-
'format_json': {
|
|
86
|
-
'letter_case': ::NoResponse::Utils.field_name("decision"),
|
|
87
|
-
required: true,
|
|
88
|
-
'decoder': ::NoResponse::Utils.open_enum_from_string(Models::Shared::PersonDecision, false)
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
)
|
|
92
|
-
|
|
93
|
-
field(
|
|
94
|
-
:decision_note,
|
|
95
|
-
Crystalline::Nilable.new(::String),
|
|
96
|
-
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("decision_note")}}
|
|
97
|
-
)
|
|
98
|
-
|
|
99
|
-
field(
|
|
100
|
-
:decided_by,
|
|
101
|
-
Crystalline::Nilable.new(::String),
|
|
102
|
-
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("decided_by")}}
|
|
103
|
-
)
|
|
104
|
-
|
|
105
|
-
field(
|
|
106
|
-
:decided_at,
|
|
107
|
-
Crystalline::Nilable.new(::String),
|
|
108
|
-
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("decided_at")}}
|
|
109
|
-
)
|
|
110
80
|
|
|
111
81
|
field(
|
|
112
82
|
:group_id,
|
|
@@ -156,10 +126,6 @@ module NoResponse
|
|
|
156
126
|
created_at: ::String,
|
|
157
127
|
expires_at: ::String,
|
|
158
128
|
deadline_at: ::String,
|
|
159
|
-
decision: T.nilable(Models::Shared::PersonDecision),
|
|
160
|
-
decision_note: T.nilable(::String),
|
|
161
|
-
decided_by: T.nilable(::String),
|
|
162
|
-
decided_at: T.nilable(::String),
|
|
163
129
|
group_id: T.nilable(::String),
|
|
164
130
|
match_state: T.nilable(Models::Shared::MatchState),
|
|
165
131
|
error_code: T.nilable(::String),
|
|
@@ -179,10 +145,6 @@ module NoResponse
|
|
|
179
145
|
created_at:,
|
|
180
146
|
expires_at:,
|
|
181
147
|
deadline_at:,
|
|
182
|
-
decision: nil,
|
|
183
|
-
decision_note: nil,
|
|
184
|
-
decided_by: nil,
|
|
185
|
-
decided_at: nil,
|
|
186
148
|
group_id: nil,
|
|
187
149
|
match_state: nil,
|
|
188
150
|
error_code: nil,
|
|
@@ -199,10 +161,6 @@ module NoResponse
|
|
|
199
161
|
@created_at = created_at
|
|
200
162
|
@expires_at = expires_at
|
|
201
163
|
@deadline_at = deadline_at
|
|
202
|
-
@decision = decision
|
|
203
|
-
@decision_note = decision_note
|
|
204
|
-
@decided_by = decided_by
|
|
205
|
-
@decided_at = decided_at
|
|
206
164
|
@group_id = group_id
|
|
207
165
|
@match_state = match_state
|
|
208
166
|
@error_code = error_code
|
|
@@ -223,10 +181,6 @@ module NoResponse
|
|
|
223
181
|
return false unless @created_at == other.created_at
|
|
224
182
|
return false unless @expires_at == other.expires_at
|
|
225
183
|
return false unless @deadline_at == other.deadline_at
|
|
226
|
-
return false unless @decision == other.decision
|
|
227
|
-
return false unless @decision_note == other.decision_note
|
|
228
|
-
return false unless @decided_by == other.decided_by
|
|
229
|
-
return false unless @decided_at == other.decided_at
|
|
230
184
|
return false unless @group_id == other.group_id
|
|
231
185
|
return false unless @match_state == other.match_state
|
|
232
186
|
return false unless @error_code == other.error_code
|
|
@@ -66,30 +66,6 @@ class NoResponse::Models::Shared::Investigation
|
|
|
66
66
|
def deadline_at=(str_)
|
|
67
67
|
end
|
|
68
68
|
|
|
69
|
-
def decision
|
|
70
|
-
end
|
|
71
|
-
|
|
72
|
-
def decision=(str_)
|
|
73
|
-
end
|
|
74
|
-
|
|
75
|
-
def decision_note
|
|
76
|
-
end
|
|
77
|
-
|
|
78
|
-
def decision_note=(str_)
|
|
79
|
-
end
|
|
80
|
-
|
|
81
|
-
def decided_by
|
|
82
|
-
end
|
|
83
|
-
|
|
84
|
-
def decided_by=(str_)
|
|
85
|
-
end
|
|
86
|
-
|
|
87
|
-
def decided_at
|
|
88
|
-
end
|
|
89
|
-
|
|
90
|
-
def decided_at=(str_)
|
|
91
|
-
end
|
|
92
|
-
|
|
93
69
|
def group_id
|
|
94
70
|
end
|
|
95
71
|
|
|
@@ -27,12 +27,6 @@ module NoResponse
|
|
|
27
27
|
Crystalline::Array.new(Models::Shared::ScreeningMedia),
|
|
28
28
|
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("media"), required: true}}
|
|
29
29
|
)
|
|
30
|
-
# Every recorded decision, oldest first.
|
|
31
|
-
field(
|
|
32
|
-
:reviews,
|
|
33
|
-
Crystalline::Array.new(Models::Shared::PersonReview),
|
|
34
|
-
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("reviews"), required: true}}
|
|
35
|
-
)
|
|
36
30
|
|
|
37
31
|
field(
|
|
38
32
|
:person,
|
|
@@ -51,7 +45,7 @@ module NoResponse
|
|
|
51
45
|
Crystalline::Nilable.new(Models::Shared::ScreeningLookup),
|
|
52
46
|
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("lookup")}}
|
|
53
47
|
)
|
|
54
|
-
# True when evidence.read is explicitly denied. Submitted details, coverage
|
|
48
|
+
# True when evidence.read is explicitly denied. Submitted details, coverage and job status remain available. Collected records, profiles, posts, media and discovered values are withheld.
|
|
55
49
|
field(
|
|
56
50
|
:evidence_restricted,
|
|
57
51
|
Crystalline::Nilable.new(Crystalline::Boolean.new),
|
|
@@ -63,7 +57,6 @@ module NoResponse
|
|
|
63
57
|
profiles: T::Array[Models::Shared::ScreeningProfile],
|
|
64
58
|
posts: T::Array[Models::Shared::ScreeningPost],
|
|
65
59
|
media: T::Array[Models::Shared::ScreeningMedia],
|
|
66
|
-
reviews: T::Array[Models::Shared::PersonReview],
|
|
67
60
|
person: Models::Shared::WorkspacePerson,
|
|
68
61
|
investigation: Models::Shared::Investigation,
|
|
69
62
|
lookup: T.nilable(Models::Shared::ScreeningLookup),
|
|
@@ -71,20 +64,10 @@ module NoResponse
|
|
|
71
64
|
)
|
|
72
65
|
.void
|
|
73
66
|
}
|
|
74
|
-
def initialize(
|
|
75
|
-
profiles:,
|
|
76
|
-
posts:,
|
|
77
|
-
media:,
|
|
78
|
-
reviews:,
|
|
79
|
-
person:,
|
|
80
|
-
investigation:,
|
|
81
|
-
lookup: nil,
|
|
82
|
-
evidence_restricted: nil
|
|
83
|
-
)
|
|
67
|
+
def initialize(profiles:, posts:, media:, person:, investigation:, lookup: nil, evidence_restricted: nil)
|
|
84
68
|
@profiles = profiles
|
|
85
69
|
@posts = posts
|
|
86
70
|
@media = media
|
|
87
|
-
@reviews = reviews
|
|
88
71
|
@person = person
|
|
89
72
|
@investigation = investigation
|
|
90
73
|
@lookup = lookup
|
|
@@ -97,7 +80,6 @@ module NoResponse
|
|
|
97
80
|
return false unless @profiles == other.profiles
|
|
98
81
|
return false unless @posts == other.posts
|
|
99
82
|
return false unless @media == other.media
|
|
100
|
-
return false unless @reviews == other.reviews
|
|
101
83
|
return false unless @person == other.person
|
|
102
84
|
return false unless @investigation == other.investigation
|
|
103
85
|
return false unless @lookup == other.lookup
|
|
@@ -95,9 +95,9 @@ module NoResponse
|
|
|
95
95
|
|
|
96
96
|
@language = "ruby"
|
|
97
97
|
@openapi_doc_version = "1"
|
|
98
|
-
@sdk_version = "
|
|
98
|
+
@sdk_version = "20.0.0"
|
|
99
99
|
@gen_version = "internal"
|
|
100
|
-
@user_agent = "noresponse-sdk/ruby
|
|
100
|
+
@user_agent = "noresponse-sdk/ruby 20.0.0 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:
|
|
4
|
+
version: 20.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- NoResponse
|
|
@@ -709,10 +709,6 @@ files:
|
|
|
709
709
|
- lib/no_response/models/operations/retrycustomerexport_request.rbi
|
|
710
710
|
- lib/no_response/models/operations/retrycustomerexport_response.rb
|
|
711
711
|
- lib/no_response/models/operations/retrycustomerexport_response.rbi
|
|
712
|
-
- lib/no_response/models/operations/reviewinvestigation_request.rb
|
|
713
|
-
- lib/no_response/models/operations/reviewinvestigation_request.rbi
|
|
714
|
-
- lib/no_response/models/operations/reviewinvestigation_response.rb
|
|
715
|
-
- lib/no_response/models/operations/reviewinvestigation_response.rbi
|
|
716
712
|
- lib/no_response/models/operations/reviewperson_request.rb
|
|
717
713
|
- lib/no_response/models/operations/reviewperson_request.rbi
|
|
718
714
|
- lib/no_response/models/operations/reviewperson_response.rb
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module NoResponse
|
|
5
|
-
module Models
|
|
6
|
-
module Operations
|
|
7
|
-
|
|
8
|
-
class ReviewInvestigationRequest
|
|
9
|
-
extend T::Sig
|
|
10
|
-
include Crystalline::MetadataFields
|
|
11
|
-
|
|
12
|
-
field(
|
|
13
|
-
:investigation_id,
|
|
14
|
-
::String,
|
|
15
|
-
{'path_param': {'field_name': "investigation_id", 'style': "simple", 'explode': false}}
|
|
16
|
-
)
|
|
17
|
-
|
|
18
|
-
field :body, Models::Shared::PersonReviewRequest, {'request': {'media_type': "application/json"}}
|
|
19
|
-
|
|
20
|
-
sig { params(investigation_id: ::String, body: Models::Shared::PersonReviewRequest).void }
|
|
21
|
-
def initialize(investigation_id:, body:)
|
|
22
|
-
@investigation_id = investigation_id
|
|
23
|
-
@body = body
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
27
|
-
def ==(other)
|
|
28
|
-
return false unless other.is_a?(self.class)
|
|
29
|
-
return false unless @investigation_id == other.investigation_id
|
|
30
|
-
return false unless @body == other.body
|
|
31
|
-
true
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
end
|
|
36
|
-
end
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
class NoResponse::Models::Operations::ReviewInvestigationRequest
|
|
5
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
6
|
-
end
|
|
7
|
-
|
|
8
|
-
class NoResponse::Models::Operations::ReviewInvestigationRequest
|
|
9
|
-
def investigation_id
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
def investigation_id=(str_)
|
|
13
|
-
end
|
|
14
|
-
|
|
15
|
-
def body
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
def body=(str_)
|
|
19
|
-
end
|
|
20
|
-
end
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module NoResponse
|
|
5
|
-
module Models
|
|
6
|
-
module Operations
|
|
7
|
-
|
|
8
|
-
class ReviewInvestigationResponse
|
|
9
|
-
extend T::Sig
|
|
10
|
-
include Crystalline::MetadataFields
|
|
11
|
-
|
|
12
|
-
field :headers, Crystalline::Hash.new(Symbol, Crystalline::Array.new(::String))
|
|
13
|
-
|
|
14
|
-
field :result, Models::Shared::Investigation, {}
|
|
15
|
-
|
|
16
|
-
sig { params(headers: T::Hash[Symbol, T::Array[::String]], result: Models::Shared::Investigation).void }
|
|
17
|
-
def initialize(headers:, result:)
|
|
18
|
-
@headers = headers
|
|
19
|
-
@result = result
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
23
|
-
def ==(other)
|
|
24
|
-
return false unless other.is_a?(self.class)
|
|
25
|
-
return false unless @headers == other.headers
|
|
26
|
-
return false unless @result == other.result
|
|
27
|
-
true
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
end
|
|
31
|
-
end
|
|
32
|
-
end
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
class NoResponse::Models::Operations::ReviewInvestigationResponse
|
|
5
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
6
|
-
end
|
|
7
|
-
|
|
8
|
-
class NoResponse::Models::Operations::ReviewInvestigationResponse
|
|
9
|
-
def headers
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
def headers=(str_)
|
|
13
|
-
end
|
|
14
|
-
|
|
15
|
-
def result
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
def result=(str_)
|
|
19
|
-
end
|
|
20
|
-
end
|