noresponse 7.0.4 → 7.1.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/keys.rb +866 -0
- data/lib/no_response/models/operations/createkey_request.rb +37 -0
- data/lib/no_response/models/operations/createkey_request.rbi +20 -0
- data/lib/no_response/models/operations/createkey_response.rb +32 -0
- data/lib/no_response/models/operations/createkey_response.rbi +20 -0
- data/lib/no_response/models/operations/getsettings_request.rb +41 -0
- data/lib/no_response/models/operations/getsettings_request.rbi +20 -0
- data/lib/no_response/models/operations/getsettings_response.rb +32 -0
- data/lib/no_response/models/operations/getsettings_response.rbi +20 -0
- data/lib/no_response/models/operations/listkeys_request.rb +33 -0
- data/lib/no_response/models/operations/listkeys_request.rbi +14 -0
- data/lib/no_response/models/operations/listkeys_response.rb +32 -0
- data/lib/no_response/models/operations/listkeys_response.rbi +20 -0
- data/lib/no_response/models/operations/revokekey_request.rb +37 -0
- data/lib/no_response/models/operations/revokekey_request.rbi +20 -0
- data/lib/no_response/models/operations/revokekey_response.rb +32 -0
- data/lib/no_response/models/operations/revokekey_response.rbi +20 -0
- data/lib/no_response/models/operations/updatesettings_request.rb +52 -0
- data/lib/no_response/models/operations/updatesettings_request.rbi +26 -0
- data/lib/no_response/models/operations/updatesettings_response.rb +32 -0
- data/lib/no_response/models/operations/updatesettings_response.rbi +20 -0
- data/lib/no_response/models/operations.rb +10 -0
- data/lib/no_response/models/shared/admission.rb +19 -0
- data/lib/no_response/models/shared/admission.rbi +9 -0
- data/lib/no_response/models/shared/conflicterrorcode.rb +2 -0
- data/lib/no_response/models/shared/defaultdepth.rb +19 -0
- data/lib/no_response/models/shared/defaultdepth.rbi +9 -0
- data/lib/no_response/models/shared/flowchange.rb +136 -0
- data/lib/no_response/models/shared/flowchange.rbi +62 -0
- data/lib/no_response/models/shared/flowsettings.rb +127 -0
- data/lib/no_response/models/shared/flowsettings.rbi +56 -0
- data/lib/no_response/models/shared/key.rb +158 -0
- data/lib/no_response/models/shared/key.rbi +80 -0
- data/lib/no_response/models/shared/{scope.rb → key_scope.rb} +2 -1
- data/lib/no_response/models/shared/{scope.rbi → key_scope.rbi} +2 -2
- data/lib/no_response/models/shared/keyenvironment.rb +19 -0
- data/lib/no_response/models/shared/keyenvironment.rbi +9 -0
- data/lib/no_response/models/shared/keylist.rb +32 -0
- data/lib/no_response/models/shared/keylist.rbi +14 -0
- data/lib/no_response/models/shared/keyrequest.rb +49 -0
- data/lib/no_response/models/shared/keyrequest.rbi +20 -0
- data/lib/no_response/models/shared/keyrequest_scope.rb +21 -0
- data/lib/no_response/models/shared/keyrequest_scope.rbi +9 -0
- data/lib/no_response/models/shared/keyrotation.rb +2 -2
- data/lib/no_response/models/shared/keyrotation_scope.rb +24 -0
- data/lib/no_response/models/shared/keyrotation_scope.rbi +9 -0
- data/lib/no_response/models/shared/keystatus.rb +20 -0
- data/lib/no_response/models/shared/keystatus.rbi +9 -0
- data/lib/no_response/models/shared/onexpiry.rb +20 -0
- data/lib/no_response/models/shared/onexpiry.rbi +9 -0
- data/lib/no_response/models/shared/permissiondeniederrorcode.rb +1 -0
- data/lib/no_response/models/shared/settings.rb +116 -0
- data/lib/no_response/models/shared/settings.rbi +56 -0
- data/lib/no_response/models/shared/settingsflows.rb +56 -0
- data/lib/no_response/models/shared/settingsflows.rbi +26 -0
- data/lib/no_response/models/shared/settingsrequest.rb +55 -0
- data/lib/no_response/models/shared/settingsrequest.rbi +26 -0
- data/lib/no_response/models/shared/settingsrequestflows.rb +65 -0
- data/lib/no_response/models/shared/settingsrequestflows.rbi +32 -0
- data/lib/no_response/models/shared/sourceid.rb +23 -0
- data/lib/no_response/models/shared/sourceid.rbi +9 -0
- data/lib/no_response/models/shared.rb +18 -1
- data/lib/no_response/noresponseclient.rb +2 -1
- data/lib/no_response/sdkconfiguration.rb +2 -2
- data/lib/no_response/settings.rb +633 -0
- data/lib/noresponse.rb +1 -0
- metadata +58 -3
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module NoResponse
|
|
5
|
+
module Models
|
|
6
|
+
module Shared
|
|
7
|
+
# Use account_creation or its deprecated alias signup, not both.
|
|
8
|
+
class SettingsRequestFlows
|
|
9
|
+
extend T::Sig
|
|
10
|
+
include Crystalline::MetadataFields
|
|
11
|
+
|
|
12
|
+
# A change to one flow. A field left out keeps the value in force. Thresholds set on login or purchase start from the values in force, account_creation's while it inherits them. After the change, 0 < step_up < review <= 100 and block is off or review <= block <= 100.
|
|
13
|
+
field(
|
|
14
|
+
:account_creation,
|
|
15
|
+
Crystalline::Nilable.new(Models::Shared::FlowChange),
|
|
16
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("account_creation")}}
|
|
17
|
+
)
|
|
18
|
+
# A change to one flow. A field left out keeps the value in force. Thresholds set on login or purchase start from the values in force, account_creation's while it inherits them. After the change, 0 < step_up < review <= 100 and block is off or review <= block <= 100.
|
|
19
|
+
field(
|
|
20
|
+
:login,
|
|
21
|
+
Crystalline::Nilable.new(Models::Shared::FlowChange),
|
|
22
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("login")}}
|
|
23
|
+
)
|
|
24
|
+
# A change to one flow. A field left out keeps the value in force. Thresholds set on login or purchase start from the values in force, account_creation's while it inherits them. After the change, 0 < step_up < review <= 100 and block is off or review <= block <= 100.
|
|
25
|
+
field(
|
|
26
|
+
:purchase,
|
|
27
|
+
Crystalline::Nilable.new(Models::Shared::FlowChange),
|
|
28
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("purchase")}}
|
|
29
|
+
)
|
|
30
|
+
# A change to one flow. A field left out keeps the value in force. Thresholds set on login or purchase start from the values in force, account_creation's while it inherits them. After the change, 0 < step_up < review <= 100 and block is off or review <= block <= 100.
|
|
31
|
+
field(
|
|
32
|
+
:signup,
|
|
33
|
+
Crystalline::Nilable.new(Models::Shared::FlowChange),
|
|
34
|
+
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("signup")}}
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
sig {
|
|
38
|
+
params(
|
|
39
|
+
account_creation: T.nilable(Models::Shared::FlowChange),
|
|
40
|
+
login: T.nilable(Models::Shared::FlowChange),
|
|
41
|
+
purchase: T.nilable(Models::Shared::FlowChange),
|
|
42
|
+
signup: T.nilable(Models::Shared::FlowChange)
|
|
43
|
+
)
|
|
44
|
+
.void
|
|
45
|
+
}
|
|
46
|
+
def initialize(account_creation: nil, login: nil, purchase: nil, signup: nil)
|
|
47
|
+
@account_creation = account_creation
|
|
48
|
+
@login = login
|
|
49
|
+
@purchase = purchase
|
|
50
|
+
@signup = signup
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
54
|
+
def ==(other)
|
|
55
|
+
return false unless other.is_a?(self.class)
|
|
56
|
+
return false unless @account_creation == other.account_creation
|
|
57
|
+
return false unless @login == other.login
|
|
58
|
+
return false unless @purchase == other.purchase
|
|
59
|
+
return false unless @signup == other.signup
|
|
60
|
+
true
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
class NoResponse::Models::Shared::SettingsRequestFlows
|
|
5
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
class NoResponse::Models::Shared::SettingsRequestFlows
|
|
9
|
+
def account_creation
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def account_creation=(str_)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def login
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def login=(str_)
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
def purchase
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def purchase=(str_)
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
def signup
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def signup=(str_)
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module NoResponse
|
|
5
|
+
module Models
|
|
6
|
+
module Shared
|
|
7
|
+
# SourceId - A NoResponse source: github (GitHub accounts), phone (the phone lookup), breach (breach exposure), rdap (the email domain's registration), mx (the email domain's mail servers) or ipintel (IP intelligence).
|
|
8
|
+
class SourceId
|
|
9
|
+
include ::Crystalline::Enum
|
|
10
|
+
enums do
|
|
11
|
+
GITHUB = new("github")
|
|
12
|
+
PHONE = new("phone")
|
|
13
|
+
BREACH = new("breach")
|
|
14
|
+
RDAP = new("rdap")
|
|
15
|
+
MX = new("mx")
|
|
16
|
+
IPINTEL = new("ipintel")
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
open!
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -15,6 +15,7 @@ module NoResponse
|
|
|
15
15
|
autoload :AccountRiskChanged, "no_response/models/shared/accountriskchanged.rb"
|
|
16
16
|
autoload :AccountRiskChangedEvent, "no_response/models/shared/accountriskchangedevent.rb"
|
|
17
17
|
autoload :AccountRiskReason, "no_response/models/shared/accountriskreason.rb"
|
|
18
|
+
autoload :Admission, "no_response/models/shared/admission.rb"
|
|
18
19
|
autoload :Assessment, "no_response/models/shared/assessment.rb"
|
|
19
20
|
autoload :AssessmentDeletion, "no_response/models/shared/assessmentdeletion.rb"
|
|
20
21
|
autoload :AssessmentDeletionAccount, "no_response/models/shared/assessmentdeletionaccount.rb"
|
|
@@ -49,6 +50,7 @@ module NoResponse
|
|
|
49
50
|
autoload :Consistency, "no_response/models/shared/consistency.rb"
|
|
50
51
|
autoload :ConsistencyValue, "no_response/models/shared/consistencyvalue.rb"
|
|
51
52
|
autoload :Country, "no_response/models/shared/country.rb"
|
|
53
|
+
autoload :DefaultDepth, "no_response/models/shared/defaultdepth.rb"
|
|
52
54
|
autoload :Depth, "no_response/models/shared/depth.rb"
|
|
53
55
|
autoload :EndpointVerification, "no_response/models/shared/endpointverification.rb"
|
|
54
56
|
autoload :EndpointVerificationEvent, "no_response/models/shared/endpointverificationevent.rb"
|
|
@@ -62,6 +64,8 @@ module NoResponse
|
|
|
62
64
|
autoload :Failure, "no_response/models/shared/failure.rb"
|
|
63
65
|
autoload :FailureReason, "no_response/models/shared/failurereason.rb"
|
|
64
66
|
autoload :Flow, "no_response/models/shared/flow.rb"
|
|
67
|
+
autoload :FlowChange, "no_response/models/shared/flowchange.rb"
|
|
68
|
+
autoload :FlowSettings, "no_response/models/shared/flowsettings.rb"
|
|
65
69
|
autoload :Freshness, "no_response/models/shared/freshness.rb"
|
|
66
70
|
autoload :HookPoint, "no_response/models/shared/hookpoint.rb"
|
|
67
71
|
autoload :IdentifierKind, "no_response/models/shared/identifierkind.rb"
|
|
@@ -75,14 +79,23 @@ module NoResponse
|
|
|
75
79
|
autoload :IntegrationRotationRequest, "no_response/models/shared/integrationrotationrequest.rb"
|
|
76
80
|
autoload :IpSummary, "no_response/models/shared/ipsummary.rb"
|
|
77
81
|
autoload :IpSummaryType, "no_response/models/shared/ipsummarytype.rb"
|
|
82
|
+
autoload :Key, "no_response/models/shared/key.rb"
|
|
83
|
+
autoload :KeyEnvironment, "no_response/models/shared/keyenvironment.rb"
|
|
84
|
+
autoload :KeyList, "no_response/models/shared/keylist.rb"
|
|
85
|
+
autoload :KeyRequest, "no_response/models/shared/keyrequest.rb"
|
|
86
|
+
autoload :KeyRequestScope, "no_response/models/shared/keyrequest_scope.rb"
|
|
78
87
|
autoload :KeyRotation, "no_response/models/shared/keyrotation.rb"
|
|
79
88
|
autoload :KeyRotationRequest, "no_response/models/shared/keyrotationrequest.rb"
|
|
89
|
+
autoload :KeyRotationScope, "no_response/models/shared/keyrotation_scope.rb"
|
|
90
|
+
autoload :KeyStatus, "no_response/models/shared/keystatus.rb"
|
|
80
91
|
autoload :KeyUsageBatch, "no_response/models/shared/keyusagebatch.rb"
|
|
81
92
|
autoload :KeyUsageBatchRequest, "no_response/models/shared/keyusagebatchrequest.rb"
|
|
82
93
|
autoload :KeyUsageEvent, "no_response/models/shared/keyusageevent.rb"
|
|
94
|
+
autoload :KeyScope, "no_response/models/shared/key_scope.rb"
|
|
83
95
|
autoload :Lane, "no_response/models/shared/lane.rb"
|
|
84
96
|
autoload :LineType, "no_response/models/shared/linetype.rb"
|
|
85
97
|
autoload :NotFoundErrorCode, "no_response/models/shared/notfounderrorcode.rb"
|
|
98
|
+
autoload :OnExpiry, "no_response/models/shared/onexpiry.rb"
|
|
86
99
|
autoload :Outcome, "no_response/models/shared/outcome.rb"
|
|
87
100
|
autoload :PermissionDeniedErrorCode, "no_response/models/shared/permissiondeniederrorcode.rb"
|
|
88
101
|
autoload :PhoneEnrichment, "no_response/models/shared/phoneenrichment.rb"
|
|
@@ -106,10 +119,15 @@ module NoResponse
|
|
|
106
119
|
autoload :RiskSummaryPhone, "no_response/models/shared/risksummaryphone.rb"
|
|
107
120
|
autoload :RiskSummaryUsername, "no_response/models/shared/risksummaryusername.rb"
|
|
108
121
|
autoload :Security, "no_response/models/shared/security.rb"
|
|
122
|
+
autoload :Settings, "no_response/models/shared/settings.rb"
|
|
123
|
+
autoload :SettingsFlows, "no_response/models/shared/settingsflows.rb"
|
|
124
|
+
autoload :SettingsRequest, "no_response/models/shared/settingsrequest.rb"
|
|
125
|
+
autoload :SettingsRequestFlows, "no_response/models/shared/settingsrequestflows.rb"
|
|
109
126
|
autoload :Signal, "no_response/models/shared/signal.rb"
|
|
110
127
|
autoload :SignalOutcome, "no_response/models/shared/signaloutcome.rb"
|
|
111
128
|
autoload :SigningKey, "no_response/models/shared/signingkey.rb"
|
|
112
129
|
autoload :SigningSecret, "no_response/models/shared/signingsecret.rb"
|
|
130
|
+
autoload :SourceId, "no_response/models/shared/sourceid.rb"
|
|
113
131
|
autoload :Status, "no_response/models/shared/status.rb"
|
|
114
132
|
autoload :Transport, "no_response/models/shared/transport.rb"
|
|
115
133
|
autoload :WebhookDeliveryAttempt, "no_response/models/shared/webhookdeliveryattempt.rb"
|
|
@@ -141,7 +159,6 @@ module NoResponse
|
|
|
141
159
|
autoload :LocationUnion, "no_response/models/shared/location_union.rb"
|
|
142
160
|
autoload :NameCandidate, "no_response/models/shared/name_candidate.rb"
|
|
143
161
|
autoload :NameCandidateUnion, "no_response/models/shared/name_candidate_union.rb"
|
|
144
|
-
autoload :Scope, "no_response/models/shared/scope.rb"
|
|
145
162
|
autoload :SocialProfile, "no_response/models/shared/social_profile.rb"
|
|
146
163
|
autoload :SocialProfileUnion, "no_response/models/shared/social_profile_union.rb"
|
|
147
164
|
autoload :Timezone, "no_response/models/shared/timezone.rb"
|
|
@@ -15,7 +15,7 @@ module NoResponse
|
|
|
15
15
|
class NoResponseClient
|
|
16
16
|
extend T::Sig
|
|
17
17
|
|
|
18
|
-
attr_accessor :assessments, :accounts, :key_usage, :keys, :integrations, :webhook_endpoints
|
|
18
|
+
attr_accessor :assessments, :accounts, :key_usage, :keys, :integrations, :webhook_endpoints, :settings
|
|
19
19
|
|
|
20
20
|
# Instantiates the SDK, configuring it with the provided parameters.
|
|
21
21
|
#
|
|
@@ -93,6 +93,7 @@ module NoResponse
|
|
|
93
93
|
@keys = Keys.new(@sdk_configuration)
|
|
94
94
|
@integrations = Integrations.new(@sdk_configuration)
|
|
95
95
|
@webhook_endpoints = WebhookEndpoints.new(@sdk_configuration)
|
|
96
|
+
@settings = Settings.new(@sdk_configuration)
|
|
96
97
|
end
|
|
97
98
|
|
|
98
99
|
sig { params(base_url: String, url_variables: T.nilable(T::Hash[Symbol, T.any(String, T::Enum)])).returns(String) }
|
|
@@ -95,9 +95,9 @@ module NoResponse
|
|
|
95
95
|
|
|
96
96
|
@language = "ruby"
|
|
97
97
|
@openapi_doc_version = "1"
|
|
98
|
-
@sdk_version = "7.0
|
|
98
|
+
@sdk_version = "7.1.0"
|
|
99
99
|
@gen_version = "internal"
|
|
100
|
-
@user_agent = "noresponse-sdk/ruby 7.0
|
|
100
|
+
@user_agent = "noresponse-sdk/ruby 7.1.0 internal 1 noresponse"
|
|
101
101
|
end
|
|
102
102
|
|
|
103
103
|
sig { returns([String, T::Hash[Symbol, String]]) }
|