aws-sdk-connectcases 1.62.0 → 1.63.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87d5268eb7b9429e81e49ed3db29158d03eef3ba6b161d48f9a30ad59ffd246e
4
- data.tar.gz: 0a2d2f64a73406d6e8fae5cf6d13c34b1926317b540f2abbeb8df533e05ebe89
3
+ metadata.gz: 3b289aa67cb3d210bdefb58e15cb095aca46a7c0fb5def63b0ae2f3c8022a744
4
+ data.tar.gz: f42114ffec9105f8862f0080f4eb9ef728ce3e9fac61880cba39d845a2897d71
5
5
  SHA512:
6
- metadata.gz: 61b902965d477f5a55d3407166f4fefb042f3c5c8cb1571f4de8e31d6a0ba6556c175906b1623601d58b927acc6a7ab386f6b248905a6d31717f1f0402a013e9
7
- data.tar.gz: 5a6c83f1b4745ec727ba45190b3151255410ff2f11b9f2abb08e18eb62bc98db481219b070ac27ee29d61076c6d218a5b09b496a4a2c2d62c4ea9571843ecdaa
6
+ metadata.gz: 5cf118012e8b45c10ea9a8ec8c030fa62c2befe905b1d5f0021d01e1dc14706a6049d883b9f086ce251906346b48f26fbba4497de9fba35fbf2487cc45e27532
7
+ data.tar.gz: 43fd91f310bccc182df1d2364af48ef150763986b045117d6ea4f4ac30928828b9e0f804c9476185eb0bf722529ec28e0defc4005fc36174ee41c9f95c6db304
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.63.0 (2026-03-10)
5
+ ------------------
6
+
7
+ * Feature - Added functionality for the Required and Hidden case rule types to be conditionally evaluated on up to 5 conditions.
8
+
4
9
  1.62.0 (2026-02-23)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.62.0
1
+ 1.63.0
@@ -526,6 +526,8 @@ module Aws::ConnectCases
526
526
  # resp.case_rules[0].rule.required.conditions[0].not_equal_to.operand_two.boolean_value #=> Boolean
527
527
  # resp.case_rules[0].rule.required.conditions[0].not_equal_to.operand_two.double_value #=> Float
528
528
  # resp.case_rules[0].rule.required.conditions[0].not_equal_to.result #=> Boolean
529
+ # resp.case_rules[0].rule.required.conditions[0].and_all.conditions #=> Types::BooleanConditionList
530
+ # resp.case_rules[0].rule.required.conditions[0].or_all.conditions #=> Types::BooleanConditionList
529
531
  # resp.case_rules[0].rule.field_options.parent_field_id #=> String
530
532
  # resp.case_rules[0].rule.field_options.child_field_id #=> String
531
533
  # resp.case_rules[0].rule.field_options.parent_child_field_options_mappings #=> Array
@@ -544,6 +546,8 @@ module Aws::ConnectCases
544
546
  # resp.case_rules[0].rule.hidden.conditions[0].not_equal_to.operand_two.boolean_value #=> Boolean
545
547
  # resp.case_rules[0].rule.hidden.conditions[0].not_equal_to.operand_two.double_value #=> Float
546
548
  # resp.case_rules[0].rule.hidden.conditions[0].not_equal_to.result #=> Boolean
549
+ # resp.case_rules[0].rule.hidden.conditions[0].and_all.conditions #=> Types::BooleanConditionList
550
+ # resp.case_rules[0].rule.hidden.conditions[0].or_all.conditions #=> Types::BooleanConditionList
547
551
  # resp.case_rules[0].description #=> String
548
552
  # resp.case_rules[0].deleted #=> Boolean
549
553
  # resp.case_rules[0].created_time #=> Time
@@ -833,6 +837,16 @@ module Aws::ConnectCases
833
837
  # },
834
838
  # result: false, # required
835
839
  # },
840
+ # and_all: {
841
+ # conditions: { # required
842
+ # # recursive BooleanConditionList
843
+ # },
844
+ # },
845
+ # or_all: {
846
+ # conditions: { # required
847
+ # # recursive BooleanConditionList
848
+ # },
849
+ # },
836
850
  # },
837
851
  # ],
838
852
  # },
@@ -876,6 +890,16 @@ module Aws::ConnectCases
876
890
  # },
877
891
  # result: false, # required
878
892
  # },
893
+ # and_all: {
894
+ # conditions: { # required
895
+ # # recursive BooleanConditionList
896
+ # },
897
+ # },
898
+ # or_all: {
899
+ # conditions: { # required
900
+ # # recursive BooleanConditionList
901
+ # },
902
+ # },
879
903
  # },
880
904
  # ],
881
905
  # },
@@ -3157,6 +3181,16 @@ module Aws::ConnectCases
3157
3181
  # },
3158
3182
  # result: false, # required
3159
3183
  # },
3184
+ # and_all: {
3185
+ # conditions: { # required
3186
+ # # recursive BooleanConditionList
3187
+ # },
3188
+ # },
3189
+ # or_all: {
3190
+ # conditions: { # required
3191
+ # # recursive BooleanConditionList
3192
+ # },
3193
+ # },
3160
3194
  # },
3161
3195
  # ],
3162
3196
  # },
@@ -3200,6 +3234,16 @@ module Aws::ConnectCases
3200
3234
  # },
3201
3235
  # result: false, # required
3202
3236
  # },
3237
+ # and_all: {
3238
+ # conditions: { # required
3239
+ # # recursive BooleanConditionList
3240
+ # },
3241
+ # },
3242
+ # or_all: {
3243
+ # conditions: { # required
3244
+ # # recursive BooleanConditionList
3245
+ # },
3246
+ # },
3203
3247
  # },
3204
3248
  # ],
3205
3249
  # },
@@ -3454,7 +3498,7 @@ module Aws::ConnectCases
3454
3498
  tracer: tracer
3455
3499
  )
3456
3500
  context[:gem_name] = 'aws-sdk-connectcases'
3457
- context[:gem_version] = '1.62.0'
3501
+ context[:gem_version] = '1.63.0'
3458
3502
  Seahorse::Client::Request.new(handlers, context)
3459
3503
  end
3460
3504
 
@@ -68,6 +68,7 @@ module Aws::ConnectCases
68
68
  CommentBodyTextType = Shapes::StringShape.new(name: 'CommentBodyTextType')
69
69
  CommentContent = Shapes::StructureShape.new(name: 'CommentContent')
70
70
  CommentFilter = Shapes::StructureShape.new(name: 'CommentFilter')
71
+ CompoundCondition = Shapes::StructureShape.new(name: 'CompoundCondition')
71
72
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
72
73
  ConnectCaseContent = Shapes::StructureShape.new(name: 'ConnectCaseContent')
73
74
  ConnectCaseFilter = Shapes::StructureShape.new(name: 'ConnectCaseFilter')
@@ -402,9 +403,13 @@ module Aws::ConnectCases
402
403
 
403
404
  BooleanCondition.add_member(:equal_to, Shapes::ShapeRef.new(shape: BooleanOperands, location_name: "equalTo"))
404
405
  BooleanCondition.add_member(:not_equal_to, Shapes::ShapeRef.new(shape: BooleanOperands, location_name: "notEqualTo"))
406
+ BooleanCondition.add_member(:and_all, Shapes::ShapeRef.new(shape: CompoundCondition, location_name: "andAll"))
407
+ BooleanCondition.add_member(:or_all, Shapes::ShapeRef.new(shape: CompoundCondition, location_name: "orAll"))
405
408
  BooleanCondition.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
406
409
  BooleanCondition.add_member_subclass(:equal_to, Types::BooleanCondition::EqualTo)
407
410
  BooleanCondition.add_member_subclass(:not_equal_to, Types::BooleanCondition::NotEqualTo)
411
+ BooleanCondition.add_member_subclass(:and_all, Types::BooleanCondition::AndAll)
412
+ BooleanCondition.add_member_subclass(:or_all, Types::BooleanCondition::OrAll)
408
413
  BooleanCondition.add_member_subclass(:unknown, Types::BooleanCondition::Unknown)
409
414
  BooleanCondition.struct_class = Types::BooleanCondition
410
415
 
@@ -475,6 +480,9 @@ module Aws::ConnectCases
475
480
 
476
481
  CommentFilter.struct_class = Types::CommentFilter
477
482
 
483
+ CompoundCondition.add_member(:conditions, Shapes::ShapeRef.new(shape: BooleanConditionList, required: true, location_name: "conditions"))
484
+ CompoundCondition.struct_class = Types::CompoundCondition
485
+
478
486
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
479
487
  ConflictException.struct_class = Types::ConflictException
480
488
 
@@ -306,11 +306,23 @@ module Aws::ConnectCases
306
306
  # Tests that operandOne is not equal to operandTwo.
307
307
  # @return [Types::BooleanOperands]
308
308
  #
309
+ # @!attribute [rw] and_all
310
+ # Combines multiple conditions with AND operator. All conditions must
311
+ # be true for the compound condition to be true.
312
+ # @return [Types::CompoundCondition]
313
+ #
314
+ # @!attribute [rw] or_all
315
+ # Combines multiple conditions with OR operator. At least one
316
+ # condition must be true for the compound condition to be true.
317
+ # @return [Types::CompoundCondition]
318
+ #
309
319
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/BooleanCondition AWS API Documentation
310
320
  #
311
321
  class BooleanCondition < Struct.new(
312
322
  :equal_to,
313
323
  :not_equal_to,
324
+ :and_all,
325
+ :or_all,
314
326
  :unknown)
315
327
  SENSITIVE = []
316
328
  include Aws::Structure
@@ -318,6 +330,8 @@ module Aws::ConnectCases
318
330
 
319
331
  class EqualTo < BooleanCondition; end
320
332
  class NotEqualTo < BooleanCondition; end
333
+ class AndAll < BooleanCondition; end
334
+ class OrAll < BooleanCondition; end
321
335
  class Unknown < BooleanCondition; end
322
336
  end
323
337
 
@@ -586,6 +600,28 @@ module Aws::ConnectCases
586
600
  #
587
601
  class CommentFilter < Aws::EmptyStructure; end
588
602
 
603
+ # A compound condition that combines multiple boolean conditions using
604
+ # logical operators. In the Amazon Connect admin website, case rules are
605
+ # known as *case field conditions*. For more information about case
606
+ # field conditions, see [Add case field conditions to a case
607
+ # template][1].
608
+ #
609
+ #
610
+ #
611
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html
612
+ #
613
+ # @!attribute [rw] conditions
614
+ # The list of conditions to combine using the logical operator.
615
+ # @return [Array<Types::BooleanCondition>]
616
+ #
617
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CompoundCondition AWS API Documentation
618
+ #
619
+ class CompoundCondition < Struct.new(
620
+ :conditions)
621
+ SENSITIVE = []
622
+ include Aws::Structure
623
+ end
624
+
589
625
  # The requested operation would cause a conflict with the current state
590
626
  # of a service resource associated with the request. Resolve the
591
627
  # conflict before retrying this request. See the accompanying error
@@ -55,7 +55,7 @@ module Aws::ConnectCases
55
55
  autoload :EndpointProvider, 'aws-sdk-connectcases/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-connectcases/endpoints'
57
57
 
58
- GEM_VERSION = '1.62.0'
58
+ GEM_VERSION = '1.63.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -200,6 +200,12 @@ module Aws
200
200
  }?
201
201
  },
202
202
  result: bool
203
+ }?,
204
+ and_all: {
205
+ conditions: untyped
206
+ }?,
207
+ or_all: {
208
+ conditions: untyped
203
209
  }?
204
210
  },
205
211
  ]
@@ -243,6 +249,12 @@ module Aws
243
249
  }?
244
250
  },
245
251
  result: bool
252
+ }?,
253
+ and_all: {
254
+ conditions: untyped
255
+ }?,
256
+ or_all: {
257
+ conditions: untyped
246
258
  }?
247
259
  },
248
260
  ]
@@ -1143,6 +1155,12 @@ module Aws
1143
1155
  }?
1144
1156
  },
1145
1157
  result: bool
1158
+ }?,
1159
+ and_all: {
1160
+ conditions: untyped
1161
+ }?,
1162
+ or_all: {
1163
+ conditions: untyped
1146
1164
  }?
1147
1165
  },
1148
1166
  ]
@@ -1186,6 +1204,12 @@ module Aws
1186
1204
  }?
1187
1205
  },
1188
1206
  result: bool
1207
+ }?,
1208
+ and_all: {
1209
+ conditions: untyped
1210
+ }?,
1211
+ or_all: {
1212
+ conditions: untyped
1189
1213
  }?
1190
1214
  },
1191
1215
  ]
data/sig/types.rbs CHANGED
@@ -105,6 +105,8 @@ module Aws::ConnectCases
105
105
  class BooleanCondition
106
106
  attr_accessor equal_to: Types::BooleanOperands
107
107
  attr_accessor not_equal_to: Types::BooleanOperands
108
+ attr_accessor and_all: Types::CompoundCondition
109
+ attr_accessor or_all: Types::CompoundCondition
108
110
  attr_accessor unknown: untyped
109
111
  SENSITIVE: []
110
112
 
@@ -112,6 +114,10 @@ module Aws::ConnectCases
112
114
  end
113
115
  class NotEqualTo < BooleanCondition
114
116
  end
117
+ class AndAll < BooleanCondition
118
+ end
119
+ class OrAll < BooleanCondition
120
+ end
115
121
  class Unknown < BooleanCondition
116
122
  end
117
123
  end
@@ -204,6 +210,11 @@ module Aws::ConnectCases
204
210
  class CommentFilter < Aws::EmptyStructure
205
211
  end
206
212
 
213
+ class CompoundCondition
214
+ attr_accessor conditions: ::Array[Types::BooleanCondition]
215
+ SENSITIVE: []
216
+ end
217
+
207
218
  class ConflictException
208
219
  attr_accessor message: ::String
209
220
  SENSITIVE: []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-connectcases
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.62.0
4
+ version: 1.63.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services