noresponse 8.1.3 → 8.2.1
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 +2069 -1
- data/lib/no_response/assessments.rb +893 -3
- data/lib/no_response/models/operations/associatecredential_request.rb +33 -0
- data/lib/no_response/models/operations/associatecredential_request.rbi +20 -0
- data/lib/no_response/models/operations/associatecredential_response.rb +34 -0
- data/lib/no_response/models/operations/associatecredential_response.rbi +20 -0
- data/lib/no_response/models/operations/bindprovisionalaccount_request.rb +37 -0
- data/lib/no_response/models/operations/bindprovisionalaccount_request.rbi +20 -0
- data/lib/no_response/models/operations/bindprovisionalaccount_response.rb +32 -0
- data/lib/no_response/models/operations/bindprovisionalaccount_response.rbi +20 -0
- data/lib/no_response/models/operations/exportaccount_request.rb +37 -0
- data/lib/no_response/models/operations/exportaccount_request.rbi +20 -0
- data/lib/no_response/models/operations/exportaccount_response.rb +32 -0
- data/lib/no_response/models/operations/exportaccount_response.rbi +20 -0
- data/lib/no_response/models/operations/getaccountdecision_request.rb +37 -0
- data/lib/no_response/models/operations/getaccountdecision_request.rbi +20 -0
- data/lib/no_response/models/operations/getaccountdecision_response.rb +34 -0
- data/lib/no_response/models/operations/getaccountdecision_response.rbi +20 -0
- data/lib/no_response/models/operations/getassessmentversion_request.rb +48 -0
- data/lib/no_response/models/operations/getassessmentversion_request.rbi +26 -0
- data/lib/no_response/models/operations/getassessmentversion_response.rb +32 -0
- data/lib/no_response/models/operations/getassessmentversion_response.rbi +20 -0
- data/lib/no_response/models/operations/listaccountcredentials_request.rb +45 -0
- data/lib/no_response/models/operations/listaccountcredentials_request.rbi +26 -0
- data/lib/no_response/models/operations/listaccountcredentials_response.rb +32 -0
- data/lib/no_response/models/operations/listaccountcredentials_response.rbi +20 -0
- data/lib/no_response/models/operations/listaccountoutcomes_request.rb +45 -0
- data/lib/no_response/models/operations/listaccountoutcomes_request.rbi +26 -0
- data/lib/no_response/models/operations/listaccountoutcomes_response.rb +32 -0
- data/lib/no_response/models/operations/listaccountoutcomes_response.rbi +20 -0
- data/lib/no_response/models/operations/listrequestdiagnostics_request.rb +84 -0
- data/lib/no_response/models/operations/listrequestdiagnostics_request.rbi +50 -0
- data/lib/no_response/models/operations/listrequestdiagnostics_response.rb +34 -0
- data/lib/no_response/models/operations/listrequestdiagnostics_response.rbi +20 -0
- data/lib/no_response/models/operations/recordaccountoutcome_request.rb +48 -0
- data/lib/no_response/models/operations/recordaccountoutcome_request.rbi +26 -0
- data/lib/no_response/models/operations/recordaccountoutcome_response.rb +32 -0
- data/lib/no_response/models/operations/recordaccountoutcome_response.rbi +20 -0
- data/lib/no_response/models/operations/retireaccountcredential_request.rb +37 -0
- data/lib/no_response/models/operations/retireaccountcredential_request.rbi +20 -0
- data/lib/no_response/models/operations/retireaccountcredential_response.rb +34 -0
- data/lib/no_response/models/operations/retireaccountcredential_response.rbi +20 -0
- data/lib/no_response/models/operations/searchassessments_response.rb +32 -0
- data/lib/no_response/models/operations/searchassessments_response.rbi +20 -0
- data/lib/no_response/models/operations.rb +21 -0
- data/lib/no_response/models/shared/accountbinding.rb +83 -0
- data/lib/no_response/models/shared/accountbinding.rbi +44 -0
- data/lib/no_response/models/shared/accountbindingactor.rb +40 -0
- data/lib/no_response/models/shared/accountbindingactor.rbi +20 -0
- data/lib/no_response/models/shared/accountbindingrequest.rb +33 -0
- data/lib/no_response/models/shared/accountbindingrequest.rbi +14 -0
- data/lib/no_response/models/shared/accountdecisionsnapshot.rb +94 -0
- data/lib/no_response/models/shared/accountdecisionsnapshot.rbi +44 -0
- data/lib/no_response/models/shared/accountexport.rb +178 -0
- data/lib/no_response/models/shared/accountexport.rbi +92 -0
- data/lib/no_response/models/shared/accountoutcome.rb +152 -0
- data/lib/no_response/models/shared/accountoutcome.rbi +80 -0
- data/lib/no_response/models/shared/accountoutcomeactor.rb +40 -0
- data/lib/no_response/models/shared/accountoutcomeactor.rbi +20 -0
- data/lib/no_response/models/shared/accountoutcomepage.rb +65 -0
- data/lib/no_response/models/shared/accountoutcomepage.rbi +32 -0
- data/lib/no_response/models/shared/accountoutcomerequest.rb +71 -0
- data/lib/no_response/models/shared/accountoutcomerequest.rbi +32 -0
- data/lib/no_response/models/shared/assessmentdetail.rb +10 -0
- data/lib/no_response/models/shared/assessmentdetail.rbi +6 -0
- data/lib/no_response/models/shared/assessmentrevision.rb +101 -0
- data/lib/no_response/models/shared/assessmentrevision.rbi +44 -0
- data/lib/no_response/models/shared/assessmentsearchpage.rb +68 -0
- data/lib/no_response/models/shared/assessmentsearchpage.rbi +32 -0
- data/lib/no_response/models/shared/assessmentsearchrequest.rb +146 -0
- data/lib/no_response/models/shared/assessmentsearchrequest.rbi +68 -0
- data/lib/no_response/models/shared/conflicterrorcode.rb +3 -0
- data/lib/no_response/models/shared/credentialassociation.rb +78 -0
- data/lib/no_response/models/shared/credentialassociation.rbi +44 -0
- data/lib/no_response/models/shared/credentialassociationactor.rb +40 -0
- data/lib/no_response/models/shared/credentialassociationactor.rbi +20 -0
- data/lib/no_response/models/shared/credentialassociationretiredby.rb +40 -0
- data/lib/no_response/models/shared/credentialassociationretiredby.rbi +20 -0
- data/lib/no_response/models/shared/credentialpage.rb +56 -0
- data/lib/no_response/models/shared/credentialpage.rbi +26 -0
- data/lib/no_response/models/shared/credentialrequest.rb +32 -0
- data/lib/no_response/models/shared/credentialrequest.rbi +14 -0
- data/lib/no_response/models/shared/decision.rb +18 -0
- data/lib/no_response/models/shared/decision.rbi +9 -0
- data/lib/no_response/models/shared/decisionreceipt.rb +112 -0
- data/lib/no_response/models/shared/decisionreceipt.rbi +50 -0
- data/lib/no_response/models/shared/exclusion.rb +23 -0
- data/lib/no_response/models/shared/exclusion.rbi +9 -0
- data/lib/no_response/models/shared/exportassessmentoutcome.rb +85 -0
- data/lib/no_response/models/shared/exportassessmentoutcome.rbi +44 -0
- data/lib/no_response/models/shared/reasoncode.rb +1 -0
- data/lib/no_response/models/shared/requestdiagnostic.rb +145 -0
- data/lib/no_response/models/shared/requestdiagnostic.rbi +80 -0
- data/lib/no_response/models/shared/requestdiagnosticpage.rb +40 -0
- data/lib/no_response/models/shared/requestdiagnosticpage.rbi +20 -0
- data/lib/no_response/models/shared/sentidentifiers.rb +74 -0
- data/lib/no_response/models/shared/sentidentifiers.rbi +38 -0
- data/lib/no_response/models/shared.rb +24 -0
- data/lib/no_response/noresponseclient.rb +12 -1
- data/lib/no_response/requests.rb +320 -0
- data/lib/no_response/sdkconfiguration.rb +2 -2
- data/lib/noresponse.rb +1 -0
- metadata +92 -1
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module NoResponse
|
|
5
|
+
module Models
|
|
6
|
+
module Shared
|
|
7
|
+
# One authenticated HTTP attempt. An attempt id is independent of the caller correlation id. No raw body, path parameter, credential or source payload is retained. write_complete means the server wrote/flushed its response, not proof the client processed it. Collection is bounded best effort; ii_signup_request_diagnostic_failures_total exposes gaps. Retained for seven days or the shorter environment retention.
|
|
8
|
+
class RequestDiagnostic
|
|
9
|
+
extend T::Sig
|
|
10
|
+
include Crystalline::MetadataFields
|
|
11
|
+
|
|
12
|
+
field :id, ::String, {'format_json': {'letter_case': ::NoResponse::Utils.field_name("id"), required: true}}
|
|
13
|
+
|
|
14
|
+
field(
|
|
15
|
+
:request_id,
|
|
16
|
+
::String,
|
|
17
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("request_id"), required: true}}
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
field(
|
|
21
|
+
:route,
|
|
22
|
+
::String,
|
|
23
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("route"), required: true}}
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
field(
|
|
27
|
+
:http_status,
|
|
28
|
+
::Integer,
|
|
29
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("http_status"), required: true}}
|
|
30
|
+
)
|
|
31
|
+
|
|
32
|
+
field(
|
|
33
|
+
:duration_ms,
|
|
34
|
+
::Integer,
|
|
35
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("duration_ms"), required: true}}
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
field(
|
|
39
|
+
:started_at,
|
|
40
|
+
::String,
|
|
41
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("started_at"), required: true}}
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
field(
|
|
45
|
+
:completed_at,
|
|
46
|
+
::String,
|
|
47
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("completed_at"), required: true}}
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
field(
|
|
51
|
+
:expires_at,
|
|
52
|
+
::String,
|
|
53
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("expires_at"), required: true}}
|
|
54
|
+
)
|
|
55
|
+
|
|
56
|
+
field(
|
|
57
|
+
:idempotent_replayed,
|
|
58
|
+
Crystalline::Boolean.new,
|
|
59
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("idempotent_replayed"), required: true}}
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
field(
|
|
63
|
+
:write_complete,
|
|
64
|
+
Crystalline::Boolean.new,
|
|
65
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("write_complete"), required: true}}
|
|
66
|
+
)
|
|
67
|
+
|
|
68
|
+
field(
|
|
69
|
+
:error_code,
|
|
70
|
+
Crystalline::Nilable.new(::String),
|
|
71
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("error_code")}}
|
|
72
|
+
)
|
|
73
|
+
# The decision prepared for one HTTP attempt. Its account field preserves the account decision returned for that attempt, even after subsequent changes.
|
|
74
|
+
field(
|
|
75
|
+
:decision,
|
|
76
|
+
Crystalline::Nilable.new(Models::Shared::DecisionReceipt),
|
|
77
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("decision")}}
|
|
78
|
+
)
|
|
79
|
+
|
|
80
|
+
sig {
|
|
81
|
+
params(
|
|
82
|
+
id: ::String,
|
|
83
|
+
request_id: ::String,
|
|
84
|
+
route: ::String,
|
|
85
|
+
http_status: ::Integer,
|
|
86
|
+
duration_ms: ::Integer,
|
|
87
|
+
started_at: ::String,
|
|
88
|
+
completed_at: ::String,
|
|
89
|
+
expires_at: ::String,
|
|
90
|
+
idempotent_replayed: T::Boolean,
|
|
91
|
+
write_complete: T::Boolean,
|
|
92
|
+
error_code: T.nilable(::String),
|
|
93
|
+
decision: T.nilable(Models::Shared::DecisionReceipt)
|
|
94
|
+
)
|
|
95
|
+
.void
|
|
96
|
+
}
|
|
97
|
+
def initialize(
|
|
98
|
+
id:,
|
|
99
|
+
request_id:,
|
|
100
|
+
route:,
|
|
101
|
+
http_status:,
|
|
102
|
+
duration_ms:,
|
|
103
|
+
started_at:,
|
|
104
|
+
completed_at:,
|
|
105
|
+
expires_at:,
|
|
106
|
+
idempotent_replayed:,
|
|
107
|
+
write_complete:,
|
|
108
|
+
error_code: nil,
|
|
109
|
+
decision: nil
|
|
110
|
+
)
|
|
111
|
+
@id = id
|
|
112
|
+
@request_id = request_id
|
|
113
|
+
@route = route
|
|
114
|
+
@http_status = http_status
|
|
115
|
+
@duration_ms = duration_ms
|
|
116
|
+
@started_at = started_at
|
|
117
|
+
@completed_at = completed_at
|
|
118
|
+
@expires_at = expires_at
|
|
119
|
+
@idempotent_replayed = idempotent_replayed
|
|
120
|
+
@write_complete = write_complete
|
|
121
|
+
@error_code = error_code
|
|
122
|
+
@decision = decision
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
126
|
+
def ==(other)
|
|
127
|
+
return false unless other.is_a?(self.class)
|
|
128
|
+
return false unless @id == other.id
|
|
129
|
+
return false unless @request_id == other.request_id
|
|
130
|
+
return false unless @route == other.route
|
|
131
|
+
return false unless @http_status == other.http_status
|
|
132
|
+
return false unless @duration_ms == other.duration_ms
|
|
133
|
+
return false unless @started_at == other.started_at
|
|
134
|
+
return false unless @completed_at == other.completed_at
|
|
135
|
+
return false unless @expires_at == other.expires_at
|
|
136
|
+
return false unless @idempotent_replayed == other.idempotent_replayed
|
|
137
|
+
return false unless @write_complete == other.write_complete
|
|
138
|
+
return false unless @error_code == other.error_code
|
|
139
|
+
return false unless @decision == other.decision
|
|
140
|
+
true
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
end
|
|
144
|
+
end
|
|
145
|
+
end
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
class NoResponse::Models::Shared::RequestDiagnostic
|
|
5
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
class NoResponse::Models::Shared::RequestDiagnostic
|
|
9
|
+
def id
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def id=(str_)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def request_id
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def request_id=(str_)
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
def route
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def route=(str_)
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
def http_status
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def http_status=(str_)
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
def duration_ms
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def duration_ms=(str_)
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
def started_at
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
def started_at=(str_)
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
def completed_at
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
def completed_at=(str_)
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
def expires_at
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
def expires_at=(str_)
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
def idempotent_replayed
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
def idempotent_replayed=(str_)
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
def write_complete
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
def write_complete=(str_)
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
def error_code
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
def error_code=(str_)
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
def decision
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
def decision=(str_)
|
|
79
|
+
end
|
|
80
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module NoResponse
|
|
5
|
+
module Models
|
|
6
|
+
module Shared
|
|
7
|
+
# Authenticated attempts in a bounded interval, newest first. Keep the same filters when paging.
|
|
8
|
+
class RequestDiagnosticPage
|
|
9
|
+
extend T::Sig
|
|
10
|
+
include Crystalline::MetadataFields
|
|
11
|
+
|
|
12
|
+
field(
|
|
13
|
+
:items,
|
|
14
|
+
Crystalline::Array.new(Models::Shared::RequestDiagnostic),
|
|
15
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("items"), required: true}}
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
field(
|
|
19
|
+
:next_cursor,
|
|
20
|
+
Crystalline::Nilable.new(::String),
|
|
21
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("next_cursor")}}
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
sig { params(items: T::Array[Models::Shared::RequestDiagnostic], next_cursor: T.nilable(::String)).void }
|
|
25
|
+
def initialize(items:, next_cursor: nil)
|
|
26
|
+
@items = items
|
|
27
|
+
@next_cursor = next_cursor
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
31
|
+
def ==(other)
|
|
32
|
+
return false unless other.is_a?(self.class)
|
|
33
|
+
return false unless @items == other.items
|
|
34
|
+
return false unless @next_cursor == other.next_cursor
|
|
35
|
+
true
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
class NoResponse::Models::Shared::RequestDiagnosticPage
|
|
5
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
class NoResponse::Models::Shared::RequestDiagnosticPage
|
|
9
|
+
def items
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def items=(str_)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def next_cursor
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def next_cursor=(str_)
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module NoResponse
|
|
5
|
+
module Models
|
|
6
|
+
module Shared
|
|
7
|
+
# The identifiers an assessment was sent: each member of the request's identifiers object exactly as received, before the server normalised it (the email domain keeps its case, the name its Unicode form). A member the request did not send is absent. NoResponse keeps them encrypted under the workspace's own key, does not index or log them, and deletes them with the assessment: on DELETE of the assessment or its account, at its expires_at, and with the workspace.
|
|
8
|
+
class SentIdentifiers
|
|
9
|
+
extend T::Sig
|
|
10
|
+
include Crystalline::MetadataFields
|
|
11
|
+
|
|
12
|
+
# identifiers.email as the request sent it.
|
|
13
|
+
field(
|
|
14
|
+
:email,
|
|
15
|
+
Crystalline::Nilable.new(::String),
|
|
16
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("email")}}
|
|
17
|
+
)
|
|
18
|
+
# identifiers.username as the request sent it.
|
|
19
|
+
field(
|
|
20
|
+
:username,
|
|
21
|
+
Crystalline::Nilable.new(::String),
|
|
22
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("username")}}
|
|
23
|
+
)
|
|
24
|
+
# identifiers.phone as the request sent it.
|
|
25
|
+
field(
|
|
26
|
+
:phone,
|
|
27
|
+
Crystalline::Nilable.new(::String),
|
|
28
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("phone")}}
|
|
29
|
+
)
|
|
30
|
+
# identifiers.name as the request sent it, before NFC normalisation.
|
|
31
|
+
field(
|
|
32
|
+
:name,
|
|
33
|
+
Crystalline::Nilable.new(::String),
|
|
34
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("name")}}
|
|
35
|
+
)
|
|
36
|
+
# identifiers.ip as the request sent it.
|
|
37
|
+
field(
|
|
38
|
+
:ip,
|
|
39
|
+
Crystalline::Nilable.new(::String),
|
|
40
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("ip")}}
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
sig {
|
|
44
|
+
params(
|
|
45
|
+
email: T.nilable(::String),
|
|
46
|
+
username: T.nilable(::String),
|
|
47
|
+
phone: T.nilable(::String),
|
|
48
|
+
name: T.nilable(::String),
|
|
49
|
+
ip: T.nilable(::String)
|
|
50
|
+
)
|
|
51
|
+
.void
|
|
52
|
+
}
|
|
53
|
+
def initialize(email: nil, username: nil, phone: nil, name: nil, ip: nil)
|
|
54
|
+
@email = email
|
|
55
|
+
@username = username
|
|
56
|
+
@phone = phone
|
|
57
|
+
@name = name
|
|
58
|
+
@ip = ip
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
62
|
+
def ==(other)
|
|
63
|
+
return false unless other.is_a?(self.class)
|
|
64
|
+
return false unless @email == other.email
|
|
65
|
+
return false unless @username == other.username
|
|
66
|
+
return false unless @phone == other.phone
|
|
67
|
+
return false unless @name == other.name
|
|
68
|
+
return false unless @ip == other.ip
|
|
69
|
+
true
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
end
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
class NoResponse::Models::Shared::SentIdentifiers
|
|
5
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
class NoResponse::Models::Shared::SentIdentifiers
|
|
9
|
+
def email
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def email=(str_)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def username
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def username=(str_)
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
def phone
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def phone=(str_)
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
def name
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def name=(str_)
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
def ip
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def ip=(str_)
|
|
37
|
+
end
|
|
38
|
+
end
|
|
@@ -5,12 +5,21 @@ module NoResponse
|
|
|
5
5
|
module Models
|
|
6
6
|
module Shared
|
|
7
7
|
autoload :Account, "no_response/models/shared/account.rb"
|
|
8
|
+
autoload :AccountBinding, "no_response/models/shared/accountbinding.rb"
|
|
9
|
+
autoload :AccountBindingActor, "no_response/models/shared/accountbindingactor.rb"
|
|
10
|
+
autoload :AccountBindingRequest, "no_response/models/shared/accountbindingrequest.rb"
|
|
8
11
|
autoload :AccountDecision, "no_response/models/shared/accountdecision.rb"
|
|
12
|
+
autoload :AccountDecisionSnapshot, "no_response/models/shared/accountdecisionsnapshot.rb"
|
|
9
13
|
autoload :AccountDecisionsByFlow, "no_response/models/shared/accountdecisionsbyflow.rb"
|
|
10
14
|
autoload :AccountDeleted, "no_response/models/shared/accountdeleted.rb"
|
|
11
15
|
autoload :AccountDeletedEvent, "no_response/models/shared/accountdeletedevent.rb"
|
|
12
16
|
autoload :AccountDeletion, "no_response/models/shared/accountdeletion.rb"
|
|
17
|
+
autoload :AccountExport, "no_response/models/shared/accountexport.rb"
|
|
13
18
|
autoload :AccountList, "no_response/models/shared/accountlist.rb"
|
|
19
|
+
autoload :AccountOutcome, "no_response/models/shared/accountoutcome.rb"
|
|
20
|
+
autoload :AccountOutcomeActor, "no_response/models/shared/accountoutcomeactor.rb"
|
|
21
|
+
autoload :AccountOutcomePage, "no_response/models/shared/accountoutcomepage.rb"
|
|
22
|
+
autoload :AccountOutcomeRequest, "no_response/models/shared/accountoutcomerequest.rb"
|
|
14
23
|
autoload :AccountRisk, "no_response/models/shared/accountrisk.rb"
|
|
15
24
|
autoload :AccountRiskChanged, "no_response/models/shared/accountriskchanged.rb"
|
|
16
25
|
autoload :AccountRiskChangedEvent, "no_response/models/shared/accountriskchangedevent.rb"
|
|
@@ -33,6 +42,9 @@ module NoResponse
|
|
|
33
42
|
autoload :AssessmentRequestIdentifiers, "no_response/models/shared/assessmentrequestidentifiers.rb"
|
|
34
43
|
autoload :AssessmentRequestIssuedCredential, "no_response/models/shared/assessmentrequestissuedcredential.rb"
|
|
35
44
|
autoload :AssessmentRequestPolicyContext, "no_response/models/shared/assessmentrequestpolicycontext.rb"
|
|
45
|
+
autoload :AssessmentRevision, "no_response/models/shared/assessmentrevision.rb"
|
|
46
|
+
autoload :AssessmentSearchPage, "no_response/models/shared/assessmentsearchpage.rb"
|
|
47
|
+
autoload :AssessmentSearchRequest, "no_response/models/shared/assessmentsearchrequest.rb"
|
|
36
48
|
autoload :AssessmentUpdatedData, "no_response/models/shared/assessmentupdateddata.rb"
|
|
37
49
|
autoload :AssessmentUpdatedEvent, "no_response/models/shared/assessmentupdatedevent.rb"
|
|
38
50
|
autoload :AssuranceLevel, "no_response/models/shared/assurancelevel.rb"
|
|
@@ -52,6 +64,13 @@ module NoResponse
|
|
|
52
64
|
autoload :Consistency, "no_response/models/shared/consistency.rb"
|
|
53
65
|
autoload :ConsistencyValue, "no_response/models/shared/consistencyvalue.rb"
|
|
54
66
|
autoload :Country, "no_response/models/shared/country.rb"
|
|
67
|
+
autoload :CredentialAssociation, "no_response/models/shared/credentialassociation.rb"
|
|
68
|
+
autoload :CredentialAssociationActor, "no_response/models/shared/credentialassociationactor.rb"
|
|
69
|
+
autoload :CredentialAssociationRetiredBy, "no_response/models/shared/credentialassociationretiredby.rb"
|
|
70
|
+
autoload :CredentialPage, "no_response/models/shared/credentialpage.rb"
|
|
71
|
+
autoload :CredentialRequest, "no_response/models/shared/credentialrequest.rb"
|
|
72
|
+
autoload :Decision, "no_response/models/shared/decision.rb"
|
|
73
|
+
autoload :DecisionReceipt, "no_response/models/shared/decisionreceipt.rb"
|
|
55
74
|
autoload :DefaultDepth, "no_response/models/shared/defaultdepth.rb"
|
|
56
75
|
autoload :Depth, "no_response/models/shared/depth.rb"
|
|
57
76
|
autoload :Direction, "no_response/models/shared/direction.rb"
|
|
@@ -64,6 +83,7 @@ module NoResponse
|
|
|
64
83
|
autoload :EnforcementState, "no_response/models/shared/enforcementstate.rb"
|
|
65
84
|
autoload :EnforcementStatus, "no_response/models/shared/enforcementstatus.rb"
|
|
66
85
|
autoload :Environment, "no_response/models/shared/environment.rb"
|
|
86
|
+
autoload :ExportAssessmentOutcome, "no_response/models/shared/exportassessmentoutcome.rb"
|
|
67
87
|
autoload :Failure, "no_response/models/shared/failure.rb"
|
|
68
88
|
autoload :FailureReason, "no_response/models/shared/failurereason.rb"
|
|
69
89
|
autoload :Flow, "no_response/models/shared/flow.rb"
|
|
@@ -120,6 +140,8 @@ module NoResponse
|
|
|
120
140
|
autoload :ReasonCode, "no_response/models/shared/reasoncode.rb"
|
|
121
141
|
autoload :ReasonIdentifier, "no_response/models/shared/reasonidentifier.rb"
|
|
122
142
|
autoload :Recommendation, "no_response/models/shared/recommendation.rb"
|
|
143
|
+
autoload :RequestDiagnostic, "no_response/models/shared/requestdiagnostic.rb"
|
|
144
|
+
autoload :RequestDiagnosticPage, "no_response/models/shared/requestdiagnosticpage.rb"
|
|
123
145
|
autoload :ResponseMode, "no_response/models/shared/responsemode.rb"
|
|
124
146
|
autoload :Risk, "no_response/models/shared/risk.rb"
|
|
125
147
|
autoload :RiskConfidence, "no_response/models/shared/riskconfidence.rb"
|
|
@@ -135,6 +157,7 @@ module NoResponse
|
|
|
135
157
|
autoload :RiskSummaryPhone, "no_response/models/shared/risksummaryphone.rb"
|
|
136
158
|
autoload :RiskSummaryUsername, "no_response/models/shared/risksummaryusername.rb"
|
|
137
159
|
autoload :Security, "no_response/models/shared/security.rb"
|
|
160
|
+
autoload :SentIdentifiers, "no_response/models/shared/sentidentifiers.rb"
|
|
138
161
|
autoload :Settings, "no_response/models/shared/settings.rb"
|
|
139
162
|
autoload :SettingsFlows, "no_response/models/shared/settingsflows.rb"
|
|
140
163
|
autoload :SettingsRequest, "no_response/models/shared/settingsrequest.rb"
|
|
@@ -171,6 +194,7 @@ module NoResponse
|
|
|
171
194
|
autoload :AlternateNameUnion, "no_response/models/shared/alternate_name_union.rb"
|
|
172
195
|
autoload :Email, "no_response/models/shared/email.rb"
|
|
173
196
|
autoload :EmailUnion, "no_response/models/shared/email_union.rb"
|
|
197
|
+
autoload :Exclusion, "no_response/models/shared/exclusion.rb"
|
|
174
198
|
autoload :Location, "no_response/models/shared/location.rb"
|
|
175
199
|
autoload :LocationUnion, "no_response/models/shared/location_union.rb"
|
|
176
200
|
autoload :NameCandidate, "no_response/models/shared/name_candidate.rb"
|
|
@@ -15,7 +15,17 @@ module NoResponse
|
|
|
15
15
|
class NoResponseClient
|
|
16
16
|
extend T::Sig
|
|
17
17
|
|
|
18
|
-
attr_accessor
|
|
18
|
+
attr_accessor(
|
|
19
|
+
:assessments,
|
|
20
|
+
:accounts,
|
|
21
|
+
:key_usage,
|
|
22
|
+
:keys,
|
|
23
|
+
:integrations,
|
|
24
|
+
:webhook_endpoints,
|
|
25
|
+
:settings,
|
|
26
|
+
:requests,
|
|
27
|
+
:lists
|
|
28
|
+
)
|
|
19
29
|
|
|
20
30
|
# Instantiates the SDK, configuring it with the provided parameters.
|
|
21
31
|
#
|
|
@@ -94,6 +104,7 @@ module NoResponse
|
|
|
94
104
|
@integrations = Integrations.new(@sdk_configuration)
|
|
95
105
|
@webhook_endpoints = WebhookEndpoints.new(@sdk_configuration)
|
|
96
106
|
@settings = Settings.new(@sdk_configuration)
|
|
107
|
+
@requests = Requests.new(@sdk_configuration)
|
|
97
108
|
@lists = Lists.new(@sdk_configuration)
|
|
98
109
|
end
|
|
99
110
|
|