Repository navigation
v0.5.0
0.5.0
Added
- Message-template management via
client.templates:list— list templates on a WABA with field selection, paging, andname/status/category/languagefilters.get— fetch a single template by ID.create— create a template with typed header/body/footer/buttons components, named or positional parameters, category, and optional send TTL. Client-side validation enforces the documented limits (name charset/length, exactly one BODY component, text-length caps, ≤10 buttons) before the request.edit— update an approved template's category/components (name and language are immutable; editing resets it to review).delete— delete all language versions of a template by name, or a single version viahsm_id.
- New template-management types, with the management component union exported as
MessageTemplateComponentto avoid colliding with the existing send-sideTemplateComponent.
The existing sendTemplate sender and its types are unchanged.
Published automatically from CI via npm OIDC trusted publishing with signed provenance.