@commet/node 9.1.1 → 9.3.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
@@ -676,7 +676,7 @@ var SubscriptionsResource = class {
676
676
  const { id, ...rest } = params;
677
677
  return this.httpClient.post(`/subscriptions/${id}/credits`, rest, options);
678
678
  }
679
- /** Apply or replace a direct Offer on a subscription's pending payment checkout. The existing checkout URL remains unchanged. Offers whose first phase is a free trial cannot be applied after checkout creation. */
679
+ /** Apply a direct Offer to a subscription. On a pending payment checkout it quotes or replaces the checkout discount and the existing checkout URL remains unchanged. On an active subscription it applies the Offer immediately with its discount phases starting at the next billing cycle; the call is rejected while another applied Offer still has active or upcoming discount phases. Offers with a free trial phase cannot be applied after checkout creation. */
680
680
  async applyOffer(params, options) {
681
681
  const { id, ...rest } = params;
682
682
  return this.httpClient.put(`/subscriptions/${id}/offer`, 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.1";
994
+ var SDK_VERSION = "9.3.0";
995
995
 
996
996
  // src/utils/telemetry.ts
997
997
  var registeredIntegrations = /* @__PURE__ */ new Set();