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.63.0"
".": "4.64.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-d4f03b16daf0bae33be634c959dafb0e21b0bcb156beb162f8235394dca88e7c.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-c8fc7d0bf70bf7ed91a141f346a02929e4d25a6fac7b59f58b68136ed6ff024f.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.64.0 (2025-03-01)

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

### Features

* **api:** api update ([#533](https://github.com/orbcorp/orb-node/issues/533)) ([959df50](https://github.com/orbcorp/orb-node/commit/959df50e4232f4095acbdfec70250d8403c4c5ab))


### Documentation

* update URLs from stainlessapi.com to stainless.com ([#531](https://github.com/orbcorp/orb-node/issues/531)) ([cd91aa6](https://github.com/orbcorp/orb-node/commit/cd91aa6659dc4786ad1dd57ce41a0d7341084acf))

## 4.63.0 (2025-02-27)

Full Changelog: [v4.62.0...v4.63.0](https://github.com/orbcorp/orb-node/compare/v4.62.0...v4.63.0)
Expand Down
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

## Reporting Security Issues

This SDK is generated by [Stainless Software Inc](http://stainlessapi.com). Stainless takes security seriously, and encourages you to report any security vulnerability promptly so that appropriate action can be taken.
This SDK is generated by [Stainless Software Inc](http://stainless.com). Stainless takes security seriously, and encourages you to report any security vulnerability promptly so that appropriate action can be taken.

To report a security issue, please contact the Stainless team at security@stainlessapi.com.
To report a security issue, please contact the Stainless team at security@stainless.com.

## Responsible Disclosure

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.63.0",
"version": "4.64.0",
"description": "The official TypeScript library for the Orb API",
"author": "Orb <team@withorb.com>",
"types": "dist/index.d.ts",
Expand Down
10 changes: 10 additions & 0 deletions src/resources/invoice-line-items.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ export interface InvoiceLineItemCreateResponse {
*/
end_date: string;

/**
* An additional filter that was used to calculate the usage for this line item.
*/
filter: string | null;

/**
* [DEPRECATED] For configured prices that are split by a grouping key, this will
* be populated with the key and a value. The `amount` and `subtotal` will be the
Expand Down Expand Up @@ -140,6 +145,11 @@ export interface InvoiceLineItemCreateResponse {
* integration is configured.
*/
tax_amounts: Array<InvoiceLineItemCreateResponse.TaxAmount>;

/**
* A list of customer ids that were used to calculate the usage for this line item.
*/
usage_customer_ids: Array<string> | null;
}

export namespace InvoiceLineItemCreateResponse {
Expand Down
20 changes: 20 additions & 0 deletions src/resources/invoices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,11 @@ export namespace Invoice {
*/
end_date: string;

/**
* An additional filter that was used to calculate the usage for this line item.
*/
filter: string | null;

/**
* [DEPRECATED] For configured prices that are split by a grouping key, this will
* be populated with the key and a value. The `amount` and `subtotal` will be the
Expand Down Expand Up @@ -963,6 +968,11 @@ export namespace Invoice {
* integration is configured.
*/
tax_amounts: Array<LineItem.TaxAmount>;

/**
* A list of customer ids that were used to calculate the usage for this line item.
*/
usage_customer_ids: Array<string> | null;
}

export namespace LineItem {
Expand Down Expand Up @@ -2097,6 +2107,11 @@ export namespace InvoiceFetchUpcomingResponse {
*/
end_date: string;

/**
* An additional filter that was used to calculate the usage for this line item.
*/
filter: string | null;

/**
* [DEPRECATED] For configured prices that are split by a grouping key, this will
* be populated with the key and a value. The `amount` and `subtotal` will be the
Expand Down Expand Up @@ -2174,6 +2189,11 @@ export namespace InvoiceFetchUpcomingResponse {
* integration is configured.
*/
tax_amounts: Array<LineItem.TaxAmount>;

/**
* A list of customer ids that were used to calculate the usage for this line item.
*/
usage_customer_ids: Array<string> | null;
}

export namespace LineItem {
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.63.0'; // x-release-please-version
export const VERSION = '4.64.0'; // x-release-please-version
4 changes: 2 additions & 2 deletions tests/api-resources/customers/customers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const client = new Orb({

describe('resource customers', () => {
test('create: only required params', async () => {
const responsePromise = client.customers.create({ email: 'dev@stainlessapi.com', name: 'x' });
const responsePromise = client.customers.create({ email: 'dev@stainless.com', name: 'x' });
const rawResponse = await responsePromise.asResponse();
expect(rawResponse).toBeInstanceOf(Response);
const response = await responsePromise;
Expand All @@ -22,7 +22,7 @@ describe('resource customers', () => {

test('create: required and optional params', async () => {
const response = await client.customers.create({
email: 'dev@stainlessapi.com',
email: 'dev@stainless.com',
name: 'x',
accounting_sync_configuration: {
accounting_providers: [
Expand Down