noresponse 2.1.1 → 2.1.3
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 +654 -0
- data/lib/no_response/models/operations/getaccount_request.rb +29 -0
- data/lib/no_response/models/operations/getaccount_request.rbi +14 -0
- data/lib/no_response/models/operations/getaccount_response.rb +32 -0
- data/lib/no_response/models/operations/getaccount_response.rbi +20 -0
- data/lib/no_response/models/operations/listaccountassessments_request.rb +61 -0
- data/lib/no_response/models/operations/listaccountassessments_request.rbi +32 -0
- data/lib/no_response/models/operations/listaccountassessments_response.rb +44 -0
- data/lib/no_response/models/operations/listaccountassessments_response.rbi +20 -0
- data/lib/no_response/models/operations.rb +4 -0
- data/lib/no_response/models/shared/account.rb +83 -0
- data/lib/no_response/models/shared/account.rbi +44 -0
- data/lib/no_response/models/shared/accountdecision.rb +21 -0
- data/lib/no_response/models/shared/accountdecision.rbi +9 -0
- data/lib/no_response/models/shared/accountdecisionsbyflow.rb +74 -0
- data/lib/no_response/models/shared/accountdecisionsbyflow.rbi +26 -0
- data/lib/no_response/models/shared/accountrisk.rb +62 -0
- data/lib/no_response/models/shared/accountrisk.rbi +26 -0
- data/lib/no_response/models/shared/accountriskreason.rb +67 -0
- data/lib/no_response/models/shared/accountriskreason.rbi +26 -0
- data/lib/no_response/models/shared/assessment.rb +1 -1
- data/lib/no_response/models/shared/assessmentlist.rb +1 -1
- data/lib/no_response/models/shared/assessmentquery.rb +1 -1
- data/lib/no_response/models/shared/assessmentrequest.rb +1 -1
- data/lib/no_response/models/shared/keyrotation.rb +2 -2
- data/lib/no_response/models/shared.rb +5 -0
- data/lib/no_response/noresponseclient.rb +2 -1
- data/lib/no_response/sdkconfiguration.rb +2 -2
- data/lib/noresponse.rb +1 -0
- metadata +20 -1
|
@@ -15,7 +15,7 @@ module NoResponse
|
|
|
15
15
|
::String,
|
|
16
16
|
{'format_json': {'letter_case': ::NoResponse::Utils.field_name("assessment_id"), required: true}}
|
|
17
17
|
)
|
|
18
|
-
# Your own opaque identifier for the account being checked, scoped to your tenant. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused, as is
|
|
18
|
+
# Your own opaque identifier for the account being checked, scoped to your tenant. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id} and its /assessments. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id.
|
|
19
19
|
field(
|
|
20
20
|
:account_id,
|
|
21
21
|
::String,
|
|
@@ -9,7 +9,7 @@ module NoResponse
|
|
|
9
9
|
extend T::Sig
|
|
10
10
|
include Crystalline::MetadataFields
|
|
11
11
|
|
|
12
|
-
# Your own opaque identifier for the account being checked, scoped to your tenant. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused, as is
|
|
12
|
+
# Your own opaque identifier for the account being checked, scoped to your tenant. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id} and its /assessments. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id.
|
|
13
13
|
field(
|
|
14
14
|
:account_id,
|
|
15
15
|
::String,
|
|
@@ -9,7 +9,7 @@ module NoResponse
|
|
|
9
9
|
extend T::Sig
|
|
10
10
|
include Crystalline::MetadataFields
|
|
11
11
|
|
|
12
|
-
# Your own opaque identifier for the account being checked, scoped to your tenant. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused, as is
|
|
12
|
+
# Your own opaque identifier for the account being checked, scoped to your tenant. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id} and its /assessments. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id.
|
|
13
13
|
field(
|
|
14
14
|
:account_id,
|
|
15
15
|
::String,
|
|
@@ -9,7 +9,7 @@ module NoResponse
|
|
|
9
9
|
extend T::Sig
|
|
10
10
|
include Crystalline::MetadataFields
|
|
11
11
|
|
|
12
|
-
# Your own opaque identifier for the account being checked, scoped to your tenant. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused, as is
|
|
12
|
+
# Your own opaque identifier for the account being checked, scoped to your tenant. Use an id you mint, with no direct identifier (email, phone, name or national id) in it. '|' is accepted so an Auth0 user id such as 'auth0|64abc' passes unchanged; '@', '+', '$' and whitespace are refused by the pattern, as is an exact-shape JWT; a hex digest such as a SHA-256 is allowed, because hashing an internal id is a common pseudonymous scheme. A value such as '07700900123' or 'jane.doe.gmail.com' cannot be told apart from an opaque id. It travels in bodies, and in a URL only as the path segment of GET /v1/accounts/{account_id} and its /assessments. An assessment requested by a provider hook at pre_registration, which has no account yet, carries the server-issued account_id pre: followed by its assessment_id.
|
|
13
13
|
field(
|
|
14
14
|
:account_id,
|
|
15
15
|
::String,
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
module NoResponse
|
|
5
5
|
module Models
|
|
6
6
|
module Shared
|
|
7
|
-
# The 201 answer of POST /v1/keys/rotate: the new key, shown once, and when the key that was presented stops working. The new key has the scopes of the presented key.
|
|
7
|
+
# The 201 answer of POST /v1/keys/rotate: the new key, shown once, and when the key that was presented stops working. The new key has the scopes and the environment of the presented key.
|
|
8
8
|
class KeyRotation
|
|
9
9
|
extend T::Sig
|
|
10
10
|
include Crystalline::MetadataFields
|
|
11
11
|
|
|
12
|
-
# The new credential, nrk_<key id>_<secret
|
|
12
|
+
# The new credential, nrk_<mode>_<key id>_<secret>, in the environment of the presented key: nrk_live_ or nrk_test_. It is shown only in this answer; store it now.
|
|
13
13
|
field :key, ::String, {'format_json': {'letter_case': ::NoResponse::Utils.field_name("key"), required: true}}
|
|
14
14
|
# The public id of the new key.
|
|
15
15
|
field(
|
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
module NoResponse
|
|
5
5
|
module Models
|
|
6
6
|
module Shared
|
|
7
|
+
autoload :Account, "no_response/models/shared/account.rb"
|
|
8
|
+
autoload :AccountDecision, "no_response/models/shared/accountdecision.rb"
|
|
9
|
+
autoload :AccountDecisionsByFlow, "no_response/models/shared/accountdecisionsbyflow.rb"
|
|
10
|
+
autoload :AccountRisk, "no_response/models/shared/accountrisk.rb"
|
|
11
|
+
autoload :AccountRiskReason, "no_response/models/shared/accountriskreason.rb"
|
|
7
12
|
autoload :Assessment, "no_response/models/shared/assessment.rb"
|
|
8
13
|
autoload :AssessmentAuthContext, "no_response/models/shared/assessmentauthcontext.rb"
|
|
9
14
|
autoload :AssessmentList, "no_response/models/shared/assessmentlist.rb"
|
|
@@ -15,7 +15,7 @@ module NoResponse
|
|
|
15
15
|
class NoResponseClient
|
|
16
16
|
extend T::Sig
|
|
17
17
|
|
|
18
|
-
attr_accessor :assessments, :keys, :integrations, :webhook_endpoints
|
|
18
|
+
attr_accessor :assessments, :accounts, :keys, :integrations, :webhook_endpoints
|
|
19
19
|
|
|
20
20
|
# Instantiates the SDK, configuring it with the provided parameters.
|
|
21
21
|
#
|
|
@@ -88,6 +88,7 @@ module NoResponse
|
|
|
88
88
|
sig { void }
|
|
89
89
|
def init_sdks
|
|
90
90
|
@assessments = Assessments.new(@sdk_configuration)
|
|
91
|
+
@accounts = Accounts.new(@sdk_configuration)
|
|
91
92
|
@keys = Keys.new(@sdk_configuration)
|
|
92
93
|
@integrations = Integrations.new(@sdk_configuration)
|
|
93
94
|
@webhook_endpoints = WebhookEndpoints.new(@sdk_configuration)
|
|
@@ -95,9 +95,9 @@ module NoResponse
|
|
|
95
95
|
|
|
96
96
|
@language = "ruby"
|
|
97
97
|
@openapi_doc_version = "1"
|
|
98
|
-
@sdk_version = "2.1.
|
|
98
|
+
@sdk_version = "2.1.3"
|
|
99
99
|
@gen_version = "internal"
|
|
100
|
-
@user_agent = "noresponse-sdk/ruby 2.1.
|
|
100
|
+
@user_agent = "noresponse-sdk/ruby 2.1.3 internal 1 noresponse"
|
|
101
101
|
end
|
|
102
102
|
|
|
103
103
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
data/lib/noresponse.rb
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
module NoResponse
|
|
5
5
|
autoload :NoResponseClient, "no_response/noresponseclient"
|
|
6
6
|
autoload :Assessments, "no_response/assessments"
|
|
7
|
+
autoload :Accounts, "no_response/accounts"
|
|
7
8
|
autoload :Keys, "no_response/keys"
|
|
8
9
|
autoload :Integrations, "no_response/integrations"
|
|
9
10
|
autoload :WebhookEndpoints, "no_response/webhookendpoints"
|
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: 2.1.
|
|
4
|
+
version: 2.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- NoResponse
|
|
@@ -252,6 +252,7 @@ files:
|
|
|
252
252
|
- lib/crystalline/module.rb
|
|
253
253
|
- lib/crystalline/types.rb
|
|
254
254
|
- lib/crystalline/utils.rb
|
|
255
|
+
- lib/no_response/accounts.rb
|
|
255
256
|
- lib/no_response/assessments.rb
|
|
256
257
|
- lib/no_response/auth.rb
|
|
257
258
|
- lib/no_response/integrations.rb
|
|
@@ -291,10 +292,18 @@ files:
|
|
|
291
292
|
- lib/no_response/models/operations/deletewebhookendpoint_request.rbi
|
|
292
293
|
- lib/no_response/models/operations/deletewebhookendpoint_response.rb
|
|
293
294
|
- lib/no_response/models/operations/deletewebhookendpoint_response.rbi
|
|
295
|
+
- lib/no_response/models/operations/getaccount_request.rb
|
|
296
|
+
- lib/no_response/models/operations/getaccount_request.rbi
|
|
297
|
+
- lib/no_response/models/operations/getaccount_response.rb
|
|
298
|
+
- lib/no_response/models/operations/getaccount_response.rbi
|
|
294
299
|
- lib/no_response/models/operations/getassessment_request.rb
|
|
295
300
|
- lib/no_response/models/operations/getassessment_request.rbi
|
|
296
301
|
- lib/no_response/models/operations/getassessment_response.rb
|
|
297
302
|
- lib/no_response/models/operations/getassessment_response.rbi
|
|
303
|
+
- lib/no_response/models/operations/listaccountassessments_request.rb
|
|
304
|
+
- lib/no_response/models/operations/listaccountassessments_request.rbi
|
|
305
|
+
- lib/no_response/models/operations/listaccountassessments_response.rb
|
|
306
|
+
- lib/no_response/models/operations/listaccountassessments_response.rbi
|
|
298
307
|
- lib/no_response/models/operations/listintegrations_response.rb
|
|
299
308
|
- lib/no_response/models/operations/listintegrations_response.rbi
|
|
300
309
|
- lib/no_response/models/operations/listwebhookendpoints_response.rb
|
|
@@ -320,6 +329,16 @@ files:
|
|
|
320
329
|
- lib/no_response/models/operations/sendwebhooktestevent_response.rb
|
|
321
330
|
- lib/no_response/models/operations/sendwebhooktestevent_response.rbi
|
|
322
331
|
- lib/no_response/models/shared.rb
|
|
332
|
+
- lib/no_response/models/shared/account.rb
|
|
333
|
+
- lib/no_response/models/shared/account.rbi
|
|
334
|
+
- lib/no_response/models/shared/accountdecision.rb
|
|
335
|
+
- lib/no_response/models/shared/accountdecision.rbi
|
|
336
|
+
- lib/no_response/models/shared/accountdecisionsbyflow.rb
|
|
337
|
+
- lib/no_response/models/shared/accountdecisionsbyflow.rbi
|
|
338
|
+
- lib/no_response/models/shared/accountrisk.rb
|
|
339
|
+
- lib/no_response/models/shared/accountrisk.rbi
|
|
340
|
+
- lib/no_response/models/shared/accountriskreason.rb
|
|
341
|
+
- lib/no_response/models/shared/accountriskreason.rbi
|
|
323
342
|
- lib/no_response/models/shared/alternate_name.rb
|
|
324
343
|
- lib/no_response/models/shared/alternate_name.rbi
|
|
325
344
|
- lib/no_response/models/shared/alternate_name_union.rb
|