@shipstatic/ship 3.1.0 → 3.2.0-beta.1
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 +17 -10
- 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 +17 -10
- package/dist/index.d.ts +17 -10
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/THIRD-PARTY-LICENSES.md
CHANGED
package/dist/browser.d.ts
CHANGED
|
@@ -780,12 +780,10 @@ interface Account {
|
|
|
780
780
|
/** User profile picture URL, null if not set */
|
|
781
781
|
readonly picture: string | null;
|
|
782
782
|
/**
|
|
783
|
-
* The
|
|
784
|
-
*
|
|
785
|
-
*
|
|
786
|
-
*
|
|
787
|
-
* everywhere, and the one difference it can see is the one that is real:
|
|
788
|
-
* there is no Subscription.
|
|
783
|
+
* The plan the account is on, by its own name. A granted plan names
|
|
784
|
+
* itself: a sponsored account reports `sponsored` and a scale one `scale`,
|
|
785
|
+
* each with {@link billed} false. So a billed plan's name is a promise:
|
|
786
|
+
* `pro` or `team` here always means a Subscription bills the account.
|
|
789
787
|
*/
|
|
790
788
|
readonly plan: AccountPlanType;
|
|
791
789
|
/**
|
|
@@ -852,10 +850,12 @@ interface Account {
|
|
|
852
850
|
readonly billed: boolean;
|
|
853
851
|
/**
|
|
854
852
|
* The next plan up the ladder this account could move to, or `null` when
|
|
855
|
-
* there is none: the top billed tier
|
|
856
|
-
*
|
|
857
|
-
*
|
|
858
|
-
*
|
|
853
|
+
* there is none: the top billed tier and a plan sold by conversation answer
|
|
854
|
+
* `null`, and a plan below the ladder (free, sponsored) is offered its
|
|
855
|
+
* first sold row. One server-side fact so that no surface derives "can this
|
|
856
|
+
* account upgrade, and to what" from the menu — a grandfathered row has no
|
|
857
|
+
* menu price to compare, and a conversation plan must never be sent to
|
|
858
|
+
* Checkout.
|
|
859
859
|
*/
|
|
860
860
|
readonly upgrade: AccountPlanType | null;
|
|
861
861
|
/**
|
|
@@ -2364,6 +2364,13 @@ interface BillingPortalSession {
|
|
|
2364
2364
|
*/
|
|
2365
2365
|
interface BillingSyncResponse {
|
|
2366
2366
|
readonly plan: AccountPlanType;
|
|
2367
|
+
/**
|
|
2368
|
+
* Does Stripe bill that plan? The same fact as {@link Account.billed}, for
|
|
2369
|
+
* the plan named beside it. A purchase lands on a billed plan, so this is
|
|
2370
|
+
* what tells a Checkout arrival that the payment has landed: a plan that is
|
|
2371
|
+
* paid but granted (sponsored) is where the buyer stood before paying.
|
|
2372
|
+
*/
|
|
2373
|
+
readonly billed: boolean;
|
|
2367
2374
|
}
|
|
2368
2375
|
/**
|
|
2369
2376
|
* All activity event types logged in the system.
|