noresponse 2.1.15 → 3.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/accounts.rb +1 -1
- data/lib/no_response/assessments.rb +2 -2
- data/lib/no_response/late_results.rb +19 -15
- data/lib/no_response/models/shared/account.rb +1 -1
- data/lib/no_response/models/shared/accountdecisionsbyflow.rb +1 -1
- data/lib/no_response/models/shared/assessment.rb +41 -176
- data/lib/no_response/models/shared/assessment.rbi +10 -82
- data/lib/no_response/models/shared/assessmentdetail.rb +245 -0
- data/lib/no_response/models/shared/assessmentdetail.rbi +122 -0
- data/lib/no_response/models/shared/{assessmentauthcontext.rb → assessmentdetailauthcontext.rb} +1 -1
- data/lib/no_response/models/shared/{assessmentauthcontext.rbi → assessmentdetailauthcontext.rbi} +2 -2
- data/lib/no_response/models/shared/{assessmenttiming.rb → assessmentdetailtiming.rb} +1 -1
- data/lib/no_response/models/shared/{assessmenttiming.rbi → assessmentdetailtiming.rbi} +2 -2
- data/lib/no_response/models/shared/assessmentlist.rb +3 -3
- data/lib/no_response/models/shared/assessmentrequest.rb +15 -14
- data/lib/no_response/models/shared/assessmentrequest.rbi +4 -4
- data/lib/no_response/models/shared/assessmentrequestpolicycontext.rb +3 -16
- data/lib/no_response/models/shared/assessmentrequestpolicycontext.rbi +0 -6
- data/lib/no_response/models/shared/depth.rb +4 -1
- data/lib/no_response/models/shared/flow.rb +6 -4
- data/lib/no_response/models/shared.rb +3 -3
- data/lib/no_response/sdkconfiguration.rb +2 -2
- data/lib/no_response/webhooks.rb +1 -1
- metadata +7 -7
- data/lib/no_response/models/shared/assessmentflow.rb +0 -17
- data/lib/no_response/models/shared/assessmentflow.rbi +0 -9
|
@@ -95,9 +95,9 @@ module NoResponse
|
|
|
95
95
|
|
|
96
96
|
@language = "ruby"
|
|
97
97
|
@openapi_doc_version = "1"
|
|
98
|
-
@sdk_version = "
|
|
98
|
+
@sdk_version = "3.0.0"
|
|
99
99
|
@gen_version = "internal"
|
|
100
|
-
@user_agent = "noresponse-sdk/ruby
|
|
100
|
+
@user_agent = "noresponse-sdk/ruby 3.0.0 internal 1 noresponse"
|
|
101
101
|
end
|
|
102
102
|
|
|
103
103
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
data/lib/no_response/webhooks.rb
CHANGED
|
@@ -55,7 +55,7 @@ module NoResponse
|
|
|
55
55
|
# "assessment.updated", an EndpointVerification for
|
|
56
56
|
# "endpoint.verification" and an AccountDeleted for "account.deleted".
|
|
57
57
|
# Deliveries are at least once and unordered:
|
|
58
|
-
# deduplicate on id and keep the highest assessment_version.
|
|
58
|
+
# deduplicate on id and keep the highest detail.assessment_version.
|
|
59
59
|
Event = Struct.new(:id, :type, :created_at, :data, :test, keyword_init: true) do
|
|
60
60
|
# True for the terminal expiry event: delete what you hold and fetch nothing.
|
|
61
61
|
def expired? = data.is_a?(AssessmentExpired)
|
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: 3.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- NoResponse
|
|
@@ -363,14 +363,16 @@ files:
|
|
|
363
363
|
- lib/no_response/models/shared/alternate_name_union.rbi
|
|
364
364
|
- lib/no_response/models/shared/assessment.rb
|
|
365
365
|
- lib/no_response/models/shared/assessment.rbi
|
|
366
|
-
- lib/no_response/models/shared/assessmentauthcontext.rb
|
|
367
|
-
- lib/no_response/models/shared/assessmentauthcontext.rbi
|
|
368
366
|
- lib/no_response/models/shared/assessmentdeletion.rb
|
|
369
367
|
- lib/no_response/models/shared/assessmentdeletion.rbi
|
|
370
368
|
- lib/no_response/models/shared/assessmentdeletionaccount.rb
|
|
371
369
|
- lib/no_response/models/shared/assessmentdeletionaccount.rbi
|
|
372
|
-
- lib/no_response/models/shared/
|
|
373
|
-
- lib/no_response/models/shared/
|
|
370
|
+
- lib/no_response/models/shared/assessmentdetail.rb
|
|
371
|
+
- lib/no_response/models/shared/assessmentdetail.rbi
|
|
372
|
+
- lib/no_response/models/shared/assessmentdetailauthcontext.rb
|
|
373
|
+
- lib/no_response/models/shared/assessmentdetailauthcontext.rbi
|
|
374
|
+
- lib/no_response/models/shared/assessmentdetailtiming.rb
|
|
375
|
+
- lib/no_response/models/shared/assessmentdetailtiming.rbi
|
|
374
376
|
- lib/no_response/models/shared/assessmentlist.rb
|
|
375
377
|
- lib/no_response/models/shared/assessmentlist.rbi
|
|
376
378
|
- lib/no_response/models/shared/assessmentoutcome.rb
|
|
@@ -389,8 +391,6 @@ files:
|
|
|
389
391
|
- lib/no_response/models/shared/assessmentrequestissuedcredential.rbi
|
|
390
392
|
- lib/no_response/models/shared/assessmentrequestpolicycontext.rb
|
|
391
393
|
- lib/no_response/models/shared/assessmentrequestpolicycontext.rbi
|
|
392
|
-
- lib/no_response/models/shared/assessmenttiming.rb
|
|
393
|
-
- lib/no_response/models/shared/assessmenttiming.rbi
|
|
394
394
|
- lib/no_response/models/shared/assurancelevel.rb
|
|
395
395
|
- lib/no_response/models/shared/assurancelevel.rbi
|
|
396
396
|
- lib/no_response/models/shared/authcontext.rb
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module NoResponse
|
|
5
|
-
module Models
|
|
6
|
-
module Shared
|
|
7
|
-
# AssessmentFlow - The customer event an assessment is made for: signup (a new account), login (a returning sign-in) or purchase (a payment or credit grant). The account's risk is reported with the decision for this flow.
|
|
8
|
-
class AssessmentFlow < T::Enum
|
|
9
|
-
enums do
|
|
10
|
-
SIGNUP = new("signup")
|
|
11
|
-
LOGIN = new("login")
|
|
12
|
-
PURCHASE = new("purchase")
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
end
|