Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.13.0"
".": "0.14.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 232
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-46a90f99726aa861d06ec56fb73592b4dcb4499d5a765d1a10dfc9619446306f.yml
openapi_spec_hash: 8406b96c39c72de064a810c393c00554
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-cfc57f9c5bccf2918dfb5fc56fb6b6fd1eadd851f037b6873ba4e2442d5c8126.yml
openapi_spec_hash: 7e54b69798d6a1487474ed229a83c6fc
config_hash: 27e44ed36b9c5617b580ead7231a594a
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.14.0 (2026-01-30)

Full Changelog: [v0.13.0...v0.14.0](https://github.com/Increase/increase-php/compare/v0.13.0...v0.14.0)

### Features

* **api:** api update ([dff3f59](https://github.com/Increase/increase-php/commit/dff3f599bcb91a069ad5918b213654e47163cf32))

## 0.13.0 (2026-01-30)

Full Changelog: [v0.12.0...v0.13.0](https://github.com/Increase/increase-php/compare/v0.12.0...v0.13.0)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The REST API documentation can be found on [increase.com](https://increase.com/d
<!-- x-release-please-start-version -->

```
composer require "increase/increase 0.13.0"
composer require "increase/increase 0.14.0"
```

<!-- x-release-please-end -->
Expand Down
14 changes: 7 additions & 7 deletions src/Accounts/Account.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* createdAt: \DateTimeInterface,
* currency: Currency|value-of<Currency>,
* entityID: string,
* funding: null|Funding|value-of<Funding>,
* funding: Funding|value-of<Funding>,
* idempotencyKey: string|null,
* informationalEntityID: string|null,
* interestAccrued: string,
Expand Down Expand Up @@ -94,10 +94,10 @@ final class Account implements BaseModel
/**
* Whether the Account is funded by a loan or by deposits.
*
* @var value-of<Funding>|null $funding
* @var value-of<Funding> $funding
*/
#[Required(enum: Funding::class)]
public ?string $funding;
public string $funding;

/**
* The idempotency key you chose for this object. This value is unique across Increase and is used to ensure that a request is only processed once. Learn more about [idempotency](https://increase.com/documentation/idempotency-keys).
Expand Down Expand Up @@ -226,7 +226,7 @@ public function __construct()
*
* @param Bank|value-of<Bank> $bank
* @param Currency|value-of<Currency> $currency
* @param Funding|value-of<Funding>|null $funding
* @param Funding|value-of<Funding> $funding
* @param Loan|LoanShape|null $loan
* @param Status|value-of<Status> $status
* @param Type|value-of<Type> $type
Expand All @@ -239,7 +239,7 @@ public static function with(
\DateTimeInterface $createdAt,
Currency|string $currency,
string $entityID,
Funding|string|null $funding,
Funding|string $funding,
?string $idempotencyKey,
?string $informationalEntityID,
string $interestAccrued,
Expand Down Expand Up @@ -359,9 +359,9 @@ public function withEntityID(string $entityID): self
/**
* Whether the Account is funded by a loan or by deposits.
*
* @param Funding|value-of<Funding>|null $funding
* @param Funding|value-of<Funding> $funding
*/
public function withFunding(Funding|string|null $funding): self
public function withFunding(Funding|string $funding): self
{
$self = clone $this;
$self['funding'] = $funding;
Expand Down
2 changes: 1 addition & 1 deletion src/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
namespace Increase;

// x-release-please-start-version
const VERSION = '0.13.0';
const VERSION = '0.14.0';
// x-release-please-end