@zinn-digital/sdk 0.1.1944 → 0.1.1946

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.
@@ -64256,6 +64256,11 @@ export interface components {
64256
64256
  * ⛔ Required — `422` — on any range that publishes images, and meaningless on one that does not. It is not marked required here because which ranges publish them is a live provider fact a schema cannot know. ⛔⛔ Check the image's `architecture` against the chosen size: ARM and x86 images are separate entries with the **same name**, and a mismatch is refused *after* the customer has paid.
64257
64257
  */
64258
64258
  image?: string;
64259
+ /**
64260
+ * @description CLOUD-U2 (P3-007). How the server is run: `panel` = With the Zinn® panel (our free web stack converged on it and managed from the dashboard), `bare` = Bare server, I manage it. Omitted or blank = `bare` (R2: the panel is only ever given when the order names it; the dashboard's order form always sends the choice). An explicit `panel` that cannot run (Windows, under 2 GB or an unknown size, a range we do not hold the account for, or with a Docker or Kubernetes `blueprint`) is refused `422` (`refusal.compute.panel*`) and nothing is charged.
64261
+ * @enum {string}
64262
+ */
64263
+ management?: "" | "panel" | "bare";
64259
64264
  /** @description What to call the machine. It is also the name at the provider, which is what lets a retried purchase find the machine it already bought instead of buying a second. */
64260
64265
  name: string;
64261
64266
  /** @description A stack optimisation profile, as the configurator reported it. */
@@ -83189,9 +83194,17 @@ export interface components {
83189
83194
  can_order: boolean;
83190
83195
  /** @description The platforms a machine can be placed on. */
83191
83196
  data: components["schemas"]["ComputeProvider"][];
83197
+ panel?: components["schemas"]["ComputeCataloguePanel"];
83192
83198
  /** @description The tiers we sell on this range. */
83193
83199
  tiers: components["schemas"]["ComputeTier"][];
83194
83200
  };
83201
+ /** @description CLOUD-U2 (P3-007): whether "With the Zinn® panel" can be ordered on this range. The machine half — a Linux image and at least `min_ram_mb` of memory — is judged per size with these numbers by the screen and again by the order, which refuses `422`. */
83202
+ ComputeCataloguePanel: {
83203
+ min_ram_mb: number;
83204
+ offered: boolean;
83205
+ /** @description The refusal key naming why this range cannot have the panel, or null. */
83206
+ refusal: string | null;
83207
+ };
83195
83208
  /** @description A k3s cluster on the organisation's own pay-by-the-hour machines (W43-49, `docs/689`). Every version and health figure is the cluster's own answer, read from it. */
83196
83209
  ComputeCluster: {
83197
83210
  /** @description The Kubernetes API's public address (port 6443). */
@@ -83467,6 +83480,11 @@ export interface components {
83467
83480
  image?: string;
83468
83481
  /** @description SERVERCARE-r1: order the machine Zinn® Managed (patching, monitoring, on-call) from day one (absent means self-managed). Priced from the live `managed` add-on row and added to the machine's line; refused at add-to-cart when the range or currency cannot take it. Coexists with `add_on`. Refused on a website's own server (`own_vps_site_id`) with `refusal.ownVps.managedCareNotOnMove`, at add-to-cart and again at checkout: that server is already run by us. */
83469
83482
  managed_care?: boolean;
83483
+ /**
83484
+ * @description CLOUD-U2 (P3-007). How the server is run: `panel` = With the Zinn® panel (our free web stack converged on it and managed from the dashboard), `bare` = Bare server, I manage it. Omitted or blank = `bare` (R2: the panel is only ever given when the order names it; the dashboard's order form always sends the choice). An explicit `panel` that cannot run (Windows, under 2 GB or an unknown size, a range we do not hold the account for, or with a Docker or Kubernetes `blueprint`) is refused `422` (`refusal.compute.panel*`) and nothing is charged.
83485
+ * @enum {string}
83486
+ */
83487
+ management?: "" | "panel" | "bare";
83470
83488
  /** @description What the customer calls the machine. Theirs, shown back verbatim, and never sent to the vendor — on the managed platform a machine's name is the platform's own row id. */
83471
83489
  name: string;
83472
83490
  /** @description The stack to tune for (PHP, WordPress, Magento, …). */
@@ -83722,6 +83740,11 @@ export interface components {
83722
83740
  image: string;
83723
83741
  /** @description The account to sign in as (W43-49, `docs/689`). `admin` — key-only, passwordless `sudo`, root login refused — on a Zinn® Cloud machine built under the access model; `root` on one built before it. */
83724
83742
  login_user: string;
83743
+ /**
83744
+ * @description CLOUD-U2 (P3-007): as ordered — `panel` (With the Zinn® panel) or `bare` (I manage it). ⛔ Not `management_mode`, which is the paid Managed Care add-on.
83745
+ * @enum {string}
83746
+ */
83747
+ management: "panel" | "bare";
83725
83748
  /**
83726
83749
  * @description SERVERCARE-r1: who looks after this machine (`engine.compute.care`). `zinn_managed_paused` = care add-on held while the account is not in good standing (§2.46).
83727
83750
  * @enum {string}
@@ -83744,6 +83767,13 @@ export interface components {
83744
83767
  operable: boolean;
83745
83768
  /** @description The stack optimisation profile it was built with, or `""` for none. */
83746
83769
  optimisation: string;
83770
+ /** @description Customer-facing reason a panel enrolment failed; blank otherwise. */
83771
+ panel_message: string;
83772
+ /**
83773
+ * @description CLOUD-U2 (P3-003): what is REALLY on the machine — blank (nothing of ours), `enrolling`, `managed` or `failed`. The server page shows the panel from this, never from `management`.
83774
+ * @enum {string}
83775
+ */
83776
+ panel_state: "" | "enrolling" | "managed" | "failed";
83747
83777
  /** @description The tier it was bought on, or `""` when it was ordered by size alone. */
83748
83778
  plan_code: string;
83749
83779
  /**
@@ -98007,6 +98037,11 @@ export interface components {
98007
98037
  * ⛔ Required — `422` — on any range that publishes images, and meaningless on one that does not. It is not marked required here because which ranges publish them is a live provider fact a schema cannot know. ⛔⛔ Check the image's `architecture` against the chosen size: ARM and x86 images are separate entries with the **same name**, and a mismatch is refused *after* the customer has paid.
98008
98038
  */
98009
98039
  image?: string;
98040
+ /**
98041
+ * @description CLOUD-U2 (P3-007). How the server is run: `panel` = With the Zinn® panel (our free web stack converged on it and managed from the dashboard), `bare` = Bare server, I manage it. Omitted or blank = `bare` (R2: the panel is only ever given when the order names it; the dashboard's order form always sends the choice). An explicit `panel` that cannot run (Windows, under 2 GB or an unknown size, a range we do not hold the account for, or with a Docker or Kubernetes `blueprint`) is refused `422` (`refusal.compute.panel*`) and nothing is charged.
98042
+ * @enum {string}
98043
+ */
98044
+ management?: "" | "panel" | "bare";
98010
98045
  /** @description What to call the machine. It is also the name at the provider, which is what lets a retried purchase find the machine it already bought instead of buying a second. */
98011
98046
  name: string;
98012
98047
  /** @description A stack optimisation profile, as the configurator reported it. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1944",
3
+ "version": "0.1.1946",
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>",