diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40293964f..c8a8a4f72 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,6 @@ jobs: lint: name: lint runs-on: ubuntu-latest - steps: - uses: actions/checkout@v4 @@ -30,6 +29,7 @@ jobs: - name: Run lints run: ./scripts/lint + test: name: test runs-on: ubuntu-latest @@ -50,4 +50,3 @@ jobs: - name: Run tests run: ./scripts/test - diff --git a/.release-please-manifest.json b/.release-please-manifest.json index ab928dd0c..2bfc13c14 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.178.0" + ".": "0.179.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 5eac66deb..e2f616532 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 201 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-03ecb68309b2d2429b7c74b155e110f4d992425d54067160881ecc1d1aa1551e.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-936415a7c13aa6a9b75c94e06d628346ea373e89a34c5f4281dbfd68a5114b3c.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e7ec7541..ce5623195 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 0.179.0 (2025-01-27) + +Full Changelog: [v0.178.0...v0.179.0](https://github.com/Increase/increase-python/compare/v0.178.0...v0.179.0) + +### Features + +* **api:** api update ([#924](https://github.com/Increase/increase-python/issues/924)) ([6f7f95e](https://github.com/Increase/increase-python/commit/6f7f95e14a81eecd391db6cb8f24db5961e98ce9)) + + +### Chores + +* **internal:** minor formatting changes ([#922](https://github.com/Increase/increase-python/issues/922)) ([36c27fd](https://github.com/Increase/increase-python/commit/36c27fd1eaba8230c703f98f3c8b619ea5ce1b31)) + ## 0.178.0 (2025-01-21) Full Changelog: [v0.177.1...v0.178.0](https://github.com/Increase/increase-python/compare/v0.177.1...v0.178.0) diff --git a/pyproject.toml b/pyproject.toml index 77922d9c3..00d5e221b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.178.0" +version = "0.179.0" description = "The official Python library for the increase API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/scripts/bootstrap b/scripts/bootstrap index 8c5c60eba..e84fe62c3 100755 --- a/scripts/bootstrap +++ b/scripts/bootstrap @@ -4,7 +4,7 @@ set -e cd "$(dirname "$0")/.." -if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ]; then +if ! command -v rye >/dev/null 2>&1 && [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ]; then brew bundle check >/dev/null 2>&1 || { echo "==> Installing Homebrew dependencies…" brew bundle diff --git a/scripts/lint b/scripts/lint index a36d33cc6..76686137c 100755 --- a/scripts/lint +++ b/scripts/lint @@ -9,4 +9,3 @@ rye run lint echo "==> Making sure it imports" rye run python -c 'import increase' - diff --git a/src/increase/_version.py b/src/increase/_version.py index a78d6c9f0..10890a0f6 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.178.0" # x-release-please-version +__version__ = "0.179.0" # x-release-please-version diff --git a/src/increase/types/document.py b/src/increase/types/document.py index de09b640b..fac32ff1f 100644 --- a/src/increase/types/document.py +++ b/src/increase/types/document.py @@ -13,10 +13,11 @@ class Document(BaseModel): id: str """The Document identifier.""" - category: Literal["form_1099_int", "proof_of_authorization", "company_information"] + category: Literal["form_1099_int", "form_1099_misc", "proof_of_authorization", "company_information"] """The type of document. - `form_1099_int` - Internal Revenue Service Form 1099-INT. + - `form_1099_misc` - Internal Revenue Service Form 1099-MISC. - `proof_of_authorization` - A document submitted in response to a proof of authorization request for an ACH transfer. - `company_information` - Company information, such a policies or procedures, diff --git a/src/increase/types/document_list_params.py b/src/increase/types/document_list_params.py index 28b6507cb..aca78e270 100644 --- a/src/increase/types/document_list_params.py +++ b/src/increase/types/document_list_params.py @@ -32,7 +32,7 @@ class DocumentListParams(TypedDict, total=False): _CategoryReservedKeywords = TypedDict( "_CategoryReservedKeywords", { - "in": List[Literal["form_1099_int", "proof_of_authorization", "company_information"]], + "in": List[Literal["form_1099_int", "form_1099_misc", "proof_of_authorization", "company_information"]], }, total=False, ) diff --git a/src/increase/types/file.py b/src/increase/types/file.py index cb9079d4e..f863e0ec5 100644 --- a/src/increase/types/file.py +++ b/src/increase/types/file.py @@ -56,6 +56,7 @@ class File(BaseModel): "check_attachment_image", "inbound_mail_item", "form_1099_int", + "form_1099_misc", "form_ss_4", "identity_document", "increase_statement", @@ -91,6 +92,7 @@ class File(BaseModel): mailed with a check that you've requested Increase print. - `inbound_mail_item` - A scanned mail item sent to Increase. - `form_1099_int` - IRS Form 1099-INT. + - `form_1099_misc` - IRS Form 1099-MISC. - `form_ss_4` - IRS Form SS-4. - `identity_document` - An image of a government-issued ID. - `increase_statement` - A statement generated by Increase. diff --git a/src/increase/types/file_list_params.py b/src/increase/types/file_list_params.py index a6ca7ce80..84f353c65 100644 --- a/src/increase/types/file_list_params.py +++ b/src/increase/types/file_list_params.py @@ -74,6 +74,7 @@ class CreatedAt(TypedDict, total=False): "check_attachment_image", "inbound_mail_item", "form_1099_int", + "form_1099_misc", "form_ss_4", "identity_document", "increase_statement",