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 @@
{
".": "4.69.1"
".": "4.70.0"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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 <team@withorb.com>",
"types": "dist/index.d.ts",
Expand Down
10 changes: 9 additions & 1 deletion src/resources/credit-notes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '4.69.1'; // x-release-please-version
export const VERSION = '4.70.0'; // x-release-please-version
12 changes: 11 additions & 1 deletion tests/api-resources/credit-notes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});

Expand Down