diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 9648891c..a579a434 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.98.2" + ".": "0.99.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index fe0a0d51..1e54f59b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 166 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-23922ce40b48fe48252246fb770033946ae5e49e73d90b30eb3415d9812e5947.yml -openapi_spec_hash: b2dd7289d19829df73b2d596576549f7 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-54e6f7955e86265bc870eaae7f4a9cd716292457a83e032567f22bbb9ce6ad0d.yml +openapi_spec_hash: 6adbff5e5aeda88504047fc2c87e3fa0 config_hash: e9a46eb8acb9dc2c236f3e1958a1c4dd diff --git a/CHANGELOG.md b/CHANGELOG.md index 07ea77c9..3b9575ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.99.0 (2025-07-23) + +Full Changelog: [v0.98.2...v0.99.0](https://github.com/lithic-com/lithic-python/compare/v0.98.2...v0.99.0) + +### Features + +* **api:** adds new Auth Rules Scope and Settlement Details type ([b791cfd](https://github.com/lithic-com/lithic-python/commit/b791cfd30d03d104b7b4c5a0cafd15763c7f6cd0)) + ## 0.98.2 (2025-07-22) Full Changelog: [v0.98.1...v0.98.2](https://github.com/lithic-com/lithic-python/compare/v0.98.1...v0.98.2) diff --git a/pyproject.toml b/pyproject.toml index d54a0162..2a0ef691 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "lithic" -version = "0.98.2" +version = "0.99.0" description = "The official Python library for the lithic API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/lithic/_version.py b/src/lithic/_version.py index 9683103e..379ad9d6 100644 --- a/src/lithic/_version.py +++ b/src/lithic/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "lithic" -__version__ = "0.98.2" # x-release-please-version +__version__ = "0.99.0" # x-release-please-version diff --git a/src/lithic/resources/auth_rules/v2/v2.py b/src/lithic/resources/auth_rules/v2/v2.py index 3d3f89cc..c20e3eca 100644 --- a/src/lithic/resources/auth_rules/v2/v2.py +++ b/src/lithic/resources/auth_rules/v2/v2.py @@ -455,7 +455,7 @@ def list( ending_before: str | NotGiven = NOT_GIVEN, event_stream: Literal["AUTHORIZATION", "THREE_DS_AUTHENTICATION"] | NotGiven = NOT_GIVEN, page_size: int | NotGiven = NOT_GIVEN, - scope: Literal["PROGRAM", "ACCOUNT", "CARD"] | NotGiven = NOT_GIVEN, + scope: Literal["PROGRAM", "ACCOUNT", "CARD", "ANY"] | NotGiven = NOT_GIVEN, starting_after: str | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -1317,7 +1317,7 @@ def list( ending_before: str | NotGiven = NOT_GIVEN, event_stream: Literal["AUTHORIZATION", "THREE_DS_AUTHENTICATION"] | NotGiven = NOT_GIVEN, page_size: int | NotGiven = NOT_GIVEN, - scope: Literal["PROGRAM", "ACCOUNT", "CARD"] | NotGiven = NOT_GIVEN, + scope: Literal["PROGRAM", "ACCOUNT", "CARD", "ANY"] | NotGiven = NOT_GIVEN, starting_after: str | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. diff --git a/src/lithic/types/auth_rules/v2_list_params.py b/src/lithic/types/auth_rules/v2_list_params.py index 4b908752..bce8a93f 100644 --- a/src/lithic/types/auth_rules/v2_list_params.py +++ b/src/lithic/types/auth_rules/v2_list_params.py @@ -26,7 +26,7 @@ class V2ListParams(TypedDict, total=False): page_size: int """Page size (for pagination).""" - scope: Literal["PROGRAM", "ACCOUNT", "CARD"] + scope: Literal["PROGRAM", "ACCOUNT", "CARD", "ANY"] """Only return Auth Rules that are bound to the provided scope.""" starting_after: str diff --git a/src/lithic/types/settlement_detail.py b/src/lithic/types/settlement_detail.py index aa661374..dc32694d 100644 --- a/src/lithic/types/settlement_detail.py +++ b/src/lithic/types/settlement_detail.py @@ -96,6 +96,7 @@ class SettlementDetail(BaseModel): "ARBITRATION", "CHARGEBACK", "CLEARING", + "COLLABORATION", "FEE", "FINANCIAL", "NON-FINANCIAL",