@zinn-digital/sdk 0.1.2102 → 0.1.2106

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.
@@ -67929,10 +67929,37 @@ export interface components {
67929
67929
  AdminOverview: {
67930
67930
  active_sites: number;
67931
67931
  currency: components["schemas"]["CurrencyCode"];
67932
+ /** @description TOTAL real customer accounts (not closed). The split is below. */
67932
67933
  customers: number;
67934
+ /** @description Suspended accounts, or accounts with a past-due subscription. Never counted as paying. */
67935
+ customers_overdue: number;
67936
+ /** @description Active AND in good standing (owner 2026-11-25, DAY-0024): an active priced subscription that is not comped and not in a free window, or a hosting service charge, on an active org with nothing past due. Never a trial, never overdue. */
67937
+ customers_paying: number;
67938
+ /** @description Not paying and not overdue, holding a live trial or a trialing subscription. */
67939
+ customers_trial: number;
67933
67940
  /** @description Our own internal/staff/test orgs left out of every figure on this screen. */
67934
67941
  excluded_internal?: number;
67935
67942
  fleet: components["schemas"]["FleetWorker"][];
67943
+ /** @description The first hosts by name, each with the status the Fleet page shows. */
67944
+ fleet_hosts: {
67945
+ cpu_pct: number | null;
67946
+ drain: boolean;
67947
+ hostname: string;
67948
+ /** Format: uuid */
67949
+ id: string;
67950
+ region: string;
67951
+ /** @enum {string} */
67952
+ status: "healthy" | "degraded" | "offline" | "never_connected" | "draining";
67953
+ }[];
67954
+ /** @description The same disjoint status counts `/v1/admin/fleet/servers` returns as `summary` (DAY-0024), so the Overview and the Fleet page can never disagree about a box. */
67955
+ fleet_summary: {
67956
+ degraded: number;
67957
+ draining: number;
67958
+ healthy: number;
67959
+ never_connected: number;
67960
+ offline: number;
67961
+ total: number;
67962
+ };
67936
67963
  /** @description Monthly recurring revenue per currency, largest first, ties broken by code so the order is stable. Deliberately NOT converted to one figure: collapsing currencies needs a stated rate on a stated date, and a headline KPI is the wrong place to invent one. */
67937
67964
  mrr_by_currency: components["schemas"]["AdminMrrByCurrency"][];
67938
67965
  /**
@@ -67942,7 +67969,11 @@ export interface components {
67942
67969
  mrr_minor: number;
67943
67970
  /** @description Tickets awaiting action across all tenants — `open` plus `pending`. `solved` is excluded: it is waiting on nothing from us. */
67944
67971
  open_tickets: number;
67945
- pipeline: components["schemas"]["PipelineHealth"];
67972
+ /**
67973
+ * @deprecated
67974
+ * @description No longer sent (DAY-0024): it took ~9 s and held every tile. Read `GET /v1/admin/translations/status`.
67975
+ */
67976
+ pipeline?: components["schemas"]["PipelineHealth"];
67946
67977
  provisioning_now: number;
67947
67978
  recent_provisioning: components["schemas"]["ProvisioningTask"][];
67948
67979
  workers_healthy: number;
@@ -107275,6 +107306,13 @@ export interface components {
107275
107306
  * ⛔ A key this client does not carry falls back to the envelope's English `message` rather than rendering raw, which is why a new engine key can never put `refusal.compute.someNewThing` on a customer's screen.
107276
107307
  */
107277
107308
  Refusal: {
107309
+ /** @description P1-122: the way forward a limit, quota, allowance or not-on-plan refusal offers, present only on such a refusal and never for a reseller's client (whose panel must not show our pages). `label_key` is a catalogue key the client renders like `key`; `target` is an in-app dashboard path (always starts with `/`) where the limit is lifted. MCP and the CLI may show it as a link into the dashboard. */
107310
+ action?: {
107311
+ /** @example refusal.action.changePlan */
107312
+ label_key: string;
107313
+ /** @example /billing/plan */
107314
+ target: string;
107315
+ };
107278
107316
  /**
107279
107317
  * @description The catalogue key, `refusal.<area>.<thing>`. The AREA is the product the customer thinks they are using, not the Python module the sentence came from.
107280
107318
  * @example refusal.compute.alreadyThatSize
@@ -111280,6 +111318,11 @@ export interface components {
111280
111318
  product: string;
111281
111319
  };
111282
111320
  SignupStartRequest: {
111321
+ /**
111322
+ * @description The billing country (ISO 3166-1 alpha-2, any case; stored uppercase). Required: the organisation the first sign-in creates is born with it on its billing profile.
111323
+ * @example GB
111324
+ */
111325
+ country: string;
111283
111326
  /** Format: email */
111284
111327
  email: string;
111285
111328
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.2102",
3
+ "version": "0.1.2106",
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>",