Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

orb-billing

Package Overview
Dependencies
Maintainers
2
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

orb-billing - npm Package Compare versions

Comparing version 4.30.0 to 4.31.0

8

CHANGELOG.md
# Changelog
## 4.31.0 (2024-10-18)
Full Changelog: [v4.30.0...v4.31.0](https://github.com/orbcorp/orb-node/compare/v4.30.0...v4.31.0)
### Features
* **api:** api update ([#371](https://github.com/orbcorp/orb-node/issues/371)) ([eb16560](https://github.com/orbcorp/orb-node/commit/eb1656028ad4ed8a8b05d349d91cdc12d6d4cf38))
## 4.30.0 (2024-10-16)

@@ -4,0 +12,0 @@

1

index.d.ts

@@ -228,2 +228,3 @@ import * as Errors from "./error.js";

export import SubscriptionUpdateFixedFeeQuantityParams = API.SubscriptionUpdateFixedFeeQuantityParams;
export import SubscriptionUpdateTrialParams = API.SubscriptionUpdateTrialParams;
export import Alerts = API.Alerts;

@@ -230,0 +231,0 @@ export import Alert = API.Alert;

2

package.json
{
"name": "orb-billing",
"version": "4.30.0",
"version": "4.31.0",
"description": "The official TypeScript library for the Orb API",

@@ -5,0 +5,0 @@ "author": "Orb <team@withorb.com>",

@@ -13,5 +13,5 @@ export * from "./shared.js";

export { Plan, PlanCreateParams, PlanUpdateParams, PlanListParams, PlansPage, Plans } from "./plans/plans.js";
export { Subscription, SubscriptionUsage, Subscriptions, SubscriptionFetchCostsResponse, SubscriptionFetchScheduleResponse, SubscriptionCreateParams, SubscriptionUpdateParams, SubscriptionListParams, SubscriptionCancelParams, SubscriptionFetchCostsParams, SubscriptionFetchScheduleParams, SubscriptionFetchUsageParams, SubscriptionPriceIntervalsParams, SubscriptionSchedulePlanChangeParams, SubscriptionTriggerPhaseParams, SubscriptionUnscheduleFixedFeeQuantityUpdatesParams, SubscriptionUpdateFixedFeeQuantityParams, SubscriptionsPage, SubscriptionFetchScheduleResponsesPage, } from "./subscriptions.js";
export { Subscription, SubscriptionUsage, Subscriptions, SubscriptionFetchCostsResponse, SubscriptionFetchScheduleResponse, SubscriptionCreateParams, SubscriptionUpdateParams, SubscriptionListParams, SubscriptionCancelParams, SubscriptionFetchCostsParams, SubscriptionFetchScheduleParams, SubscriptionFetchUsageParams, SubscriptionPriceIntervalsParams, SubscriptionSchedulePlanChangeParams, SubscriptionTriggerPhaseParams, SubscriptionUnscheduleFixedFeeQuantityUpdatesParams, SubscriptionUpdateFixedFeeQuantityParams, SubscriptionUpdateTrialParams, SubscriptionsPage, SubscriptionFetchScheduleResponsesPage, } from "./subscriptions.js";
export { TopLevelPingResponse, TopLevel } from "./top-level.js";
export { Webhooks } from "./webhooks.js";
//# sourceMappingURL=index.d.ts.map

@@ -256,2 +256,25 @@ "use strict";

}
/**
* This endpoint is used to update the trial end date for a subscription. The new
* trial end date must be within the time range of the current plan (i.e. the new
* trial end date must be on or after the subscription's start date on the current
* plan, and on or before the subscription end date).
*
* In order to retroactively remove a trial completely, the end date can be set to
* the transition date of the subscription to this plan (or, if this is the first
* plan for this subscription, the subscription's start date). In order to end a
* trial immediately, the keyword `immediate` can be provided as the trial end
* date.
*
* By default, Orb will shift only the trial end date (and price intervals that
* start or end on the previous trial end date), and leave all other future price
* intervals untouched. If the `shift` parameter is set to `true`, Orb will shift
* all subsequent price and adjustment intervals by the same amount as the trial
* end date shift (so, e.g., if a plan change is scheduled or an add-on price was
* added, that change will be pushed back by the same amount of time the trial is
* extended).
*/
updateTrial(subscriptionId, body, options) {
return this._client.post(`/subscriptions/${subscriptionId}/update_trial`, { body, ...options });
}
}

@@ -258,0 +281,0 @@ exports.Subscriptions = Subscriptions;

@@ -336,2 +336,3 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

export import SubscriptionUpdateFixedFeeQuantityParams = API.SubscriptionUpdateFixedFeeQuantityParams;
export import SubscriptionUpdateTrialParams = API.SubscriptionUpdateTrialParams;

@@ -338,0 +339,0 @@ export import Alerts = API.Alerts;

@@ -91,2 +91,3 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

SubscriptionUpdateFixedFeeQuantityParams,
SubscriptionUpdateTrialParams,
SubscriptionsPage,

@@ -93,0 +94,0 @@ SubscriptionFetchScheduleResponsesPage,

@@ -1,1 +0,1 @@

export const VERSION = '4.30.0'; // x-release-please-version
export const VERSION = '4.31.0'; // x-release-please-version

@@ -1,2 +0,2 @@

export declare const VERSION = "4.30.0";
export declare const VERSION = "4.31.0";
//# sourceMappingURL=version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VERSION = void 0;
exports.VERSION = '4.30.0'; // x-release-please-version
exports.VERSION = '4.31.0'; // x-release-please-version
//# sourceMappingURL=version.js.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc