@zinn-digital/sdk 0.1.1524 → 0.1.1526

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.
@@ -93182,6 +93182,11 @@ export interface components {
93182
93182
  entry_processes: number;
93183
93183
  memory_mb: number;
93184
93184
  };
93185
+ /**
93186
+ * @description Which rule set this site's CPU and memory (`docs/866` §3): `plan` — the plan's rung; `box_floor` — the server it runs on has a higher minimum than the plan's rung; `app_size` — an application plan's process size is above the rung, so it is used; `app_size_below_rung` — that size is below the rung, and the rung is kept.
93187
+ * @enum {string}
93188
+ */
93189
+ limits_reason: "plan" | "box_floor" | "app_size" | "app_size_below_rung";
93185
93190
  offers: {
93186
93191
  code: string;
93187
93192
  cpu_percent: number;
@@ -100875,6 +100880,11 @@ export interface components {
100875
100880
  * ⛔ It is an id, not a co-tenancy leak: it names a panel the caller's own organization already connected and can already list. It never names one of our fleet boxes — `worker_id` stays unexposed for the reason the schema comment above gives.
100876
100881
  */
100877
100882
  panel_connection_id?: components["schemas"]["Uuid"] | null;
100883
+ /**
100884
+ * Format: uuid
100885
+ * @description The site this one is a standalone subdomain of (1105#32 C), or null. Site lists group a child under its parent from this field. Cleared when either site moves to another organisation or the parent is removed.
100886
+ */
100887
+ readonly parent_site_id?: string | null;
100878
100888
  /**
100879
100889
  * @description The PHP version this site is pinned to, or `""` when it follows the product line's current default. Echoed so a caller can confirm the choice it just made on create — without it, `POST /v1/sites` accepted a `php_version` that no response ever mentioned again. It is the **desired** state, not proof the box has switched; `GET /v1/sites/{siteId}/php-version` resolves the effective version (this value, or the line default) and lists what it may change to.
100880
100890
  * @example 8.4
@@ -102494,6 +102504,11 @@ export interface components {
102494
102504
  * ⭐ `null` is accepted and means exactly what omitting it means — *no panel* — so a client that always sends the field can leave it empty for a fleet site without tripping the not-applicable refusal. Only a **present, non-null** id counts as asking for a panel.
102495
102505
  */
102496
102506
  panel_connection_id?: components["schemas"]["Uuid"] | null;
102507
+ /**
102508
+ * Format: uuid
102509
+ * @description Create this site as a STANDALONE SUBDOMAIN of one of the organisation's own sites (master 1105#32 C, the V1 model). `primary_domain` must end in `.<parent primary_domain>`; the parent must be a live site in the same organisation and must not itself be a subdomain site (one level deep). It is a full site and uses one site slot; its DNS goes into the parent's zone. A subdomain added UNDER a site instead is `POST /v1/sites/{site_id}/subdomains`. A refusal is `422` naming `parent_site_id` or `primary_domain`.
102510
+ */
102511
+ parent_site_id?: string | null;
102497
102512
  /**
102498
102513
  * @description The PHP version the site starts on, as a minor-version family. Must be a version offered on this product line (`GET /v1/catalog/php-versions`); anything else is a `422` naming what is available, never a silent fallback. Omit for the line's default. A `422` too on a stack that does not run PHP — a static site has no PHP handler to pin. Changeable afterwards via `PUT /v1/sites/{siteId}/php-version`.
102499
102514
  * @example 8.3
@@ -103892,6 +103907,11 @@ export interface components {
103892
103907
  */
103893
103908
  renews_on: string | null;
103894
103909
  };
103910
+ /**
103911
+ * @description Which rule set this site's CPU and memory (`docs/866` §3): `plan` — the plan's rung; `box_floor` — the server it runs on has a higher minimum than the plan's rung; `app_size` — an application plan's process size is above the rung, so it is used; `app_size_below_rung` — that size is below the rung, and the rung is kept.
103912
+ * @enum {string}
103913
+ */
103914
+ limits_reason: "plan" | "box_floor" | "app_size" | "app_size_below_rung";
103895
103915
  offers: {
103896
103916
  ep: number;
103897
103917
  /** @description The extras code to buy — `POST /v1/extras/{code}/purchase` with this site's id. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1524",
3
+ "version": "0.1.1526",
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>",