From 69780444d1720d3483f8f3c5838cc6865ba553d6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 10 Apr 2026 23:28:29 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 +-- src/resources/exports.ts | 54 +++++------------------------ tests/api-resources/exports.test.ts | 8 ++--- 3 files changed, 12 insertions(+), 54 deletions(-) diff --git a/.stats.yml b/.stats.yml index 238fb5aa..3a06ad51 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 241 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-16584f71f31837a98f04250e08aec539fd7eb0bf69178b0e6b24254642f6755f.yml -openapi_spec_hash: a67f1f1147858e6b2143b5215fc80e04 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-9cc37a5650ead65f77fe88834795d2e80f5f0f79e474d15030145f8303835a4f.yml +openapi_spec_hash: 68ec4be9e1dd4153a3175ad41a36352f config_hash: d48e9f65bcf642f92610034d6c43f07a diff --git a/src/resources/exports.ts b/src/resources/exports.ts index d5baccc7..d01fe65f 100644 --- a/src/resources/exports.ts +++ b/src/resources/exports.ts @@ -356,26 +356,14 @@ export namespace Export { bookkeeping_account_id: string | null; /** - * Filter balances by their created date. + * Filter balances to those on or after this date. */ - created_at: BookkeepingAccountBalanceCsv.CreatedAt | null; - } + on_or_after_date: string | null; - export namespace BookkeepingAccountBalanceCsv { /** - * Filter balances by their created date. + * Filter balances to those on or before this date. */ - export interface CreatedAt { - /** - * Filter balances created after this time. - */ - after: string | null; - - /** - * Filter balances created before this time. - */ - before: string | null; - } + on_or_before_date: string | null; } /** @@ -814,40 +802,14 @@ export namespace ExportCreateParams { bookkeeping_account_id?: string; /** - * Filter results by time range on the `created_at` attribute. + * Filter exported Balances to those on or after this date. */ - created_at?: BookkeepingAccountBalanceCsv.CreatedAt; - } + on_or_after_date?: string; - export namespace BookkeepingAccountBalanceCsv { /** - * Filter results by time range on the `created_at` attribute. + * Filter exported Balances to those on or before this date. */ - export interface CreatedAt { - /** - * Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) - * timestamp. - */ - after?: string; - - /** - * Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) - * timestamp. - */ - before?: string; - - /** - * Return results on or after this - * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp. - */ - on_or_after?: string; - - /** - * Return results on or before this - * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp. - */ - on_or_before?: string; - } + on_or_before_date?: string; } /** diff --git a/tests/api-resources/exports.test.ts b/tests/api-resources/exports.test.ts index e619961d..897eb270 100644 --- a/tests/api-resources/exports.test.ts +++ b/tests/api-resources/exports.test.ts @@ -43,12 +43,8 @@ describe('resource exports', () => { }, bookkeeping_account_balance_csv: { bookkeeping_account_id: 'bookkeeping_account_id', - created_at: { - after: '2019-12-27T18:11:19.117Z', - before: '2019-12-27T18:11:19.117Z', - on_or_after: '2019-12-27T18:11:19.117Z', - on_or_before: '2019-12-27T18:11:19.117Z', - }, + on_or_after_date: '2019-12-27', + on_or_before_date: '2019-12-27', }, daily_account_balance_csv: { account_id: 'account_id', From 47c7ddb95c9e9b6f4dcc363462826daa3311d9ff Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 10 Apr 2026 23:28:48 +0000 Subject: [PATCH 2/2] release: 0.520.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ package.json | 2 +- src/version.ts | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 60deb902..58c4d392 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.519.0" + ".": "0.520.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index a4a85d62..8db35874 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.520.0 (2026-04-10) + +Full Changelog: [v0.519.0...v0.520.0](https://github.com/Increase/increase-typescript/compare/v0.519.0...v0.520.0) + +### Features + +* **api:** api update ([6978044](https://github.com/Increase/increase-typescript/commit/69780444d1720d3483f8f3c5838cc6865ba553d6)) + ## 0.519.0 (2026-04-10) Full Changelog: [v0.518.0...v0.519.0](https://github.com/Increase/increase-typescript/compare/v0.518.0...v0.519.0) diff --git a/package.json b/package.json index 76cb0c8f..2fbb8546 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "increase", - "version": "0.519.0", + "version": "0.520.0", "description": "The official TypeScript library for the Increase API", "author": "Increase ", "types": "dist/index.d.ts", diff --git a/src/version.ts b/src/version.ts index be65ebe1..938e7794 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.519.0'; // x-release-please-version +export const VERSION = '0.520.0'; // x-release-please-version