@shipstatic/types 2.17.0-beta.2 → 2.17.0-beta.3

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.d.ts CHANGED
@@ -669,6 +669,16 @@ export interface Account {
669
669
  * `DELETE /billing/change` releases it.
670
670
  */
671
671
  readonly scheduled: ScheduledChange | null;
672
+ /**
673
+ * When the Subscription is set to END — Stripe's `cancel_at`, mirrored
674
+ * (Unix seconds) — or `null` while it renews. Set by a cancellation in the
675
+ * Customer Portal; the Portal is also where it is resumed. The console
676
+ * needs it to ACT: no "cancel" offered to an account already cancelling,
677
+ * and no plan change offered until it is resumed (the API refuses one).
678
+ * Mirrored on the rule that survives: what the console must act on is
679
+ * mirrored, what it would merely display is not.
680
+ */
681
+ readonly cancelAt: number | null;
672
682
  }
673
683
  /**
674
684
  * Account as returned by `GET /account` — the entity plus how the request
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipstatic/types",
3
- "version": "2.17.0-beta.2",
3
+ "version": "2.17.0-beta.3",
4
4
  "description": "Shared types for ShipStatic platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/index.ts CHANGED
@@ -744,6 +744,16 @@ export interface Account {
744
744
  * `DELETE /billing/change` releases it.
745
745
  */
746
746
  readonly scheduled: ScheduledChange | null;
747
+ /**
748
+ * When the Subscription is set to END — Stripe's `cancel_at`, mirrored
749
+ * (Unix seconds) — or `null` while it renews. Set by a cancellation in the
750
+ * Customer Portal; the Portal is also where it is resumed. The console
751
+ * needs it to ACT: no "cancel" offered to an account already cancelling,
752
+ * and no plan change offered until it is resumed (the API refuses one).
753
+ * Mirrored on the rule that survives: what the console must act on is
754
+ * mirrored, what it would merely display is not.
755
+ */
756
+ readonly cancelAt: number | null;
747
757
  }
748
758
 
749
759
  /**