@zinn-digital/sdk 0.1.1837 → 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;
@@ -182747,6 +182747,8 @@ export interface operations {
182747
182747
  body: string;
182748
182748
  /** @enum {string} */
182749
182749
  category: "MARKETING" | "UTILITY";
182750
+ /** @description One example value per `{{n}}` placeholder in `body`, in order. */
182751
+ examples?: string[];
182750
182752
  language: string;
182751
182753
  name: string;
182752
182754
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1837",
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>",