@shipstatic/ship 3.4.0-beta.4 → 3.4.0-beta.6
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 +8 -19
- 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 +8 -19
- package/dist/index.d.ts +8 -19
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -942,12 +942,10 @@ interface Account {
|
|
|
942
942
|
* from where the account stands. It excludes the plan and cadence the
|
|
943
943
|
* account already holds and the one move the door refuses, a dearer tier
|
|
944
944
|
* at a shorter interval (an immediate move would mint a proration credit,
|
|
945
|
-
* a deferred one would make a customer asking for more wait a year).
|
|
946
|
-
*
|
|
947
|
-
*
|
|
948
|
-
*
|
|
949
|
-
* model instead of restating it. Additive: absent on responses that
|
|
950
|
-
* predate it, and a client then derives as it did.
|
|
945
|
+
* a deferred one would make a customer asking for more wait a year). The
|
|
946
|
+
* rule's owner is the platform's plan table; a console feeds these
|
|
947
|
+
* intervals into its own move model instead of restating it. Additive:
|
|
948
|
+
* absent on responses that predate it, and a client then derives as it did.
|
|
951
949
|
*/
|
|
952
950
|
readonly destinations?: PlanDestination[];
|
|
953
951
|
}
|
|
@@ -959,15 +957,6 @@ interface Account {
|
|
|
959
957
|
interface PlanDestination {
|
|
960
958
|
readonly plan: AccountPlanType;
|
|
961
959
|
readonly intervals: BillingInterval[];
|
|
962
|
-
/**
|
|
963
|
-
* What the account holds beyond what this plan allows: per kind, how many
|
|
964
|
-
* to remove. Present only on a cheaper tier the account does not fit, and
|
|
965
|
-
* then never empty. A move down a tier pauses nothing, so the change door
|
|
966
|
-
* refuses it until the account fits: the owner removes the excess, and the
|
|
967
|
-
* field is gone from the next read. Which kinds count is the platform's to
|
|
968
|
-
* decide; a client renders the keys it is given.
|
|
969
|
-
*/
|
|
970
|
-
readonly excess?: Partial<Caps>;
|
|
971
960
|
}
|
|
972
961
|
/**
|
|
973
962
|
* Acknowledgement of `DELETE /account` (202). Termination is asynchronous —
|
|
@@ -2497,10 +2486,10 @@ interface PlansResponse {
|
|
|
2497
2486
|
* Schedule that applies the change at period end. The answer says which
|
|
2498
2487
|
* happened ({@link PlanChangeResponse}).
|
|
2499
2488
|
*
|
|
2500
|
-
* A move down a tier is
|
|
2501
|
-
*
|
|
2502
|
-
*
|
|
2503
|
-
*
|
|
2489
|
+
* A move down a tier is booked only by an account that fits it: while the
|
|
2490
|
+
* account holds more members or domains than the destination allows, the
|
|
2491
|
+
* door refuses (400) with a sentence naming what to remove, and the same
|
|
2492
|
+
* counts in `details.excess`, keyed like {@link Caps}.
|
|
2504
2493
|
*/
|
|
2505
2494
|
interface PlanChangeRequest {
|
|
2506
2495
|
readonly plan: AccountPlanType;
|
package/dist/index.d.ts
CHANGED
|
@@ -942,12 +942,10 @@ interface Account {
|
|
|
942
942
|
* from where the account stands. It excludes the plan and cadence the
|
|
943
943
|
* account already holds and the one move the door refuses, a dearer tier
|
|
944
944
|
* at a shorter interval (an immediate move would mint a proration credit,
|
|
945
|
-
* a deferred one would make a customer asking for more wait a year).
|
|
946
|
-
*
|
|
947
|
-
*
|
|
948
|
-
*
|
|
949
|
-
* model instead of restating it. Additive: absent on responses that
|
|
950
|
-
* predate it, and a client then derives as it did.
|
|
945
|
+
* a deferred one would make a customer asking for more wait a year). The
|
|
946
|
+
* rule's owner is the platform's plan table; a console feeds these
|
|
947
|
+
* intervals into its own move model instead of restating it. Additive:
|
|
948
|
+
* absent on responses that predate it, and a client then derives as it did.
|
|
951
949
|
*/
|
|
952
950
|
readonly destinations?: PlanDestination[];
|
|
953
951
|
}
|
|
@@ -959,15 +957,6 @@ interface Account {
|
|
|
959
957
|
interface PlanDestination {
|
|
960
958
|
readonly plan: AccountPlanType;
|
|
961
959
|
readonly intervals: BillingInterval[];
|
|
962
|
-
/**
|
|
963
|
-
* What the account holds beyond what this plan allows: per kind, how many
|
|
964
|
-
* to remove. Present only on a cheaper tier the account does not fit, and
|
|
965
|
-
* then never empty. A move down a tier pauses nothing, so the change door
|
|
966
|
-
* refuses it until the account fits: the owner removes the excess, and the
|
|
967
|
-
* field is gone from the next read. Which kinds count is the platform's to
|
|
968
|
-
* decide; a client renders the keys it is given.
|
|
969
|
-
*/
|
|
970
|
-
readonly excess?: Partial<Caps>;
|
|
971
960
|
}
|
|
972
961
|
/**
|
|
973
962
|
* Acknowledgement of `DELETE /account` (202). Termination is asynchronous —
|
|
@@ -2497,10 +2486,10 @@ interface PlansResponse {
|
|
|
2497
2486
|
* Schedule that applies the change at period end. The answer says which
|
|
2498
2487
|
* happened ({@link PlanChangeResponse}).
|
|
2499
2488
|
*
|
|
2500
|
-
* A move down a tier is
|
|
2501
|
-
*
|
|
2502
|
-
*
|
|
2503
|
-
*
|
|
2489
|
+
* A move down a tier is booked only by an account that fits it: while the
|
|
2490
|
+
* account holds more members or domains than the destination allows, the
|
|
2491
|
+
* door refuses (400) with a sentence naming what to remove, and the same
|
|
2492
|
+
* counts in `details.excess`, keyed like {@link Caps}.
|
|
2504
2493
|
*/
|
|
2505
2494
|
interface PlanChangeRequest {
|
|
2506
2495
|
readonly plan: AccountPlanType;
|