@zinn-digital/sdk 0.1.1524 → 0.1.1525

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.
@@ -100875,6 +100875,11 @@ export interface components {
100875
100875
  * ⛔ 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
100876
  */
100877
100877
  panel_connection_id?: components["schemas"]["Uuid"] | null;
100878
+ /**
100879
+ * Format: uuid
100880
+ * @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.
100881
+ */
100882
+ readonly parent_site_id?: string | null;
100878
100883
  /**
100879
100884
  * @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
100885
  * @example 8.4
@@ -102494,6 +102499,11 @@ export interface components {
102494
102499
  * ⭐ `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
102500
  */
102496
102501
  panel_connection_id?: components["schemas"]["Uuid"] | null;
102502
+ /**
102503
+ * Format: uuid
102504
+ * @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`.
102505
+ */
102506
+ parent_site_id?: string | null;
102497
102507
  /**
102498
102508
  * @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
102509
  * @example 8.3
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.1525",
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>",