reach_commons 0.15.2__py3-none-any.whl → 0.15.4__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.
@@ -55,3 +55,11 @@ class ReachOpsApiClient:
55
55
  headers=self.gateway_headers,
56
56
  )
57
57
  return resp
58
+
59
+ def conversations_balances_apply_credits_from_invoice(self, invoice: dict):
60
+ resp = requests.post(
61
+ f"{self.base_url}/conversations/balances/apply-credits-from-invoice",
62
+ headers=self.gateway_headers,
63
+ data=json.dumps(invoice),
64
+ )
65
+ return resp
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: reach_commons
3
- Version: 0.15.2
3
+ Version: 0.15.4
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
@@ -17,7 +17,7 @@ Classifier: Programming Language :: Python :: 3.12
17
17
  Requires-Dist: curlify (==2.2.1)
18
18
  Requires-Dist: fastapi (==0.115.5)
19
19
  Requires-Dist: pydantic (==2.9.2)
20
- Requires-Dist: setuptools (==68.2.2)
20
+ Requires-Dist: setuptools (==70.0.0)
21
21
  Requires-Dist: twine (==4.0.2)
22
22
  Requires-Dist: wheel (==0.41.2)
23
23
  Description-Content-Type: text/markdown
@@ -9,7 +9,7 @@ reach_commons/clients/event_processor.py,sha256=KmYF0kuZxLmHQjJASXMr5jz2D_D3WNHB
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
11
  reach_commons/clients/reach_data_bridge.py,sha256=ItxO21gtSQ9tmXpVPZw1uJrUGTsAQmrDS4v1dxHmOi8,4853
12
- reach_commons/clients/reach_ops_api.py,sha256=3sM1V0lLcPCTJdTrBPTvZrYSM7z4Wi7hlNnInlfzDDA,1868
12
+ reach_commons/clients/reach_ops_api.py,sha256=-YFcaBCXb-uhvbIarlLncWqKVmYI7mMcTOnp8qvzags,2179
13
13
  reach_commons/mongo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  reach_commons/mongo/customer_persistence.py,sha256=acrtpyCWr9vLVq61saJ3_Vp4DYHFBTM9XqoYC72J84w,3735
15
15
  reach_commons/mongo/customer_persistence_async.py,sha256=BmcP8TXyyQah-GYM3wcKi1baqSCycjw7UadlxGywyQM,3892
@@ -26,6 +26,6 @@ reach_commons/reach_base_model.py,sha256=uMmDGjwKTZ3h7f8Pfvc99FCsAt5eZNlUJnLLbB5
26
26
  reach_commons/redis_manager.py,sha256=_4FOYPMapwRmWU-5SO1Bm0Cb__Ngkx2hrOPlrJETzX0,1896
27
27
  reach_commons/utils.py,sha256=dMgKIGqTgoSItuBI8oz81gKtW3qi21Jkljv9leS_V88,8475
28
28
  reach_commons/validations.py,sha256=jc78boM62S9Z0Ip_nV1z7I983gGpW2Y7vOCQtmia8OU,964
29
- reach_commons-0.15.2.dist-info/METADATA,sha256=5Xcsineq3r-K0utWxIxzMpKSvjI6N12AFy5DqWu22kU,1860
30
- reach_commons-0.15.2.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
31
- reach_commons-0.15.2.dist-info/RECORD,,
29
+ reach_commons-0.15.4.dist-info/METADATA,sha256=PKr1RUj3ky-NMje4gy1sZYHxGsS8NbhNzrtdFg3Ln2U,1860
30
+ reach_commons-0.15.4.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
31
+ reach_commons-0.15.4.dist-info/RECORD,,