diff --git a/.release-please-manifest.json b/.release-please-manifest.json index d6bd4944..4663cfd4 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.467.0" + ".": "0.468.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index d5a94935..3e05b57f 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 236 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-c8283ca199163ab2079f2cafac18348f54e96e9049864f39cd7e89958e80db0d.yml -openapi_spec_hash: a4f32a1c462a8ad1380f6a7a1d7b75ec +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-e3103e9bb8480e11581841c322e0bd0255b64413d401873c96cd00a3e6d6c3f7.yml +openapi_spec_hash: 962e1efe27066cf84b405a6695dd8288 config_hash: 4945e03affdf289484733306e4797f81 diff --git a/CHANGELOG.md b/CHANGELOG.md index eeeb6925..88c35a62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 0.468.0 (2026-04-02) + +Full Changelog: [v0.467.0...v0.468.0](https://github.com/Increase/increase-python/compare/v0.467.0...v0.468.0) + +### Features + +* **api:** api update ([35f06be](https://github.com/Increase/increase-python/commit/35f06be4395a9f4f3df1bae0a66d36239ecf1ea3)) + + +### Chores + +* **tests:** bump steady to v0.20.2 ([14f2eca](https://github.com/Increase/increase-python/commit/14f2eca2fc62392a386e50fe3715d70834aca185)) + ## 0.467.0 (2026-03-31) Full Changelog: [v0.466.0...v0.467.0](https://github.com/Increase/increase-python/compare/v0.466.0...v0.467.0) diff --git a/pyproject.toml b/pyproject.toml index 236edb80..071f67a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.467.0" +version = "0.468.0" description = "The official Python library for the increase API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/scripts/mock b/scripts/mock index 01313f23..1aea7aab 100755 --- a/scripts/mock +++ b/scripts/mock @@ -22,9 +22,9 @@ echo "==> Starting mock server with URL ${URL}" # Run steady mock on the given spec if [ "$1" == "--daemon" ]; then # Pre-install the package so the download doesn't eat into the startup timeout - npm exec --package=@stdy/cli@0.20.1 -- steady --version + npm exec --package=@stdy/cli@0.20.2 -- steady --version - npm exec --package=@stdy/cli@0.20.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=dots --validator-form-object-format=dots "$URL" &> .stdy.log & + npm exec --package=@stdy/cli@0.20.2 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=dots --validator-form-object-format=dots "$URL" &> .stdy.log & # Wait for server to come online via health endpoint (max 30s) echo -n "Waiting for server" @@ -48,5 +48,5 @@ if [ "$1" == "--daemon" ]; then echo else - npm exec --package=@stdy/cli@0.20.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=dots --validator-form-object-format=dots "$URL" + npm exec --package=@stdy/cli@0.20.2 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=dots --validator-form-object-format=dots "$URL" fi diff --git a/scripts/test b/scripts/test index 99cebbfe..2e29bcf8 100755 --- a/scripts/test +++ b/scripts/test @@ -43,7 +43,7 @@ elif ! steady_is_running ; then echo -e "To run the server, pass in the path or url of your OpenAPI" echo -e "spec to the steady command:" echo - echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.20.1 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=dots --validator-form-object-format=dots${NC}" + echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.20.2 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=dots --validator-form-object-format=dots${NC}" echo exit 1 diff --git a/src/increase/_version.py b/src/increase/_version.py index 8cfcf8a5..abf42cac 100644 --- a/src/increase/_version.py +++ b/src/increase/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "increase" -__version__ = "0.467.0" # x-release-please-version +__version__ = "0.468.0" # x-release-please-version diff --git a/src/increase/types/group.py b/src/increase/types/group.py index def78260..38f2fdb3 100644 --- a/src/increase/types/group.py +++ b/src/increase/types/group.py @@ -1,8 +1,11 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +from typing import TYPE_CHECKING, Dict from datetime import datetime from typing_extensions import Literal +from pydantic import Field as FieldInfo + from .._models import BaseModel __all__ = ["Group"] @@ -17,20 +20,6 @@ class Group(BaseModel): id: str """The Group identifier.""" - ach_debit_status: Literal["disabled", "enabled"] - """If the Group is allowed to create ACH debits. - - - `disabled` - The Group cannot make ACH debits. - - `enabled` - The Group can make ACH debits. - """ - - activation_status: Literal["unactivated", "activated"] - """If the Group is activated or not. - - - `unactivated` - The Group is not activated. - - `activated` - The Group is activated. - """ - created_at: datetime """ The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Group @@ -42,3 +31,15 @@ class Group(BaseModel): For this resource it will always be `group`. """ + + if TYPE_CHECKING: + # Some versions of Pydantic <2.8.0 have a bug and don’t allow assigning a + # value to this field, so for compatibility we avoid doing it at runtime. + __pydantic_extra__: Dict[str, object] = FieldInfo(init=False) # pyright: ignore[reportIncompatibleVariableOverride] + + # Stub to indicate that arbitrary properties are accepted. + # To access properties that are not valid identifiers you can use `getattr`, e.g. + # `getattr(obj, '$type')` + def __getattr__(self, attr: str) -> object: ... + else: + __pydantic_extra__: Dict[str, object]