noresponse 10.0.6 → 10.0.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c95cd56ea4d0f28e0afab9a450171c27a6bf5d6460a01bc752f14c85aabe7fbf
4
- data.tar.gz: d75eb42e2a9c1e5f15a94d3bc2e38dc005da5ef139123411e1d9ad3709492e78
3
+ metadata.gz: edb4c6cd55738819e84a9cd15472db2ff2d61e2f41dc8092a5ff919ce9efd76d
4
+ data.tar.gz: ab74f312ce5d6d8911f381c6dbeed586d93836bd5c0b89aae935b02b7d78ff10
5
5
  SHA512:
6
- metadata.gz: c151bbecba644cd71c01235cc8d03f6a042264e21670e1c345ab6ab71092a774b8b3e782c403c9cfac9e8bbd4b3eba2d6a00335dc0c0d8862814e5ef171ab66c
7
- data.tar.gz: 27b1bd5bb9b6ed068beecb84930d76266a8daaaa5b8482b1cc219ec48ed633128419714a8b0898e3d49929ed2b78dd40a8594a146a857e5e60e9441b871234f4
6
+ metadata.gz: 8f0aa4934fbf3d581664d45883044db129f4ed12d87ecc1d42e0ea34f58cc0c23fe365d72287646e9ba598336b7597be4f72aae85885cada81fc6ecbc67711d6
7
+ data.tar.gz: a950c8ad063e83fa0127688c5032a68bf288188da4629a5617ab8248365e41aa073b3f60406590b9397ffcb60c36d51083e2474926000a8c9f333cb2824b1558
@@ -21,6 +21,12 @@ module NoResponse
21
21
  Crystalline::Nilable.new(::String),
22
22
  {'format_json': {'letter_case': ::NoResponse::Utils.field_name("email")}}
23
23
  )
24
+ # Every account that one of its retained admitted assessments sent an email of this domain or its subdomains, matched as lists match an email_domain entry and with the same identifier-read permission as email. A value that is not a registrable domain is refused with 400. Mutually exclusive with email, identifier and identifier_expression.
25
+ field(
26
+ :email_domain,
27
+ Crystalline::Nilable.new(::String),
28
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("email_domain")}}
29
+ )
24
30
  # Opaque, expiring cursor bound to workspace, environment, operation and all filters, including expression scope, ordered structure and original term values. Keep grouping, operand order, matching modes and values unchanged; an omitted match is equivalent to exact. The page limit may change.
25
31
  field(
26
32
  :cursor,
@@ -56,6 +62,7 @@ module NoResponse
56
62
  params(
57
63
  account_id: T.nilable(::String),
58
64
  email: T.nilable(::String),
65
+ email_domain: T.nilable(::String),
59
66
  cursor: T.nilable(::String),
60
67
  identifier: T.nilable(Models::Shared::IdentifierSearch),
61
68
  identifier_expression: T.nilable(Models::Shared::IdentifierExpression),
@@ -67,6 +74,7 @@ module NoResponse
67
74
  def initialize(
68
75
  account_id: nil,
69
76
  email: nil,
77
+ email_domain: nil,
70
78
  cursor: nil,
71
79
  identifier: nil,
72
80
  identifier_expression: nil,
@@ -75,6 +83,7 @@ module NoResponse
75
83
  )
76
84
  @account_id = account_id
77
85
  @email = email
86
+ @email_domain = email_domain
78
87
  @cursor = cursor
79
88
  @identifier = identifier
80
89
  @identifier_expression = identifier_expression
@@ -87,6 +96,7 @@ module NoResponse
87
96
  return false unless other.is_a?(self.class)
88
97
  return false unless @account_id == other.account_id
89
98
  return false unless @email == other.email
99
+ return false unless @email_domain == other.email_domain
90
100
  return false unless @cursor == other.cursor
91
101
  return false unless @identifier == other.identifier
92
102
  return false unless @identifier_expression == other.identifier_expression
@@ -18,6 +18,12 @@ class NoResponse::Models::Shared::AccountDirectorySearchRequest
18
18
  def email=(str_)
19
19
  end
20
20
 
21
+ def email_domain
22
+ end
23
+
24
+ def email_domain=(str_)
25
+ end
26
+
21
27
  def cursor
22
28
  end
23
29
 
@@ -57,6 +57,18 @@ module NoResponse
57
57
  ::String,
58
58
  {'format_json': {'letter_case': ::NoResponse::Utils.field_name("attempted_at"), required: true}}
59
59
  )
60
+ # The assessment an assessment.updated event reported, while that assessment is held. Absent on every other event, on a test event and on a notice that the assessment was erased or expired.
61
+ field(
62
+ :assessment_id,
63
+ Crystalline::Nilable.new(::String),
64
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("assessment_id")}}
65
+ )
66
+ # The account an account.risk_changed event reported. Absent on every other event.
67
+ field(
68
+ :account_id,
69
+ Crystalline::Nilable.new(::String),
70
+ {'format_json': {'letter_case': ::NoResponse::Utils.field_name("account_id")}}
71
+ )
60
72
  # The HTTP status the endpoint answered. Absent when no response was read.
61
73
  field(
62
74
  :response_code,
@@ -84,6 +96,8 @@ module NoResponse
84
96
  status: Models::Shared::WebhookDeliveryAttemptStatus,
85
97
  latency_ms: ::Integer,
86
98
  attempted_at: ::String,
99
+ assessment_id: T.nilable(::String),
100
+ account_id: T.nilable(::String),
87
101
  response_code: T.nilable(::Integer),
88
102
  failure: T.nilable(Models::Shared::Failure)
89
103
  )
@@ -97,6 +111,8 @@ module NoResponse
97
111
  status:,
98
112
  latency_ms:,
99
113
  attempted_at:,
114
+ assessment_id: nil,
115
+ account_id: nil,
100
116
  response_code: nil,
101
117
  failure: nil
102
118
  )
@@ -107,6 +123,8 @@ module NoResponse
107
123
  @status = status
108
124
  @latency_ms = latency_ms
109
125
  @attempted_at = attempted_at
126
+ @assessment_id = assessment_id
127
+ @account_id = account_id
110
128
  @response_code = response_code
111
129
  @failure = failure
112
130
  end
@@ -121,6 +139,8 @@ module NoResponse
121
139
  return false unless @status == other.status
122
140
  return false unless @latency_ms == other.latency_ms
123
141
  return false unless @attempted_at == other.attempted_at
142
+ return false unless @assessment_id == other.assessment_id
143
+ return false unless @account_id == other.account_id
124
144
  return false unless @response_code == other.response_code
125
145
  return false unless @failure == other.failure
126
146
  true
@@ -48,6 +48,18 @@ class NoResponse::Models::Shared::WebhookDeliveryAttempt
48
48
  def attempted_at=(str_)
49
49
  end
50
50
 
51
+ def assessment_id
52
+ end
53
+
54
+ def assessment_id=(str_)
55
+ end
56
+
57
+ def account_id
58
+ end
59
+
60
+ def account_id=(str_)
61
+ end
62
+
51
63
  def response_code
52
64
  end
53
65
 
@@ -95,9 +95,9 @@ module NoResponse
95
95
 
96
96
  @language = "ruby"
97
97
  @openapi_doc_version = "1"
98
- @sdk_version = "10.0.6"
98
+ @sdk_version = "10.0.7"
99
99
  @gen_version = "internal"
100
- @user_agent = "noresponse-sdk/ruby 10.0.6 internal 1 noresponse"
100
+ @user_agent = "noresponse-sdk/ruby 10.0.7 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: 10.0.6
4
+ version: 10.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - NoResponse