pixelarraythirdparty 1.3.6__tar.gz → 1.3.7__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. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/PKG-INFO +2 -1
  2. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty/__init__.py +1 -1
  3. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty/order/order.py +8 -0
  4. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty/project/project.py +1 -1
  5. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty.egg-info/PKG-INFO +2 -1
  6. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pyproject.toml +2 -1
  7. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/LICENSE +0 -0
  8. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/MANIFEST.in +0 -0
  9. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty/client.py +0 -0
  10. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty/cron/__init__.py +0 -0
  11. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty/cron/cron.py +0 -0
  12. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty/custom_events/__init__.py +0 -0
  13. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty/custom_events/custom_events.py +0 -0
  14. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty/feedback/__init__.py +0 -0
  15. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty/feedback/feedback.py +0 -0
  16. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty/order/__init__.py +0 -0
  17. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty/product/__init__.py +0 -0
  18. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty/product/product.py +0 -0
  19. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty/project/__init__.py +0 -0
  20. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty/project_dashboard/__init__.py +0 -0
  21. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty/project_dashboard/project_dashboard.py +0 -0
  22. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty/support_chat/__init__.py +0 -0
  23. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty/support_chat/support_chat.py +0 -0
  24. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty/unified_login/__init__.py +0 -0
  25. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty/unified_login/unified_login.py +0 -0
  26. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty/user/__init__.py +0 -0
  27. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty/user/user.py +0 -0
  28. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty.egg-info/SOURCES.txt +0 -0
  29. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty.egg-info/dependency_links.txt +0 -0
  30. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty.egg-info/requires.txt +0 -0
  31. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/pixelarraythirdparty.egg-info/top_level.txt +0 -0
  32. {pixelarraythirdparty-1.3.6 → pixelarraythirdparty-1.3.7}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pixelarraythirdparty
3
- Version: 1.3.6
3
+ Version: 1.3.7
4
4
  Summary: PixelArray 第三方微服务客户端
5
5
  Author-email: Lu qi <qi.lu@pixelarrayai.com>
6
6
  License-Expression: MIT
@@ -15,6 +15,7 @@ Classifier: Programming Language :: Python :: 3.10
15
15
  Classifier: Programming Language :: Python :: 3.11
16
16
  Classifier: Programming Language :: Python :: 3.12
17
17
  Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Programming Language :: Python :: 3.14
18
19
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
19
20
  Classifier: Topic :: Utilities
20
21
  Requires-Python: >=3.8
@@ -24,7 +24,7 @@ from .support_chat.support_chat import (
24
24
  from .custom_events.custom_events import CustomEventsManagerAsync
25
25
  from .project_dashboard.project_dashboard import ProjectDashboardManagerAsync
26
26
 
27
- __version__ = "1.3.6"
27
+ __version__ = "1.3.7"
28
28
  __author__ = "Lu qi"
29
29
  __email__ = "qi.lu@pixelarrayai.com"
30
30
 
@@ -8,6 +8,7 @@ class OrderManagerAsync(AsyncClient):
8
8
  body: str = None,
9
9
  remark: str = None,
10
10
  payment_channel: str = "WECHAT",
11
+ amount_yuan: float = None,
11
12
  ):
12
13
  """
13
14
  description:
@@ -17,6 +18,7 @@ class OrderManagerAsync(AsyncClient):
17
18
  body(str): 商品描述
18
19
  remark(str): 订单备注
19
20
  payment_channel(str): 支付渠道,可选值:"WECHAT"(微信支付)、"ALIPAY"(支付宝支付)
21
+ amount_yuan(float, optional): 订单金额(元),可变金额产品必填
20
22
  return:
21
23
  data(dict): 订单信息
22
24
  - id(int): 订单ID
@@ -38,6 +40,8 @@ class OrderManagerAsync(AsyncClient):
38
40
  "remark": remark,
39
41
  "payment_channel": payment_channel,
40
42
  }
43
+ if amount_yuan is not None:
44
+ data["amount_yuan"] = amount_yuan
41
45
  data, success = await self._request("POST", "/api/orders/create", json=data)
42
46
  if not success:
43
47
  return data, False
@@ -49,6 +53,7 @@ class OrderManagerAsync(AsyncClient):
49
53
  body: str = None,
50
54
  remark: str = None,
51
55
  payment_channel: str = "WECHAT",
56
+ amount_yuan: float = None,
52
57
  ):
53
58
  """
54
59
  description:
@@ -59,6 +64,7 @@ class OrderManagerAsync(AsyncClient):
59
64
  body(str): 商品描述
60
65
  remark(str): 订单备注
61
66
  payment_channel(str): 支付渠道,可选值:"WECHAT"、"ALIPAY"、"PAYPAL"
67
+ amount_yuan(float, optional): 订单金额(元),可变金额产品必填
62
68
  return:
63
69
  data(dict): 返回数据
64
70
  - order(dict): 订单信息(字段同 create_order 返回)
@@ -71,6 +77,8 @@ class OrderManagerAsync(AsyncClient):
71
77
  "remark": remark,
72
78
  "payment_channel": payment_channel,
73
79
  }
80
+ if amount_yuan is not None:
81
+ data["amount_yuan"] = amount_yuan
74
82
  data, success = await self._request("POST", "/api/orders/create_v2", json=data)
75
83
  if not success:
76
84
  return data, False
@@ -69,7 +69,7 @@ class ProjectManagerAsync(AsyncClient):
69
69
  project_id(int): 项目ID
70
70
  name(str): 新项目名称
71
71
  return:
72
- data(dict): 更新后的项目信息(含 id、name、bound_domains、created_at)
72
+ data(dict): 更新后的项目信息(含 id、name、created_at)
73
73
  success(bool): 操作是否成功
74
74
  """
75
75
  data = {"name": name}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pixelarraythirdparty
3
- Version: 1.3.6
3
+ Version: 1.3.7
4
4
  Summary: PixelArray 第三方微服务客户端
5
5
  Author-email: Lu qi <qi.lu@pixelarrayai.com>
6
6
  License-Expression: MIT
@@ -15,6 +15,7 @@ Classifier: Programming Language :: Python :: 3.10
15
15
  Classifier: Programming Language :: Python :: 3.11
16
16
  Classifier: Programming Language :: Python :: 3.12
17
17
  Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Programming Language :: Python :: 3.14
18
19
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
19
20
  Classifier: Topic :: Utilities
20
21
  Requires-Python: >=3.8
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "pixelarraythirdparty"
7
- version = "1.3.6"
7
+ version = "1.3.7"
8
8
  authors = [
9
9
  {name = "Lu qi", email = "qi.lu@pixelarrayai.com"},
10
10
  ]
@@ -23,6 +23,7 @@ classifiers = [
23
23
  "Programming Language :: Python :: 3.11",
24
24
  "Programming Language :: Python :: 3.12",
25
25
  "Programming Language :: Python :: 3.13",
26
+ "Programming Language :: Python :: 3.14",
26
27
  "Topic :: Software Development :: Libraries :: Python Modules",
27
28
  "Topic :: Utilities",
28
29
  ]