@zinn-digital/sdk 0.1.1614 → 0.1.1616

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.
@@ -4498,6 +4498,7 @@ export interface paths {
4498
4498
  * ⛔⛔ A sampled limit has **three** outcomes, not two. Where no reading exists, the newest is older than 26 hours, or the vendor would not answer, the limit is reported as **un-checked** rather than as satisfied: `error.message` carries a trailing *"Not every limit could be checked"* clause naming what was missed, and the `billing.tariff.assign` audit row records it as `limits_unchecked` on **every** call, including successful ones. An un-checked limit never refuses — a refusal the caller cannot satisfy by any action is not a control — but it is never silently counted as "within limits" either.
4499
4499
  *
4500
4500
  * `override_over_limit: true` applies the plan anyway. It is the staff override, not a retry flag: the breach list is recorded on the `billing.tariff.assign` audit row alongside it, so the decision is answerable months later once the mailboxes it was about have been deleted. No separate permission — it stays on `billing.entitlement.manage`. ⛔ There is deliberately **no equivalent on the customer path**: a customer overriding their own quota check is not an override, it is no check.
4501
+ * ⚖️ **Sites over the limit are FROZEN, the same as a customer's (row 1107#13, owner 2026-11-08: "Freeze, same as customers").** When `max_sites` is breached the `409` also carries a `details` entry with `field` `sites_to_freeze`, `code` `SITES_TO_FREEZE` and the count in `message`, so the console warns staff how many sites the override will freeze before they save. Applied with the override, the newest extra sites on the plan's line are marked over-slot and put on `restricted` (served, no writes) at once, with the customer's frozen-site notice; nothing is deleted. Raising the limit (a bigger plan, an added slot, a deleted site) lifts the freeze on the next quota pass, oldest first.
4501
4502
  */
4502
4503
  post: operations["assignTariff"];
4503
4504
  delete?: never;
@@ -34018,7 +34019,7 @@ export interface paths {
34018
34019
  put?: never;
34019
34020
  /**
34020
34021
  * Connect a campaign sender (Zinn® sending, or the customer's own SMTP server).
34021
- * @description Gated on `email_marketing.manage`. `kind` is `pool` (Zinn® sending through our marketing pool: send `name` and `from_address` only; the response carries `dkim_record`, the TXT record the From domain publishes, and verifying checks that it is live) or `smtp` (Amazon SES, Resend and Mailgun work through their SMTP interfaces); other kinds are refused until their adapter ships. An SMTP password goes to the secret store and is never returned. The connection starts `unverified`; call the verify endpoint to prove it. `409` when the organisation already has a connection with that name.
34022
+ * @description Gated on `email_marketing.manage`. `kind` is `pool` (Zinn® sending through our marketing pool: send `name` and `from_address` only; the response carries `dkim_record`, the TXT record the From domain publishes, and verifying checks that it is live) or `smtp` (Amazon SES, Resend and Mailgun work through their SMTP interfaces); other kinds are refused until their adapter ships. `pool` is refused (`refusal.campaigns.poolWhiteLabel`) for a white-labelled organisation, which sends through its own server only. An SMTP password goes to the secret store and is never returned. The connection starts `unverified`; call the verify endpoint to prove it. `409` when the organisation already has a connection with that name.
34022
34023
  */
34023
34024
  post: operations["createEmailMarketingSender"];
34024
34025
  delete?: never;
@@ -83422,6 +83423,8 @@ export interface components {
83422
83423
  };
83423
83424
  EmailMarketingSenderList: {
83424
83425
  data: components["schemas"]["EmailMarketingSender"][];
83426
+ /** @description Whether `kind: pool` (Zinn® sending) may be connected. `false` for a white-labelled organisation (a reseller and its clients), which sends through its own server only, because a pool message names our relay in its headers. */
83427
+ pool_offered?: boolean;
83425
83428
  };
83426
83429
  EmailMarketingSms: {
83427
83430
  credit_balance_usd_micros: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1614",
3
+ "version": "0.1.1616",
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>",