diff --git a/.release-please-manifest.json b/.release-please-manifest.json index a67037a3..54f0a682 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "5.23.0" + ".": "5.24.0" } diff --git a/.stats.yml b/.stats.yml index 49f0b44f..3fc5d44c 100644 --- a/.stats.yml +++ b/.stats.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index d5727281..a6889ca7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/package.json b/package.json index bd54a71f..a333f8fa 100644 --- a/package.json +++ b/package.json @@ -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 ", "types": "dist/index.d.ts", diff --git a/src/resources/customers/credits/credits.ts b/src/resources/customers/credits/credits.ts index fca6efd7..1e5772e0 100644 --- a/src/resources/customers/credits/credits.ts +++ b/src/resources/customers/credits/credits.ts @@ -125,6 +125,8 @@ export interface CreditListResponse { expiry_date: string | null; + filters: Array; + maximum_initial_balance: number | null; per_unit_cost_basis: string | null; @@ -132,6 +134,25 @@ export interface CreditListResponse { 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; + } +} + export interface CreditListByExternalIDResponse { id: string; @@ -141,6 +162,8 @@ export interface CreditListByExternalIDResponse { expiry_date: string | null; + filters: Array; + maximum_initial_balance: number | null; per_unit_cost_basis: string | null; @@ -148,6 +171,25 @@ export interface CreditListByExternalIDResponse { 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; + } +} + export interface CreditListParams extends PageParams { /** * The ledger currency or custom pricing unit to use. diff --git a/src/version.ts b/src/version.ts index 2196b69b..f7a5ea65 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '5.23.0'; // x-release-please-version +export const VERSION = '5.24.0'; // x-release-please-version