tencentcloud-sdk-python-essbasic 3.0.1108__py2.py3-none-any.whl → 3.0.1109__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 CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1108'
17
+ __version__ = '3.0.1109'
@@ -38,6 +38,9 @@ FAILEDOPERATION_FLOWNUMEXCEED = 'FailedOperation.FlowNumExceed'
38
38
  # 已授权。
39
39
  FAILEDOPERATION_HASAUTHORIZED = 'FailedOperation.HasAuthorized'
40
40
 
41
+ # 自动签许可额度不足
42
+ FAILEDOPERATION_LICENSENOQUOTA = 'FailedOperation.LicenseNoQuota'
43
+
41
44
  # 无角色授权,请确认数据是否存在
42
45
  FAILEDOPERATION_NOROLEAUTH = 'FailedOperation.NoRoleAuth'
43
46
 
@@ -1154,7 +1154,11 @@ class EssbasicClient(AbstractClient):
1154
1154
 
1155
1155
 
1156
1156
  def ChannelDescribeBillUsageDetail(self, request):
1157
- """通过此接口(ChannelDescribeBillUsageDetail)查询该第三方平台子客企业的套餐消耗详情。
1157
+ """通过此接口(ChannelDescribeBillUsageDetail)查询该第三方平台子客企业的套餐消耗详情。可以支持单个子客和整个应用下所有子客的查询。
1158
+ <ul>
1159
+ <li>对于单个子客企业的查询,通过指定子客的唯一标识(Agent.ProxyOrganizationOpenId)来查询该子客消耗详情</li>
1160
+ <li>对于整个应用下所有企业的查询,不需要指定子客的唯一标识,只需要传入渠道应用标识(Agent.AppId)直接查询整个应用下所有子客企业消耗详情</li>
1161
+ </ul>
1158
1162
 
1159
1163
  :param request: Request instance for ChannelDescribeBillUsageDetail.
1160
1164
  :type request: :class:`tencentcloud.essbasic.v20210526.models.ChannelDescribeBillUsageDetailRequest`
@@ -1438,6 +1442,31 @@ class EssbasicClient(AbstractClient):
1438
1442
  raise TencentCloudSDKException(type(e).__name__, str(e))
1439
1443
 
1440
1444
 
1445
+ def ChannelRenewAutoSignLicense(self, request):
1446
+ """给医疗个人自动签许可续期。续期成功后,可对医疗自动签许可追加一年有效期,只可续期一次。
1447
+
1448
+ 注意: `处方单等特殊场景专用,此接口为白名单功能,使用前请联系对接的客户经理沟通。`
1449
+
1450
+ :param request: Request instance for ChannelRenewAutoSignLicense.
1451
+ :type request: :class:`tencentcloud.essbasic.v20210526.models.ChannelRenewAutoSignLicenseRequest`
1452
+ :rtype: :class:`tencentcloud.essbasic.v20210526.models.ChannelRenewAutoSignLicenseResponse`
1453
+
1454
+ """
1455
+ try:
1456
+ params = request._serialize()
1457
+ headers = request.headers
1458
+ body = self.call("ChannelRenewAutoSignLicense", params, headers=headers)
1459
+ response = json.loads(body)
1460
+ model = models.ChannelRenewAutoSignLicenseResponse()
1461
+ model._deserialize(response["Response"])
1462
+ return model
1463
+ except Exception as e:
1464
+ if isinstance(e, TencentCloudSDKException):
1465
+ raise
1466
+ else:
1467
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1468
+
1469
+
1441
1470
  def ChannelUpdateSealStatus(self, request):
1442
1471
  """此接口(ChannelUpdateSealStatus)用于第三方应用平台为子客企业更新印章状态。
1443
1472
 
@@ -6312,10 +6312,8 @@ class ChannelDescribeBillUsageDetailRequest(AbstractModel):
6312
6312
  此接口下面信息必填。
6313
6313
  <ul>
6314
6314
  <li>渠道应用标识: Agent.AppId</li>
6315
- <li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li>
6316
- <li>第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId</li>
6317
6315
  </ul>
6318
- 第三方平台子客企业和员工必须已经经过实名认证
6316
+ 第三方平台子客企业必须已经经过实名认证
6319
6317
  :type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
6320
6318
  :param _StartTime: 查询开始时间字符串,格式为yyyymmdd,时间跨度不能大于31天
6321
6319
  :type StartTime: str
@@ -8012,6 +8010,122 @@ class ChannelOrganizationInfo(AbstractModel):
8012
8010
 
8013
8011
 
8014
8012
 
8013
+ class ChannelRenewAutoSignLicenseRequest(AbstractModel):
8014
+ """ChannelRenewAutoSignLicense请求参数结构体
8015
+
8016
+ """
8017
+
8018
+ def __init__(self):
8019
+ r"""
8020
+ :param _Agent: 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
8021
+ :type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
8022
+ :param _SceneKey: 自动签使用的场景值, 可以选择的场景值如下:
8023
+ <ul><li> **E_PRESCRIPTION_AUTO_SIGN** : 电子处方场景</li><li> **OTHER** : 通用场景</li></ul>
8024
+ :type SceneKey: str
8025
+ :param _UserInfo: 要查询状态的用户信息, 包括名字,身份证等
8026
+ :type UserInfo: :class:`tencentcloud.essbasic.v20210526.models.UserThreeFactor`
8027
+ :param _Operator: 执行本接口操作的员工信息。
8028
+ 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
8029
+ :type Operator: :class:`tencentcloud.essbasic.v20210526.models.UserInfo`
8030
+ """
8031
+ self._Agent = None
8032
+ self._SceneKey = None
8033
+ self._UserInfo = None
8034
+ self._Operator = None
8035
+
8036
+ @property
8037
+ def Agent(self):
8038
+ return self._Agent
8039
+
8040
+ @Agent.setter
8041
+ def Agent(self, Agent):
8042
+ self._Agent = Agent
8043
+
8044
+ @property
8045
+ def SceneKey(self):
8046
+ return self._SceneKey
8047
+
8048
+ @SceneKey.setter
8049
+ def SceneKey(self, SceneKey):
8050
+ self._SceneKey = SceneKey
8051
+
8052
+ @property
8053
+ def UserInfo(self):
8054
+ return self._UserInfo
8055
+
8056
+ @UserInfo.setter
8057
+ def UserInfo(self, UserInfo):
8058
+ self._UserInfo = UserInfo
8059
+
8060
+ @property
8061
+ def Operator(self):
8062
+ return self._Operator
8063
+
8064
+ @Operator.setter
8065
+ def Operator(self, Operator):
8066
+ self._Operator = Operator
8067
+
8068
+
8069
+ def _deserialize(self, params):
8070
+ if params.get("Agent") is not None:
8071
+ self._Agent = Agent()
8072
+ self._Agent._deserialize(params.get("Agent"))
8073
+ self._SceneKey = params.get("SceneKey")
8074
+ if params.get("UserInfo") is not None:
8075
+ self._UserInfo = UserThreeFactor()
8076
+ self._UserInfo._deserialize(params.get("UserInfo"))
8077
+ if params.get("Operator") is not None:
8078
+ self._Operator = UserInfo()
8079
+ self._Operator._deserialize(params.get("Operator"))
8080
+ memeber_set = set(params.keys())
8081
+ for name, value in vars(self).items():
8082
+ property_name = name[1:]
8083
+ if property_name in memeber_set:
8084
+ memeber_set.remove(property_name)
8085
+ if len(memeber_set) > 0:
8086
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
8087
+
8088
+
8089
+
8090
+ class ChannelRenewAutoSignLicenseResponse(AbstractModel):
8091
+ """ChannelRenewAutoSignLicense返回参数结构体
8092
+
8093
+ """
8094
+
8095
+ def __init__(self):
8096
+ r"""
8097
+ :param _LicenseTo: 续期成功后自动签许可到期时间。当且仅当已通过许可开通自动签时有值。
8098
+
8099
+ 值为unix时间戳,单位为秒。
8100
+ :type LicenseTo: int
8101
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8102
+ :type RequestId: str
8103
+ """
8104
+ self._LicenseTo = None
8105
+ self._RequestId = None
8106
+
8107
+ @property
8108
+ def LicenseTo(self):
8109
+ return self._LicenseTo
8110
+
8111
+ @LicenseTo.setter
8112
+ def LicenseTo(self, LicenseTo):
8113
+ self._LicenseTo = LicenseTo
8114
+
8115
+ @property
8116
+ def RequestId(self):
8117
+ return self._RequestId
8118
+
8119
+ @RequestId.setter
8120
+ def RequestId(self, RequestId):
8121
+ self._RequestId = RequestId
8122
+
8123
+
8124
+ def _deserialize(self, params):
8125
+ self._LicenseTo = params.get("LicenseTo")
8126
+ self._RequestId = params.get("RequestId")
8127
+
8128
+
8015
8129
  class ChannelRole(AbstractModel):
8016
8130
  """角色信息
8017
8131
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-essbasic
3
- Version: 3.0.1108
3
+ Version: 3.0.1109
4
4
  Summary: Tencent Cloud Essbasic 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 (==3.0.1108)
18
+ Requires-Dist: tencentcloud-sdk-python-common (==3.0.1109)
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,14 @@
1
+ tencentcloud/__init__.py,sha256=lwCHDFVSR4gnsgpWpNpAsgo8f595ojx3cZ_m8p0cm40,631
2
+ tencentcloud/essbasic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ tencentcloud/essbasic/v20201222/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ tencentcloud/essbasic/v20201222/errorcodes.py,sha256=cZPs0vLmArRFQoZqxM4alb0WeBF9f0V0IHmt65dUdxs,5392
5
+ tencentcloud/essbasic/v20201222/essbasic_client.py,sha256=kua9joup-BLKbyITYpVovMk1T3SChjp1GNDGtdoOopY,54057
6
+ tencentcloud/essbasic/v20201222/models.py,sha256=Q2E6jmVT1emRziwRN-qj8XpdzpxvqqHTKOEQz8JaM_s,270905
7
+ tencentcloud/essbasic/v20210526/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
+ tencentcloud/essbasic/v20210526/errorcodes.py,sha256=L1_0J4AOPtBTgtVqauXq0aVisXRe03bOUWFB0QCnXRs,18219
9
+ tencentcloud/essbasic/v20210526/essbasic_client.py,sha256=ZAqDBN7f2mtQFmWbV4qB2C1hj0AUPShWsFeAwJNc-Xc,130799
10
+ tencentcloud/essbasic/v20210526/models.py,sha256=j_NfCKzh5waSBlRO-GAsAgpNK4xyTRS8x7ULHVFXJuM,713286
11
+ tencentcloud_sdk_python_essbasic-3.0.1109.dist-info/METADATA,sha256=lpoyhcba_PFKGGZe7VOFx1YugIcgyPB04ShrFDKKbro,1517
12
+ tencentcloud_sdk_python_essbasic-3.0.1109.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
13
+ tencentcloud_sdk_python_essbasic-3.0.1109.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
14
+ tencentcloud_sdk_python_essbasic-3.0.1109.dist-info/RECORD,,
@@ -1,14 +0,0 @@
1
- tencentcloud/__init__.py,sha256=oF5dM3KmZTom87tPVABFyNwXPYeTHayX3H-7Lmk7K1o,631
2
- tencentcloud/essbasic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- tencentcloud/essbasic/v20201222/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- tencentcloud/essbasic/v20201222/errorcodes.py,sha256=cZPs0vLmArRFQoZqxM4alb0WeBF9f0V0IHmt65dUdxs,5392
5
- tencentcloud/essbasic/v20201222/essbasic_client.py,sha256=kua9joup-BLKbyITYpVovMk1T3SChjp1GNDGtdoOopY,54057
6
- tencentcloud/essbasic/v20201222/models.py,sha256=Q2E6jmVT1emRziwRN-qj8XpdzpxvqqHTKOEQz8JaM_s,270905
7
- tencentcloud/essbasic/v20210526/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
- tencentcloud/essbasic/v20210526/errorcodes.py,sha256=pMemCGhyGIwBsjYvXbyZZ_BV50xw8j4xlZtcCXfxCTk,18122
9
- tencentcloud/essbasic/v20210526/essbasic_client.py,sha256=2MaEcjaaDu9mJ_xZUheBXtMMDWo9wMA2sNMLKO9AmCo,129172
10
- tencentcloud/essbasic/v20210526/models.py,sha256=V340y4KS1GPsrTbpnf0pWDFgjSRnF9uFU-SOtkk9WhA,709484
11
- tencentcloud_sdk_python_essbasic-3.0.1108.dist-info/METADATA,sha256=Tqhgbm2lstxLWAzgv4yRdWeJyeqhEMUTVOzlhJX4DoQ,1517
12
- tencentcloud_sdk_python_essbasic-3.0.1108.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
13
- tencentcloud_sdk_python_essbasic-3.0.1108.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
14
- tencentcloud_sdk_python_essbasic-3.0.1108.dist-info/RECORD,,