From 25451ad3e978daeae53904fe2d0b6eca69f9f1d2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 21 Feb 2025 15:00:16 +0000 Subject: [PATCH 1/3] chore(internal): fix devcontainers setup (#976) --- .devcontainer/Dockerfile | 2 +- .devcontainer/devcontainer.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index ac9a2e752..55d20255c 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -6,4 +6,4 @@ USER vscode RUN curl -sSf https://rye.astral.sh/get | RYE_VERSION="0.35.0" RYE_INSTALL_OPTION="--yes" bash ENV PATH=/home/vscode/.rye/shims:$PATH -RUN echo "[[ -d .venv ]] && source .venv/bin/activate" >> /home/vscode/.bashrc +RUN echo "[[ -d .venv ]] && source .venv/bin/activate || export PATH=\$PATH" >> /home/vscode/.bashrc diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index bbeb30b14..c17fdc169 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -24,6 +24,9 @@ } } } + }, + "features": { + "ghcr.io/devcontainers/features/node:1": {} } // Features to add to the dev container. More info: https://containers.dev/features. From ffd13d503079c732557dee600cd10b33406fdf2f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 22 Feb 2025 00:02:57 +0000 Subject: [PATCH 2/3] feat(api): api update (#978) --- .stats.yml | 2 +- src/increase/types/digital_wallet_token.py | 26 ++++++++++++++++++++-- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7dad937c5..d9c437e9c 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-0a850fe9e55426b331fea3fd2f61ad0e72dd5d7d2cac4c258f69bdf5b23aa42b.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-15ead2ecf5c1d979cfa951c578d25ba20f9f5c1b987d109b6eaa4e8eeda973e1.yml diff --git a/src/increase/types/digital_wallet_token.py b/src/increase/types/digital_wallet_token.py index 14aa7792c..de9fb6a49 100644 --- a/src/increase/types/digital_wallet_token.py +++ b/src/increase/types/digital_wallet_token.py @@ -1,11 +1,30 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. +from typing import List from datetime import datetime from typing_extensions import Literal from .._models import BaseModel -__all__ = ["DigitalWalletToken"] +__all__ = ["DigitalWalletToken", "Update"] + + +class Update(BaseModel): + status: Literal["active", "inactive", "suspended", "deactivated"] + """The status the update changed this Digital Wallet Token to. + + - `active` - The digital wallet token is active. + - `inactive` - The digital wallet token has been created but not successfully + activated via two-factor authentication yet. + - `suspended` - The digital wallet token has been temporarily paused. + - `deactivated` - The digital wallet token has been permanently canceled. + """ + + timestamp: datetime + """ + The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which + the update happened. + """ class DigitalWalletToken(BaseModel): @@ -18,7 +37,7 @@ class DigitalWalletToken(BaseModel): created_at: datetime """ The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which - the Card was created. + the Digital Wallet Token was created. """ status: Literal["active", "inactive", "suspended", "deactivated"] @@ -45,3 +64,6 @@ class DigitalWalletToken(BaseModel): For this resource it will always be `digital_wallet_token`. """ + + updates: List[Update] + """Updates to the Digital Wallet Token.""" From 61cd67cac9e71950db40709166994fdd50825401 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 22 Feb 2025 00:03:47 +0000 Subject: [PATCH 3/3] release: 0.194.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 13 +++++++++++++ pyproject.toml | 2 +- src/increase/_version.py | 2 +- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 544c9a9f6..a2a6d2690 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.193.0" + ".": "0.194.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 68b930420..18d124fb9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 0.194.0 (2025-02-22) + +Full Changelog: [v0.193.0...v0.194.0](https://github.com/Increase/increase-python/compare/v0.193.0...v0.194.0) + +### Features + +* **api:** api update ([#978](https://github.com/Increase/increase-python/issues/978)) ([ffd13d5](https://github.com/Increase/increase-python/commit/ffd13d503079c732557dee600cd10b33406fdf2f)) + + +### Chores + +* **internal:** fix devcontainers setup ([#976](https://github.com/Increase/increase-python/issues/976)) ([25451ad](https://github.com/Increase/increase-python/commit/25451ad3e978daeae53904fe2d0b6eca69f9f1d2)) + ## 0.193.0 (2025-02-20) Full Changelog: [v0.192.0...v0.193.0](https://github.com/Increase/increase-python/compare/v0.192.0...v0.193.0) diff --git a/pyproject.toml b/pyproject.toml index 59632c900..01188ee0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.193.0" +version = "0.194.0" description = "The official Python library for the increase API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/increase/_version.py b/src/increase/_version.py index 3606c1b0e..777ad0bd2 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.193.0" # x-release-please-version +__version__ = "0.194.0" # x-release-please-version