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 @@
{
".": "5.13.0"
".": "5.14.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 118
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-b6ec9a6bf40b74575d917ab145b2413bc61dcd6989bb9d1aa41624bf3437599e.yml
openapi_spec_hash: 53cf9363c3bd9649e0af5f713abdcba7
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-b330498c2bfb80605f4c406e8b228c0a4ece85247b21f62f93273a00abb53d35.yml
openapi_spec_hash: 16a82d0eb23b68218d584e385bee43da
config_hash: 1f73a949b649ecfe6ec68ba1bb459dc2
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 5.14.0 (2025-10-03)

Full Changelog: [v5.13.0...v5.14.0](https://github.com/orbcorp/orb-node/compare/v5.13.0...v5.14.0)

### Features

* **api:** api update ([45622f7](https://github.com/orbcorp/orb-node/commit/45622f79fda4811f3493fe88d25bcc9960ab8020))

## 5.13.0 (2025-10-01)

Full Changelog: [v5.12.0...v5.13.0](https://github.com/orbcorp/orb-node/compare/v5.12.0...v5.13.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": "5.13.0",
"version": "5.14.0",
"description": "The official TypeScript library for the Orb API",
"author": "Orb <team@withorb.com>",
"types": "dist/index.d.ts",
Expand Down
5 changes: 0 additions & 5 deletions src/resources/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12903,11 +12903,6 @@ export interface UnitConfig {
* Rate per unit of usage
*/
unit_amount: string;

/**
* Multiplier to scale rated quantity by
*/
scaling_factor?: number | null;
}

export interface UnitConversionRateConfig {
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 = '5.13.0'; // x-release-please-version
export const VERSION = '5.14.0'; // x-release-please-version
4 changes: 2 additions & 2 deletions tests/api-resources/beta/beta.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe('resource beta', () => {
item_id: 'item_id',
model_type: 'unit',
name: 'Annual fee',
unit_config: { unit_amount: 'unit_amount', scaling_factor: 0 },
unit_config: { unit_amount: 'unit_amount' },
billable_metric_id: 'billable_metric_id',
billed_in_advance: true,
billing_cycle_configuration: { duration: 0, duration_unit: 'day' },
Expand Down Expand Up @@ -113,7 +113,7 @@ describe('resource beta', () => {
item_id: 'item_id',
model_type: 'unit',
name: 'Annual fee',
unit_config: { unit_amount: 'unit_amount', scaling_factor: 0 },
unit_config: { unit_amount: 'unit_amount' },
billable_metric_id: 'billable_metric_id',
billed_in_advance: true,
billing_cycle_configuration: { duration: 0, duration_unit: 'day' },
Expand Down
4 changes: 2 additions & 2 deletions tests/api-resources/beta/external-plan-id.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe('resource externalPlanId', () => {
item_id: 'item_id',
model_type: 'unit',
name: 'Annual fee',
unit_config: { unit_amount: 'unit_amount', scaling_factor: 0 },
unit_config: { unit_amount: 'unit_amount' },
billable_metric_id: 'billable_metric_id',
billed_in_advance: true,
billing_cycle_configuration: { duration: 0, duration_unit: 'day' },
Expand Down Expand Up @@ -113,7 +113,7 @@ describe('resource externalPlanId', () => {
item_id: 'item_id',
model_type: 'unit',
name: 'Annual fee',
unit_config: { unit_amount: 'unit_amount', scaling_factor: 0 },
unit_config: { unit_amount: 'unit_amount' },
billable_metric_id: 'billable_metric_id',
billed_in_advance: true,
billing_cycle_configuration: { duration: 0, duration_unit: 'day' },
Expand Down
2 changes: 1 addition & 1 deletion tests/api-resources/invoices.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe('resource invoices', () => {
name: 'Line Item Name',
quantity: 1,
start_date: '2023-09-22',
unit_config: { unit_amount: 'unit_amount', scaling_factor: 0 },
unit_config: { unit_amount: 'unit_amount' },
},
],
customer_id: '4khy3nwzktxv7',
Expand Down
2 changes: 1 addition & 1 deletion tests/api-resources/plans/plans.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('resource plans', () => {
item_id: 'item_id',
model_type: 'unit',
name: 'Annual fee',
unit_config: { unit_amount: 'unit_amount', scaling_factor: 0 },
unit_config: { unit_amount: 'unit_amount' },
billable_metric_id: 'billable_metric_id',
billed_in_advance: true,
billing_cycle_configuration: { duration: 0, duration_unit: 'day' },
Expand Down
6 changes: 3 additions & 3 deletions tests/api-resources/prices/prices.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('resource prices', () => {
item_id: 'item_id',
model_type: 'unit',
name: 'Annual fee',
unit_config: { unit_amount: 'unit_amount', scaling_factor: 0 },
unit_config: { unit_amount: 'unit_amount' },
billable_metric_id: 'billable_metric_id',
billed_in_advance: true,
billing_cycle_configuration: { duration: 0, duration_unit: 'day' },
Expand Down Expand Up @@ -143,7 +143,7 @@ describe('resource prices', () => {
item_id: 'item_id',
model_type: 'unit',
name: 'Annual fee',
unit_config: { unit_amount: 'unit_amount', scaling_factor: 0 },
unit_config: { unit_amount: 'unit_amount' },
billable_metric_id: 'billable_metric_id',
billed_in_advance: true,
billing_cycle_configuration: { duration: 0, duration_unit: 'day' },
Expand Down Expand Up @@ -209,7 +209,7 @@ describe('resource prices', () => {
item_id: 'item_id',
model_type: 'unit',
name: 'Annual fee',
unit_config: { unit_amount: 'unit_amount', scaling_factor: 0 },
unit_config: { unit_amount: 'unit_amount' },
billable_metric_id: 'billable_metric_id',
billed_in_advance: true,
billing_cycle_configuration: { duration: 0, duration_unit: 'day' },
Expand Down
4 changes: 2 additions & 2 deletions tests/api-resources/subscriptions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ describe('resource subscriptions', () => {
item_id: 'item_id',
model_type: 'unit',
name: 'Annual fee',
unit_config: { unit_amount: 'unit_amount', scaling_factor: 0 },
unit_config: { unit_amount: 'unit_amount' },
billable_metric_id: 'billable_metric_id',
billed_in_advance: true,
billing_cycle_configuration: { duration: 0, duration_unit: 'day' },
Expand Down Expand Up @@ -407,7 +407,7 @@ describe('resource subscriptions', () => {
item_id: 'item_id',
model_type: 'unit',
name: 'Annual fee',
unit_config: { unit_amount: 'unit_amount', scaling_factor: 0 },
unit_config: { unit_amount: 'unit_amount' },
billable_metric_id: 'billable_metric_id',
billed_in_advance: true,
billing_cycle_configuration: { duration: 0, duration_unit: 'day' },
Expand Down