@@ -190,7 +190,8 @@ private constructor(
190190 * The type of Auth Rule. For certain rule types, this determines the event stream during which
191191 * it will be evaluated. For rules that can be applied to one of several event streams, the
192192 * effective one is defined by the separate `event_stream` field.
193- * - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
193+ * - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead. AUTHORIZATION event
194+ * stream.
194195 * - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
195196 * - `MERCHANT_LOCK`: AUTHORIZATION event stream.
196197 * - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
@@ -594,7 +595,8 @@ private constructor(
594595 * The type of Auth Rule. For certain rule types, this determines the event stream during
595596 * which it will be evaluated. For rules that can be applied to one of several event
596597 * streams, the effective one is defined by the separate `event_stream` field.
597- * - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
598+ * - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead. AUTHORIZATION event
599+ * stream.
598600 * - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
599601 * - `MERCHANT_LOCK`: AUTHORIZATION event stream.
600602 * - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
@@ -859,6 +861,7 @@ private constructor(
859861 * Alias for calling [parameters] with
860862 * `Parameters.ofConditionalBlock(conditionalBlock)`.
861863 */
864+ @Deprecated(" deprecated" )
862865 fun parameters (conditionalBlock : ConditionalBlockParameters ) =
863866 parameters(Parameters .ofConditionalBlock(conditionalBlock))
864867
@@ -1009,6 +1012,8 @@ private constructor(
10091012 private val _json : JsonValue ? = null ,
10101013 ) {
10111014
1015+ /* * Deprecated: Use CONDITIONAL_ACTION instead. */
1016+ @Deprecated(" deprecated" )
10121017 fun conditionalBlock (): Optional <ConditionalBlockParameters > =
10131018 Optional .ofNullable(conditionalBlock)
10141019
@@ -1030,7 +1035,7 @@ private constructor(
10301035 fun conditionalTokenizationAction (): Optional <ConditionalTokenizationActionParameters > =
10311036 Optional .ofNullable(conditionalTokenizationAction)
10321037
1033- fun isConditionalBlock (): Boolean = conditionalBlock != null
1038+ @Deprecated( " deprecated " ) fun isConditionalBlock (): Boolean = conditionalBlock != null
10341039
10351040 fun isVelocityLimitParams (): Boolean = velocityLimitParams != null
10361041
@@ -1044,6 +1049,8 @@ private constructor(
10441049
10451050 fun isConditionalTokenizationAction (): Boolean = conditionalTokenizationAction != null
10461051
1052+ /* * Deprecated: Use CONDITIONAL_ACTION instead. */
1053+ @Deprecated(" deprecated" )
10471054 fun asConditionalBlock (): ConditionalBlockParameters =
10481055 conditionalBlock.getOrThrow(" conditionalBlock" )
10491056
@@ -1231,6 +1238,8 @@ private constructor(
12311238
12321239 companion object {
12331240
1241+ /* * Deprecated: Use CONDITIONAL_ACTION instead. */
1242+ @Deprecated(" deprecated" )
12341243 @JvmStatic
12351244 fun ofConditionalBlock (conditionalBlock : ConditionalBlockParameters ) =
12361245 Parameters (conditionalBlock = conditionalBlock)
@@ -1268,6 +1277,8 @@ private constructor(
12681277 */
12691278 interface Visitor <out T > {
12701279
1280+ /* * Deprecated: Use CONDITIONAL_ACTION instead. */
1281+ @Deprecated(" deprecated" )
12711282 fun visitConditionalBlock (conditionalBlock : ConditionalBlockParameters ): T
12721283
12731284 fun visitVelocityLimitParams (velocityLimitParams : VelocityLimitParams ): T
@@ -1518,6 +1529,7 @@ private constructor(
15181529 * Alias for calling [parameters] with
15191530 * `Parameters.ofConditionalBlock(conditionalBlock)`.
15201531 */
1532+ @Deprecated(" deprecated" )
15211533 fun parameters (conditionalBlock : ConditionalBlockParameters ) =
15221534 parameters(Parameters .ofConditionalBlock(conditionalBlock))
15231535
@@ -1668,6 +1680,8 @@ private constructor(
16681680 private val _json : JsonValue ? = null ,
16691681 ) {
16701682
1683+ /* * Deprecated: Use CONDITIONAL_ACTION instead. */
1684+ @Deprecated(" deprecated" )
16711685 fun conditionalBlock (): Optional <ConditionalBlockParameters > =
16721686 Optional .ofNullable(conditionalBlock)
16731687
@@ -1689,7 +1703,7 @@ private constructor(
16891703 fun conditionalTokenizationAction (): Optional <ConditionalTokenizationActionParameters > =
16901704 Optional .ofNullable(conditionalTokenizationAction)
16911705
1692- fun isConditionalBlock (): Boolean = conditionalBlock != null
1706+ @Deprecated( " deprecated " ) fun isConditionalBlock (): Boolean = conditionalBlock != null
16931707
16941708 fun isVelocityLimitParams (): Boolean = velocityLimitParams != null
16951709
@@ -1703,6 +1717,8 @@ private constructor(
17031717
17041718 fun isConditionalTokenizationAction (): Boolean = conditionalTokenizationAction != null
17051719
1720+ /* * Deprecated: Use CONDITIONAL_ACTION instead. */
1721+ @Deprecated(" deprecated" )
17061722 fun asConditionalBlock (): ConditionalBlockParameters =
17071723 conditionalBlock.getOrThrow(" conditionalBlock" )
17081724
@@ -1890,6 +1906,8 @@ private constructor(
18901906
18911907 companion object {
18921908
1909+ /* * Deprecated: Use CONDITIONAL_ACTION instead. */
1910+ @Deprecated(" deprecated" )
18931911 @JvmStatic
18941912 fun ofConditionalBlock (conditionalBlock : ConditionalBlockParameters ) =
18951913 Parameters (conditionalBlock = conditionalBlock)
@@ -1927,6 +1945,8 @@ private constructor(
19271945 */
19281946 interface Visitor <out T > {
19291947
1948+ /* * Deprecated: Use CONDITIONAL_ACTION instead. */
1949+ @Deprecated(" deprecated" )
19301950 fun visitConditionalBlock (conditionalBlock : ConditionalBlockParameters ): T
19311951
19321952 fun visitVelocityLimitParams (velocityLimitParams : VelocityLimitParams ): T
@@ -2205,7 +2225,8 @@ private constructor(
22052225 * The type of Auth Rule. For certain rule types, this determines the event stream during which
22062226 * it will be evaluated. For rules that can be applied to one of several event streams, the
22072227 * effective one is defined by the separate `event_stream` field.
2208- * - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
2228+ * - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead. AUTHORIZATION event
2229+ * stream.
22092230 * - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
22102231 * - `MERCHANT_LOCK`: AUTHORIZATION event stream.
22112232 * - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
0 commit comments