From f8c8298bbcc261bc62b0ccfef37e7174a6221cfe Mon Sep 17 00:00:00 2001 From: Stainless Bot <107565488+stainless-bot@users.noreply.github.com> Date: Mon, 3 Jul 2023 16:08:06 +0100 Subject: [PATCH 1/2] chore(internal): update lockfile (#67) --- poetry.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poetry.lock b/poetry.lock index 30ce8298..798b127c 100644 --- a/poetry.lock +++ b/poetry.lock @@ -771,4 +771,4 @@ testing = ["flake8 (<5)", "func-timeout", "jaraco.functools", "jaraco.itertools" [metadata] lock-version = "2.0" python-versions = "^3.7" -content-hash = "4ce84257213d90a143b7c7ff00d2a1b67883494288599c6b4afe230c9ac15132" +content-hash = "cab46dc3be2a1bc422f10fb0046e47c31006fbcf9a0830168b236c5ab92a3c0d" From 27cb7950252006eb2044582462e71890838e837a Mon Sep 17 00:00:00 2001 From: Stainless Bot <107565488+stainless-bot@users.noreply.github.com> Date: Wed, 5 Jul 2023 12:44:30 +0100 Subject: [PATCH 2/2] refactor(api)!: remove previous_auth_rule_tokens from auth rules (#69) # Migration Any references to the `previous_auth_rule_tokens` property will need to be removed. --- src/lithic/types/auth_rule.py | 7 ------- src/lithic/types/auth_rule_remove_response.py | 2 -- 2 files changed, 9 deletions(-) diff --git a/src/lithic/types/auth_rule.py b/src/lithic/types/auth_rule.py index 9b0866e5..d1f62ad5 100644 --- a/src/lithic/types/auth_rule.py +++ b/src/lithic/types/auth_rule.py @@ -47,13 +47,6 @@ class AuthRule(BaseModel): Rule. """ - previous_auth_rule_tokens: Optional[List[str]] - """ - Identifier for the Auth Rule(s) that a new Auth Rule replaced; will be returned - only if an Auth Rule is applied to entities that previously already had one - applied. - """ - program_level: Optional[bool] """Boolean indicating whether the Auth Rule is applied at the program level.""" diff --git a/src/lithic/types/auth_rule_remove_response.py b/src/lithic/types/auth_rule_remove_response.py index 8275b3e3..ef5328f8 100644 --- a/src/lithic/types/auth_rule_remove_response.py +++ b/src/lithic/types/auth_rule_remove_response.py @@ -12,6 +12,4 @@ class AuthRuleRemoveResponse(BaseModel): card_tokens: Optional[List[str]] - previous_auth_rule_tokens: Optional[List[str]] - program_level: Optional[bool]