ey-commerce-lib 1.0.4__tar.gz → 1.0.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.

Potentially problematic release.


This version of ey-commerce-lib might be problematic. Click here for more details.

Files changed (32) hide show
  1. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/PKG-INFO +1 -1
  2. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/pyproject.toml +1 -1
  3. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/src/ey_commerce_lib/dxm/main.py +13 -1
  4. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/.gitignore +0 -0
  5. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/.python-version +0 -0
  6. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/README.md +0 -0
  7. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/pytest.ini +0 -0
  8. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/src/ey_commerce_lib/__init__.py +0 -0
  9. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/src/ey_commerce_lib/dxm/__init__.py +0 -0
  10. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/src/ey_commerce_lib/dxm/constant/__init__.py +0 -0
  11. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/src/ey_commerce_lib/dxm/constant/order.py +0 -0
  12. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/src/ey_commerce_lib/dxm/exception/__init__.py +0 -0
  13. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/src/ey_commerce_lib/dxm/exception/common.py +0 -0
  14. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/src/ey_commerce_lib/dxm/order.py +0 -0
  15. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/src/ey_commerce_lib/dxm/parser/__init__.py +0 -0
  16. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/src/ey_commerce_lib/dxm/parser/common.py +0 -0
  17. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/src/ey_commerce_lib/dxm/parser/order.py +0 -0
  18. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/src/ey_commerce_lib/dxm/parser/purchase.py +0 -0
  19. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/src/ey_commerce_lib/dxm/parser/warehouse.py +0 -0
  20. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/src/ey_commerce_lib/dxm/schemas/__init__.py +0 -0
  21. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/src/ey_commerce_lib/dxm/schemas/common.py +0 -0
  22. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/src/ey_commerce_lib/dxm/schemas/order.py +0 -0
  23. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/src/ey_commerce_lib/dxm/schemas/warehouse.py +0 -0
  24. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/src/ey_commerce_lib/py.typed +0 -0
  25. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/src/ey_commerce_lib/utils/__init__.py +0 -0
  26. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/src/ey_commerce_lib/utils/dxm.py +0 -0
  27. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/src/ey_commerce_lib/utils/list_util.py +0 -0
  28. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/src/ey_commerce_lib/utils/str.py +0 -0
  29. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/tests/__init__.py +0 -0
  30. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/tests/dxm/__init__.py +0 -0
  31. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/tests/dxm/test_purchase.py +0 -0
  32. {ey_commerce_lib-1.0.4 → ey_commerce_lib-1.0.5}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ey-commerce-lib
3
- Version: 1.0.4
3
+ Version: 1.0.5
4
4
  Summary: eeyoung电商客户端调用封装
5
5
  Author-email: 饶奇奇 <1124393197@qq.com>
6
6
  Requires-Python: >=3.10
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ey-commerce-lib"
3
- version = "1.0.4"
3
+ version = "1.0.5"
4
4
  description = "eeyoung电商客户端调用封装"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -515,7 +515,7 @@ class DxmClient:
515
515
 
516
516
  async def validate_price(self, ids: str):
517
517
  """
518
- 采购单提交审核
518
+ 采购校验价格
519
519
  :param ids: purchase_id 多个,分隔
520
520
  :return:
521
521
  """
@@ -537,6 +537,18 @@ class DxmClient:
537
537
  })
538
538
  return wait_pay_pay_money_res.json()
539
539
 
540
+ async def submit_audit(self, purchase_id: str):
541
+ """
542
+ 提交审核
543
+ :param purchase_id:
544
+ :return:
545
+ """
546
+ async with self.__sem:
547
+ submit_audit_res = await self.__async_client.post("/dxmPurchasingNote/submitAudit.json", data={
548
+ 'id': purchase_id
549
+ })
550
+ return submit_audit_res.json()
551
+
540
552
  async def __aenter__(self):
541
553
  return self
542
554
 
File without changes