Skip to content

v0.5.0

Choose a tag to compare

@solvejet-team solvejet-team released this 09 Oct 16:13
· 25 commits to master since this release
88aeeb8

0.5.0

Added

  • Message-template management via client.templates:
    • list — list templates on a WABA with field selection, paging, and name/status/category/language filters.
    • 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 via hsm_id.
  • New template-management types, with the management component union exported as MessageTemplateComponent to avoid colliding with the existing send-side TemplateComponent.

The existing sendTemplate sender and its types are unchanged.

Published automatically from CI via npm OIDC trusted publishing with signed provenance.