@zinn-digital/sdk 0.1.1811 → 0.1.1812

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.
@@ -57218,7 +57218,9 @@ export interface paths {
57218
57218
  *
57219
57219
  * The vendor's acknowledgement is checked separately from its result: this endpoint answers a success object rather than the result field every other vendor call uses, and an absent result is **not** a refusal — reading it as one would report a refused reinstall of a customer's live WordPress as completed.
57220
57220
  *
57221
- * `202` and no body. `404` for a site with no vendor hosting package. Requires `sites.view` and `sites.panel_access`.
57221
+ * **Asynchronous.** Only the cheap refusals (capability, WordPress installed) run in the request; the pre-reinstall safety backup and the reinstall itself run in the `SiteWordPressReinstallWorkflow` (one per site, `hosting-provisioning` queue). In the request, a real site's backup outlived the request budget and every press answered `422` (BACKUPACCUM1114). The `wordpress.reinstall` activity row is written when the reinstall HAS happened, `wordpress.reinstall_failed` (with a reason) when it did not.
57222
+ *
57223
+ * `202` and no body. `404` for a site with no hosting package. `409` (`refusal.hosting.wordpressReinstallInFlight`) while a reinstall of this site is already running. `503` (`refusal.hosting.wordpressReinstallUnavailable`) when the workflow engine cannot be reached; nothing was started. Requires `sites.view` and `sites.panel_access`.
57222
57224
  */
57223
57225
  post: operations["reinstallSiteWordPress"];
57224
57226
  delete?: never;
@@ -216101,7 +216103,7 @@ export interface operations {
216101
216103
  };
216102
216104
  requestBody?: never;
216103
216105
  responses: {
216104
- /** @description The reinstall was accepted and continues at the vendor. */
216106
+ /** @description The reinstall was accepted and runs on the platform's workflow queue. */
216105
216107
  202: {
216106
216108
  headers: {
216107
216109
  [name: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1811",
3
+ "version": "0.1.1812",
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>",