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.45.0"
".": "4.46.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: 101
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-52bd3046e73f201c4d08edfa92756791c015be907691a7893f8e7782cc2aea6f.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-b6d60f8edbdc94e65f06b0b002cc8e1f27aceccc67917bea849425701ba82fb8.yml
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 4.46.0 (2025-01-06)

Full Changelog: [v4.45.0...v4.46.0](https://github.com/orbcorp/orb-node/compare/v4.45.0...v4.46.0)

### Features

* **api:** api update ([#441](https://github.com/orbcorp/orb-node/issues/441)) ([db71707](https://github.com/orbcorp/orb-node/commit/db7170743caf5f6e240d49ea06f91294056fb366))


### Chores

* **client:** simplify `unknown | null` to just `unknown` ([#439](https://github.com/orbcorp/orb-node/issues/439)) ([4bbebba](https://github.com/orbcorp/orb-node/commit/4bbebba1ac7b7e9b5322e8cb91479d60629938a8))

## 4.45.0 (2025-01-03)

Full Changelog: [v4.44.0...v4.45.0](https://github.com/orbcorp/orb-node/compare/v4.44.0...v4.45.0)
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.45.0",
"version": "4.46.0",
"description": "The official TypeScript library for the Orb API",
"author": "Orb <team@withorb.com>",
"types": "dist/index.d.ts",
Expand Down
14 changes: 8 additions & 6 deletions src/resources/invoices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,14 +291,15 @@ export interface Invoice {
* list is provided, the first discount in the list will be returned. If the list
* is empty, `None` will be returned.
*/
discount: unknown | null;
discount: unknown;

discounts: Array<Shared.InvoiceLevelDiscount>;

/**
* When the invoice payment is due.
* When the invoice payment is due. The due date is null if the invoice is not yet
* finalized.
*/
due_date: string;
due_date: string | null;

/**
* If the invoice has a status of `draft`, this will be the time that the invoice
Expand Down Expand Up @@ -1502,14 +1503,15 @@ export interface InvoiceFetchUpcomingResponse {
* list is provided, the first discount in the list will be returned. If the list
* is empty, `None` will be returned.
*/
discount: unknown | null;
discount: unknown;

discounts: Array<Shared.InvoiceLevelDiscount>;

/**
* When the invoice payment is due.
* When the invoice payment is due. The due date is null if the invoice is not yet
* finalized.
*/
due_date: string;
due_date: string | null;

/**
* If the invoice has a status of `draft`, this will be the time that the invoice
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.45.0'; // x-release-please-version
export const VERSION = '4.46.0'; // x-release-please-version
Loading