@zinn-digital/sdk 0.1.1810 → 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;
@@ -86857,8 +86859,11 @@ export interface components {
86857
86859
  email: string;
86858
86860
  /** @description The row's position in the file */
86859
86861
  row: number;
86860
- /** @enum {string} */
86861
- verdict: "countryRefused" | "notBusinessAddress" | "suppressed" | "invalid" | "duplicate";
86862
+ /**
86863
+ * @description Why the row was refused. `overAllowance` = a NEW lead past the Cold Outreach plan's active-lead allowance (`cold_leads`); updates to leads already held are never refused.
86864
+ * @enum {string}
86865
+ */
86866
+ verdict: "countryRefused" | "notBusinessAddress" | "suppressed" | "invalid" | "duplicate" | "overAllowance";
86862
86867
  };
86863
86868
  EmailMarketingColdLead: {
86864
86869
  attributes?: {
@@ -216098,7 +216103,7 @@ export interface operations {
216098
216103
  };
216099
216104
  requestBody?: never;
216100
216105
  responses: {
216101
- /** @description The reinstall was accepted and continues at the vendor. */
216106
+ /** @description The reinstall was accepted and runs on the platform's workflow queue. */
216102
216107
  202: {
216103
216108
  headers: {
216104
216109
  [name: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1810",
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>",