@shipstatic/ship 2.6.0-beta.10 → 2.6.0-beta.11
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/THIRD-PARTY-LICENSES.md +1 -1
- package/dist/browser.d.ts +19 -7
- package/dist/browser.js.map +1 -1
- package/dist/cli.cjs.map +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -7
- package/dist/index.d.ts +19 -7
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/THIRD-PARTY-LICENSES.md
CHANGED
|
@@ -5,7 +5,7 @@ Their copyright notices travel with that copy, and are reproduced here in
|
|
|
5
5
|
full. This file is GENERATED from the build's own metafile — edit the
|
|
6
6
|
bundle, not this list.
|
|
7
7
|
|
|
8
|
-
## @shipstatic/types 2.17.0-beta.
|
|
8
|
+
## @shipstatic/types 2.17.0-beta.10
|
|
9
9
|
|
|
10
10
|
License: MIT
|
|
11
11
|
|
package/dist/browser.d.ts
CHANGED
|
@@ -1899,10 +1899,16 @@ interface PlanChangeRequest {
|
|
|
1899
1899
|
readonly interval: BillingInterval;
|
|
1900
1900
|
}
|
|
1901
1901
|
/**
|
|
1902
|
-
* The pending plan change — a Stripe Subscription Schedule the
|
|
1903
|
-
*
|
|
1904
|
-
*
|
|
1905
|
-
*
|
|
1902
|
+
* The pending plan change — a Stripe Subscription Schedule, mirrored onto the
|
|
1903
|
+
* account. `at` is when it applies (the current period's end, Unix seconds).
|
|
1904
|
+
*
|
|
1905
|
+
* WHO minted the schedule is deliberately not part of this shape, and both
|
|
1906
|
+
* kinds mirror here identically: Stripe mints one when a customer confirms a
|
|
1907
|
+
* cadence downgrade on its own hosted page, and the platform mints one for a
|
|
1908
|
+
* cheaper TIER, the single move Stripe's Customer Portal cannot express.
|
|
1909
|
+
*
|
|
1910
|
+
* Reversible until it applies, and `DELETE /billing/change` is the only way:
|
|
1911
|
+
* Stripe's Portal displays a pending change but offers no control to undo it.
|
|
1906
1912
|
*/
|
|
1907
1913
|
interface ScheduledChange {
|
|
1908
1914
|
readonly plan: AccountPlanType;
|
|
@@ -1915,9 +1921,15 @@ interface ScheduledChange {
|
|
|
1915
1921
|
* compile, so "which door was taken" is structural rather than prose.
|
|
1916
1922
|
*
|
|
1917
1923
|
* `url` means GO: a Stripe page (Checkout, or the Portal's confirmation page)
|
|
1918
|
-
* finishes the change and the browser must be redirected to it. `
|
|
1919
|
-
*
|
|
1920
|
-
* the
|
|
1924
|
+
* finishes the change and the browser must be redirected to it. A `url` does
|
|
1925
|
+
* NOT imply money moves — on the confirmation page Stripe decides whether to
|
|
1926
|
+
* charge now or defer the change to period end, and says which. `scheduled`
|
|
1927
|
+
* means DONE: the change is booked for period end by the platform itself,
|
|
1928
|
+
* nothing to visit, and the account's `scheduled` field now carries it.
|
|
1929
|
+
*
|
|
1930
|
+
* A client branches on the SHAPE and holds no copy of which move takes which
|
|
1931
|
+
* door — which is what let the server move that boundary without a wire
|
|
1932
|
+
* change (2026-08-25).
|
|
1921
1933
|
*/
|
|
1922
1934
|
type PlanChangeResponse =
|
|
1923
1935
|
/** GO: a Stripe page finishes the change. Absolute URL, single use, short-lived. */
|