diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile deleted file mode 100644 index 8ea34be9..00000000 --- a/.devcontainer/Dockerfile +++ /dev/null @@ -1,23 +0,0 @@ -# syntax=docker/dockerfile:1 -FROM debian:bookworm-slim AS stainless - -RUN apt-get update && apt-get install -y \ - nodejs \ - npm \ - yarnpkg \ - && apt-get clean autoclean - -# Ensure UTF-8 encoding -ENV LANG=C.UTF-8 -ENV LC_ALL=C.UTF-8 - -# Yarn -RUN ln -sf /usr/bin/yarnpkg /usr/bin/yarn - -WORKDIR /workspace - -COPY package.json yarn.lock /workspace/ - -RUN yarn install - -COPY . /workspace diff --git a/.release-please-manifest.json b/.release-please-manifest.json index ba56e37e..de6d98bb 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "5.37.2" + ".": "5.38.0" } diff --git a/.stats.yml b/.stats.yml index f7ecd1ab..36221097 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-7936e3f73bbe1d59d27fd7a8a226985927b38fdec1c936c77577381699fb6140.yml -openapi_spec_hash: 1d3f9ed5fbdb0e40d56d6acd9d1736e2 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-03af7f658aed245cf7e230055de59fe92a78880f3719bf254ed9352bf89bad5e.yml +openapi_spec_hash: c4703d217c25e8c02c248caed9e2d3be config_hash: 895e36fb2d717958770fd4cf883f4b74 diff --git a/CHANGELOG.md b/CHANGELOG.md index 26fdf490..74391d32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 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) + +### Features + +* **api:** api update ([da063a7](https://github.com/orbcorp/orb-node/commit/da063a7d803817dffd3862d0a02a21db1b6c0947)) + + +### Chores + +* **internal:** codegen related update ([40d3a87](https://github.com/orbcorp/orb-node/commit/40d3a87edb6e7ec4ccafcbeaaf43e33fe9d524cd)) + ## 5.37.2 (2025-12-05) Full Changelog: [v5.37.1...v5.37.2](https://github.com/orbcorp/orb-node/compare/v5.37.1...v5.37.2) diff --git a/package.json b/package.json index b6131e00..115c52ca 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "orb-billing", - "version": "5.37.2", + "version": "5.38.0", "description": "The official TypeScript library for the Orb API", "author": "Orb ", "types": "dist/index.d.ts", diff --git a/src/resources/subscription-changes.ts b/src/resources/subscription-changes.ts index e93e26c0..53e425df 100644 --- a/src/resources/subscription-changes.ts +++ b/src/resources/subscription-changes.ts @@ -236,6 +236,11 @@ export interface MutatedSubscription { export interface SubscriptionChangeRetrieveResponse { id: string; + /** + * The type of change (e.g., 'schedule_plan_change', 'create_subscription'). + */ + change_type: string; + /** * Subscription change will be cancelled at this time and can no longer be applied. */ @@ -250,10 +255,31 @@ export interface SubscriptionChangeRetrieveResponse { */ applied_at?: string | null; + /** + * Billing cycle alignment for plan changes. + */ + billing_cycle_alignment?: string | null; + /** * When this change was cancelled. */ cancelled_at?: string | null; + + /** + * How the change is scheduled (e.g., 'immediate', 'end_of_subscription_term', + * 'requested_date'). + */ + change_option?: string | null; + + /** + * When this change will take effect. + */ + effective_date?: string | null; + + /** + * The target plan ID for plan changes. + */ + plan_id?: string | null; } /** @@ -265,6 +291,11 @@ export interface SubscriptionChangeRetrieveResponse { export interface SubscriptionChangeApplyResponse { id: string; + /** + * The type of change (e.g., 'schedule_plan_change', 'create_subscription'). + */ + change_type: string; + /** * Subscription change will be cancelled at this time and can no longer be applied. */ @@ -279,10 +310,31 @@ export interface SubscriptionChangeApplyResponse { */ applied_at?: string | null; + /** + * Billing cycle alignment for plan changes. + */ + billing_cycle_alignment?: string | null; + /** * When this change was cancelled. */ cancelled_at?: string | null; + + /** + * How the change is scheduled (e.g., 'immediate', 'end_of_subscription_term', + * 'requested_date'). + */ + change_option?: string | null; + + /** + * When this change will take effect. + */ + effective_date?: string | null; + + /** + * The target plan ID for plan changes. + */ + plan_id?: string | null; } /** @@ -294,6 +346,11 @@ export interface SubscriptionChangeApplyResponse { export interface SubscriptionChangeCancelResponse { id: string; + /** + * The type of change (e.g., 'schedule_plan_change', 'create_subscription'). + */ + change_type: string; + /** * Subscription change will be cancelled at this time and can no longer be applied. */ @@ -308,10 +365,31 @@ export interface SubscriptionChangeCancelResponse { */ applied_at?: string | null; + /** + * Billing cycle alignment for plan changes. + */ + billing_cycle_alignment?: string | null; + /** * When this change was cancelled. */ cancelled_at?: string | null; + + /** + * How the change is scheduled (e.g., 'immediate', 'end_of_subscription_term', + * 'requested_date'). + */ + change_option?: string | null; + + /** + * When this change will take effect. + */ + effective_date?: string | null; + + /** + * The target plan ID for plan changes. + */ + plan_id?: string | null; } export interface SubscriptionChangeApplyParams { diff --git a/src/version.ts b/src/version.ts index 18f1e75e..e3f68a1d 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '5.37.2'; // x-release-please-version +export const VERSION = '5.38.0'; // x-release-please-version