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.38.0"
".": "5.39.0"
}
6 changes: 3 additions & 3 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-03af7f658aed245cf7e230055de59fe92a78880f3719bf254ed9352bf89bad5e.yml
openapi_spec_hash: c4703d217c25e8c02c248caed9e2d3be
config_hash: 895e36fb2d717958770fd4cf883f4b74
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-a5a28a58483355d3cc3da7ac5c452d548ee17183324318198052968121ca7dba.yml
openapi_spec_hash: a317931a99e6d4a122919135a0363e40
config_hash: 05c94c0e6dbeab2c9b554c2e0d6371a0
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## 5.39.0 (2026-01-06)

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

### Features

* **api:** api update ([82dad40](https://github.com/orbcorp/orb-node/commit/82dad40663113e17ba2eef5252c839c693032513))


### Chores

* break long lines in snippets into multiline ([f544ccc](https://github.com/orbcorp/orb-node/commit/f544ccc9e88c4bd7c06c2e50a1c7e8c27af569d2))
* **internal:** codegen related update ([e6d2b66](https://github.com/orbcorp/orb-node/commit/e6d2b66cbc140104f926886d8442ddb97597ce38))

## 5.38.0 (2025-12-06)

Full Changelog: [v5.37.2...v5.38.0](https://github.com/orbcorp/orb-node/compare/v5.37.2...v5.38.0)
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2025 Orb
Copyright 2026 Orb

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ const client = new Orb({
apiKey: process.env['ORB_API_KEY'], // This is the default and can be omitted
});

const params: Orb.CustomerCreateParams = { email: '[email protected]', name: 'My Customer' };
const params: Orb.CustomerCreateParams = {
email: '[email protected]',
name: 'My Customer',
};
const customer: Orb.Customer = await client.customers.create(params);
```

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.38.0",
"version": "5.39.0",
"description": "The official TypeScript library for the Orb API",
"author": "Orb <[email protected]>",
"types": "dist/index.d.ts",
Expand Down
92 changes: 1 addition & 91 deletions src/resources/prices/prices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1016,9 +1016,6 @@ export declare namespace PriceCreateParams {
* Configuration for a single threshold
*/
export interface ConsumptionTable {
/**
* Quantity threshold
*/
threshold: string;

/**
Expand Down Expand Up @@ -1128,9 +1125,6 @@ export declare namespace PriceCreateParams {
* Configuration for tiered_package pricing
*/
export interface TieredPackageConfig {
/**
* Package size
*/
package_size: string;

/**
Expand All @@ -1152,9 +1146,6 @@ export declare namespace PriceCreateParams {
*/
per_unit: string;

/**
* Tier lower bound
*/
tier_lower_bound: string;
}
}
Expand Down Expand Up @@ -1281,14 +1272,8 @@ export declare namespace PriceCreateParams {
* Configuration for a single tier
*/
export interface Tier {
/**
* Minimum amount
*/
minimum_amount: string;

/**
* Tier lower bound
*/
tier_lower_bound: string;

/**
Expand Down Expand Up @@ -1415,9 +1400,6 @@ export declare namespace PriceCreateParams {
* Configuration for a single tier
*/
export interface Tier {
/**
* Tier lower bound
*/
tier_lower_bound: string;

/**
Expand Down Expand Up @@ -1527,9 +1509,6 @@ export declare namespace PriceCreateParams {
* Configuration for tiered_package_with_minimum pricing
*/
export interface TieredPackageWithMinimumConfig {
/**
* Package size
*/
package_size: number;

/**
Expand All @@ -1544,19 +1523,10 @@ export declare namespace PriceCreateParams {
* Configuration for a single tier
*/
export interface Tier {
/**
* Minimum amount
*/
minimum_amount: string;

/**
* Price per package
*/
per_unit: string;

/**
* Tier lower bound
*/
tier_lower_bound: string;
}
}
Expand Down Expand Up @@ -1661,19 +1631,10 @@ export declare namespace PriceCreateParams {
* Configuration for package_with_allocation pricing
*/
export interface PackageWithAllocationConfig {
/**
* Usage allocation
*/
allocation: string;

/**
* Price per package
*/
package_amount: string;

/**
* Package size
*/
package_size: string;
}
}
Expand Down Expand Up @@ -2605,24 +2566,15 @@ export declare namespace PriceCreateParams {
* Configuration for a scaling factor
*/
export interface ScalingFactor {
/**
* Scaling factor
*/
scaling_factor: string;

/**
* Scaling value
*/
scaling_value: string;
}

/**
* Configuration for a unit amount
*/
export interface UnitAmount {
/**
* Pricing value
*/
pricing_value: string;

/**
Expand Down Expand Up @@ -2991,9 +2943,6 @@ export declare namespace PriceCreateParams {
*/
grouping_key: string;

/**
* Package size
*/
package_size: string;

/**
Expand All @@ -3009,13 +2958,10 @@ export declare namespace PriceCreateParams {
*/
export interface Tier {
/**
* Price per package
* Per package
*/
per_unit: string;

/**
* Tier lower bound
*/
tier_lower_bound: string;
}
}
Expand Down Expand Up @@ -3125,9 +3071,6 @@ export declare namespace PriceCreateParams {
*/
grouping_key: string;

/**
* Package size
*/
package_size: string;

/**
Expand All @@ -3141,9 +3084,6 @@ export declare namespace PriceCreateParams {
* Configuration for a single tier
*/
export interface Tier {
/**
* Tier lower bound
*/
tier_lower_bound: string;

/**
Expand Down Expand Up @@ -3284,19 +3224,10 @@ export declare namespace PriceCreateParams {
* Configuration for a single matrix scaling factor
*/
export interface MatrixScalingFactor {
/**
* First dimension value
*/
first_dimension_value: string;

/**
* Scaling factor
*/
scaling_factor: string;

/**
* Second dimension value (optional)
*/
second_dimension_value?: string | null;
}
}
Expand Down Expand Up @@ -3411,9 +3342,6 @@ export declare namespace PriceCreateParams {
*/
matrix_scaling_factors: Array<ScalableMatrixWithTieredPricingConfig.MatrixScalingFactor>;

/**
* Tier pricing structure
*/
tiers: Array<ScalableMatrixWithTieredPricingConfig.Tier>;

/**
Expand All @@ -3427,34 +3355,19 @@ export declare namespace PriceCreateParams {
* Configuration for a single matrix scaling factor
*/
export interface MatrixScalingFactor {
/**
* First dimension value
*/
first_dimension_value: string;

/**
* Scaling factor
*/
scaling_factor: string;

/**
* Second dimension value (optional)
*/
second_dimension_value?: string | null;
}

/**
* Configuration for a single tier entry with business logic
*/
export interface Tier {
/**
* Tier lower bound
*/
tier_lower_bound: string;

/**
* Per unit amount
*/
unit_amount: string;
}
}
Expand Down Expand Up @@ -3564,9 +3477,6 @@ export declare namespace PriceCreateParams {
*/
dimension_values: Array<CumulativeGroupedBulkConfig.DimensionValue>;

/**
* Grouping key name
*/
group: string;
}

Expand Down
Loading