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.6.0"
".": "5.7.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-6b2550b95f82872b3825619c109352352b9c92281c8b2470fce158e971142881.yml
openapi_spec_hash: 379df18de1af6a9d0b50d3653aab4d44
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-d63c8075b48441663736b457f8ad859c58cc3e31dfbffb68db44c3f00562012c.yml
openapi_spec_hash: c47dbff685a0a449bfc1ad729c13a72e
config_hash: 1f73a949b649ecfe6ec68ba1bb459dc2
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Changelog

## 5.7.0 (2025-09-08)

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

### Features

* **api:** api update ([513da97](https://github.com/orbcorp/orb-node/commit/513da97a394b525f2acee167a1d4a175159f13ef))
* **api:** api update ([54b6144](https://github.com/orbcorp/orb-node/commit/54b61445b4098187c1becfe55b2fd770384406a5))


### Bug Fixes

* coerce nullable values to undefined ([2cfbbe0](https://github.com/orbcorp/orb-node/commit/2cfbbe032b77b2108c1d76b5f0d2bb6b1a57e9c6))


### Chores

* ci build action ([8ecd057](https://github.com/orbcorp/orb-node/commit/8ecd05725660beac4c985e301085e675895eb20d))

## 5.6.0 (2025-09-03)

Full Changelog: [v5.5.1...v5.6.0](https://github.com/orbcorp/orb-node/compare/v5.5.1...v5.6.0)
Expand Down
3 changes: 0 additions & 3 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ Types:
- <code><a href="./src/resources/shared.ts">NewPlanScalableMatrixWithTieredPricingPrice</a></code>
- <code><a href="./src/resources/shared.ts">NewPlanScalableMatrixWithUnitPricingPrice</a></code>
- <code><a href="./src/resources/shared.ts">NewPlanThresholdTotalAmountPrice</a></code>
- <code><a href="./src/resources/shared.ts">NewPlanTierWithProrationPrice</a></code>
- <code><a href="./src/resources/shared.ts">NewPlanTieredPackagePrice</a></code>
- <code><a href="./src/resources/shared.ts">NewPlanTieredPackageWithMinimumPrice</a></code>
- <code><a href="./src/resources/shared.ts">NewPlanTieredPrice</a></code>
Expand Down Expand Up @@ -125,7 +124,6 @@ Types:
- <code><a href="./src/resources/shared.ts">SubscriptionTrialInfo</a></code>
- <code><a href="./src/resources/shared.ts">TaxAmount</a></code>
- <code><a href="./src/resources/shared.ts">Tier</a></code>
- <code><a href="./src/resources/shared.ts">TierConfig</a></code>
- <code><a href="./src/resources/shared.ts">TierSubLineItem</a></code>
- <code><a href="./src/resources/shared.ts">TieredConfig</a></code>
- <code><a href="./src/resources/shared.ts">TieredConversionRateConfig</a></code>
Expand Down Expand Up @@ -467,7 +465,6 @@ Types:
- <code><a href="./src/resources/subscriptions.ts">NewSubscriptionScalableMatrixWithTieredPricingPrice</a></code>
- <code><a href="./src/resources/subscriptions.ts">NewSubscriptionScalableMatrixWithUnitPricingPrice</a></code>
- <code><a href="./src/resources/subscriptions.ts">NewSubscriptionThresholdTotalAmountPrice</a></code>
- <code><a href="./src/resources/subscriptions.ts">NewSubscriptionTierWithProrationPrice</a></code>
- <code><a href="./src/resources/subscriptions.ts">NewSubscriptionTieredPackagePrice</a></code>
- <code><a href="./src/resources/subscriptions.ts">NewSubscriptionTieredPackageWithMinimumPrice</a></code>
- <code><a href="./src/resources/subscriptions.ts">NewSubscriptionTieredPrice</a></code>
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.6.0",
"version": "5.7.0",
"description": "The official TypeScript library for the Orb API",
"author": "Orb <team@withorb.com>",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion scripts/utils/upload-artifact.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [[ "$SIGNED_URL" == "null" ]]; then
exit 1
fi

UPLOAD_RESPONSE=$(tar -cz "${BUILD_PATH:-dist}" | curl -v -X PUT \
UPLOAD_RESPONSE=$(tar "${BASE_PATH:+-C$BASE_PATH}" -cz "${ARTIFACT_PATH:-dist}" | curl -v -X PUT \
-H "Content-Type: application/gzip" \
--data-binary @- "$SIGNED_URL" 2>&1)

Expand Down
6 changes: 3 additions & 3 deletions src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1087,21 +1087,21 @@ export const coerceBoolean = (value: unknown): boolean => {
};

export const maybeCoerceInteger = (value: unknown): number | undefined => {
if (value === undefined) {
if (value == null) {
return undefined;
}
return coerceInteger(value);
};

export const maybeCoerceFloat = (value: unknown): number | undefined => {
if (value === undefined) {
if (value == null) {
return undefined;
}
return coerceFloat(value);
};

export const maybeCoerceBoolean = (value: unknown): boolean | undefined => {
if (value === undefined) {
if (value == null) {
return undefined;
}
return coerceBoolean(value);
Expand Down
4 changes: 0 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ import {
NewSubscriptionScalableMatrixWithTieredPricingPrice,
NewSubscriptionScalableMatrixWithUnitPricingPrice,
NewSubscriptionThresholdTotalAmountPrice,
NewSubscriptionTierWithProrationPrice,
NewSubscriptionTieredPackagePrice,
NewSubscriptionTieredPackageWithMinimumPrice,
NewSubscriptionTieredPrice,
Expand Down Expand Up @@ -549,7 +548,6 @@ export declare namespace Orb {
type NewSubscriptionScalableMatrixWithTieredPricingPrice as NewSubscriptionScalableMatrixWithTieredPricingPrice,
type NewSubscriptionScalableMatrixWithUnitPricingPrice as NewSubscriptionScalableMatrixWithUnitPricingPrice,
type NewSubscriptionThresholdTotalAmountPrice as NewSubscriptionThresholdTotalAmountPrice,
type NewSubscriptionTierWithProrationPrice as NewSubscriptionTierWithProrationPrice,
type NewSubscriptionTieredPackagePrice as NewSubscriptionTieredPackagePrice,
type NewSubscriptionTieredPackageWithMinimumPrice as NewSubscriptionTieredPackageWithMinimumPrice,
type NewSubscriptionTieredPrice as NewSubscriptionTieredPrice,
Expand Down Expand Up @@ -707,7 +705,6 @@ export declare namespace Orb {
export type NewPlanScalableMatrixWithTieredPricingPrice = API.NewPlanScalableMatrixWithTieredPricingPrice;
export type NewPlanScalableMatrixWithUnitPricingPrice = API.NewPlanScalableMatrixWithUnitPricingPrice;
export type NewPlanThresholdTotalAmountPrice = API.NewPlanThresholdTotalAmountPrice;
export type NewPlanTierWithProrationPrice = API.NewPlanTierWithProrationPrice;
export type NewPlanTieredPackagePrice = API.NewPlanTieredPackagePrice;
export type NewPlanTieredPackageWithMinimumPrice = API.NewPlanTieredPackageWithMinimumPrice;
export type NewPlanTieredPrice = API.NewPlanTieredPrice;
Expand Down Expand Up @@ -736,7 +733,6 @@ export declare namespace Orb {
export type SubscriptionTrialInfo = API.SubscriptionTrialInfo;
export type TaxAmount = API.TaxAmount;
export type Tier = API.Tier;
export type TierConfig = API.TierConfig;
export type TierSubLineItem = API.TierSubLineItem;
export type TieredConfig = API.TieredConfig;
export type TieredConversionRateConfig = API.TieredConversionRateConfig;
Expand Down
Loading