@zinn-digital/sdk 0.1.1748 → 0.1.1750

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.
@@ -40532,7 +40532,7 @@ export interface paths {
40532
40532
  put?: never;
40533
40533
  /**
40534
40534
  * Text a six-digit code to my number.
40535
- * @description Sends one code to the number by text message (and on WhatsApp when only WhatsApp is asked for). `consent` must be true: it records that I agreed to receive alert texts on this number (the wording version is `consent_text_version`). Refused when the channel is unavailable, the number's country is not open, the organisation is white-label or not in good standing, or too many codes were asked for (429). No topic is switched on by this: every topic stays off for texts until I turn it on in the routing grid.
40535
+ * @description Sends one code to the number by text message (and on WhatsApp when only WhatsApp is asked for). `consent` must be true: it records that I agreed to receive alert texts on this number (the wording version is `consent_text_version`). Refused when the channel is unavailable, the number's country is not open, the organisation is white-label or not in good standing, or too many codes were asked for (429). No topic is switched on by this: every topic stays off for texts until I turn it on in the routing grid. A +1 (US/Canada) number is single opt-in: no code is sent; the number is connected at once, one confirmation text is sent, and `confirmed` is true (skip the confirm step). A +1 number is texted only account notices (payments, orders, mail DNS action needed); its connection carries `us_ca_limited`.
40536
40536
  */
40537
40537
  post: operations["startNotificationPhone"];
40538
40538
  delete?: never;
@@ -83829,7 +83829,7 @@ export interface components {
83829
83829
  live: boolean;
83830
83830
  /** @description Whether the domain's published mail (MX, SPF) has been read yet. While false, a `mail_mismatch` of `null` means NOT CHECKED, not "matches" — a client shows that beside any nameserver instruction rather than presenting it as verified. */
83831
83831
  mail_measured?: boolean;
83832
- /** @description Present when the mail our copy of this domain's DNS would serve differs from the mail the domain publishes today — so changing nameservers to `expected` would change where its mail goes. A client must NOT tell the customer to change nameservers while this is set. `null` when they agree, when the domain is already delegated to us, or when the published mail has not been measured yet. */
83832
+ /** @description Present when the mail our copy of this domain's DNS would serve differs from the mail the domain publishes today — so changing nameservers to `expected` would change where its mail goes. A client must NOT tell the customer to change nameservers while this is set. `null` when they agree, when the domain is already delegated to us, or when the published mail has not been measured yet. `zone_mx`/`zone_spf` include a record the customer created, changed or deleted through `/v1/domains/{domainId}/dns/records` (or the `dns_record_*` MCP tools) as soon as that write returns, not after the next reconcile. */
83833
83833
  mail_mismatch?: null | {
83834
83834
  published_mx: string[];
83835
83835
  published_spf: string;
@@ -95383,6 +95383,8 @@ export interface components {
95383
95383
  signing_secret?: string;
95384
95384
  signing_secret_notice?: string;
95385
95385
  target?: string;
95386
+ /** @description An SMS/WhatsApp destination on a +1 (US/Canada) number. Its grid lists only the account-notice topics (payments, orders, mail DNS action needed); SEO, uptime and marketplace texts are not sent to it (they still come by e-mail and in the app). */
95387
+ us_ca_limited?: boolean;
95386
95388
  /** @description Until this is true nothing is routed here. For a machine destination it becomes true when a real test message has been delivered; for an e-mail address it becomes true only when the RECIPIENT clicks the confirmation link, because any address we can type will accept our mail and that proves nothing about consent. */
95387
95389
  verified?: boolean;
95388
95390
  /** Format: date-time */
@@ -188053,13 +188055,15 @@ export interface operations {
188053
188055
  };
188054
188056
  };
188055
188057
  responses: {
188056
- /** @description The code was sent. */
188058
+ /** @description The code was sent, or (a +1 number) the number is connected. */
188057
188059
  201: {
188058
188060
  headers: {
188059
188061
  [name: string]: unknown;
188060
188062
  };
188061
188063
  content: {
188062
188064
  "application/json": {
188065
+ /** @description True for a +1 number (single opt-in): it is already connected, there is no code to confirm. */
188066
+ confirmed: boolean;
188063
188067
  /** Format: date-time */
188064
188068
  expires_at: string;
188065
188069
  /** Format: uuid */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1748",
3
+ "version": "0.1.1750",
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>",