smsgo 0.3.0__py3-none-any.whl
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.
- smsgo/__init__.py +67 -0
- smsgo/client.py +983 -0
- smsgo/errors.py +45 -0
- smsgo/py.typed +0 -0
- smsgo-0.3.0.dist-info/METADATA +301 -0
- smsgo-0.3.0.dist-info/RECORD +8 -0
- smsgo-0.3.0.dist-info/WHEEL +4 -0
- smsgo-0.3.0.dist-info/licenses/LICENSE +21 -0
smsgo/__init__.py
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"""SDK oficial Python da SMSGo — API de SMS para o Brasil.
|
|
2
|
+
|
|
3
|
+
Espelha o SDK Node.js (``@orynlabs/smsgo``): mesmos métodos, mapeamentos de
|
|
4
|
+
campo, autenticação e superfície de erro. Zero dependências de runtime.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from __future__ import annotations
|
|
8
|
+
|
|
9
|
+
from .client import (
|
|
10
|
+
AutoRechargeConfig,
|
|
11
|
+
Balance,
|
|
12
|
+
BillingResource,
|
|
13
|
+
Card,
|
|
14
|
+
ContactDetail,
|
|
15
|
+
ContactsResource,
|
|
16
|
+
InvoiceItem,
|
|
17
|
+
ListResult,
|
|
18
|
+
ListsResource,
|
|
19
|
+
Paginated,
|
|
20
|
+
PaginationMeta,
|
|
21
|
+
Plan,
|
|
22
|
+
PurchaseResult,
|
|
23
|
+
SendDetail,
|
|
24
|
+
SendListItem,
|
|
25
|
+
SendNumberDetail,
|
|
26
|
+
SendNumberItem,
|
|
27
|
+
SendResult,
|
|
28
|
+
SendSummary,
|
|
29
|
+
SmsTypeItem,
|
|
30
|
+
SMSGo,
|
|
31
|
+
WebhookConfig,
|
|
32
|
+
verify_webhook_signature,
|
|
33
|
+
)
|
|
34
|
+
from .errors import FieldError, SMSGoError
|
|
35
|
+
|
|
36
|
+
__all__ = [
|
|
37
|
+
"SMSGo",
|
|
38
|
+
"SMSGoError",
|
|
39
|
+
"FieldError",
|
|
40
|
+
"verify_webhook_signature",
|
|
41
|
+
# dataclasses de tipos
|
|
42
|
+
"SendResult",
|
|
43
|
+
"SendListItem",
|
|
44
|
+
"SendSummary",
|
|
45
|
+
"SendNumberDetail",
|
|
46
|
+
"SendDetail",
|
|
47
|
+
"SendNumberItem",
|
|
48
|
+
"PaginationMeta",
|
|
49
|
+
"Paginated",
|
|
50
|
+
"Balance",
|
|
51
|
+
"SmsTypeItem",
|
|
52
|
+
"AutoRechargeConfig",
|
|
53
|
+
"WebhookConfig",
|
|
54
|
+
"Plan",
|
|
55
|
+
"Card",
|
|
56
|
+
"InvoiceItem",
|
|
57
|
+
"PurchaseResult",
|
|
58
|
+
"ContactDetail",
|
|
59
|
+
"ListResult",
|
|
60
|
+
# namespaces
|
|
61
|
+
"ContactsResource",
|
|
62
|
+
"ListsResource",
|
|
63
|
+
"BillingResource",
|
|
64
|
+
"__version__",
|
|
65
|
+
]
|
|
66
|
+
|
|
67
|
+
__version__ = "0.3.0"
|