elemento-loyalty-processing 1.0.2__py3-none-any.whl → 1.0.3__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.
@@ -2,4 +2,4 @@
2
2
 
3
3
  __author__ = "Anton Taraskin"
4
4
  __email__ = "hel.nidhoggr@gmail.com"
5
- __version__ = "1.0.1"
5
+ __version__ = "1.0.3"
@@ -45,6 +45,7 @@ class ElementoLoyaltyProcessingClient(RPCClientService):
45
45
  async def balance_calculate(
46
46
  self,
47
47
  customer: dict[str, Any],
48
+ store_id: int,
48
49
  items: list[Item],
49
50
  custom_attributes: dict[str, Any] = None,
50
51
  points_sub: int = 0,
@@ -61,6 +62,7 @@ class ElementoLoyaltyProcessingClient(RPCClientService):
61
62
  method="Balance.calculate_cart",
62
63
  params=dict(
63
64
  customer=customer,
65
+ store_id=store_id,
64
66
  items=items,
65
67
  custom_attributes=custom_attributes,
66
68
  points_sub=points_sub,
@@ -33,6 +33,7 @@ __all__ = [
33
33
  "LifetimeId",
34
34
  "ActionId",
35
35
  "Points",
36
+ "StoreId",
36
37
  ]
37
38
 
38
39
  DATE_MAXVALUE = date.fromisoformat("3000-01-01")
@@ -41,6 +42,7 @@ TransactionId = NewType("TransactionId", str)
41
42
  EventTypeId = NewType("EventTypeId", str)
42
43
  ListId = NewType("ListId", str)
43
44
  CustomerId = NewType("CustomerId", int)
45
+ StoreId = NewType("StoreId", int)
44
46
  OfferId = NewType("OfferId", int)
45
47
  LifetimeId = NewType("LifetimeId", int)
46
48
  GroupId = NewType("GroupId", int)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: elemento-loyalty-processing
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: Elemento Loyalty Processing
5
5
  Requires-Python: >=3.11
6
6
  Requires-Dist: kaiju-tools<3,>=2.4.9
@@ -0,0 +1,7 @@
1
+ elemento_loyalty_processing/__init__.py,sha256=B9q7Xuz-G7-a-us-RjJyMq7EcUaMJOMZ5bgDNu78p5w,117
2
+ elemento_loyalty_processing/client.py,sha256=ChtOHtbCDcbSCsSV292XJDa372U-MvR8W6-DZR79fEA,4757
3
+ elemento_loyalty_processing/types.py,sha256=5weGZa4wfotbKKIyR0Gy6G3kqaBhFO1g6czT02FfgQY,3137
4
+ elemento_loyalty_processing-1.0.3.dist-info/METADATA,sha256=OH8RWA5hsjswuNGw6O-bp4crPBvnBccDP7GtpWUqJxQ,407
5
+ elemento_loyalty_processing-1.0.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
+ elemento_loyalty_processing-1.0.3.dist-info/top_level.txt,sha256=N_AtPyYKvkr1NkoPAUrVl_4VCTP-kJIehtsLhkdacAc,28
7
+ elemento_loyalty_processing-1.0.3.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- elemento_loyalty_processing/__init__.py,sha256=M6w_yz52izYoymwQ9wcipYnG86GTo9QCMSjrdWCpg5Q,117
2
- elemento_loyalty_processing/client.py,sha256=gUYFGZ1QzOVU04H7Y2LiFYkg5xtcQfMhj0b345VoEow,4699
3
- elemento_loyalty_processing/types.py,sha256=LBlEQdhyTNC9BygHqZ8vRSP6oWt3TTDCrxk6gBtH50s,3088
4
- elemento_loyalty_processing-1.0.2.dist-info/METADATA,sha256=0-uB5ulsZaCQ9MJA2OTg60ygYNc_47ba7BA18hKU7RQ,407
5
- elemento_loyalty_processing-1.0.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
- elemento_loyalty_processing-1.0.2.dist-info/top_level.txt,sha256=N_AtPyYKvkr1NkoPAUrVl_4VCTP-kJIehtsLhkdacAc,28
7
- elemento_loyalty_processing-1.0.2.dist-info/RECORD,,