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.23.0"
".": "5.24.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-faf1f7c723d2762f09e9690ef2ceda58cb0a6ddacf1a79c3754871b90e7db0dc.yml
openapi_spec_hash: 22269f85fae1ec920bdb0b32435a7aa8
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-79664fa0b4ea00c978ae2516087d0ee591b0ef92ca8db29557a0424bde520e10.yml
openapi_spec_hash: 1ff6eee9184312a3a0fd21eb589132f9
config_hash: dd4343ce95871032ef6e0735a4ca038c
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 5.24.0 (2025-10-31)

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

### Features

* **api:** api update ([d77d6f6](https://github.com/orbcorp/orb-node/commit/d77d6f6cd5136b37d1693815c353b5878f0bf9e8))

## 5.23.0 (2025-10-30)

Full Changelog: [v5.22.0...v5.23.0](https://github.com/orbcorp/orb-node/compare/v5.22.0...v5.23.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.23.0",
"version": "5.24.0",
"description": "The official TypeScript library for the Orb API",
"author": "Orb <[email protected]>",
"types": "dist/index.d.ts",
Expand Down
42 changes: 42 additions & 0 deletions src/resources/customers/credits/credits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,34 @@ export interface CreditListResponse {

expiry_date: string | null;

filters: Array<CreditListResponse.Filter>;

maximum_initial_balance: number | null;

per_unit_cost_basis: string | null;

status: 'active' | 'pending_payment';
}

export namespace CreditListResponse {
export interface Filter {
/**
* The property of the price to filter on.
*/
field: 'price_id' | 'item_id' | 'price_type' | 'currency' | 'pricing_unit_id';

/**
* Should prices that match the filter be included or excluded.
*/
operator: 'includes' | 'excludes';

/**
* The IDs or values that match this filter.
*/
values: Array<string>;
}
}

export interface CreditListByExternalIDResponse {
id: string;

Expand All @@ -141,13 +162,34 @@ export interface CreditListByExternalIDResponse {

expiry_date: string | null;

filters: Array<CreditListByExternalIDResponse.Filter>;

maximum_initial_balance: number | null;

per_unit_cost_basis: string | null;

status: 'active' | 'pending_payment';
}

export namespace CreditListByExternalIDResponse {
export interface Filter {
/**
* The property of the price to filter on.
*/
field: 'price_id' | 'item_id' | 'price_type' | 'currency' | 'pricing_unit_id';

/**
* Should prices that match the filter be included or excluded.
*/
operator: 'includes' | 'excludes';

/**
* The IDs or values that match this filter.
*/
values: Array<string>;
}
}

export interface CreditListParams extends PageParams {
/**
* The ledger currency or custom pricing unit to use.
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.23.0'; // x-release-please-version
export const VERSION = '5.24.0'; // x-release-please-version