tencentcloud-sdk-python-csip 3.1.96__tar.gz → 3.1.97__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 (17) hide show
  1. {tencentcloud_sdk_python_csip-3.1.96 → tencentcloud_sdk_python_csip-3.1.97}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_csip-3.1.96 → tencentcloud_sdk_python_csip-3.1.97}/setup.py +1 -1
  3. {tencentcloud_sdk_python_csip-3.1.96 → tencentcloud_sdk_python_csip-3.1.97}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_csip-3.1.96 → tencentcloud_sdk_python_csip-3.1.97}/tencentcloud/csip/v20221121/csip_client.py +23 -0
  5. {tencentcloud_sdk_python_csip-3.1.96 → tencentcloud_sdk_python_csip-3.1.97}/tencentcloud/csip/v20221121/csip_client_async.py +18 -0
  6. {tencentcloud_sdk_python_csip-3.1.96 → tencentcloud_sdk_python_csip-3.1.97}/tencentcloud/csip/v20221121/models.py +600 -196
  7. {tencentcloud_sdk_python_csip-3.1.96 → tencentcloud_sdk_python_csip-3.1.97}/tencentcloud_sdk_python_csip.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_csip-3.1.97/tencentcloud_sdk_python_csip.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_csip-3.1.96/tencentcloud_sdk_python_csip.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_csip-3.1.96 → tencentcloud_sdk_python_csip-3.1.97}/README.rst +0 -0
  11. {tencentcloud_sdk_python_csip-3.1.96 → tencentcloud_sdk_python_csip-3.1.97}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_csip-3.1.96 → tencentcloud_sdk_python_csip-3.1.97}/tencentcloud/csip/__init__.py +0 -0
  13. {tencentcloud_sdk_python_csip-3.1.96 → tencentcloud_sdk_python_csip-3.1.97}/tencentcloud/csip/v20221121/__init__.py +0 -0
  14. {tencentcloud_sdk_python_csip-3.1.96 → tencentcloud_sdk_python_csip-3.1.97}/tencentcloud/csip/v20221121/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_csip-3.1.96 → tencentcloud_sdk_python_csip-3.1.97}/tencentcloud_sdk_python_csip.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_csip-3.1.96 → tencentcloud_sdk_python_csip-3.1.97}/tencentcloud_sdk_python_csip.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_csip-3.1.96 → tencentcloud_sdk_python_csip-3.1.97}/tencentcloud_sdk_python_csip.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-csip
3
- Version: 3.1.96
3
+ Version: 3.1.97
4
4
  Summary: Tencent Cloud Csip SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.96
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.97
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-csip',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.96,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.97,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Csip SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.96'
17
+ __version__ = '3.1.97'
@@ -2947,6 +2947,29 @@ class CsipClient(AbstractClient):
2947
2947
  raise TencentCloudSDKException(type(e).__name__, str(e))
2948
2948
 
2949
2949
 
2950
+ def DescribeSkillScanPayInfo(self, request):
2951
+ r"""查询 Skill 安全检测计费信息,包括订单状态、总配额、已消耗配额、到期时间、支付模式等。无订单时返回零值(仅含 TimeNow 和 BetaEndTime)。试用订单通过 ModifyTrialStatus(Module=9) 领取,正式订单通过计费系统创建。
2952
+
2953
+ :param request: Request instance for DescribeSkillScanPayInfo.
2954
+ :type request: :class:`tencentcloud.csip.v20221121.models.DescribeSkillScanPayInfoRequest`
2955
+ :rtype: :class:`tencentcloud.csip.v20221121.models.DescribeSkillScanPayInfoResponse`
2956
+
2957
+ """
2958
+ try:
2959
+ params = request._serialize()
2960
+ headers = request.headers
2961
+ body = self.call("DescribeSkillScanPayInfo", params, headers=headers)
2962
+ response = json.loads(body)
2963
+ model = models.DescribeSkillScanPayInfoResponse()
2964
+ model._deserialize(response["Response"])
2965
+ return model
2966
+ except Exception as e:
2967
+ if isinstance(e, TencentCloudSDKException):
2968
+ raise
2969
+ else:
2970
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2971
+
2972
+
2950
2973
  def DescribeSkillScanResult(self, request):
2951
2974
  r"""查询 Skill 安全检测结果。调用 CreateSkillScan 成功后使用返回的 ContentHash + EngineVersion 轮询本接口获取结果。上传成功后建议5分钟后首次轮询,如未检测完成之后每隔1分钟轮询一次。响应通过 Status 字段区分四种状态:检测完成(SUCCESS)、检测中(SCANNING)、无记录(NOT_FOUND)、检测失败(FAILED)。注意:检测结果保留90天,超期后将返回 NOT_FOUND。
2952
2975
 
@@ -2311,6 +2311,24 @@ class CsipClient(AbstractClient):
2311
2311
 
2312
2312
  return await self.call_and_deserialize(**kwargs)
2313
2313
 
2314
+ async def DescribeSkillScanPayInfo(
2315
+ self,
2316
+ request: models.DescribeSkillScanPayInfoRequest,
2317
+ opts: Dict = None,
2318
+ ) -> models.DescribeSkillScanPayInfoResponse:
2319
+ """
2320
+ 查询 Skill 安全检测计费信息,包括订单状态、总配额、已消耗配额、到期时间、支付模式等。无订单时返回零值(仅含 TimeNow 和 BetaEndTime)。试用订单通过 ModifyTrialStatus(Module=9) 领取,正式订单通过计费系统创建。
2321
+ """
2322
+
2323
+ kwargs = {}
2324
+ kwargs["action"] = "DescribeSkillScanPayInfo"
2325
+ kwargs["params"] = request._serialize()
2326
+ kwargs["resp_cls"] = models.DescribeSkillScanPayInfoResponse
2327
+ kwargs["headers"] = request.headers
2328
+ kwargs["opts"] = opts or {}
2329
+
2330
+ return await self.call_and_deserialize(**kwargs)
2331
+
2314
2332
  async def DescribeSkillScanResult(
2315
2333
  self,
2316
2334
  request: models.DescribeSkillScanResultRequest,