@flashbacktech/tsclient 0.4.62 → 0.4.63

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.cjs CHANGED
@@ -1093,6 +1093,14 @@ var SubscriptionsClient = class {
1093
1093
  buy(body) {
1094
1094
  return this.http.post("/subscriptions/buy", { body });
1095
1095
  }
1096
+ /**
1097
+ * Preview the cost/credit impact of a plan change (pro-rated charge,
1098
+ * credit delta, effective dates) for the confirmation modal — no change
1099
+ * is made. kind="new" means a first purchase that would go via Checkout.
1100
+ */
1101
+ previewChange(body) {
1102
+ return this.http.post("/subscriptions/preview-change", { body });
1103
+ }
1096
1104
  cancel() {
1097
1105
  return this.http.post("/subscriptions/cancel", {});
1098
1106
  }