diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 5f7092c0..331d27f9 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.516.0" + ".": "0.517.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index f08fdee0..bf658661 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 238 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase/increase-b6168f5ea09213fe8a507a6b13ac02357a31fff02d2801be24c35f8f495142cd.yml -openapi_spec_hash: c0e12e8e60af1893509f4dea2ea2feae +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase/increase-5c918212b76dd6bed571ef056d06398afbe63b0988650107601e6e6b675696cf.yml +openapi_spec_hash: 9b0a8970709721edd2d06fd02829dd7c config_hash: ac050010e5453883d5e5fa603554a2e0 diff --git a/CHANGELOG.md b/CHANGELOG.md index c48a971a..3b28125a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.517.0 (2026-05-12) + +Full Changelog: [v0.516.0...v0.517.0](https://github.com/Increase/increase-python/compare/v0.516.0...v0.517.0) + +### Features + +* **api:** api update ([4ca03de](https://github.com/Increase/increase-python/commit/4ca03decd6d6cb7a1d7f8c7e495ea63a7e7d10ac)) + ## 0.516.0 (2026-05-11) Full Changelog: [v0.515.0...v0.516.0](https://github.com/Increase/increase-python/compare/v0.515.0...v0.516.0) diff --git a/pyproject.toml b/pyproject.toml index a928ce92..971eb566 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.516.0" +version = "0.517.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 472e2c7a..a66bb644 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.516.0" # x-release-please-version +__version__ = "0.517.0" # x-release-please-version diff --git a/src/increase/types/pending_transaction.py b/src/increase/types/pending_transaction.py index 7c68bde2..899f3b63 100644 --- a/src/increase/types/pending_transaction.py +++ b/src/increase/types/pending_transaction.py @@ -13,7 +13,7 @@ "Source", "SourceAccountTransferInstruction", "SourceACHTransferInstruction", - "SourceBlockchainOfframpTransferInstruction", + "SourceBlockchainOfframpTransfer", "SourceBlockchainOnrampTransferInstruction", "SourceCardAuthorization", "SourceCardAuthorizationAdditionalAmounts", @@ -110,31 +110,56 @@ def __getattr__(self, attr: str) -> object: ... __pydantic_extra__: Dict[str, object] -class SourceBlockchainOfframpTransferInstruction(BaseModel): - """A Blockchain Off-Ramp Transfer Instruction object. +class SourceBlockchainOfframpTransfer(BaseModel): + """A Blockchain Off-Ramp Transfer object. - This field will be present in the JSON response if and only if `category` is equal to `blockchain_offramp_transfer_instruction`. + This field will be present in the JSON response if and only if `category` is equal to `blockchain_offramp_transfer`. Blockchain Off-Ramp Transfers move funds from a Blockchain Address to an Account. They're automatically created when funds land in a Blockchain Address. """ - source_blockchain_address_id: str - """The identifier of the Blockchain Address the funds were received at.""" + id: str + """The Blockchain Off-Ramp Transfer's identifier.""" - transfer_id: str + token: Literal["usdc"] + """The token that was received. + + - `usdc` - A USD stablecoin issued by Circle. """ - The identifier of the Blockchain Off-Ramp Transfer that led to this Transaction. + + amount: int + """The transfer amount in USD cents.""" + + created_at: datetime + """ + The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which + the transfer was created. """ - 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] + destination_account_id: str + """The Account the funds were transferred into.""" - # 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] + initiating_transaction_hash: str + """ + The transaction hash of the blockchain transaction that initiated this transfer. + """ + + source_blockchain_address_id: str + """The Blockchain Address from which the transfer originated.""" + + status: Literal["pending_settlement", "settled"] + """The lifecycle status of the transfer. + + - `pending_settlement` - The transfer is pending settlement at Increase. + - `settled` - The transfer has been settled and funds have been credited. + """ + + transaction_id: Optional[str] = None + """The Transaction crediting the Account once the transfer is settled.""" + + type: Literal["blockchain_offramp_transfer"] + """A constant representing the object's type. + + For this resource it will always be `blockchain_offramp_transfer`. + """ class SourceBlockchainOnrampTransferInstruction(BaseModel): @@ -1327,7 +1352,7 @@ class Source(BaseModel): "swift_transfer_instruction", "card_push_transfer_instruction", "blockchain_onramp_transfer_instruction", - "blockchain_offramp_transfer_instruction", + "blockchain_offramp_transfer", "other", ] """The type of the resource. @@ -1365,9 +1390,8 @@ class Source(BaseModel): - `blockchain_onramp_transfer_instruction` - Blockchain On-Ramp Transfer Instruction: details will be under the `blockchain_onramp_transfer_instruction` object. - - `blockchain_offramp_transfer_instruction` - Blockchain Off-Ramp Transfer - Instruction: details will be under the - `blockchain_offramp_transfer_instruction` object. + - `blockchain_offramp_transfer` - Blockchain Off-Ramp Transfer: details will be + under the `blockchain_offramp_transfer` object. - `other` - The Pending Transaction was made for an undocumented or deprecated reason. """ @@ -1386,11 +1410,13 @@ class Source(BaseModel): equal to `ach_transfer_instruction`. """ - blockchain_offramp_transfer_instruction: Optional[SourceBlockchainOfframpTransferInstruction] = None - """A Blockchain Off-Ramp Transfer Instruction object. + blockchain_offramp_transfer: Optional[SourceBlockchainOfframpTransfer] = None + """A Blockchain Off-Ramp Transfer object. This field will be present in the JSON response if and only if `category` is - equal to `blockchain_offramp_transfer_instruction`. + equal to `blockchain_offramp_transfer`. Blockchain Off-Ramp Transfers move funds + from a Blockchain Address to an Account. They're automatically created when + funds land in a Blockchain Address. """ blockchain_onramp_transfer_instruction: Optional[SourceBlockchainOnrampTransferInstruction] = None diff --git a/src/increase/types/pending_transaction_list_params.py b/src/increase/types/pending_transaction_list_params.py index 64ffeb23..9ec97e3f 100644 --- a/src/increase/types/pending_transaction_list_params.py +++ b/src/increase/types/pending_transaction_list_params.py @@ -53,7 +53,7 @@ class PendingTransactionListParams(TypedDict, total=False): "swift_transfer_instruction", "card_push_transfer_instruction", "blockchain_onramp_transfer_instruction", - "blockchain_offramp_transfer_instruction", + "blockchain_offramp_transfer", "other", ] ],