@zinn-digital/sdk 0.1.1762 → 0.1.1764

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.
@@ -46773,7 +46773,7 @@ export interface paths {
46773
46773
  *
46774
46774
  * ⛔ **No enumeration.** The answer is the same `202` whether or not the address already has an account. A known address with a password is mailed "you already have an account, sign in or reset your password"; any other address is mailed our branded link to `/signup/verify?token=…`, valid for 48 hours. No Keycloak user is created until the password is chosen (`completeSignup`).
46775
46775
  *
46776
- * A disposable or invalid address is refused with `403 SIGNUP_EMAIL_REFUSED`, the same refusal the Keycloak form path gets at its first sign-in (docs/1174).
46776
+ * A disposable or invalid address is refused with `403 SIGNUP_EMAIL_REFUSED`, the same refusal the Keycloak form path gets at its first sign-in (docs/1174). When the address looks like a mistyped domain ("gamil.com") the refusal also carries `details[0] = {field: email, code: EMAIL_POSSIBLE_TYPO, suggestion}` (EMAILTYPO).
46777
46777
  */
46778
46778
  post: operations["startSignup"];
46779
46779
  delete?: never;
@@ -55388,7 +55388,7 @@ export interface paths {
55388
55388
  *
55389
55389
  * ⛔ Nothing here calls Temporal (§2.9). The status change and a `site.created` event commit in one transaction and the existing consumer starts the workflow, so a Temporal outage cannot leave the row half-moved.
55390
55390
  *
55391
- * A site that is `active`, `deleting` or `deleted` is a `422` — a retry re-runs the build, and those are past it. Requires `sites.view` and `hosting.deploy.manage`.
55391
+ * A site that is `active`, `deleting` or `deleted` is a `422` — a retry re-runs the build, and those are past it. Requires `sites.view` and `hosting.deploy.manage`. A site that publishes DNS on the customer's own account (`use_own_dns`) runs the same own-DNS pre-flight a create runs before it rebuilds: a failing verdict is a `422` with `refusal.ownDns.*` naming the fix (for example the token permission it lacks), and the site does not move.
55392
55392
  *
55393
55393
  * **Row 45 (s1014).** A `provisioning` site past its measured p90 is STALLED: Retry terminates the old run and starts afresh (row-locked, so a double press starts one workflow; the second answers `refusal: in_flight`). A `failed` site is refused with `422` (`refusal.sites.retryCoolingDown`) for 3 minutes after the failure, and (`refusal.sites.retryNotInGoodStanding`) when the account is not in good standing - exactly when `Site.install.retry.enabled` is `false`.
55394
55394
  */
@@ -87285,6 +87285,11 @@ export interface components {
87285
87285
  * @example Gmail
87286
87286
  */
87287
87287
  provider?: string;
87288
+ /**
87289
+ * @description Only on an `EMAIL_POSSIBLE_TYPO` detail of a `403 SIGNUP_EMAIL_REFUSED` (EMAILTYPO): the address as typed with its domain replaced by the one the e-mail validator suggested. A page may put it in the e-mail field for the buyer to confirm.
87290
+ * @example ann@gmail.com
87291
+ */
87292
+ suggestion?: string;
87288
87293
  };
87289
87294
  /** @description A tenant's own e-mail provider account. ⚖️ Owner ruling 2026-08-26 — a reseller sends through their own account, and one that is missing or unverified is REFUSED rather than quietly served from the platform key. ⛔ `status` distinguishes three states because the fix differs in each; one collapsed message tells the operator nothing they can act on. ⭐ The platform's own staff org is the one exception: with no account of its own it sends through the platform account, and reads `platform` (with the From and Reply-To that account sends as) — or `platform_key_missing` when the platform key is absent from this environment, the one case where a staff campaign is refused. A customer or reseller org never reads either. */
87290
87295
  EspConnection: {
@@ -196570,6 +196575,15 @@ export interface operations {
196570
196575
  "application/json": components["schemas"]["PublicCheckoutResult"];
196571
196576
  };
196572
196577
  };
196578
+ /** @description The buyer's e-mail address is refused (`SIGNUP_EMAIL_REFUSED`, docs/1174): a disposable, invalid or spam-trap address. Nothing was created and the basket stays. For a likely typo in the domain, `details[0]` is `{field: email, code: EMAIL_POSSIBLE_TYPO, suggestion}`: `suggestion` is the same address on the domain the validator suggested ("ann@gmail.com" for "ann@gamil.com"), which the page offers as a one-click fix before the buyer submits again (EMAILTYPO). */
196579
+ 403: {
196580
+ headers: {
196581
+ [name: string]: unknown;
196582
+ };
196583
+ content: {
196584
+ "application/json": components["schemas"]["Error"];
196585
+ };
196586
+ };
196573
196587
  404: components["responses"]["NotFound"];
196574
196588
  /**
196575
196589
  * @description The email already has an account (sign in to complete the purchase), or a domain in the cart is no longer available. Nothing was created either way.
@@ -198362,7 +198376,7 @@ export interface operations {
198362
198376
  "application/json": components["schemas"]["SignupAccepted"];
198363
198377
  };
198364
198378
  };
198365
- /** @description The address is refused (`SIGNUP_EMAIL_REFUSED`). */
198379
+ /** @description The address is refused (`SIGNUP_EMAIL_REFUSED`). For a likely typo in the domain, `details[0].code` is `EMAIL_POSSIBLE_TYPO` and `details[0].suggestion` is the same address on the domain the validator suggested ("ann@gmail.com" for "ann@gamil.com"), which the page offers as a one-click fix (EMAILTYPO, docs/1174 §1b3). */
198366
198380
  403: {
198367
198381
  headers: {
198368
198382
  [name: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1762",
3
+ "version": "0.1.1764",
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>",