@zinn-digital/sdk 0.1.1726 → 0.1.1727

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.
@@ -64703,7 +64703,7 @@ export interface components {
64703
64703
  /** Format: date-time */
64704
64704
  created_at: string;
64705
64705
  /** @enum {string} */
64706
- decision: "allowed" | "refused" | "review";
64706
+ decision: "allowed" | "warned" | "refused" | "review";
64707
64707
  domain: string;
64708
64708
  /** @description Masked. */
64709
64709
  email: string;
@@ -85671,6 +85671,13 @@ export interface components {
85671
85671
  * @enum {string}
85672
85672
  */
85673
85673
  EmailRoutingAction: "forward" | "drop";
85674
+ /** @description MAILQUOTA (owner ruling 2026-11-11): the address is a REAL mailbox that cannot take mail right now, so messages we send it may bounce. Never a refusal: the buyer is told and carries on or changes the address. `code` is `mailbox_full`; `provider` names the mailbox provider ("Gmail", "Outlook") or is empty when it is not one we recognise. */
85675
+ EmailWarning: {
85676
+ /** @enum {string} */
85677
+ code: "mailbox_full";
85678
+ /** @example Gmail */
85679
+ provider: string;
85680
+ };
85674
85681
  /** @description One counted entitlement: the cap the plan sold, and how much of it is spent. */
85675
85682
  EntitlementAllowance: {
85676
85683
  /** @description A real number governs this allowance. False for both unlimited and unstated — branch on this to decide whether to draw a usage bar. */
@@ -85788,6 +85795,11 @@ export interface components {
85788
85795
  fresh_total_minor?: number;
85789
85796
  /** @example Must be a supported ISO 4217 currency code. */
85790
85797
  message?: string;
85798
+ /**
85799
+ * @description Only on an `EMAIL_MAILBOX_FULL` detail from `POST /v1/public/checkout` (MAILQUOTA): the mailbox provider whose inbox is full ("Gmail", "Outlook"), or empty when unknown.
85800
+ * @example Gmail
85801
+ */
85802
+ provider?: string;
85791
85803
  };
85792
85804
  /** @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. */
85793
85805
  EspConnection: {
@@ -99159,6 +99171,8 @@ export interface components {
99159
99171
  capabilities: {
99160
99172
  [key: string]: boolean;
99161
99173
  };
99174
+ /** @description MAILQUOTA (owner ruling 2026-11-11): this person's own address is a real mailbox whose inbox was FULL when they signed up, so our e-mails may bounce; the dashboard shows a banner asking them to clear it. `null` when there is nothing to say, and once the day-long check expires. */
99175
+ email_warning?: components["schemas"]["EmailWarning"] | null;
99162
99176
  /** @description The user's org memberships and roles (docs/02 §1). */
99163
99177
  memberships: components["schemas"]["Membership"][];
99164
99178
  user: components["schemas"]["User"];
@@ -100299,6 +100313,8 @@ export interface components {
100299
100313
  cart_token: string;
100300
100314
  /** Format: email */
100301
100315
  email: string;
100316
+ /** @description MAILQUOTA (owner ruling 2026-11-11). The buyer was told their inbox is full (`422`, `details[0].code = EMAIL_MAILBOX_FULL`) and chose "Continue anyway": with `true` the checkout goes ahead with this address and the result carries `email_warning`. Absent or `false`, a full inbox answers the `422` and nothing is created. */
100317
+ email_warning_accepted?: boolean;
100302
100318
  /**
100303
100319
  * Format: int64
100304
100320
  * @description The order total (tax included, minor units) the checkout page displayed. When sent and the placed order would total anything else, checkout refuses `422` with `details[0].code = TOTAL_CHANGED` before any order is placed, and nothing is charged: the visitor is shown the new total and confirms again (docs/1311).
@@ -100334,6 +100350,8 @@ export interface components {
100334
100350
  PublicCheckoutResult: {
100335
100351
  /** @description ISO 4217 code of the placed order. */
100336
100352
  currency: string;
100353
+ /** @description Present (non-null) when the order went through with `email_warning_accepted`: the customer's inbox is full, so the confirmation e-mail may bounce until they clear it. */
100354
+ email_warning?: components["schemas"]["EmailWarning"] | null;
100337
100355
  /**
100338
100356
  * @description What the client should do next. `payment` — the order exists and is `pending_payment`; nothing has been charged. `done` — the order totals **zero** and there is nothing to charge, so the customer is finished: this is what a free trial returns (owner ruling 2026-08-09 — a trial takes no card and starts immediately). It is keyed on the order TOTAL, not on the trial flag, because zero is zero however it got there and a payment step for nothing is a payment step for nothing.
100339
100357
  * @enum {string}
@@ -103279,6 +103297,8 @@ export interface components {
103279
103297
  * @enum {string}
103280
103298
  */
103281
103299
  account: "created" | "exists";
103300
+ /** @description Present only when the address's inbox is full (MAILQUOTA): the set-password e-mail may bounce, so the connect screen tells the site owner to clear it. */
103301
+ email_warning?: components["schemas"]["EmailWarning"];
103282
103302
  };
103283
103303
  SeoConnectStartInput: {
103284
103304
  /**
@@ -140914,7 +140934,7 @@ export interface operations {
140914
140934
  query?: {
140915
140935
  /** @description Opaque cursor from a previous page's `page.next_cursor`. */
140916
140936
  cursor?: components["parameters"]["Cursor"];
140917
- decision?: "allowed" | "refused" | "review";
140937
+ decision?: "allowed" | "warned" | "refused" | "review";
140918
140938
  /** @description Maximum items to return (page size). */
140919
140939
  limit?: components["parameters"]["Limit"];
140920
140940
  };
@@ -193467,7 +193487,7 @@ export interface operations {
193467
193487
  "application/json": components["schemas"]["Error"];
193468
193488
  };
193469
193489
  };
193470
- /** @description The body failed validation, or (`error.code` `REGISTRY_DATA_REQUIRED`, Q10) a domain's registry demands fields `registry_data` did not carry — checked before any account exists — or (`error.code` `REGISTRANT_REQUIRED`) the basket holds a domain and no `registrant` was sent. The registrant refusal happens before any account, organization or order exists, so the visitor adds the owner and submits again with nothing to unwind. Or (`error.code` `REFUND_TERMS_REQUIRED`) `accept_refund_terms` was not `true`: the visitor ticks "refunds are issued as Zinn® credit" and submits again; nothing was created. Or (`details[0].code` `TOTAL_CHANGED`) the total the order will be placed or RESUMED at is not `expected_total_minor`: nothing is placed or charged, and `details[0].fresh_total_minor` carries that total, which the page shows and sends back as `expected_total_minor` on the next press (docs/1311). */
193490
+ /** @description The body failed validation, or (`error.code` `REGISTRY_DATA_REQUIRED`, Q10) a domain's registry demands fields `registry_data` did not carry — checked before any account exists — or (`error.code` `REGISTRANT_REQUIRED`) the basket holds a domain and no `registrant` was sent. The registrant refusal happens before any account, organization or order exists, so the visitor adds the owner and submits again with nothing to unwind. Or (`error.code` `REFUND_TERMS_REQUIRED`) `accept_refund_terms` was not `true`: the visitor ticks "refunds are issued as Zinn® credit" and submits again; nothing was created. Or (`details[0].code` `TOTAL_CHANGED`) the total the order will be placed or RESUMED at is not `expected_total_minor`: nothing is placed or charged, and `details[0].fresh_total_minor` carries that total, which the page shows and sends back as `expected_total_minor` on the next press (docs/1311). Or (`details[0].code` `EMAIL_MAILBOX_FULL`, `field: email`, MAILQUOTA) the address is a real mailbox whose inbox is full: `details[0].provider` names the provider ("Gmail") or is empty. It is NOT a refusal of the sale and nothing was created; the page keeps the basket and the form, and the buyer either changes the address or sends the same request again with `email_warning_accepted: true` ("Continue anyway"). */
193471
193491
  422: {
193472
193492
  headers: {
193473
193493
  [name: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1726",
3
+ "version": "0.1.1727",
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>",