Repository navigation
v1.1.0 — reactivate + operator selection
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; passoperator_idtoorders.create()to route to a specific carrier;operator_id/operator_namenow 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