@zinn-digital/sdk 0.1.1880 → 0.1.1886
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.
|
@@ -28384,7 +28384,7 @@ export interface paths {
|
|
|
28384
28384
|
put?: never;
|
|
28385
28385
|
/**
|
|
28386
28386
|
* Add a line to a cart.
|
|
28387
|
-
* @description Adds a priced line. A `hosting_plan` line needs a `plan_version_id`; a `domain_register`/`domain_transfer`/`domain_renew` line needs a `domain_name`, `tld` and `period_years`. The line shape and price are validated + stamped by the server; a bad shape (or a plan version with no price) is a `422`. A hosting-plan line whose site allowance does not all fit on the servers today is still added and carries `capacity_notice` (P6b-002); only when the platform refuses plans larger than everything it can hold is it a `422` with error code `CAPACITY_UNAVAILABLE` (`details[0].sites_wanted
|
|
28387
|
+
* @description Adds a priced line. A `hosting_plan` line needs a `plan_version_id`; a `domain_register`/`domain_transfer`/`domain_renew` line needs a `domain_name`, `tld` and `period_years`. The line shape and price are validated + stamped by the server; a bad shape (or a plan version with no price) is a `422`. A hosting-plan line whose site allowance does not all fit on the servers today is still added and carries `capacity_notice` (P6b-002); only when the platform refuses plans larger than everything it can hold is it a `422` with error code `CAPACITY_UNAVAILABLE` (`details[0].sites_wanted`; the servers' total is never stated). A `domain_transfer` line that would be free under the transfer offer is also a `422` when a guard on the offer refuses it; `error.code` is one of `EMAIL_NOT_VERIFIED`, `NOT_IN_GOOD_STANDING`, `PREMIUM_NAME`, `CHECK_FAILED` or `FREE_TRANSFER_LIMIT`, and `error.refusal.key` (`refusal.freeTransfer.*`) is the sentence to show in the reader's language. Nothing is added to the cart by a refused call.
|
|
28388
28388
|
*/
|
|
28389
28389
|
post: operations["addCartLine"];
|
|
28390
28390
|
delete?: never;
|
|
@@ -89335,6 +89335,8 @@ export interface components {
|
|
|
89335
89335
|
* @description Sites created into this pool per day over the trailing 30 days. The window is the denominator, not the span between the first and last arrival.
|
|
89336
89336
|
*/
|
|
89337
89337
|
arrivals_per_day: number;
|
|
89338
|
+
/** @description Whether this policy may buy a server by itself: the owner's switch AND a real server template. False on every pool (owner decision 2026-11-16, P6b-003): a pool short of room raises an urgent alert with what to do and adds nothing. */
|
|
89339
|
+
auto_add_hosts: boolean;
|
|
89338
89340
|
/** @description Sites a new box may hold. 0 refuses to act - placement cannot see a box with no capacity. */
|
|
89339
89341
|
capacity: number;
|
|
89340
89342
|
/** @description Whether a policy row exists for this pool. */
|
|
@@ -89376,7 +89378,7 @@ export interface components {
|
|
|
89376
89378
|
placeable_hosts: number;
|
|
89377
89379
|
pool: string;
|
|
89378
89380
|
product_lines: string[];
|
|
89379
|
-
/** @description
|
|
89381
|
+
/** @description The floor the scale-out sweep applies: ceil(provisioning lead days x the higher of the 30-day and 7-day arrivals per day). Derived from real site history, never typed. */
|
|
89380
89382
|
recommended_min_free_slots: number;
|
|
89381
89383
|
region: string;
|
|
89382
89384
|
/** @description The size automatic scale-out buys, e.g. `cx33`. Blank = Terraform's default. Present so the unattended sweep, the one-click button and the full add-server form all build the SAME box — a size on some of those paths and not others leaves the unattended one quietly buying the default for ever, and that is the path nobody watches. */
|
|
@@ -110515,7 +110517,7 @@ export interface components {
|
|
|
110515
110517
|
outcome?: "ok" | "skipped" | "failed" | "dry_run";
|
|
110516
110518
|
rung?: string;
|
|
110517
110519
|
}[];
|
|
110518
|
-
/** @description `box_down`, `plugin_fatal`, `theme_fatal`, `quota_full`, `database` (cannot connect), `database_empty` (connects, but holds no WordPress site - the customer's), `site_forbidden` (the site answers 403 Forbidden from its own access rules - the customer's), `plugins_missing` (an active plugin's folder is there but its main file is gone - the customer's, unless one of our own plugin updates touched the site within 24 h), `customer_content` (a WordPress site answering 404 whose docroot holds the customer's own files but no index file and no WordPress - the customer's, unless one of our own docroot writers (a restore, import, move, staging publish, app install, update or clean) wrote the site within 24 h), `disk_full`, or `origin` (empty until classified). */
|
|
110520
|
+
/** @description `box_down`, `plugin_fatal`, `theme_fatal`, `quota_full`, `database` (cannot connect), `database_empty` (connects, but holds no WordPress site - the customer's), `site_forbidden` (the site answers 403 Forbidden from its own access rules - the customer's), `plugins_missing` (an active plugin's folder is there but its main file is gone - the customer's, unless one of our own plugin updates touched the site within 24 h), `customer_content` (a WordPress site answering 404 whose docroot holds the customer's own files but no index file and no WordPress - the customer's, unless one of our own docroot writers (a restore, import, move, staging publish, app install, update or clean) wrote the site within 24 h), `site_overloaded` (a PHP/WordPress site's server took the request and the site did not answer in time, it was the only site failing on that server, and other sites there answered after it started failing - its PHP workers are busy; the customer's; an episode still down after 1 h, or once a second site on its server fails, becomes `origin`), `disk_full`, or `origin` (empty until classified). */
|
|
110519
110521
|
classification?: string;
|
|
110520
110522
|
detail?: string;
|
|
110521
110523
|
domain?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1886",
|
|
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>",
|