noresponse 10.0.4 → 10.0.6

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: fea27fabd00bc174ec260f6d035ecd4cb0e9c5de83927be09d3359ba6be24f95
4
- data.tar.gz: 1ce1bfd735f69a5699f1e6a90226750c65bb6c7bb73e05c7fc557824080827f3
3
+ metadata.gz: c95cd56ea4d0f28e0afab9a450171c27a6bf5d6460a01bc752f14c85aabe7fbf
4
+ data.tar.gz: d75eb42e2a9c1e5f15a94d3bc2e38dc005da5ef139123411e1d9ad3709492e78
5
5
  SHA512:
6
- metadata.gz: 7b94ba2d2743259d55379c7f786a5e358c8ed33b099d965cb942c08966dff042e613c89f5d144684fdb6efffc151c9aa0889c71f6e2bfdae96c055e4c22ef13a
7
- data.tar.gz: 3ff2692982cab6554e015977beabaf11bc8c85a2bf85f8358eaecdf38622e4e92f23f47a201589660f71c5cdd3842cb682e1a11b62398cbd6d3aca6405a36049
6
+ metadata.gz: c151bbecba644cd71c01235cc8d03f6a042264e21670e1c345ab6ab71092a774b8b3e782c403c9cfac9e8bbd4b3eba2d6a00335dc0c0d8862814e5ef171ab66c
7
+ data.tar.gz: 27b1bd5bb9b6ed068beecb84930d76266a8daaaa5b8482b1cc219ec48ed633128419714a8b0898e3d49929ed2b78dd40a8594a146a857e5e60e9441b871234f4
@@ -46,6 +46,17 @@ module NoResponse
46
46
  }
47
47
  }
48
48
  )
49
+ # api (the default) searches the assessments your integration sent. lookup searches the assessments your team ran by hand on the console's Lookup page. The API sets an assessment's origin from the credential that sent it. A lookup is not in any other list, count, webhook event or account.
50
+ field(
51
+ :origin,
52
+ Crystalline::Nilable.new(Models::Shared::Origin),
53
+ {
54
+ 'format_json': {
55
+ 'letter_case': ::NoResponse::Utils.field_name("origin"),
56
+ 'decoder': ::NoResponse::Utils.enum_from_string(Models::Shared::Origin, true)
57
+ }
58
+ }
59
+ )
49
60
  # The recommended action: allow, step_up or review. Your application applies it.
50
61
  field(
51
62
  :recommendation,
@@ -208,6 +219,7 @@ module NoResponse
208
219
  email: T.nilable(::String),
209
220
  flow: T.nilable(Models::Shared::Flow),
210
221
  status: T.nilable(Models::Shared::Status),
222
+ origin: T.nilable(Models::Shared::Origin),
211
223
  recommendation: T.nilable(Models::Shared::Recommendation),
212
224
  cursor: T.nilable(::String),
213
225
  response_mode: T.nilable(Models::Shared::ResponseMode),
@@ -236,6 +248,7 @@ module NoResponse
236
248
  email: nil,
237
249
  flow: nil,
238
250
  status: nil,
251
+ origin: nil,
239
252
  recommendation: nil,
240
253
  cursor: nil,
241
254
  response_mode: nil,
@@ -261,6 +274,7 @@ module NoResponse
261
274
  @email = email
262
275
  @flow = flow
263
276
  @status = status
277
+ @origin = origin
264
278
  @recommendation = recommendation
265
279
  @cursor = cursor
266
280
  @response_mode = response_mode
@@ -290,6 +304,7 @@ module NoResponse
290
304
  return false unless @email == other.email
291
305
  return false unless @flow == other.flow
292
306
  return false unless @status == other.status
307
+ return false unless @origin == other.origin
293
308
  return false unless @recommendation == other.recommendation
294
309
  return false unless @cursor == other.cursor
295
310
  return false unless @response_mode == other.response_mode
@@ -42,6 +42,12 @@ class NoResponse::Models::Shared::AssessmentSearchRequest
42
42
  def status=(str_)
43
43
  end
44
44
 
45
+ def origin
46
+ end
47
+
48
+ def origin=(str_)
49
+ end
50
+
45
51
  def recommendation
46
52
  end
47
53
 
@@ -32,6 +32,7 @@ module NoResponse
32
32
  EVALUATION_LIMIT_REACHED = new("evaluation_limit_reached")
33
33
  ALREADY_MEMBER = new("already_member")
34
34
  MEMBER_LIMIT_REACHED = new("member_limit_reached")
35
+ OWNER_INVITE_PENDING = new("owner_invite_pending")
35
36
  AGGREGATE_ERASED_DATA = new("aggregate_erased_data")
36
37
  end
37
38
 
@@ -0,0 +1,16 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ module NoResponse
5
+ module Models
6
+ module Shared
7
+ # Origin - api (the default) searches the assessments your integration sent. lookup searches the assessments your team ran by hand on the console's Lookup page. The API sets an assessment's origin from the credential that sent it. A lookup is not in any other list, count, webhook event or account.
8
+ class Origin < T::Enum
9
+ enums do
10
+ API = new("api")
11
+ LOOKUP = new("lookup")
12
+ end
13
+ end
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,9 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ class NoResponse::Models::Shared::Origin
5
+ extend ::Crystalline::MetadataFields::ClassMethods
6
+ end
7
+
8
+ class NoResponse::Models::Shared::Origin
9
+ end
@@ -236,6 +236,7 @@ module NoResponse
236
236
  autoload :OperationalAggregateBucket, "no_response/models/shared/operationalaggregatebucket.rb"
237
237
  autoload :OperationalAggregateQueue, "no_response/models/shared/operationalaggregatequeue.rb"
238
238
  autoload :OperationalAggregateTotals, "no_response/models/shared/operationalaggregatetotals.rb"
239
+ autoload :Origin, "no_response/models/shared/origin.rb"
239
240
  autoload :Outcome, "no_response/models/shared/outcome.rb"
240
241
  autoload :Outcomes, "no_response/models/shared/outcomes.rb"
241
242
  autoload :OutcomesByOutcome, "no_response/models/shared/outcomesbyoutcome.rb"
@@ -95,9 +95,9 @@ module NoResponse
95
95
 
96
96
  @language = "ruby"
97
97
  @openapi_doc_version = "1"
98
- @sdk_version = "10.0.4"
98
+ @sdk_version = "10.0.6"
99
99
  @gen_version = "internal"
100
- @user_agent = "noresponse-sdk/ruby 10.0.4 internal 1 noresponse"
100
+ @user_agent = "noresponse-sdk/ruby 10.0.6 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.4
4
+ version: 10.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - NoResponse
@@ -1153,6 +1153,8 @@ files:
1153
1153
  - lib/no_response/models/shared/operationalaggregatequeue.rbi
1154
1154
  - lib/no_response/models/shared/operationalaggregatetotals.rb
1155
1155
  - lib/no_response/models/shared/operationalaggregatetotals.rbi
1156
+ - lib/no_response/models/shared/origin.rb
1157
+ - lib/no_response/models/shared/origin.rbi
1156
1158
  - lib/no_response/models/shared/outcome.rb
1157
1159
  - lib/no_response/models/shared/outcome.rbi
1158
1160
  - lib/no_response/models/shared/outcomes.rb