Skip to content

v1.1.0 — reactivate + operator selection

Choose a tag to compare

@dzevs dzevs released this 09 Jul 01:26
· 3 commits to main since this release
98bfed0

Additive release. New public surface for both @smscode/sdk (TypeScript) and smscode (Python).

Added

  • Reactivate — orders.reactivate() + orders.reactivateOptions(): reactivate a completed number for another OTP on the same number; preview the reactivation cost before committing.
  • Operator (carrier) selection — catalog.operators({ country_id, platform_id }) lists the carriers for a country + platform; pass operator_id to orders.create() to route to a specific carrier; operator_id / operator_name now appear on order and product responses.

Changed

  • Insufficient balance now surfaces as HTTP 409 Conflict (previously 402); the typed error code (INSUFFICIENT_BALANCE) is unchanged.

Install: npm @smscode/sdk@1.1.0 · PyPI smscode==1.1.0