reach_commons 0.17.4__py3-none-any.whl → 0.17.5__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.
@@ -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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: reach_commons
3
- Version: 0.17.4
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
@@ -8,7 +8,7 @@ reach_commons/clients/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
8
8
  reach_commons/clients/event_processor.py,sha256=KmYF0kuZxLmHQjJASXMr5jz2D_D3WNHB0c4QOlZo1_E,2024
9
9
  reach_commons/clients/hubspot.py,sha256=ntAzvwoaq78MkKaVoZ7geND-AafAzccNnJogfJDahVA,5497
10
10
  reach_commons/clients/outscraper.py,sha256=vA3m9xYVNH47x0IbqWL05Kb-wBv_F2vcZOCsKvgL_50,2040
11
- reach_commons/clients/reach_data_bridge.py,sha256=la2dPajeHlugbMZ-JY1JCURhZKCnw_sF1M7CCewb6N8,5142
11
+ reach_commons/clients/reach_data_bridge.py,sha256=aSRkD7aSvQbZujnSrkkwnAHqIRypXfb6cbbRzb0QAYk,5340
12
12
  reach_commons/clients/reach_ops_api.py,sha256=OLJ-PPQ_og49cAHDZ90BySJNtnQegDVFqs2KjHcv_cs,2407
13
13
  reach_commons/mongo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  reach_commons/mongo/customer_persistence.py,sha256=acrtpyCWr9vLVq61saJ3_Vp4DYHFBTM9XqoYC72J84w,3735
@@ -27,6 +27,6 @@ reach_commons/redis_manager.py,sha256=tK-kBw1fO1f-phsxGI-7W_MEtHQsRz7JY9LEN8OBcN
27
27
  reach_commons/sms_smart_encoding.py,sha256=92y0RmZ0l4ONHpC9qeO5KfViSNq64yE2rc7lhNDSZqE,1241
28
28
  reach_commons/utils.py,sha256=dMgKIGqTgoSItuBI8oz81gKtW3qi21Jkljv9leS_V88,8475
29
29
  reach_commons/validations.py,sha256=jc78boM62S9Z0Ip_nV1z7I983gGpW2Y7vOCQtmia8OU,964
30
- reach_commons-0.17.4.dist-info/METADATA,sha256=GBkwNyrvJVVWXeungXLIIye4thzHsdWl3guKeFO2qC4,1860
31
- reach_commons-0.17.4.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
32
- reach_commons-0.17.4.dist-info/RECORD,,
30
+ reach_commons-0.17.5.dist-info/METADATA,sha256=L4zciPWQ520LzYohHWfGt2DZusz-_E4FRzn8LCij25g,1860
31
+ reach_commons-0.17.5.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
32
+ reach_commons-0.17.5.dist-info/RECORD,,