reach_commons 0.17.3__tar.gz → 0.17.5__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 (32) hide show
  1. {reach_commons-0.17.3 → reach_commons-0.17.5}/PKG-INFO +2 -2
  2. {reach_commons-0.17.3 → reach_commons-0.17.5}/pyproject.toml +2 -2
  3. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/clients/reach_data_bridge.py +7 -1
  4. {reach_commons-0.17.3 → reach_commons-0.17.5}/README.md +0 -0
  5. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/__init__.py +0 -0
  6. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/app_logging/__init__.py +0 -0
  7. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/app_logging/http_logger.py +0 -0
  8. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/app_logging/log_deprecated_endpoints.py +0 -0
  9. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/app_logging/logger.py +0 -0
  10. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/app_logging/logging_config.py +0 -0
  11. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/clients/__init__.py +0 -0
  12. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/clients/event_processor.py +0 -0
  13. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/clients/hubspot.py +0 -0
  14. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/clients/outscraper.py +0 -0
  15. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/clients/reach_ops_api.py +0 -0
  16. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/mongo/__init__.py +0 -0
  17. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/mongo/customer_persistence.py +0 -0
  18. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/mongo/customer_persistence_async.py +0 -0
  19. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/mongo/validation/__init__.py +0 -0
  20. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/reach_aws/__init__.py +0 -0
  21. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/reach_aws/commons.py +0 -0
  22. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/reach_aws/dynamo_db.py +0 -0
  23. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/reach_aws/exceptions.py +0 -0
  24. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/reach_aws/firehose.py +0 -0
  25. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/reach_aws/kms.py +0 -0
  26. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/reach_aws/s3.py +0 -0
  27. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/reach_aws/sqs.py +0 -0
  28. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/reach_base_model.py +0 -0
  29. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/redis_manager.py +0 -0
  30. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/sms_smart_encoding.py +0 -0
  31. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/utils.py +0 -0
  32. {reach_commons-0.17.3 → reach_commons-0.17.5}/reach_commons/validations.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: reach_commons
3
- Version: 0.17.3
3
+ Version: 0.17.5
4
4
  Summary: Reach Commons is a versatile utility library designed to streamline and enhance development workflows within the Reach ecosystem.
5
5
  License: MIT
6
6
  Author: Wilson Moraes
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.9
14
14
  Classifier: Programming Language :: Python :: 3.10
15
15
  Classifier: Programming Language :: Python :: 3.11
16
16
  Classifier: Programming Language :: Python :: 3.12
17
- Requires-Dist: curlify (==2.2.1)
17
+ Requires-Dist: curlify (==3.0.0)
18
18
  Requires-Dist: fastapi (==0.115.5)
19
19
  Requires-Dist: pydantic (==2.9.2)
20
20
  Requires-Dist: setuptools (==70.0.0)
@@ -1,7 +1,7 @@
1
1
  # isort .; black .; poetry build; poetry publish
2
2
  [tool.poetry]
3
3
  name = "reach_commons"
4
- version = "0.17.3"
4
+ version = "0.17.5"
5
5
  description = "Reach Commons is a versatile utility library designed to streamline and enhance development workflows within the Reach ecosystem."
6
6
  authors = ["Wilson Moraes <wmoraes@getreach.ai>"]
7
7
  license = "MIT"
@@ -19,7 +19,7 @@ python = "^3.8"
19
19
  setuptools = "70.0.0"
20
20
  wheel = "0.41.2"
21
21
  twine = "4.0.2"
22
- curlify = "2.2.1"
22
+ curlify = "3.0.0"
23
23
  pydantic = "2.9.2"
24
24
  fastapi = "0.115.5"
25
25
 
@@ -139,10 +139,16 @@ class ReachDataBridgeClient:
139
139
  )
140
140
  return resp
141
141
 
142
- def stripe_subscription_one_time_recharge(self, business_id=None, price_id=None):
142
+ def stripe_subscription_one_time_recharge(
143
+ self, business_id=None, price_id=None, charge_strategy=None, refill_txn_id=None
144
+ ):
143
145
  resp = requests.post(
144
146
  f"{self.base_url}/stripe/subscription/{business_id}/one-time-charge/{price_id}",
145
147
  headers=self.gateway_headers,
148
+ params={
149
+ "charge_strategy": charge_strategy,
150
+ "refill_txn_id": refill_txn_id,
151
+ },
146
152
  )
147
153
  return resp
148
154
 
File without changes