dial-sdk 0.45.0__tar.gz → 0.45.2__tar.gz

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.
Files changed (30) hide show
  1. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/PKG-INFO +1 -1
  2. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/dial_sdk/types.py +7 -2
  3. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/pyproject.toml +1 -1
  4. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/.gitignore +0 -0
  5. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/README.md +0 -0
  6. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/dial_sdk/__init__.py +0 -0
  7. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/dial_sdk/client.py +0 -0
  8. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/dial_sdk/events.py +0 -0
  9. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/dial_sdk/self_hosted.py +0 -0
  10. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/dial_sdk/self_hosted_audio.py +0 -0
  11. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/dial_sdk/user_agent.py +0 -0
  12. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/examples/audio_echo_server.py +0 -0
  13. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/test.py +0 -0
  14. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/tests/test_billing.py +0 -0
  15. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/tests/test_contacts.py +0 -0
  16. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/tests/test_default_base_url.py +0 -0
  17. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/tests/test_events.py +0 -0
  18. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/tests/test_groups.py +0 -0
  19. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/tests/test_lookup.py +0 -0
  20. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/tests/test_policies.py +0 -0
  21. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/tests/test_replaced_numbers.py +0 -0
  22. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/tests/test_reply_to_message.py +0 -0
  23. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/tests/test_self_hosted.py +0 -0
  24. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/tests/test_self_hosted_audio.py +0 -0
  25. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/tests/test_send_message.py +0 -0
  26. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/tests/test_set_number_properties.py +0 -0
  27. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/tests/test_stop_call.py +0 -0
  28. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/tests/test_typing.py +0 -0
  29. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/tests/test_user_agent.py +0 -0
  30. {dial_sdk-0.45.0 → dial_sdk-0.45.2}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: dial-sdk
3
- Version: 0.45.0
3
+ Version: 0.45.2
4
4
  Summary: Official Dial SDK — phone numbers, SMS, WhatsApp, and voice calls for AI agents
5
5
  Requires-Python: >=3.11
6
6
  Requires-Dist: httpx>=0.27
@@ -184,9 +184,14 @@ class PhoneNumber:
184
184
  whatsapp_avatar_url: Optional[str] = None # Dial-hosted URL of the WhatsApp avatar; None when unset
185
185
  # The WhatsApp channel's own setup state, or None when the number has no
186
186
  # WhatsApp registration at all. Keys: "status" ("provisioning" | "warming_up" |
187
- # "ready" | "failed" | "banned" | "paused"), "error", "retryAvailableAt". "warming_up": a
187
+ # "ready" | "failed" | "banned" | "paused" | "offline"), "error", "retryAvailableAt", "mode"
188
+ # ("inbound_first": it can message only people who messaged it first, anything else is refused
189
+ # with 403 "whatsapp_inbound_first"; "outbound_first": it can start conversations). "warming_up": a
188
190
  # number you connected is registered and warming up (about 6 hours) before first use.
189
191
  # "paused": Dial temporarily paused WhatsApp sending on the line; it returns to "ready".
192
+ # "offline": WhatsApp is temporarily offline on the line and Dial is reconnecting it; sends
193
+ # fail with "whatsapp_offline" (retry after Retry-After); it returns to "ready", or to
194
+ # "failed" if it cannot be reconnected.
190
195
  #
191
196
  # Independent of setup_status: separate tracks on one line, so voice
192
197
  # caller-ID can be ready while WhatsApp has failed, and the other way round.
@@ -850,7 +855,7 @@ class CapabilityState(TypedDict, total=False):
850
855
  a synchronous one has no transition to report and cannot fail.
851
856
  """
852
857
 
853
- status: str # "provisioning" | "warming_up" | "ready" | "failed" | "banned" | "paused"
858
+ status: str # "provisioning" | "warming_up" | "ready" | "failed" | "banned" | "paused" | "offline"
854
859
  previousStatus: Optional[str] # the status this capability left, when it moved
855
860
  error: Optional[str] # vendor-neutral reason; set only when status == "failed"
856
861
  # When this capability accepts another attempt, ISO-8601 — the cooldown. Set only
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "dial-sdk"
3
- version = "0.45.0"
3
+ version = "0.45.2"
4
4
  description = "Official Dial SDK — phone numbers, SMS, WhatsApp, and voice calls for AI agents"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes