@zinn-digital/sdk 0.1.2102 → 0.1.2105
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/dist/generated/schema.d.ts +37 -1
- package/package.json +1 -1
|
@@ -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
|
-
|
|
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;
|
|
@@ -111280,6 +111311,11 @@ export interface components {
|
|
|
111280
111311
|
product: string;
|
|
111281
111312
|
};
|
|
111282
111313
|
SignupStartRequest: {
|
|
111314
|
+
/**
|
|
111315
|
+
* @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.
|
|
111316
|
+
* @example GB
|
|
111317
|
+
*/
|
|
111318
|
+
country: string;
|
|
111283
111319
|
/** Format: email */
|
|
111284
111320
|
email: string;
|
|
111285
111321
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2105",
|
|
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>",
|