Skip to content

Commit 1edecf3

Browse files
author
lithic-sdk-bot[bot]
committed
feat(api): add updated to 3DS authentications and created to backtests and challenge events
Stainless-Generated-From: d76df453f914945101f18cce0f2e70eaf145eb72
1 parent 389ce99 commit 1edecf3

4 files changed

Lines changed: 18 additions & 1 deletion

File tree

‎scripts/mock‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎src/lithic/types/auth_rules/v2/backtest_results.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ class BacktestResults(BaseModel):
2727
backtest_token: str
2828
"""Auth Rule Backtest Token"""
2929

30+
created: datetime
31+
"""Date and time when the backtest was requested"""
32+
3033
results: Results
3134

3235
simulation_parameters: SimulationParameters

‎src/lithic/types/three_ds_authentication.py‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,14 @@ class ThreeDSAuthentication(BaseModel):
588588
- `OTHER` - Other indicators not captured by above. These are rarely used
589589
"""
590590

591+
updated: datetime
592+
"""Date and time when the authentication was last updated in Lithic's system.
593+
594+
Equal to `created` until the authentication is updated (e.g. a challenge is
595+
completed). Permitted values: Date string in the ISO 8601 format
596+
yyyy-MM-dd'T'hh:mm:ssZ.
597+
"""
598+
591599
additional_data: Optional[AdditionalData] = None
592600
"""
593601
Object containing additional data about the 3DS request that is beyond the EMV

‎src/lithic/types/three_ds_authentication_challenge_webhook_event.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,10 @@ class ThreeDSAuthenticationChallengeWebhookEvent(BaseModel):
3838
challenge: Challenge
3939
"""Represents a challenge object for 3DS authentication"""
4040

41+
created: datetime
42+
"""Date and time when the challenge event was emitted.
43+
44+
Permitted values: Date string in the ISO 8601 format yyyy-MM-dd'T'hh:mm:ssZ.
45+
"""
46+
4147
event_type: Literal["three_ds_authentication.challenge"]

0 commit comments

Comments
 (0)