@zinn-digital/sdk 0.1.2114 → 0.1.2115

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.
@@ -95891,6 +95891,8 @@ export interface components {
95891
95891
  /** Format: uuid */
95892
95892
  id: string;
95893
95893
  provider: components["schemas"]["MailProvider"];
95894
+ /** @description The status a customer is shown; see `MailService.shown_status` (P4-066). */
95895
+ shown_status?: string;
95894
95896
  status: components["schemas"]["MailServiceStatus"];
95895
95897
  };
95896
95898
  MailForwarder: {
@@ -96275,6 +96277,16 @@ export interface components {
96275
96277
  /** @description The domain the mailboxes are on. */
96276
96278
  fqdn: string;
96277
96279
  id: components["schemas"]["Uuid"];
96280
+ /**
96281
+ * Format: date-time
96282
+ * @description When `inbound_state` was last measured; `null` = never.
96283
+ */
96284
+ inbound_checked_at?: string | null;
96285
+ /**
96286
+ * @description Whether mail for this domain ARRIVES here, by the domain's own public DNS, checked hourly and on every read of `GET /v1/mail/services/{mailServiceId}/dns-records` (P4-066). `status` is the provisioning state; show an `active` service as working only when this is `verified` (MX, SPF and DKIM all answer with our values). `not_arriving`: the MX is missing or points elsewhere, so no mail reaches the mailboxes; `incomplete`: mail arrives but SPF or DKIM is missing; `unknown`: the domain's nameservers could not be asked (never shown as broken); `unchecked`: not asked yet.
96287
+ * @enum {string}
96288
+ */
96289
+ inbound_state?: "verified" | "not_arriving" | "incomplete" | "unknown" | "unchecked";
96278
96290
  /**
96279
96291
  * @description **This domain uses us for mail and nothing else** — an active mail service on a hostname no website of ours serves.
96280
96292
  *
@@ -96300,6 +96312,8 @@ export interface components {
96300
96312
  provider: components["schemas"]["MailProvider"];
96301
96313
  /** @description The `custom` provider's declared values, served back so the domain screen can show and edit what was declared. `null` on every other provider, whose values are documented and derived rather than stored. */
96302
96314
  provider_config?: components["schemas"]["MailProviderConfig"] | null;
96315
+ /** @description The ONLY status a customer surface renders (P4-066). A non-active service carries its `status` unchanged; an `active` one is `active` only when `inbound_state` is `verified`, else `not_receiving` (MX missing or elsewhere), `records_incomplete` (MX here, SPF/DKIM missing) or `checking` (not yet readable). */
96316
+ shown_status?: string;
96303
96317
  /** @description The site currently serving this domain, or `null` when no site does. **Derived from the hostname, never stored**: mail attaches to a domain and a domain outlives the site on it, so a stored site id would go stale the day a domain moved between sites — and nothing would notice, because mail would keep working. `null` is a normal state (a BYO hostname, or mail kept after its site was deleted), not an error. */
96304
96318
  site?: components["schemas"]["MailServiceSite"] | null;
96305
96319
  status: components["schemas"]["MailServiceStatus"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.2114",
3
+ "version": "0.1.2115",
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>",