Skip to content

Commit dc6a770

Browse files
docs: Remove CONDITIONAL_BLOCK from docs
1 parent 7af7533 commit dc6a770

6 files changed

Lines changed: 26 additions & 12 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: 184
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

src/lithic/resources/auth_rules/v2/v2.py

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ def create(
9595
several event streams, the effective one is defined by the separate
9696
`event_stream` field.
9797
98-
- `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
98+
- `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
99+
AUTHORIZATION event stream.
99100
- `VELOCITY_LIMIT`: AUTHORIZATION event stream.
100101
- `MERCHANT_LOCK`: AUTHORIZATION event stream.
101102
- `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
@@ -148,7 +149,8 @@ def create(
148149
several event streams, the effective one is defined by the separate
149150
`event_stream` field.
150151
151-
- `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
152+
- `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
153+
AUTHORIZATION event stream.
152154
- `VELOCITY_LIMIT`: AUTHORIZATION event stream.
153155
- `MERCHANT_LOCK`: AUTHORIZATION event stream.
154156
- `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
@@ -198,7 +200,8 @@ def create(
198200
several event streams, the effective one is defined by the separate
199201
`event_stream` field.
200202
201-
- `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
203+
- `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
204+
AUTHORIZATION event stream.
202205
- `VELOCITY_LIMIT`: AUTHORIZATION event stream.
203206
- `MERCHANT_LOCK`: AUTHORIZATION event stream.
204207
- `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
@@ -900,7 +903,8 @@ async def create(
900903
several event streams, the effective one is defined by the separate
901904
`event_stream` field.
902905
903-
- `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
906+
- `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
907+
AUTHORIZATION event stream.
904908
- `VELOCITY_LIMIT`: AUTHORIZATION event stream.
905909
- `MERCHANT_LOCK`: AUTHORIZATION event stream.
906910
- `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
@@ -953,7 +957,8 @@ async def create(
953957
several event streams, the effective one is defined by the separate
954958
`event_stream` field.
955959
956-
- `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
960+
- `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
961+
AUTHORIZATION event stream.
957962
- `VELOCITY_LIMIT`: AUTHORIZATION event stream.
958963
- `MERCHANT_LOCK`: AUTHORIZATION event stream.
959964
- `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
@@ -1003,7 +1008,8 @@ async def create(
10031008
several event streams, the effective one is defined by the separate
10041009
`event_stream` field.
10051010
1006-
- `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
1011+
- `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
1012+
AUTHORIZATION event stream.
10071013
- `VELOCITY_LIMIT`: AUTHORIZATION event stream.
10081014
- `MERCHANT_LOCK`: AUTHORIZATION event stream.
10091015
- `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,

src/lithic/types/auth_rules/auth_rule.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ class AuthRule(BaseModel):
101101
evaluated. For rules that can be applied to one of several event streams, the
102102
effective one is defined by the separate `event_stream` field.
103103
104-
- `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
104+
- `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
105+
AUTHORIZATION event stream.
105106
- `VELOCITY_LIMIT`: AUTHORIZATION event stream.
106107
- `MERCHANT_LOCK`: AUTHORIZATION event stream.
107108
- `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,

src/lithic/types/auth_rules/conditional_block_parameters.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@
99

1010

1111
class ConditionalBlockParameters(BaseModel):
12+
"""Deprecated: Use CONDITIONAL_ACTION instead."""
13+
1214
conditions: List[AuthRuleCondition]

src/lithic/types/auth_rules/conditional_block_parameters_param.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@
1111

1212

1313
class ConditionalBlockParametersParam(TypedDict, total=False):
14+
"""Deprecated: Use CONDITIONAL_ACTION instead."""
15+
1416
conditions: Required[Iterable[AuthRuleConditionParam]]

src/lithic/types/auth_rules/v2_create_params.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ class AccountLevelRule(TypedDict, total=False):
3737
evaluated. For rules that can be applied to one of several event streams, the
3838
effective one is defined by the separate `event_stream` field.
3939
40-
- `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
40+
- `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
41+
AUTHORIZATION event stream.
4142
- `VELOCITY_LIMIT`: AUTHORIZATION event stream.
4243
- `MERCHANT_LOCK`: AUTHORIZATION event stream.
4344
- `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
@@ -82,7 +83,8 @@ class CardLevelRule(TypedDict, total=False):
8283
evaluated. For rules that can be applied to one of several event streams, the
8384
effective one is defined by the separate `event_stream` field.
8485
85-
- `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
86+
- `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
87+
AUTHORIZATION event stream.
8688
- `VELOCITY_LIMIT`: AUTHORIZATION event stream.
8789
- `MERCHANT_LOCK`: AUTHORIZATION event stream.
8890
- `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,
@@ -121,7 +123,8 @@ class ProgramLevelRule(TypedDict, total=False):
121123
evaluated. For rules that can be applied to one of several event streams, the
122124
effective one is defined by the separate `event_stream` field.
123125
124-
- `CONDITIONAL_BLOCK`: AUTHORIZATION event stream.
126+
- `CONDITIONAL_BLOCK`: Deprecated. Use `CONDITIONAL_ACTION` instead.
127+
AUTHORIZATION event stream.
125128
- `VELOCITY_LIMIT`: AUTHORIZATION event stream.
126129
- `MERCHANT_LOCK`: AUTHORIZATION event stream.
127130
- `CONDITIONAL_ACTION`: AUTHORIZATION, THREE_DS_AUTHENTICATION, TOKENIZATION,

0 commit comments

Comments
 (0)