diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 00b8ba62..d07bcaba 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.69.1" + ".": "4.70.0" } diff --git a/.stats.yml b/.stats.yml index c9a15c8a..85c391c8 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 103 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-e3aeba4569f0d304b27804cc2cdd9888f3f58628fe426e206ab49e164e5417bd.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-aeb94d91af916dbff0132ee7c4501df9223609b19fef0398a1a495e7a432ee36.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index e4006f0e..f50d9829 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 4.70.0 (2025-03-14) + +Full Changelog: [v4.69.1...v4.70.0](https://github.com/orbcorp/orb-node/compare/v4.69.1...v4.70.0) + +### Features + +* **api:** api update ([#564](https://github.com/orbcorp/orb-node/issues/564)) ([d55019c](https://github.com/orbcorp/orb-node/commit/d55019cec211897594bda2f0789e9b50313321ef)) + ## 4.69.1 (2025-03-13) Full Changelog: [v4.69.0...v4.69.1](https://github.com/orbcorp/orb-node/compare/v4.69.0...v4.69.1) diff --git a/package.json b/package.json index c7270001..816e8641 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "orb-billing", - "version": "4.69.1", + "version": "4.70.0", "description": "The official TypeScript library for the Orb API", "author": "Orb ", "types": "dist/index.d.ts", diff --git a/src/resources/credit-notes.ts b/src/resources/credit-notes.ts index 9158303a..8a583e76 100644 --- a/src/resources/credit-notes.ts +++ b/src/resources/credit-notes.ts @@ -278,7 +278,15 @@ export namespace CreditNoteCreateParams { } } -export interface CreditNoteListParams extends PageParams {} +export interface CreditNoteListParams extends PageParams { + 'created_at[gt]'?: string | null; + + 'created_at[gte]'?: string | null; + + 'created_at[lt]'?: string | null; + + 'created_at[lte]'?: string | null; +} CreditNotes.CreditNotesPage = CreditNotesPage; diff --git a/src/version.ts b/src/version.ts index 9ae64b80..f298c56c 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '4.69.1'; // x-release-please-version +export const VERSION = '4.70.0'; // x-release-please-version diff --git a/tests/api-resources/credit-notes.test.ts b/tests/api-resources/credit-notes.test.ts index 307be46e..af78fd97 100644 --- a/tests/api-resources/credit-notes.test.ts +++ b/tests/api-resources/credit-notes.test.ts @@ -51,7 +51,17 @@ describe('resource creditNotes', () => { test('list: request options and params are passed correctly', async () => { // ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error await expect( - client.creditNotes.list({ cursor: 'cursor', limit: 1 }, { path: '/_stainless_unknown_path' }), + client.creditNotes.list( + { + 'created_at[gt]': '2019-12-27T18:11:19.117Z', + 'created_at[gte]': '2019-12-27T18:11:19.117Z', + 'created_at[lt]': '2019-12-27T18:11:19.117Z', + 'created_at[lte]': '2019-12-27T18:11:19.117Z', + cursor: 'cursor', + limit: 1, + }, + { path: '/_stainless_unknown_path' }, + ), ).rejects.toThrow(Orb.NotFoundError); });