nomba-python 0.1.0__py3-none-any.whl → 0.2.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.
Files changed (34) hide show
  1. {nomba_python → nomba}/__init__.py +1 -1
  2. {nomba_python → nomba}/client.py +18 -1
  3. {nomba_python → nomba}/data/nomba_openapi.json +8918 -3391
  4. {nomba_python → nomba}/models.py +293 -8
  5. {nomba_python → nomba}/resources/__init__.py +12 -0
  6. {nomba_python → nomba}/resources/accounts.py +213 -39
  7. {nomba_python → nomba}/resources/airtime_data.py +17 -8
  8. nomba/resources/betting.py +205 -0
  9. {nomba_python → nomba}/resources/cabletv.py +4 -4
  10. {nomba_python → nomba}/resources/charge.py +19 -18
  11. {nomba_python → nomba}/resources/checkout.py +104 -16
  12. nomba/resources/direct_debits.py +343 -0
  13. {nomba_python → nomba}/resources/electricity.py +11 -10
  14. nomba/resources/global_collections.py +133 -0
  15. nomba/resources/global_payout.py +381 -0
  16. {nomba_python → nomba}/resources/terminals.py +47 -4
  17. {nomba_python → nomba}/resources/transactions.py +19 -18
  18. {nomba_python → nomba}/resources/transfers.py +69 -46
  19. {nomba_python → nomba}/resources/virtual_accounts.py +111 -24
  20. {nomba_python-0.1.0.dist-info → nomba_python-0.2.0.dist-info}/METADATA +11 -5
  21. nomba_python-0.2.0.dist-info/RECORD +33 -0
  22. nomba_python-0.1.0.dist-info/RECORD +0 -29
  23. {nomba_python → nomba}/concurrency.py +0 -0
  24. {nomba_python → nomba}/data/__init__.py +0 -0
  25. {nomba_python → nomba}/exceptions.py +0 -0
  26. {nomba_python → nomba}/flows/__init__.py +0 -0
  27. {nomba_python → nomba}/flows/card_payment.py +0 -0
  28. {nomba_python → nomba}/http.py +0 -0
  29. {nomba_python → nomba}/pagination.py +0 -0
  30. {nomba_python → nomba}/py.typed +0 -0
  31. {nomba_python → nomba}/validation.py +0 -0
  32. {nomba_python → nomba}/webhooks.py +0 -0
  33. {nomba_python-0.1.0.dist-info → nomba_python-0.2.0.dist-info}/WHEEL +0 -0
  34. {nomba_python-0.1.0.dist-info → nomba_python-0.2.0.dist-info}/licenses/LICENSE +0 -0
@@ -37,4 +37,4 @@ __all__ = [
37
37
  "check_timestamp_freshness",
38
38
  ]
39
39
 
40
- __version__ = "0.1.0"
40
+ __version__ = "0.2.0"
@@ -6,18 +6,26 @@ from .resources import (
6
6
  AirtimeData,
7
7
  AsyncAccounts,
8
8
  AsyncAirtimeData,
9
+ AsyncBetting,
9
10
  AsyncCableTv,
10
11
  AsyncCharge,
11
12
  AsyncCheckout,
13
+ AsyncDirectDebits,
12
14
  AsyncElectricity,
15
+ AsyncGlobalCollections,
16
+ AsyncGlobalPayout,
13
17
  AsyncTerminals,
14
18
  AsyncTransactions,
15
19
  AsyncTransfers,
16
20
  AsyncVirtualAccounts,
21
+ Betting,
17
22
  CableTv,
18
23
  Charge,
19
24
  Checkout,
25
+ DirectDebits,
20
26
  Electricity,
27
+ GlobalCollections,
28
+ GlobalPayout,
21
29
  Terminals,
22
30
  Transactions,
23
31
  Transfers,
@@ -48,7 +56,8 @@ class Nomba:
48
56
 
49
57
  Resource groups:
50
58
  accounts, virtual_accounts, checkout, charge, transfers,
51
- terminals, transactions, airtime_data, cabletv, electricity
59
+ terminals, transactions, airtime_data, cabletv, electricity,
60
+ betting, direct_debits, global_collections, global_payout
52
61
  """
53
62
 
54
63
  def __init__(
@@ -77,6 +86,10 @@ class Nomba:
77
86
  self.airtime_data = AirtimeData(self.client)
78
87
  self.cabletv = CableTv(self.client)
79
88
  self.electricity = Electricity(self.client)
89
+ self.betting = Betting(self.client)
90
+ self.direct_debits = DirectDebits(self.client)
91
+ self.global_collections = GlobalCollections(self.client)
92
+ self.global_payout = GlobalPayout(self.client)
80
93
 
81
94
  def close(self) -> None:
82
95
  self.client.close()
@@ -143,6 +156,10 @@ class AsyncNomba:
143
156
  self.airtime_data = AsyncAirtimeData(self.client)
144
157
  self.cabletv = AsyncCableTv(self.client)
145
158
  self.electricity = AsyncElectricity(self.client)
159
+ self.betting = AsyncBetting(self.client)
160
+ self.direct_debits = AsyncDirectDebits(self.client)
161
+ self.global_collections = AsyncGlobalCollections(self.client)
162
+ self.global_payout = AsyncGlobalPayout(self.client)
146
163
 
147
164
  async def close(self) -> None:
148
165
  await self.client.close()