Skip to content

Commit 993ab5c

Browse files
docs: Remove CONDITIONAL_BLOCK from docs
1 parent ac193de commit 993ab5c

9 files changed

Lines changed: 32 additions & 13 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 185
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-c1dbf87770ddffb9d6d1ada33d1c43739d43498ff687c1d58e403ffc08f6f863.yml
3-
openapi_spec_hash: f488e595de02180bb904da283b7a1c39
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-179734893d610c68eb1c49d41be91edc2ad243885e4972fd901835eec233b122.yml
3+
openapi_spec_hash: c60105fa2dd66c0d5b15d17c556db7c1
44
config_hash: 925e84bc73b1b9b5eb0ffd230fc9800f

lib/lithic/models/auth_rules/auth_rule.rb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ class AuthRule < Lithic::Internal::Type::BaseModel
7676
# several event streams, the effective one is defined by the separate
7777
# `event_stream` field.
7878
#
79-
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
79+
# - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
80+
# AUTHORIZATION event stream.
8081
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
8182
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
8283
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
@@ -152,6 +153,7 @@ class CurrentVersion < Lithic::Internal::Type::BaseModel
152153
module Parameters
153154
extend Lithic::Internal::Type::Union
154155

156+
# Deprecated: Use CONDITIONAL_ACTION instead.
155157
variant -> { Lithic::AuthRules::ConditionalBlockParameters }
156158

157159
variant -> { Lithic::AuthRules::VelocityLimitParams }
@@ -202,6 +204,7 @@ class DraftVersion < Lithic::Internal::Type::BaseModel
202204
module Parameters
203205
extend Lithic::Internal::Type::Union
204206

207+
# Deprecated: Use CONDITIONAL_ACTION instead.
205208
variant -> { Lithic::AuthRules::ConditionalBlockParameters }
206209

207210
variant -> { Lithic::AuthRules::VelocityLimitParams }
@@ -239,7 +242,8 @@ module State
239242
# several event streams, the effective one is defined by the separate
240243
# `event_stream` field.
241244
#
242-
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
245+
# - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
246+
# AUTHORIZATION event stream.
243247
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
244248
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
245249
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,

lib/lithic/models/auth_rules/conditional_block_parameters.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@
33
module Lithic
44
module Models
55
module AuthRules
6+
# @deprecated
67
class ConditionalBlockParameters < Lithic::Internal::Type::BaseModel
78
# @!attribute conditions
89
#
910
# @return [Array<Lithic::Models::AuthRules::AuthRuleCondition>]
1011
required :conditions, -> { Lithic::Internal::Type::ArrayOf[Lithic::AuthRules::AuthRuleCondition] }
1112

1213
# @!method initialize(conditions:)
14+
# Deprecated: Use CONDITIONAL_ACTION instead.
15+
#
1316
# @param conditions [Array<Lithic::Models::AuthRules::AuthRuleCondition>]
1417
end
1518
end

lib/lithic/models/auth_rules/v2_create_params.rb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ class V2CreateParams < Lithic::Internal::Type::BaseModel
2020
# several event streams, the effective one is defined by the separate
2121
# `event_stream` field.
2222
#
23-
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
23+
# - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
24+
# AUTHORIZATION event stream.
2425
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
2526
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
2627
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
@@ -99,6 +100,7 @@ class V2CreateParams < Lithic::Internal::Type::BaseModel
99100
module Parameters
100101
extend Lithic::Internal::Type::Union
101102

103+
# Deprecated: Use CONDITIONAL_ACTION instead.
102104
variant -> { Lithic::AuthRules::ConditionalBlockParameters }
103105

104106
variant -> { Lithic::AuthRules::VelocityLimitParams }
@@ -122,7 +124,8 @@ module Parameters
122124
# several event streams, the effective one is defined by the separate
123125
# `event_stream` field.
124126
#
125-
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
127+
# - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
128+
# AUTHORIZATION event stream.
126129
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
127130
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
128131
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,

lib/lithic/models/auth_rules/v2_draft_params.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class V2DraftParams < Lithic::Internal::Type::BaseModel
2323
module Parameters
2424
extend Lithic::Internal::Type::Union
2525

26+
# Deprecated: Use CONDITIONAL_ACTION instead.
2627
variant -> { Lithic::AuthRules::ConditionalBlockParameters }
2728

2829
variant -> { Lithic::AuthRules::VelocityLimitParams }

rbi/lithic/models/auth_rules/auth_rule.rbi

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ module Lithic
7575
# several event streams, the effective one is defined by the separate
7676
# `event_stream` field.
7777
#
78-
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
78+
# - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
79+
# AUTHORIZATION event stream.
7980
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
8081
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
8182
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
@@ -136,7 +137,8 @@ module Lithic
136137
# several event streams, the effective one is defined by the separate
137138
# `event_stream` field.
138139
#
139-
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
140+
# - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
141+
# AUTHORIZATION event stream.
140142
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
141143
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
142144
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
@@ -372,7 +374,8 @@ module Lithic
372374
# several event streams, the effective one is defined by the separate
373375
# `event_stream` field.
374376
#
375-
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
377+
# - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
378+
# AUTHORIZATION event stream.
376379
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
377380
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
378381
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,

rbi/lithic/models/auth_rules/conditional_block_parameters.rbi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ module Lithic
1515
sig { returns(T::Array[Lithic::AuthRules::AuthRuleCondition]) }
1616
attr_accessor :conditions
1717

18+
# Deprecated: Use CONDITIONAL_ACTION instead.
1819
sig do
1920
params(
2021
conditions: T::Array[Lithic::AuthRules::AuthRuleCondition::OrHash]

rbi/lithic/models/auth_rules/v2_create_params.rbi

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ module Lithic
3333
# several event streams, the effective one is defined by the separate
3434
# `event_stream` field.
3535
#
36-
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
36+
# - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
37+
# AUTHORIZATION event stream.
3738
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
3839
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
3940
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
@@ -114,7 +115,8 @@ module Lithic
114115
# several event streams, the effective one is defined by the separate
115116
# `event_stream` field.
116117
#
117-
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
118+
# - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
119+
# AUTHORIZATION event stream.
118120
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
119121
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
120122
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
@@ -197,7 +199,8 @@ module Lithic
197199
# several event streams, the effective one is defined by the separate
198200
# `event_stream` field.
199201
#
200-
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
202+
# - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
203+
# AUTHORIZATION event stream.
201204
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
202205
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
203206
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,

rbi/lithic/resources/auth_rules/v2.rbi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ module Lithic
3939
# several event streams, the effective one is defined by the separate
4040
# `event_stream` field.
4141
#
42-
# - `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
42+
# - `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
43+
# AUTHORIZATION event stream.
4344
# - `VELOCITY_LIMIT`: AUTHORIZATION event stream.
4445
# - `MERCHANT_LOCK`: AUTHORIZATION event stream.
4546
# - `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,

0 commit comments

Comments
 (0)