elemento-loyalty-processing 1.0.7__tar.gz → 1.0.8__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: elemento-loyalty-processing
3
- Version: 1.0.7
3
+ Version: 1.0.8
4
4
  Summary: Elemento Loyalty Processing
5
5
  Requires-Python: >=3.11
6
6
  Requires-Dist: kaiju-tools<3,>=2.4.9
@@ -1,6 +1,6 @@
1
1
  """RPC client services for customer app."""
2
2
 
3
- import datetime
3
+ from datetime import datetime
4
4
  from typing import Any
5
5
 
6
6
  from kaiju_tools.http import RPCClientService
@@ -81,7 +81,7 @@ class ElementoLoyaltyProcessingClient(RPCClientService):
81
81
  return convert(data, Transaction)
82
82
 
83
83
  async def balance_confirm_transaction(
84
- self, transaction_id: TransactionId, _max_timeout: int = None, _nowait: bool = False
84
+ self, transaction_id: TransactionExtId, _max_timeout: int = None, _nowait: bool = False
85
85
  ) -> Transaction:
86
86
  """Call Balance.transaction.confirm."""
87
87
  data = await self.call(
@@ -93,7 +93,7 @@ class ElementoLoyaltyProcessingClient(RPCClientService):
93
93
  return convert(data, Transaction)
94
94
 
95
95
  async def balance_revert_transaction(
96
- self, transaction_id: TransactionId, _max_timeout: int = None, _nowait: bool = False
96
+ self, transaction_id: TransactionExtId, _max_timeout: int = None, _nowait: bool = False
97
97
  ) -> None:
98
98
  """Call Balance.transaction.revert."""
99
99
  return await self.call(
@@ -104,7 +104,7 @@ class ElementoLoyaltyProcessingClient(RPCClientService):
104
104
  )
105
105
 
106
106
  async def balance_commit_transaction(
107
- self, transaction_id: TransactionId, _max_timeout: int = None, _nowait: bool = False
107
+ self, transaction_id: TransactionExtId, _max_timeout: int = None, _nowait: bool = False
108
108
  ) -> Transaction:
109
109
  """Call Balance.transaction.commit."""
110
110
  data = await self.call(
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "elemento-loyalty-processing"
3
- version = "1.0.7"
3
+ version = "1.0.8"
4
4
  description = "Elemento Loyalty Processing"
5
5
  requires-python = ">=3.11"
6
6
  dependencies = [