@commet/node 9.1.0 → 9.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -101,7 +101,7 @@ var CustomersResource = class {
101
101
  const { id, ...rest } = params;
102
102
  return this.httpClient.post(`/customers/${id}/credits`, rest, options);
103
103
  }
104
- /** End complimentary access immediately. The next full-price period becomes pending payment and requires checkout; no past period is billed retroactively. */
104
+ /** End expanded access immediately and restore the base plan's limits. The subscription, billing cycle, invoices, and payment state remain unchanged. */
105
105
  async revokePlanGrant(params, options) {
106
106
  const { id, grantId, ...rest } = params;
107
107
  return this.httpClient.post(
@@ -110,7 +110,7 @@ var CustomersResource = class {
110
110
  options
111
111
  );
112
112
  }
113
- /** Give the grant a remaining number of billing cycles, set an exact deadline, or keep it active until revoked. */
113
+ /** Keep the overlay for a number of the subscription's existing billing cycles, set an exact deadline, or leave it active until revoked. The billing anchor is never reset. */
114
114
  async updatePlanGrant(params, options) {
115
115
  const { id, grantId, ...rest } = params;
116
116
  return this.httpClient.patch(
@@ -128,7 +128,7 @@ var CustomersResource = class {
128
128
  options
129
129
  );
130
130
  }
131
- /** Move an active free subscription to an eligible paid plan immediately without checkout, a card, or customer credit. The grant may last for exact billing cycles, until a date, or until revoked. */
131
+ /** Temporarily expand an active subscription's feature access using a higher plan in the same plan group. Billing, prices, periods, invoices, and the base subscription remain unchanged. */
132
132
  async createPlanGrant(params, options) {
133
133
  const { id, ...rest } = params;
134
134
  return this.httpClient.post(`/customers/${id}/plan-grants`, rest, options);
@@ -991,7 +991,7 @@ var CommetValidationError = class extends CommetAPIError {
991
991
 
992
992
  // src/version.ts
993
993
  var API_VERSION = "2026-07-31";
994
- var SDK_VERSION = "9.1.0";
994
+ var SDK_VERSION = "9.2.0";
995
995
 
996
996
  // src/utils/telemetry.ts
997
997
  var registeredIntegrations = /* @__PURE__ */ new Set();