@zinn-digital/sdk 0.1.1836 → 0.1.1838

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.
@@ -36012,8 +36012,8 @@ export interface paths {
36012
36012
  get: operations["listEmailMarketingWhatsappTemplates"];
36013
36013
  put?: never;
36014
36014
  /**
36015
- * Submit a plain-text template for Meta's review.
36016
- * @description Gated on `email_marketing.manage`. Submits ONE template language to Meta for review (free; Meta usually decides within minutes to a day). Plain text only (no numbered placeholders). Refusal `CAMPAIGNS_WHATSAPP_TEMPLATE_REFUSED` (`details[].code`: `name_invalid`, `language_invalid`, `category_invalid`, `body_invalid`, `duplicate`, `refused`, `not_connected` 409, `unavailable` 503, `token_expired`). Audited (`email_marketing.whatsapp.template_create`).
36015
+ * Submit a template for Meta's review.
36016
+ * @description Gated on `email_marketing.manage`. Submits ONE template language to Meta for review (free; Meta usually decides within minutes to a day). The body may carry positional placeholders `{{1}}`, `{{2}}` and so on, numbered from 1 in order of appearance with no gap or repeat, and `examples` carries ONE example value per placeholder in the same order (sent to Meta as the body's `example.body_text`; a plain body sends none). Refusal `CAMPAIGNS_WHATSAPP_TEMPLATE_REFUSED` (`details[].code`: `name_invalid`, `language_invalid`, `category_invalid`, `body_invalid`, `placeholders_invalid` (a gap, a repeat, a wrong order, or a named or malformed placeholder), `examples_invalid` (not exactly one non-blank example per placeholder), `duplicate`, `refused`, `not_connected` 409, `unavailable` 503, `token_expired`); a refused body makes no Meta call. Audited (`email_marketing.whatsapp.template_create`).
36017
36017
  */
36018
36018
  post: operations["createEmailMarketingWhatsappTemplate"];
36019
36019
  delete?: never;
@@ -53966,6 +53966,8 @@ export interface paths {
53966
53966
  * List a site's FTP accounts.
53967
53967
  * @description The FTP accounts on the site's hosting package, including the package's own primary account so the customer can see it exists. **No password is returned for any of them, and none can be read back**: the vendor does expose the primary account's live credentials in cleartext, and this platform deliberately never calls that endpoint.
53968
53968
  *
53969
+ * On our own fleet, a plan that includes SSH lists its **SSH account as the SFTP login** (`is_primary: true`, `credential: ssh`), with `host` and `port`: SFTP rides the plan's SSH keys there, so the login always exists and is never an SFTP-only account to switch on.
53970
+ *
53969
53971
  * **Served stale-while-revalidate** (`docs/1081` §"Freshness"): a reading from the last 60 s is returned as is; an older one (up to 7 days) is returned at once while one background refresh reads the server again; only a site with no reading reads the server in the request. Any FTP or database change through this API drops the cached reading, so the customer's own change is always visible on the next call.
53970
53972
  *
53971
53973
  * `limit` is the **effective** ceiling — the lower of what the package permits and what the customer bought, with either side being unlimited yielding to the other. `permitted` and `can_create` are separate because the screen says different things: *"your plan does not include this"* is not *"you have used all of them"*.
@@ -182745,6 +182747,8 @@ export interface operations {
182745
182747
  body: string;
182746
182748
  /** @enum {string} */
182747
182749
  category: "MARKETING" | "UTILITY";
182750
+ /** @description One example value per `{{n}}` placeholder in `body`, in order. */
182751
+ examples?: string[];
182748
182752
  language: string;
182749
182753
  name: string;
182750
182754
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1836",
3
+ "version": "0.1.1838",
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>",