tencentcloud-sdk-python 3.0.1333__py2.py3-none-any.whl → 3.0.1335__py2.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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/acp/v20220105/models.py +0 -32
- tencentcloud/aiart/v20221229/models.py +2 -0
- tencentcloud/antiddos/v20200309/models.py +2 -2
- tencentcloud/apm/v20210622/models.py +63 -55
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +3 -2
- tencentcloud/billing/v20180709/models.py +30 -474
- tencentcloud/cat/v20180409/models.py +2 -2
- tencentcloud/ciam/v20220331/models.py +0 -92
- tencentcloud/cls/v20201016/models.py +0 -2
- tencentcloud/common/abstract_client.py +3 -0
- tencentcloud/controlcenter/v20230110/controlcenter_client.py +92 -0
- tencentcloud/controlcenter/v20230110/errorcodes.py +9 -0
- tencentcloud/controlcenter/v20230110/models.py +947 -3
- tencentcloud/csip/v20221121/models.py +94 -4
- tencentcloud/cvm/v20170312/cvm_client.py +92 -0
- tencentcloud/cvm/v20170312/errorcodes.py +9 -0
- tencentcloud/cvm/v20170312/models.py +1627 -332
- tencentcloud/cynosdb/v20190107/models.py +17 -2
- tencentcloud/dbbrain/v20191016/models.py +0 -6
- tencentcloud/dbbrain/v20210527/models.py +0 -12
- tencentcloud/dlc/v20210125/models.py +32 -0
- tencentcloud/emr/v20190103/models.py +17 -0
- tencentcloud/es/v20180416/models.py +15 -0
- tencentcloud/goosefs/v20220519/models.py +0 -10
- tencentcloud/gwlb/v20240906/models.py +34 -2
- tencentcloud/ims/v20201229/ims_client.py +18 -12
- tencentcloud/iotcloud/v20210408/models.py +15 -15
- tencentcloud/keewidb/v20220308/models.py +0 -78
- tencentcloud/lcic/v20220817/models.py +75 -54
- tencentcloud/live/v20180801/models.py +8 -58
- tencentcloud/lke/v20231130/errorcodes.py +0 -12
- tencentcloud/lke/v20231130/lke_client.py +46 -50
- tencentcloud/lke/v20231130/models.py +385 -284
- tencentcloud/lowcode/v20210108/models.py +182 -2
- tencentcloud/mariadb/v20170312/models.py +10 -10
- tencentcloud/mongodb/v20190725/models.py +10 -4
- tencentcloud/mqtt/v20240516/models.py +238 -0
- tencentcloud/mqtt/v20240516/mqtt_client.py +46 -0
- tencentcloud/ocr/v20181119/errorcodes.py +3 -0
- tencentcloud/ocr/v20181119/models.py +32 -28
- tencentcloud/ocr/v20181119/ocr_client.py +1 -1
- tencentcloud/partners/v20180321/models.py +197 -0
- tencentcloud/partners/v20180321/partners_client.py +23 -0
- tencentcloud/pts/v20210728/models.py +68 -6
- tencentcloud/redis/v20180412/models.py +0 -66
- tencentcloud/rum/v20210622/models.py +150 -0
- tencentcloud/tag/v20180813/models.py +2 -2
- tencentcloud/tat/v20201028/models.py +494 -180
- tencentcloud/tat/v20201028/tat_client.py +2 -2
- tencentcloud/tdmq/v20200217/models.py +192 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
- tencentcloud/teo/v20220901/models.py +14 -4
- tencentcloud/tke/v20180525/models.py +0 -312
- tencentcloud/tke/v20220501/models.py +0 -2
- tencentcloud/tms/v20201229/models.py +15 -0
- tencentcloud/tsf/v20180326/models.py +0 -880
- tencentcloud/vdb/v20230616/models.py +0 -12
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +0 -6
- tencentcloud/wedata/v20210820/models.py +173 -0
- {tencentcloud_sdk_python-3.0.1333.dist-info → tencentcloud_sdk_python-3.0.1335.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1333.dist-info → tencentcloud_sdk_python-3.0.1335.dist-info}/RECORD +66 -66
- {tencentcloud_sdk_python-3.0.1333.dist-info → tencentcloud_sdk_python-3.0.1335.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1333.dist-info → tencentcloud_sdk_python-3.0.1335.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1333.dist-info → tencentcloud_sdk_python-3.0.1335.dist-info}/top_level.txt +0 -0
@@ -3913,6 +3913,90 @@ class DescribeInsPublicEndpointsResponse(AbstractModel):
|
|
3913
3913
|
self._RequestId = params.get("RequestId")
|
3914
3914
|
|
3915
3915
|
|
3916
|
+
class DescribeInsVPCEndpointsRequest(AbstractModel):
|
3917
|
+
"""DescribeInsVPCEndpoints请求参数结构体
|
3918
|
+
|
3919
|
+
"""
|
3920
|
+
|
3921
|
+
def __init__(self):
|
3922
|
+
r"""
|
3923
|
+
:param _InstanceId: 实例ID
|
3924
|
+
:type InstanceId: str
|
3925
|
+
"""
|
3926
|
+
self._InstanceId = None
|
3927
|
+
|
3928
|
+
@property
|
3929
|
+
def InstanceId(self):
|
3930
|
+
"""实例ID
|
3931
|
+
:rtype: str
|
3932
|
+
"""
|
3933
|
+
return self._InstanceId
|
3934
|
+
|
3935
|
+
@InstanceId.setter
|
3936
|
+
def InstanceId(self, InstanceId):
|
3937
|
+
self._InstanceId = InstanceId
|
3938
|
+
|
3939
|
+
|
3940
|
+
def _deserialize(self, params):
|
3941
|
+
self._InstanceId = params.get("InstanceId")
|
3942
|
+
memeber_set = set(params.keys())
|
3943
|
+
for name, value in vars(self).items():
|
3944
|
+
property_name = name[1:]
|
3945
|
+
if property_name in memeber_set:
|
3946
|
+
memeber_set.remove(property_name)
|
3947
|
+
if len(memeber_set) > 0:
|
3948
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
3949
|
+
|
3950
|
+
|
3951
|
+
|
3952
|
+
class DescribeInsVPCEndpointsResponse(AbstractModel):
|
3953
|
+
"""DescribeInsVPCEndpoints返回参数结构体
|
3954
|
+
|
3955
|
+
"""
|
3956
|
+
|
3957
|
+
def __init__(self):
|
3958
|
+
r"""
|
3959
|
+
:param _Endpoints: 接入点
|
3960
|
+
:type Endpoints: list of MQTTEndpointItem
|
3961
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3962
|
+
:type RequestId: str
|
3963
|
+
"""
|
3964
|
+
self._Endpoints = None
|
3965
|
+
self._RequestId = None
|
3966
|
+
|
3967
|
+
@property
|
3968
|
+
def Endpoints(self):
|
3969
|
+
"""接入点
|
3970
|
+
:rtype: list of MQTTEndpointItem
|
3971
|
+
"""
|
3972
|
+
return self._Endpoints
|
3973
|
+
|
3974
|
+
@Endpoints.setter
|
3975
|
+
def Endpoints(self, Endpoints):
|
3976
|
+
self._Endpoints = Endpoints
|
3977
|
+
|
3978
|
+
@property
|
3979
|
+
def RequestId(self):
|
3980
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3981
|
+
:rtype: str
|
3982
|
+
"""
|
3983
|
+
return self._RequestId
|
3984
|
+
|
3985
|
+
@RequestId.setter
|
3986
|
+
def RequestId(self, RequestId):
|
3987
|
+
self._RequestId = RequestId
|
3988
|
+
|
3989
|
+
|
3990
|
+
def _deserialize(self, params):
|
3991
|
+
if params.get("Endpoints") is not None:
|
3992
|
+
self._Endpoints = []
|
3993
|
+
for item in params.get("Endpoints"):
|
3994
|
+
obj = MQTTEndpointItem()
|
3995
|
+
obj._deserialize(item)
|
3996
|
+
self._Endpoints.append(obj)
|
3997
|
+
self._RequestId = params.get("RequestId")
|
3998
|
+
|
3999
|
+
|
3916
4000
|
class DescribeInstanceListRequest(AbstractModel):
|
3917
4001
|
"""DescribeInstanceList请求参数结构体
|
3918
4002
|
|
@@ -7657,6 +7741,160 @@ class PublicAccessRule(AbstractModel):
|
|
7657
7741
|
|
7658
7742
|
|
7659
7743
|
|
7744
|
+
class PublishMessageRequest(AbstractModel):
|
7745
|
+
"""PublishMessage请求参数结构体
|
7746
|
+
|
7747
|
+
"""
|
7748
|
+
|
7749
|
+
def __init__(self):
|
7750
|
+
r"""
|
7751
|
+
:param _InstanceId: 实例ID
|
7752
|
+
:type InstanceId: str
|
7753
|
+
:param _Payload: 消息 payload,需要按 encoding 指定的编码方式进行编码
|
7754
|
+
:type Payload: str
|
7755
|
+
:param _TargetTopic: 消息目的主题,该参数与 TargetClientId 二选一
|
7756
|
+
:type TargetTopic: str
|
7757
|
+
:param _TargetClientId: 消息目的客户端 ID,该参数与 TargetTopic 二选一
|
7758
|
+
:type TargetClientId: str
|
7759
|
+
:param _Encoding: 消息 payload 编码,可选 plain 或 base64,默认为 plain(即不编码)
|
7760
|
+
:type Encoding: str
|
7761
|
+
:param _Qos: 消息的服务质量等级,默认为 1
|
7762
|
+
:type Qos: int
|
7763
|
+
:param _Retain: 是否为保留消息,默认为 false,且仅支持发布到主题的消息设置为 true
|
7764
|
+
:type Retain: bool
|
7765
|
+
"""
|
7766
|
+
self._InstanceId = None
|
7767
|
+
self._Payload = None
|
7768
|
+
self._TargetTopic = None
|
7769
|
+
self._TargetClientId = None
|
7770
|
+
self._Encoding = None
|
7771
|
+
self._Qos = None
|
7772
|
+
self._Retain = None
|
7773
|
+
|
7774
|
+
@property
|
7775
|
+
def InstanceId(self):
|
7776
|
+
"""实例ID
|
7777
|
+
:rtype: str
|
7778
|
+
"""
|
7779
|
+
return self._InstanceId
|
7780
|
+
|
7781
|
+
@InstanceId.setter
|
7782
|
+
def InstanceId(self, InstanceId):
|
7783
|
+
self._InstanceId = InstanceId
|
7784
|
+
|
7785
|
+
@property
|
7786
|
+
def Payload(self):
|
7787
|
+
"""消息 payload,需要按 encoding 指定的编码方式进行编码
|
7788
|
+
:rtype: str
|
7789
|
+
"""
|
7790
|
+
return self._Payload
|
7791
|
+
|
7792
|
+
@Payload.setter
|
7793
|
+
def Payload(self, Payload):
|
7794
|
+
self._Payload = Payload
|
7795
|
+
|
7796
|
+
@property
|
7797
|
+
def TargetTopic(self):
|
7798
|
+
"""消息目的主题,该参数与 TargetClientId 二选一
|
7799
|
+
:rtype: str
|
7800
|
+
"""
|
7801
|
+
return self._TargetTopic
|
7802
|
+
|
7803
|
+
@TargetTopic.setter
|
7804
|
+
def TargetTopic(self, TargetTopic):
|
7805
|
+
self._TargetTopic = TargetTopic
|
7806
|
+
|
7807
|
+
@property
|
7808
|
+
def TargetClientId(self):
|
7809
|
+
"""消息目的客户端 ID,该参数与 TargetTopic 二选一
|
7810
|
+
:rtype: str
|
7811
|
+
"""
|
7812
|
+
return self._TargetClientId
|
7813
|
+
|
7814
|
+
@TargetClientId.setter
|
7815
|
+
def TargetClientId(self, TargetClientId):
|
7816
|
+
self._TargetClientId = TargetClientId
|
7817
|
+
|
7818
|
+
@property
|
7819
|
+
def Encoding(self):
|
7820
|
+
"""消息 payload 编码,可选 plain 或 base64,默认为 plain(即不编码)
|
7821
|
+
:rtype: str
|
7822
|
+
"""
|
7823
|
+
return self._Encoding
|
7824
|
+
|
7825
|
+
@Encoding.setter
|
7826
|
+
def Encoding(self, Encoding):
|
7827
|
+
self._Encoding = Encoding
|
7828
|
+
|
7829
|
+
@property
|
7830
|
+
def Qos(self):
|
7831
|
+
"""消息的服务质量等级,默认为 1
|
7832
|
+
:rtype: int
|
7833
|
+
"""
|
7834
|
+
return self._Qos
|
7835
|
+
|
7836
|
+
@Qos.setter
|
7837
|
+
def Qos(self, Qos):
|
7838
|
+
self._Qos = Qos
|
7839
|
+
|
7840
|
+
@property
|
7841
|
+
def Retain(self):
|
7842
|
+
"""是否为保留消息,默认为 false,且仅支持发布到主题的消息设置为 true
|
7843
|
+
:rtype: bool
|
7844
|
+
"""
|
7845
|
+
return self._Retain
|
7846
|
+
|
7847
|
+
@Retain.setter
|
7848
|
+
def Retain(self, Retain):
|
7849
|
+
self._Retain = Retain
|
7850
|
+
|
7851
|
+
|
7852
|
+
def _deserialize(self, params):
|
7853
|
+
self._InstanceId = params.get("InstanceId")
|
7854
|
+
self._Payload = params.get("Payload")
|
7855
|
+
self._TargetTopic = params.get("TargetTopic")
|
7856
|
+
self._TargetClientId = params.get("TargetClientId")
|
7857
|
+
self._Encoding = params.get("Encoding")
|
7858
|
+
self._Qos = params.get("Qos")
|
7859
|
+
self._Retain = params.get("Retain")
|
7860
|
+
memeber_set = set(params.keys())
|
7861
|
+
for name, value in vars(self).items():
|
7862
|
+
property_name = name[1:]
|
7863
|
+
if property_name in memeber_set:
|
7864
|
+
memeber_set.remove(property_name)
|
7865
|
+
if len(memeber_set) > 0:
|
7866
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7867
|
+
|
7868
|
+
|
7869
|
+
|
7870
|
+
class PublishMessageResponse(AbstractModel):
|
7871
|
+
"""PublishMessage返回参数结构体
|
7872
|
+
|
7873
|
+
"""
|
7874
|
+
|
7875
|
+
def __init__(self):
|
7876
|
+
r"""
|
7877
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7878
|
+
:type RequestId: str
|
7879
|
+
"""
|
7880
|
+
self._RequestId = None
|
7881
|
+
|
7882
|
+
@property
|
7883
|
+
def RequestId(self):
|
7884
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7885
|
+
:rtype: str
|
7886
|
+
"""
|
7887
|
+
return self._RequestId
|
7888
|
+
|
7889
|
+
@RequestId.setter
|
7890
|
+
def RequestId(self, RequestId):
|
7891
|
+
self._RequestId = RequestId
|
7892
|
+
|
7893
|
+
|
7894
|
+
def _deserialize(self, params):
|
7895
|
+
self._RequestId = params.get("RequestId")
|
7896
|
+
|
7897
|
+
|
7660
7898
|
class RegisterCaCertificateRequest(AbstractModel):
|
7661
7899
|
"""RegisterCaCertificate请求参数结构体
|
7662
7900
|
|
@@ -647,6 +647,29 @@ class MqttClient(AbstractClient):
|
|
647
647
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
648
648
|
|
649
649
|
|
650
|
+
def DescribeInsVPCEndpoints(self, request):
|
651
|
+
"""查询MQTT实例公网接入点
|
652
|
+
|
653
|
+
:param request: Request instance for DescribeInsVPCEndpoints.
|
654
|
+
:type request: :class:`tencentcloud.mqtt.v20240516.models.DescribeInsVPCEndpointsRequest`
|
655
|
+
:rtype: :class:`tencentcloud.mqtt.v20240516.models.DescribeInsVPCEndpointsResponse`
|
656
|
+
|
657
|
+
"""
|
658
|
+
try:
|
659
|
+
params = request._serialize()
|
660
|
+
headers = request.headers
|
661
|
+
body = self.call("DescribeInsVPCEndpoints", params, headers=headers)
|
662
|
+
response = json.loads(body)
|
663
|
+
model = models.DescribeInsVPCEndpointsResponse()
|
664
|
+
model._deserialize(response["Response"])
|
665
|
+
return model
|
666
|
+
except Exception as e:
|
667
|
+
if isinstance(e, TencentCloudSDKException):
|
668
|
+
raise
|
669
|
+
else:
|
670
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
671
|
+
|
672
|
+
|
650
673
|
def DescribeInstance(self, request):
|
651
674
|
"""查询实例信息
|
652
675
|
|
@@ -980,6 +1003,29 @@ class MqttClient(AbstractClient):
|
|
980
1003
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
981
1004
|
|
982
1005
|
|
1006
|
+
def PublishMessage(self, request):
|
1007
|
+
"""发布 MQTT 消息到消息主题或客户端
|
1008
|
+
|
1009
|
+
:param request: Request instance for PublishMessage.
|
1010
|
+
:type request: :class:`tencentcloud.mqtt.v20240516.models.PublishMessageRequest`
|
1011
|
+
:rtype: :class:`tencentcloud.mqtt.v20240516.models.PublishMessageResponse`
|
1012
|
+
|
1013
|
+
"""
|
1014
|
+
try:
|
1015
|
+
params = request._serialize()
|
1016
|
+
headers = request.headers
|
1017
|
+
body = self.call("PublishMessage", params, headers=headers)
|
1018
|
+
response = json.loads(body)
|
1019
|
+
model = models.PublishMessageResponse()
|
1020
|
+
model._deserialize(response["Response"])
|
1021
|
+
return model
|
1022
|
+
except Exception as e:
|
1023
|
+
if isinstance(e, TencentCloudSDKException):
|
1024
|
+
raise
|
1025
|
+
else:
|
1026
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1027
|
+
|
1028
|
+
|
983
1029
|
def RegisterCaCertificate(self, request):
|
984
1030
|
"""注册ca证书
|
985
1031
|
|
@@ -80,6 +80,9 @@ FAILEDOPERATION_IMAGESIZETOOLARGE = 'FailedOperation.ImageSizeTooLarge'
|
|
80
80
|
# 视读区信息与机读区信息不一致
|
81
81
|
FAILEDOPERATION_INCONSISTENCYBETWEENMRZANDVRZ = 'FailedOperation.InconsistencyBetweenMRZAndVRZ'
|
82
82
|
|
83
|
+
# 马来西亚证件识别出的邮编长度不正确
|
84
|
+
FAILEDOPERATION_INVALIDPOSTALCODELENGTH = 'FailedOperation.InvalidPostalCodeLength'
|
85
|
+
|
83
86
|
# 发票数据不一致。温馨提示:新版发票核验接口功能更完整,请尽快切换,如已切换请忽略。
|
84
87
|
FAILEDOPERATION_INVOICEMISMATCH = 'FailedOperation.InvoiceMismatch'
|
85
88
|
|
@@ -24090,18 +24090,9 @@ class RecognizeGeneralInvoiceRequest(AbstractModel):
|
|
24090
24090
|
|
24091
24091
|
def __init__(self):
|
24092
24092
|
r"""
|
24093
|
-
:param _ImageBase64: 图片的 Base64
|
24094
|
-
支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
|
24095
|
-
支持的图片大小:所下载图片经Base64编码后不超过 8M。图片下载时间不超过 3 秒。
|
24096
|
-
支持的图片像素:单边介于20-10000px之间。
|
24097
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
24093
|
+
:param _ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:单边介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
24098
24094
|
:type ImageBase64: str
|
24099
|
-
:param _ImageUrl: 图片的 Url
|
24100
|
-
支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
|
24101
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 8M。图片下载时间不超过 3 秒。
|
24102
|
-
支持的图片像素:单边介于20-10000px之间。
|
24103
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
24104
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
24095
|
+
:param _ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:单边介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
24105
24096
|
:type ImageUrl: str
|
24106
24097
|
:param _Types: 需要识别的票据类型列表,为空或不填表示识别全部类型。当传入单个类型时,图片均采用该票类型进行处理。
|
24107
24098
|
暂不支持多个参数进行局部控制。
|
@@ -24148,11 +24139,7 @@ class RecognizeGeneralInvoiceRequest(AbstractModel):
|
|
24148
24139
|
|
24149
24140
|
@property
|
24150
24141
|
def ImageBase64(self):
|
24151
|
-
"""图片的 Base64
|
24152
|
-
支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
|
24153
|
-
支持的图片大小:所下载图片经Base64编码后不超过 8M。图片下载时间不超过 3 秒。
|
24154
|
-
支持的图片像素:单边介于20-10000px之间。
|
24155
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
24142
|
+
"""图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:单边介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
24156
24143
|
:rtype: str
|
24157
24144
|
"""
|
24158
24145
|
return self._ImageBase64
|
@@ -24163,12 +24150,7 @@ class RecognizeGeneralInvoiceRequest(AbstractModel):
|
|
24163
24150
|
|
24164
24151
|
@property
|
24165
24152
|
def ImageUrl(self):
|
24166
|
-
"""图片的 Url
|
24167
|
-
支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
|
24168
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 8M。图片下载时间不超过 3 秒。
|
24169
|
-
支持的图片像素:单边介于20-10000px之间。
|
24170
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
24171
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
24153
|
+
"""图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:单边介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
24172
24154
|
:rtype: str
|
24173
24155
|
"""
|
24174
24156
|
return self._ImageUrl
|
@@ -30131,9 +30113,9 @@ class SmartStructuralProRequest(AbstractModel):
|
|
30131
30113
|
|
30132
30114
|
def __init__(self):
|
30133
30115
|
r"""
|
30134
|
-
:param _ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
30116
|
+
:param _ImageUrl: 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,WORD,EXCEL,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
30135
30117
|
:type ImageUrl: str
|
30136
|
-
:param _ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
30118
|
+
:param _ImageBase64: 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,WORD,EXCEL,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
30137
30119
|
:type ImageBase64: str
|
30138
30120
|
:param _PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
30139
30121
|
:type PdfPageNumber: int
|
@@ -30141,7 +30123,18 @@ class SmartStructuralProRequest(AbstractModel):
|
|
30141
30123
|
:type ItemNames: list of str
|
30142
30124
|
:param _ReturnFullText: 是否开启全文字段识别
|
30143
30125
|
:type ReturnFullText: bool
|
30144
|
-
:param _ConfigId: 配置id支持:
|
30126
|
+
:param _ConfigId: 配置id支持:
|
30127
|
+
General -- 通用场景
|
30128
|
+
InvoiceEng -- 国际invoice模版
|
30129
|
+
WayBillEng --海运订单模板
|
30130
|
+
CustomsDeclaration -- 进出口报关单
|
30131
|
+
WeightNote -- 磅单
|
30132
|
+
MedicalMeter -- 血压仪表识别
|
30133
|
+
BillOfLading -- 海运提单
|
30134
|
+
EntrustmentBook -- 海运托书
|
30135
|
+
WordRecognize -- 手写英文作文模版
|
30136
|
+
Statement -- 对账单识别模板
|
30137
|
+
BookingConfirmation -- 配舱通知书识别模板
|
30145
30138
|
:type ConfigId: str
|
30146
30139
|
:param _EnableCoord: 是否开启全文字段坐标值的识别
|
30147
30140
|
:type EnableCoord: bool
|
@@ -30156,7 +30149,7 @@ class SmartStructuralProRequest(AbstractModel):
|
|
30156
30149
|
|
30157
30150
|
@property
|
30158
30151
|
def ImageUrl(self):
|
30159
|
-
"""图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
30152
|
+
"""图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,WORD,EXCEL,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
30160
30153
|
:rtype: str
|
30161
30154
|
"""
|
30162
30155
|
return self._ImageUrl
|
@@ -30167,7 +30160,7 @@ class SmartStructuralProRequest(AbstractModel):
|
|
30167
30160
|
|
30168
30161
|
@property
|
30169
30162
|
def ImageBase64(self):
|
30170
|
-
"""图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
30163
|
+
"""图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,WORD,EXCEL,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
30171
30164
|
:rtype: str
|
30172
30165
|
"""
|
30173
30166
|
return self._ImageBase64
|
@@ -30211,7 +30204,18 @@ class SmartStructuralProRequest(AbstractModel):
|
|
30211
30204
|
|
30212
30205
|
@property
|
30213
30206
|
def ConfigId(self):
|
30214
|
-
"""配置id支持:
|
30207
|
+
"""配置id支持:
|
30208
|
+
General -- 通用场景
|
30209
|
+
InvoiceEng -- 国际invoice模版
|
30210
|
+
WayBillEng --海运订单模板
|
30211
|
+
CustomsDeclaration -- 进出口报关单
|
30212
|
+
WeightNote -- 磅单
|
30213
|
+
MedicalMeter -- 血压仪表识别
|
30214
|
+
BillOfLading -- 海运提单
|
30215
|
+
EntrustmentBook -- 海运托书
|
30216
|
+
WordRecognize -- 手写英文作文模版
|
30217
|
+
Statement -- 对账单识别模板
|
30218
|
+
BookingConfirmation -- 配舱通知书识别模板
|
30215
30219
|
:rtype: str
|
30216
30220
|
"""
|
30217
30221
|
return self._ConfigId
|
@@ -1682,7 +1682,7 @@ class OcrClient(AbstractClient):
|
|
1682
1682
|
|
1683
1683
|
|
1684
1684
|
def RecognizeGeneralInvoice(self, request):
|
1685
|
-
"""本接口支持 PDF多页(最多30
|
1685
|
+
"""本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票等常用标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
1686
1686
|
|
1687
1687
|
默认接口请求频率限制:5次/秒。
|
1688
1688
|
|
@@ -1741,6 +1741,119 @@ class AuditApplyClientResponse(AbstractModel):
|
|
1741
1741
|
self._RequestId = params.get("RequestId")
|
1742
1742
|
|
1743
1743
|
|
1744
|
+
class ClientIncreaseInfoList(AbstractModel):
|
1745
|
+
"""客户增量激励考核信息列表
|
1746
|
+
|
1747
|
+
"""
|
1748
|
+
|
1749
|
+
def __init__(self):
|
1750
|
+
r"""
|
1751
|
+
:param _ClientUin: 客户UIN
|
1752
|
+
:type ClientUin: str
|
1753
|
+
:param _IsJoinIncrease: 是否参与增量政策,
|
1754
|
+
Y:是,N:否
|
1755
|
+
:type IsJoinIncrease: str
|
1756
|
+
:param _IncreaseUseAssociateDate: 增量考核关联时间
|
1757
|
+
:type IncreaseUseAssociateDate: str
|
1758
|
+
:param _TLevel: 参与增量考核的原始客户等级
|
1759
|
+
:type TLevel: str
|
1760
|
+
:param _IncreaseGoal: 增量考核目标,分
|
1761
|
+
:type IncreaseGoal: str
|
1762
|
+
:param _TotalBaseAmt: 完成订单金额,分
|
1763
|
+
:type TotalBaseAmt: str
|
1764
|
+
"""
|
1765
|
+
self._ClientUin = None
|
1766
|
+
self._IsJoinIncrease = None
|
1767
|
+
self._IncreaseUseAssociateDate = None
|
1768
|
+
self._TLevel = None
|
1769
|
+
self._IncreaseGoal = None
|
1770
|
+
self._TotalBaseAmt = None
|
1771
|
+
|
1772
|
+
@property
|
1773
|
+
def ClientUin(self):
|
1774
|
+
"""客户UIN
|
1775
|
+
:rtype: str
|
1776
|
+
"""
|
1777
|
+
return self._ClientUin
|
1778
|
+
|
1779
|
+
@ClientUin.setter
|
1780
|
+
def ClientUin(self, ClientUin):
|
1781
|
+
self._ClientUin = ClientUin
|
1782
|
+
|
1783
|
+
@property
|
1784
|
+
def IsJoinIncrease(self):
|
1785
|
+
"""是否参与增量政策,
|
1786
|
+
Y:是,N:否
|
1787
|
+
:rtype: str
|
1788
|
+
"""
|
1789
|
+
return self._IsJoinIncrease
|
1790
|
+
|
1791
|
+
@IsJoinIncrease.setter
|
1792
|
+
def IsJoinIncrease(self, IsJoinIncrease):
|
1793
|
+
self._IsJoinIncrease = IsJoinIncrease
|
1794
|
+
|
1795
|
+
@property
|
1796
|
+
def IncreaseUseAssociateDate(self):
|
1797
|
+
"""增量考核关联时间
|
1798
|
+
:rtype: str
|
1799
|
+
"""
|
1800
|
+
return self._IncreaseUseAssociateDate
|
1801
|
+
|
1802
|
+
@IncreaseUseAssociateDate.setter
|
1803
|
+
def IncreaseUseAssociateDate(self, IncreaseUseAssociateDate):
|
1804
|
+
self._IncreaseUseAssociateDate = IncreaseUseAssociateDate
|
1805
|
+
|
1806
|
+
@property
|
1807
|
+
def TLevel(self):
|
1808
|
+
"""参与增量考核的原始客户等级
|
1809
|
+
:rtype: str
|
1810
|
+
"""
|
1811
|
+
return self._TLevel
|
1812
|
+
|
1813
|
+
@TLevel.setter
|
1814
|
+
def TLevel(self, TLevel):
|
1815
|
+
self._TLevel = TLevel
|
1816
|
+
|
1817
|
+
@property
|
1818
|
+
def IncreaseGoal(self):
|
1819
|
+
"""增量考核目标,分
|
1820
|
+
:rtype: str
|
1821
|
+
"""
|
1822
|
+
return self._IncreaseGoal
|
1823
|
+
|
1824
|
+
@IncreaseGoal.setter
|
1825
|
+
def IncreaseGoal(self, IncreaseGoal):
|
1826
|
+
self._IncreaseGoal = IncreaseGoal
|
1827
|
+
|
1828
|
+
@property
|
1829
|
+
def TotalBaseAmt(self):
|
1830
|
+
"""完成订单金额,分
|
1831
|
+
:rtype: str
|
1832
|
+
"""
|
1833
|
+
return self._TotalBaseAmt
|
1834
|
+
|
1835
|
+
@TotalBaseAmt.setter
|
1836
|
+
def TotalBaseAmt(self, TotalBaseAmt):
|
1837
|
+
self._TotalBaseAmt = TotalBaseAmt
|
1838
|
+
|
1839
|
+
|
1840
|
+
def _deserialize(self, params):
|
1841
|
+
self._ClientUin = params.get("ClientUin")
|
1842
|
+
self._IsJoinIncrease = params.get("IsJoinIncrease")
|
1843
|
+
self._IncreaseUseAssociateDate = params.get("IncreaseUseAssociateDate")
|
1844
|
+
self._TLevel = params.get("TLevel")
|
1845
|
+
self._IncreaseGoal = params.get("IncreaseGoal")
|
1846
|
+
self._TotalBaseAmt = params.get("TotalBaseAmt")
|
1847
|
+
memeber_set = set(params.keys())
|
1848
|
+
for name, value in vars(self).items():
|
1849
|
+
property_name = name[1:]
|
1850
|
+
if property_name in memeber_set:
|
1851
|
+
memeber_set.remove(property_name)
|
1852
|
+
if len(memeber_set) > 0:
|
1853
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1854
|
+
|
1855
|
+
|
1856
|
+
|
1744
1857
|
class CreatePayRelationForClientRequest(AbstractModel):
|
1745
1858
|
"""CreatePayRelationForClient请求参数结构体
|
1746
1859
|
|
@@ -3497,6 +3610,90 @@ class DescribeClientBalanceNewResponse(AbstractModel):
|
|
3497
3610
|
self._RequestId = params.get("RequestId")
|
3498
3611
|
|
3499
3612
|
|
3613
|
+
class DescribeClientJoinIncreaseListRequest(AbstractModel):
|
3614
|
+
"""DescribeClientJoinIncreaseList请求参数结构体
|
3615
|
+
|
3616
|
+
"""
|
3617
|
+
|
3618
|
+
def __init__(self):
|
3619
|
+
r"""
|
3620
|
+
:param _ClientUins: 客户UIN列表
|
3621
|
+
:type ClientUins: list of str
|
3622
|
+
"""
|
3623
|
+
self._ClientUins = None
|
3624
|
+
|
3625
|
+
@property
|
3626
|
+
def ClientUins(self):
|
3627
|
+
"""客户UIN列表
|
3628
|
+
:rtype: list of str
|
3629
|
+
"""
|
3630
|
+
return self._ClientUins
|
3631
|
+
|
3632
|
+
@ClientUins.setter
|
3633
|
+
def ClientUins(self, ClientUins):
|
3634
|
+
self._ClientUins = ClientUins
|
3635
|
+
|
3636
|
+
|
3637
|
+
def _deserialize(self, params):
|
3638
|
+
self._ClientUins = params.get("ClientUins")
|
3639
|
+
memeber_set = set(params.keys())
|
3640
|
+
for name, value in vars(self).items():
|
3641
|
+
property_name = name[1:]
|
3642
|
+
if property_name in memeber_set:
|
3643
|
+
memeber_set.remove(property_name)
|
3644
|
+
if len(memeber_set) > 0:
|
3645
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
3646
|
+
|
3647
|
+
|
3648
|
+
|
3649
|
+
class DescribeClientJoinIncreaseListResponse(AbstractModel):
|
3650
|
+
"""DescribeClientJoinIncreaseList返回参数结构体
|
3651
|
+
|
3652
|
+
"""
|
3653
|
+
|
3654
|
+
def __init__(self):
|
3655
|
+
r"""
|
3656
|
+
:param _List: 已审核代客列表
|
3657
|
+
:type List: list of ClientIncreaseInfoList
|
3658
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3659
|
+
:type RequestId: str
|
3660
|
+
"""
|
3661
|
+
self._List = None
|
3662
|
+
self._RequestId = None
|
3663
|
+
|
3664
|
+
@property
|
3665
|
+
def List(self):
|
3666
|
+
"""已审核代客列表
|
3667
|
+
:rtype: list of ClientIncreaseInfoList
|
3668
|
+
"""
|
3669
|
+
return self._List
|
3670
|
+
|
3671
|
+
@List.setter
|
3672
|
+
def List(self, List):
|
3673
|
+
self._List = List
|
3674
|
+
|
3675
|
+
@property
|
3676
|
+
def RequestId(self):
|
3677
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3678
|
+
:rtype: str
|
3679
|
+
"""
|
3680
|
+
return self._RequestId
|
3681
|
+
|
3682
|
+
@RequestId.setter
|
3683
|
+
def RequestId(self, RequestId):
|
3684
|
+
self._RequestId = RequestId
|
3685
|
+
|
3686
|
+
|
3687
|
+
def _deserialize(self, params):
|
3688
|
+
if params.get("List") is not None:
|
3689
|
+
self._List = []
|
3690
|
+
for item in params.get("List"):
|
3691
|
+
obj = ClientIncreaseInfoList()
|
3692
|
+
obj._deserialize(item)
|
3693
|
+
self._List.append(obj)
|
3694
|
+
self._RequestId = params.get("RequestId")
|
3695
|
+
|
3696
|
+
|
3500
3697
|
class DescribeRebateInfosNewRequest(AbstractModel):
|
3501
3698
|
"""DescribeRebateInfosNew请求参数结构体
|
3502
3699
|
|