@zinn-digital/sdk 0.1.1839 → 0.1.1841
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.
|
@@ -55818,7 +55818,7 @@ export interface paths {
|
|
|
55818
55818
|
* Buy more disk or file allowance for one site.
|
|
55819
55819
|
* @description Raises this site's ceiling by `steps` purchasable steps (1 GB of disk, 50,000 inodes) and applies it to the box. Recorded as an open-ended grant rather than by editing the base, so *what the site started with* and *what the customer bought* stay separately revocable.
|
|
55820
55820
|
*
|
|
55821
|
-
* ⛔⛔ **The charge is created BEFORE the ceiling is raised, and an upgrade that cannot be charged for is refused with `422` — no grant, nothing on the box.** Both refusals answer `422` and the body distinguishes them: no published price in the caller's currency, or no way to take the payment. Free capacity on a real box is the failure no customer reports, because they received what they asked for.
|
|
55821
|
+
* ⛔⛔ **The charge is created BEFORE the ceiling is raised, and an upgrade that cannot be charged for is refused with `422` — no grant, nothing on the box.** Both refusals answer `422` and the body distinguishes them: no published price in the caller's currency, or no way to take the payment. Free capacity on a real box is the failure no customer reports, because they received what they asked for. An org with no way to pay at all (no usable stored payment method and no crypto election) is refused with `422` `refusal.siteQuota.noPaymentMethod` before anything is created: the upgrade renews monthly through the unattended ad-hoc sweep, which could never collect it.
|
|
55822
55822
|
*
|
|
55823
55823
|
* Charge-then-apply is deliberate: a charged-but-unapplied upgrade is repaired by the ten-minute reconciler, and free capacity is repaired by nobody. An upgrade also **lifts a quota freeze immediately**, because paying is the remedy and waiting for a sweep would be the worst minute of the product to leave to a schedule.
|
|
55824
55824
|
*
|
|
@@ -101828,6 +101828,8 @@ export interface components {
|
|
|
101828
101828
|
};
|
|
101829
101829
|
/** @description MAILQUOTA (owner ruling 2026-11-11): this person's own address is a real mailbox whose inbox was FULL when they signed up, so our e-mails may bounce; the dashboard shows a banner asking them to clear it. `null` when there is nothing to say, and once the day-long check expires. */
|
|
101830
101830
|
email_warning?: components["schemas"]["EmailWarning"] | null;
|
|
101831
|
+
/** @description HOSTILE1116 (2026-11-16): whether this person is a member of a staff organisation, the same test the engine applies to every `/v1/admin/*` route. A membership `role` cannot answer it, because customer organisations have a `manager` role too. The admin console shows a "not a staff account" screen and calls no staff endpoint when this is `false`. `null` when the engine did not compute it. */
|
|
101832
|
+
is_staff?: boolean | null;
|
|
101831
101833
|
/** @description The user's org memberships and roles (docs/02 §1). */
|
|
101832
101834
|
memberships: components["schemas"]["Membership"][];
|
|
101833
101835
|
user: components["schemas"]["User"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1841",
|
|
4
4
|
"description": "Typed TypeScript client for the Zinn Digital Platform API, generated from its OpenAPI spec.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Neil Lock \u2014 CEO, Zinn Digital\u00ae Ltd <office@zinndigital.com>",
|