noresponse 9.5.0 → 9.5.2

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.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/lib/no_response/accounts.rb +314 -0
  3. data/lib/no_response/models/operations/listlinkedaccounts_request.rb +45 -0
  4. data/lib/no_response/models/operations/listlinkedaccounts_request.rbi +26 -0
  5. data/lib/no_response/models/operations/listlinkedaccounts_response.rb +44 -0
  6. data/lib/no_response/models/operations/listlinkedaccounts_response.rbi +20 -0
  7. data/lib/no_response/models/operations.rb +2 -0
  8. data/lib/no_response/models/shared/accountbinding.rb +2 -2
  9. data/lib/no_response/models/shared/accountbindingrequest.rb +1 -1
  10. data/lib/no_response/models/shared/accountdecisionlist.rb +1 -1
  11. data/lib/no_response/models/shared/accountdeleted.rb +1 -1
  12. data/lib/no_response/models/shared/accountdirectorypageitem.rb +1 -1
  13. data/lib/no_response/models/shared/accountdirectorysearchrequest.rb +1 -1
  14. data/lib/no_response/models/shared/accountenforcementlist.rb +1 -1
  15. data/lib/no_response/models/shared/accountexport.rb +1 -1
  16. data/lib/no_response/models/shared/accountoutcome.rb +1 -1
  17. data/lib/no_response/models/shared/accountoutcomepage.rb +1 -1
  18. data/lib/no_response/models/shared/assessmentdetail.rb +1 -1
  19. data/lib/no_response/models/shared/assessmentexpired.rb +1 -1
  20. data/lib/no_response/models/shared/assessmentlist.rb +1 -1
  21. data/lib/no_response/models/shared/assessmentquery.rb +1 -1
  22. data/lib/no_response/models/shared/assessmentrequest.rb +1 -1
  23. data/lib/no_response/models/shared/assessmentsearchrequest.rb +1 -1
  24. data/lib/no_response/models/shared/credentialassociation.rb +1 -1
  25. data/lib/no_response/models/shared/credentialpage.rb +1 -1
  26. data/lib/no_response/models/shared/customerexportrequest.rb +1 -1
  27. data/lib/no_response/models/shared/identifiersubmission.rb +49 -0
  28. data/lib/no_response/models/shared/identifiersubmission.rbi +26 -0
  29. data/lib/no_response/models/shared/linkedaccount.rb +41 -0
  30. data/lib/no_response/models/shared/linkedaccount.rbi +20 -0
  31. data/lib/no_response/models/shared/linkedaccountpage.rb +87 -0
  32. data/lib/no_response/models/shared/linkedaccountpage.rbi +44 -0
  33. data/lib/no_response/models/shared/permissiondeniederrorcode.rb +3 -0
  34. data/lib/no_response/models/shared/review.rb +1 -1
  35. data/lib/no_response/models/shared/reviewcreaterequest.rb +1 -1
  36. data/lib/no_response/models/shared/sharedidentifier.rb +105 -0
  37. data/lib/no_response/models/shared/sharedidentifier.rbi +44 -0
  38. data/lib/no_response/models/shared.rb +4 -0
  39. data/lib/no_response/sdkconfiguration.rb +2 -2
  40. metadata +13 -1
@@ -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 workspace. 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.
12
+ # Your own opaque identifier for the account being checked, scoped to your workspace. 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}, its /assessments and its /linked_accounts. 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 workspace. 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.
12
+ # Your own opaque identifier for the account being checked, scoped to your workspace. 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}, its /assessments and its /linked_accounts. 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 workspace. 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.
12
+ # Your own opaque identifier for the account being checked, scoped to your workspace. 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}, its /assessments and its /linked_accounts. 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,
@@ -12,7 +12,7 @@ module NoResponse
12
12
  field :from, ::String, {'format_json': {'letter_case': ::NoResponse::Utils.field_name("from"), required: true}}
13
13
 
14
14
  field :to, ::String, {'format_json': {'letter_case': ::NoResponse::Utils.field_name("to"), required: true}}
15
- # Your own opaque identifier for the account being checked, scoped to your workspace. 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.
15
+ # Your own opaque identifier for the account being checked, scoped to your workspace. 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}, its /assessments and its /linked_accounts. 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.
16
16
  field(
17
17
  :account_id,
18
18
  Crystalline::Nilable.new(::String),
@@ -10,7 +10,7 @@ module NoResponse
10
10
  include Crystalline::MetadataFields
11
11
 
12
12
  field :id, ::String, {'format_json': {'letter_case': ::NoResponse::Utils.field_name("id"), required: true}}
13
- # Your own opaque identifier for the account being checked, scoped to your workspace. 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
+ # Your own opaque identifier for the account being checked, scoped to your workspace. 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}, its /assessments and its /linked_accounts. 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.
14
14
  field(
15
15
  :account_id,
16
16
  ::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 workspace. 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.
12
+ # Your own opaque identifier for the account being checked, scoped to your workspace. 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}, its /assessments and its /linked_accounts. 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,
@@ -32,7 +32,7 @@ module NoResponse
32
32
  }
33
33
  }
34
34
  )
35
- # Your own opaque identifier for the account being checked, scoped to your workspace. 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.
35
+ # Your own opaque identifier for the account being checked, scoped to your workspace. 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}, its /assessments and its /linked_accounts. 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.
36
36
  field(
37
37
  :account_id,
38
38
  Crystalline::Nilable.new(::String),
@@ -0,0 +1,49 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ module NoResponse
5
+ module Models
6
+ module Shared
7
+
8
+ class IdentifierSubmission
9
+ extend T::Sig
10
+ include Crystalline::MetadataFields
11
+
12
+ # The original value submitted in assessment_id. Under canonical or mailbox matching the two accounts' values can differ.
13
+ field(
14
+ :value,
15
+ ::String,
16
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("value"), required: true}}
17
+ )
18
+ # Opaque, server-assigned assessment id: 'asm_' and a 26-character Crockford base32 ULID. Unique within the workspace; another workspace's assessment id answers 404.
19
+ field(
20
+ :assessment_id,
21
+ ::String,
22
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("assessment_id"), required: true}}
23
+ )
24
+ # When assessment_id was created.
25
+ field(
26
+ :submitted_at,
27
+ ::String,
28
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("submitted_at"), required: true}}
29
+ )
30
+
31
+ sig { params(value: ::String, assessment_id: ::String, submitted_at: ::String).void }
32
+ def initialize(value:, assessment_id:, submitted_at:)
33
+ @value = value
34
+ @assessment_id = assessment_id
35
+ @submitted_at = submitted_at
36
+ end
37
+
38
+ sig { params(other: T.untyped).returns(T::Boolean) }
39
+ def ==(other)
40
+ return false unless other.is_a?(self.class)
41
+ return false unless @value == other.value
42
+ return false unless @assessment_id == other.assessment_id
43
+ return false unless @submitted_at == other.submitted_at
44
+ true
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,26 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ class NoResponse::Models::Shared::IdentifierSubmission
5
+ extend ::Crystalline::MetadataFields::ClassMethods
6
+ end
7
+
8
+ class NoResponse::Models::Shared::IdentifierSubmission
9
+ def value
10
+ end
11
+
12
+ def value=(str_)
13
+ end
14
+
15
+ def assessment_id
16
+ end
17
+
18
+ def assessment_id=(str_)
19
+ end
20
+
21
+ def submitted_at
22
+ end
23
+
24
+ def submitted_at=(str_)
25
+ end
26
+ end
@@ -0,0 +1,41 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ module NoResponse
5
+ module Models
6
+ module Shared
7
+
8
+ class LinkedAccount
9
+ extend T::Sig
10
+ include Crystalline::MetadataFields
11
+
12
+ # Your own opaque identifier for the account being checked, scoped to your workspace. 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}, its /assessments and its /linked_accounts. 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
+ field(
14
+ :account_id,
15
+ ::String,
16
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("account_id"), required: true}}
17
+ )
18
+ # One entry per shared kind, in the order email, phone, username. Each entry uses the strictest basis that links the two accounts: exact, then canonical, then mailbox.
19
+ field(
20
+ :shared_identifiers,
21
+ Crystalline::Array.new(Models::Shared::SharedIdentifier),
22
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("shared_identifiers"), required: true}}
23
+ )
24
+
25
+ sig { params(account_id: ::String, shared_identifiers: T::Array[Models::Shared::SharedIdentifier]).void }
26
+ def initialize(account_id:, shared_identifiers:)
27
+ @account_id = account_id
28
+ @shared_identifiers = shared_identifiers
29
+ end
30
+
31
+ sig { params(other: T.untyped).returns(T::Boolean) }
32
+ def ==(other)
33
+ return false unless other.is_a?(self.class)
34
+ return false unless @account_id == other.account_id
35
+ return false unless @shared_identifiers == other.shared_identifiers
36
+ true
37
+ end
38
+ end
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,20 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ class NoResponse::Models::Shared::LinkedAccount
5
+ extend ::Crystalline::MetadataFields::ClassMethods
6
+ end
7
+
8
+ class NoResponse::Models::Shared::LinkedAccount
9
+ def account_id
10
+ end
11
+
12
+ def account_id=(str_)
13
+ end
14
+
15
+ def shared_identifiers
16
+ end
17
+
18
+ def shared_identifiers=(str_)
19
+ end
20
+ end
@@ -0,0 +1,87 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ module NoResponse
5
+ module Models
6
+ module Shared
7
+ # Other accounts in this workspace and environment whose retained assessments submitted an email, phone or customer-namespace username that one of account_id's retained assessments also submitted. Matching uses the identifier search rules: exact, canonical and, for email, mailbox. Only customer-submitted identifiers link accounts; source-discovered identifiers do not. Expired, retention-shortened, deleted and erased assessments link nothing. A shared identifier is not verified ownership. Accounts use stable opaque order, the page and total share one database snapshot, and later pages are live. Cursors bind the workspace, environment, operation and account_id, and expire.
8
+ class LinkedAccountPage
9
+ extend T::Sig
10
+ include Crystalline::MetadataFields
11
+
12
+ # The account whose submitted identifiers were compared. It is excluded from items.
13
+ field(
14
+ :account_id,
15
+ ::String,
16
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("account_id"), required: true}}
17
+ )
18
+
19
+ field(
20
+ :items,
21
+ Crystalline::Array.new(Models::Shared::LinkedAccount),
22
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("items"), required: true}}
23
+ )
24
+ # Distinct linked accounts, exact below 10000 and capped at 10000.
25
+ field(
26
+ :total,
27
+ ::Integer,
28
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("total"), required: true}}
29
+ )
30
+ # True when at least 10000 accounts are linked.
31
+ field(
32
+ :total_capped,
33
+ Crystalline::Boolean.new,
34
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("total_capped"), required: true}}
35
+ )
36
+ # Version of the body shape.
37
+ field(
38
+ :schema_version,
39
+ ::String,
40
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("schema_version"), required: true}}
41
+ )
42
+ # Opaque, expiring cursor bound to this environment, operation and account_id. Absent on the last page.
43
+ field(
44
+ :next_cursor,
45
+ Crystalline::Nilable.new(::String),
46
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("next_cursor")}}
47
+ )
48
+
49
+ sig {
50
+ params(
51
+ account_id: ::String,
52
+ items: T::Array[Models::Shared::LinkedAccount],
53
+ total: ::Integer,
54
+ total_capped: T::Boolean,
55
+ schema_version: ::String,
56
+ next_cursor: T.nilable(::String)
57
+ )
58
+ .void
59
+ }
60
+ def initialize(account_id:, items:, total:, total_capped:, schema_version: "1", next_cursor: nil)
61
+ @account_id = account_id
62
+ @items = items
63
+ @total = total
64
+ @total_capped = total_capped
65
+ unless schema_version == "1"
66
+ raise ArgumentError, "Invalid value for schema_version"
67
+ end
68
+
69
+ @schema_version = "1"
70
+ @next_cursor = next_cursor
71
+ end
72
+
73
+ sig { params(other: T.untyped).returns(T::Boolean) }
74
+ def ==(other)
75
+ return false unless other.is_a?(self.class)
76
+ return false unless @account_id == other.account_id
77
+ return false unless @items == other.items
78
+ return false unless @total == other.total
79
+ return false unless @total_capped == other.total_capped
80
+ return false unless @schema_version == other.schema_version
81
+ return false unless @next_cursor == other.next_cursor
82
+ true
83
+ end
84
+ end
85
+ end
86
+ end
87
+ end
@@ -0,0 +1,44 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ class NoResponse::Models::Shared::LinkedAccountPage
5
+ extend ::Crystalline::MetadataFields::ClassMethods
6
+ end
7
+
8
+ class NoResponse::Models::Shared::LinkedAccountPage
9
+ def account_id
10
+ end
11
+
12
+ def account_id=(str_)
13
+ end
14
+
15
+ def items
16
+ end
17
+
18
+ def items=(str_)
19
+ end
20
+
21
+ def total
22
+ end
23
+
24
+ def total=(str_)
25
+ end
26
+
27
+ def total_capped
28
+ end
29
+
30
+ def total_capped=(str_)
31
+ end
32
+
33
+ def schema_version
34
+ end
35
+
36
+ def schema_version=(str_)
37
+ end
38
+
39
+ def next_cursor
40
+ end
41
+
42
+ def next_cursor=(str_)
43
+ end
44
+ end
@@ -10,6 +10,9 @@ module NoResponse
10
10
  enums do
11
11
  WORKSPACE_FORBIDDEN = new("workspace_forbidden")
12
12
  ROLE_FORBIDDEN = new("role_forbidden")
13
+ EMAIL_UNVERIFIED = new("email_unverified")
14
+ ONBOARDING_IN_REVIEW = new("onboarding_in_review")
15
+ ONBOARDING_REFUSED = new("onboarding_refused")
13
16
  end
14
17
 
15
18
  open!
@@ -10,7 +10,7 @@ module NoResponse
10
10
  include Crystalline::MetadataFields
11
11
 
12
12
  field :id, ::String, {'format_json': {'letter_case': ::NoResponse::Utils.field_name("id"), required: true}}
13
- # Your own opaque identifier for the account being checked, scoped to your workspace. 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
+ # Your own opaque identifier for the account being checked, scoped to your workspace. 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}, its /assessments and its /linked_accounts. 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.
14
14
  field(
15
15
  :account_id,
16
16
  ::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 workspace. 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.
12
+ # Your own opaque identifier for the account being checked, scoped to your workspace. 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}, its /assessments and its /linked_accounts. 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,
@@ -0,0 +1,105 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ module NoResponse
5
+ module Models
6
+ module Shared
7
+
8
+ class SharedIdentifier
9
+ extend T::Sig
10
+ include Crystalline::MetadataFields
11
+
12
+ field(
13
+ :kind,
14
+ Models::Shared::IdentifierSearchKind,
15
+ {
16
+ 'format_json': {
17
+ 'letter_case': ::NoResponse::Utils.field_name("kind"),
18
+ required: true,
19
+ 'decoder': ::NoResponse::Utils.open_enum_from_string(Models::Shared::IdentifierSearchKind, false)
20
+ }
21
+ }
22
+ )
23
+ # exact compares the original submitted value; canonical uses identifier-specific normalisation; mailbox explicitly selects the email alias rules used by lists.
24
+ field(
25
+ :match_basis,
26
+ Models::Shared::Match,
27
+ {
28
+ 'format_json': {
29
+ 'letter_case': ::NoResponse::Utils.field_name("match_basis"),
30
+ required: true,
31
+ 'decoder': ::NoResponse::Utils.open_enum_from_string(Models::Shared::Match, false)
32
+ }
33
+ }
34
+ )
35
+ # Customer-submitted input. It does not mean the customer or NoResponse verified ownership.
36
+ field(
37
+ :provenance,
38
+ Models::Shared::Provenance,
39
+ {
40
+ 'format_json': {
41
+ 'letter_case': ::NoResponse::Utils.field_name("provenance"),
42
+ required: true,
43
+ 'decoder': ::NoResponse::Utils.open_enum_from_string(Models::Shared::Provenance, false)
44
+ }
45
+ }
46
+ )
47
+
48
+ field(
49
+ :account,
50
+ Models::Shared::IdentifierSubmission,
51
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("account"), required: true}}
52
+ )
53
+
54
+ field(
55
+ :linked_account,
56
+ Models::Shared::IdentifierSubmission,
57
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("linked_account"), required: true}}
58
+ )
59
+ # Required for username: the username submitted by this customer in this workspace/environment. It does not name or join a source platform. Omit for email and phone.
60
+ field(
61
+ :namespace,
62
+ Crystalline::Nilable.new(Models::Shared::Namespace),
63
+ {
64
+ 'format_json': {
65
+ 'letter_case': ::NoResponse::Utils.field_name("namespace"),
66
+ 'decoder': ::NoResponse::Utils.open_enum_from_string(Models::Shared::Namespace, true)
67
+ }
68
+ }
69
+ )
70
+
71
+ sig {
72
+ params(
73
+ kind: Models::Shared::IdentifierSearchKind,
74
+ match_basis: Models::Shared::Match,
75
+ provenance: Models::Shared::Provenance,
76
+ account: Models::Shared::IdentifierSubmission,
77
+ linked_account: Models::Shared::IdentifierSubmission,
78
+ namespace: T.nilable(Models::Shared::Namespace)
79
+ )
80
+ .void
81
+ }
82
+ def initialize(kind:, match_basis:, provenance:, account:, linked_account:, namespace: nil)
83
+ @kind = kind
84
+ @match_basis = match_basis
85
+ @provenance = provenance
86
+ @account = account
87
+ @linked_account = linked_account
88
+ @namespace = namespace
89
+ end
90
+
91
+ sig { params(other: T.untyped).returns(T::Boolean) }
92
+ def ==(other)
93
+ return false unless other.is_a?(self.class)
94
+ return false unless @kind == other.kind
95
+ return false unless @match_basis == other.match_basis
96
+ return false unless @provenance == other.provenance
97
+ return false unless @account == other.account
98
+ return false unless @linked_account == other.linked_account
99
+ return false unless @namespace == other.namespace
100
+ true
101
+ end
102
+ end
103
+ end
104
+ end
105
+ end
@@ -0,0 +1,44 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ class NoResponse::Models::Shared::SharedIdentifier
5
+ extend ::Crystalline::MetadataFields::ClassMethods
6
+ end
7
+
8
+ class NoResponse::Models::Shared::SharedIdentifier
9
+ def kind
10
+ end
11
+
12
+ def kind=(str_)
13
+ end
14
+
15
+ def match_basis
16
+ end
17
+
18
+ def match_basis=(str_)
19
+ end
20
+
21
+ def provenance
22
+ end
23
+
24
+ def provenance=(str_)
25
+ end
26
+
27
+ def account
28
+ end
29
+
30
+ def account=(str_)
31
+ end
32
+
33
+ def linked_account
34
+ end
35
+
36
+ def linked_account=(str_)
37
+ end
38
+
39
+ def namespace
40
+ end
41
+
42
+ def namespace=(str_)
43
+ end
44
+ end
@@ -161,6 +161,7 @@ module NoResponse
161
161
  autoload :IdentifierMatch, "no_response/models/shared/identifiermatch.rb"
162
162
  autoload :IdentifierSearch, "no_response/models/shared/identifiersearch.rb"
163
163
  autoload :IdentifierSearchKind, "no_response/models/shared/identifiersearchkind.rb"
164
+ autoload :IdentifierSubmission, "no_response/models/shared/identifiersubmission.rb"
164
165
  autoload :IdentifierTermMatch, "no_response/models/shared/identifiertermmatch.rb"
165
166
  autoload :Impact, "no_response/models/shared/impact.rb"
166
167
  autoload :IncompleteReason, "no_response/models/shared/incompletereason.rb"
@@ -198,6 +199,8 @@ module NoResponse
198
199
  autoload :KeyScope, "no_response/models/shared/key_scope.rb"
199
200
  autoload :Lane, "no_response/models/shared/lane.rb"
200
201
  autoload :LineType, "no_response/models/shared/linetype.rb"
202
+ autoload :LinkedAccount, "no_response/models/shared/linkedaccount.rb"
203
+ autoload :LinkedAccountPage, "no_response/models/shared/linkedaccountpage.rb"
201
204
  autoload :ListBulkRequest, "no_response/models/shared/listbulkrequest.rb"
202
205
  autoload :ListChange, "no_response/models/shared/listchange.rb"
203
206
  autoload :ListChangeState, "no_response/models/shared/listchangestate.rb"
@@ -321,6 +324,7 @@ module NoResponse
321
324
  autoload :SettingsFlows, "no_response/models/shared/settingsflows.rb"
322
325
  autoload :SettingsRequest, "no_response/models/shared/settingsrequest.rb"
323
326
  autoload :SettingsRequestFlows, "no_response/models/shared/settingsrequestflows.rb"
327
+ autoload :SharedIdentifier, "no_response/models/shared/sharedidentifier.rb"
324
328
  autoload :Signal, "no_response/models/shared/signal.rb"
325
329
  autoload :SignalOutcome, "no_response/models/shared/signaloutcome.rb"
326
330
  autoload :SigningKey, "no_response/models/shared/signingkey.rb"
@@ -95,9 +95,9 @@ module NoResponse
95
95
 
96
96
  @language = "ruby"
97
97
  @openapi_doc_version = "1"
98
- @sdk_version = "9.5.0"
98
+ @sdk_version = "9.5.2"
99
99
  @gen_version = "internal"
100
- @user_agent = "noresponse-sdk/ruby 9.5.0 internal 1 noresponse"
100
+ @user_agent = "noresponse-sdk/ruby 9.5.2 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: 9.5.0
4
+ version: 9.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - NoResponse
@@ -498,6 +498,10 @@ files:
498
498
  - lib/no_response/models/operations/listkeys_request.rbi
499
499
  - lib/no_response/models/operations/listkeys_response.rb
500
500
  - lib/no_response/models/operations/listkeys_response.rbi
501
+ - lib/no_response/models/operations/listlinkedaccounts_request.rb
502
+ - lib/no_response/models/operations/listlinkedaccounts_request.rbi
503
+ - lib/no_response/models/operations/listlinkedaccounts_response.rb
504
+ - lib/no_response/models/operations/listlinkedaccounts_response.rbi
501
505
  - lib/no_response/models/operations/listlistentries_request.rb
502
506
  - lib/no_response/models/operations/listlistentries_request.rbi
503
507
  - lib/no_response/models/operations/listlistentries_response.rb
@@ -987,6 +991,8 @@ files:
987
991
  - lib/no_response/models/shared/identifiersearch.rbi
988
992
  - lib/no_response/models/shared/identifiersearchkind.rb
989
993
  - lib/no_response/models/shared/identifiersearchkind.rbi
994
+ - lib/no_response/models/shared/identifiersubmission.rb
995
+ - lib/no_response/models/shared/identifiersubmission.rbi
990
996
  - lib/no_response/models/shared/identifiertermmatch.rb
991
997
  - lib/no_response/models/shared/identifiertermmatch.rbi
992
998
  - lib/no_response/models/shared/impact.rb
@@ -1061,6 +1067,10 @@ files:
1061
1067
  - lib/no_response/models/shared/lane.rbi
1062
1068
  - lib/no_response/models/shared/linetype.rb
1063
1069
  - lib/no_response/models/shared/linetype.rbi
1070
+ - lib/no_response/models/shared/linkedaccount.rb
1071
+ - lib/no_response/models/shared/linkedaccount.rbi
1072
+ - lib/no_response/models/shared/linkedaccountpage.rb
1073
+ - lib/no_response/models/shared/linkedaccountpage.rbi
1064
1074
  - lib/no_response/models/shared/listbulkrequest.rb
1065
1075
  - lib/no_response/models/shared/listbulkrequest.rbi
1066
1076
  - lib/no_response/models/shared/listchange.rb
@@ -1309,6 +1319,8 @@ files:
1309
1319
  - lib/no_response/models/shared/settingsrequest.rbi
1310
1320
  - lib/no_response/models/shared/settingsrequestflows.rb
1311
1321
  - lib/no_response/models/shared/settingsrequestflows.rbi
1322
+ - lib/no_response/models/shared/sharedidentifier.rb
1323
+ - lib/no_response/models/shared/sharedidentifier.rbi
1312
1324
  - lib/no_response/models/shared/signal.rb
1313
1325
  - lib/no_response/models/shared/signal.rbi
1314
1326
  - lib/no_response/models/shared/signaloutcome.rb