sendora 2.0.0__tar.gz → 2.0.1__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 (38) hide show
  1. {sendora-2.0.0 → sendora-2.0.1}/CHANGELOG.md +7 -0
  2. {sendora-2.0.0 → sendora-2.0.1}/PKG-INFO +1 -1
  3. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/_version.py +1 -1
  4. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/types.py +10 -5
  5. {sendora-2.0.0 → sendora-2.0.1}/.gitignore +0 -0
  6. {sendora-2.0.0 → sendora-2.0.1}/LICENSE +0 -0
  7. {sendora-2.0.0 → sendora-2.0.1}/README.md +0 -0
  8. {sendora-2.0.0 → sendora-2.0.1}/pyproject.toml +0 -0
  9. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/__init__.py +0 -0
  10. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/_account.py +0 -0
  11. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/_answers.py +0 -0
  12. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/_client.py +0 -0
  13. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/_errors.py +0 -0
  14. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/_json.py +0 -0
  15. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/_keys.py +0 -0
  16. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/_model.py +0 -0
  17. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/_options.py +0 -0
  18. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/_pages.py +0 -0
  19. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/_retry.py +0 -0
  20. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/_transport.py +0 -0
  21. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/_webhooks.py +0 -0
  22. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/_wire.py +0 -0
  23. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/py.typed +0 -0
  24. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/resources/__init__.py +0 -0
  25. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/resources/broadcasts.py +0 -0
  26. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/resources/domains.py +0 -0
  27. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/resources/email.py +0 -0
  28. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/resources/erasures.py +0 -0
  29. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/resources/inbound.py +0 -0
  30. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/resources/inbound_domains.py +0 -0
  31. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/resources/messages.py +0 -0
  32. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/resources/server.py +0 -0
  33. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/resources/servers.py +0 -0
  34. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/resources/streams.py +0 -0
  35. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/resources/suppressions.py +0 -0
  36. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/resources/tokens.py +0 -0
  37. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/resources/webhooks.py +0 -0
  38. {sendora-2.0.0 → sendora-2.0.1}/src/sendora/skills/sendora/SKILL.md +0 -0
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.1
4
+
5
+ - The docstrings of `ServerLimit.period`, `InboundCap.limit` and a refused
6
+ batch item's `resets_at` say what an account's month is. An account that
7
+ pays by card counts a month from the day and time of its first payment,
8
+ and any other account the calendar month in UTC. No call changes.
9
+
3
10
  ## 2.0.0
4
11
 
5
12
  - The error code `unpaid_limit_reached` is removed, since the API no
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: sendora
3
- Version: 2.0.0
3
+ Version: 2.0.1
4
4
  Summary: The Python client for Sendora's email API.
5
5
  Project-URL: Homepage, https://sendora.se/docs
6
6
  License-Expression: MIT
@@ -1,3 +1,3 @@
1
1
  """The package's version: the build reads it, and every request names it."""
2
2
 
3
- __version__ = "2.0.0"
3
+ __version__ = "2.0.1"
@@ -397,7 +397,8 @@ class RefusedBatchItem(Answer):
397
397
  retry_after: On ``rate_limited``, the seconds to wait.
398
398
  cap: On ``monthly_cap_reached``, the messages allowed a month.
399
399
  used: On ``monthly_cap_reached``, the messages sent this month.
400
- resets_at: On ``monthly_cap_reached``, when the month turns.
400
+ resets_at: On ``monthly_cap_reached``, when the month ends and the
401
+ count starts again.
401
402
  """
402
403
 
403
404
  index: int
@@ -917,7 +918,9 @@ class ServerLimit(Answer):
917
918
  Attributes:
918
919
  scope: Whose limit it is: the account's, the server's own, or the
919
920
  test cap the account's test servers share.
920
- period: The UTC minute or the calendar month in UTC it counts over.
921
+ period: The UTC minute, or the month it counts over: from the day
922
+ and time of the first payment for a paying account's live
923
+ server, otherwise the calendar month in UTC.
921
924
  limit: The emails allowed in the period, one per recipient.
922
925
  used: The emails the period has taken so far.
923
926
  resets_at: When the period ends and the count starts again.
@@ -950,9 +953,11 @@ class InboundCap(Answer):
950
953
  """The account's monthly cap on received mail, apart from the limits on sending.
951
954
 
952
955
  Attributes:
953
- limit: The emails the account may receive in the calendar month in
954
- UTC, over every inbound stream. It is the account's monthly cap
955
- on sending until an administrator moves it in the dashboard.
956
+ limit: The emails the account may receive in its month, over every
957
+ inbound stream. A paying account's month runs from the day and
958
+ time of its first payment, and any other account's is the
959
+ calendar month in UTC. It is the account's monthly cap on
960
+ sending until an administrator moves it in the dashboard.
956
961
  used: The emails received this month so far, one per recipient.
957
962
  resets_at: When the month ends and the count starts again.
958
963
  """
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes