tencentcloud-sdk-python-tokenhub 3.1.132__tar.gz → 3.1.147__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_tokenhub-3.1.132 → tencentcloud_sdk_python_tokenhub-3.1.147}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_tokenhub-3.1.132 → tencentcloud_sdk_python_tokenhub-3.1.147}/setup.py +1 -1
  3. {tencentcloud_sdk_python_tokenhub-3.1.132 → tencentcloud_sdk_python_tokenhub-3.1.147}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_tokenhub-3.1.132 → tencentcloud_sdk_python_tokenhub-3.1.147}/tencentcloud/tokenhub/v20260322/models.py +70 -40
  5. {tencentcloud_sdk_python_tokenhub-3.1.132 → tencentcloud_sdk_python_tokenhub-3.1.147}/tencentcloud/tokenhub/v20260322/tokenhub_client.py +3 -2
  6. {tencentcloud_sdk_python_tokenhub-3.1.132 → tencentcloud_sdk_python_tokenhub-3.1.147}/tencentcloud/tokenhub/v20260322/tokenhub_client_async.py +3 -2
  7. {tencentcloud_sdk_python_tokenhub-3.1.132 → tencentcloud_sdk_python_tokenhub-3.1.147}/tencentcloud_sdk_python_tokenhub.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_tokenhub-3.1.147/tencentcloud_sdk_python_tokenhub.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_tokenhub-3.1.132/tencentcloud_sdk_python_tokenhub.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_tokenhub-3.1.132 → tencentcloud_sdk_python_tokenhub-3.1.147}/README.rst +0 -0
  11. {tencentcloud_sdk_python_tokenhub-3.1.132 → tencentcloud_sdk_python_tokenhub-3.1.147}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_tokenhub-3.1.132 → tencentcloud_sdk_python_tokenhub-3.1.147}/tencentcloud/tokenhub/__init__.py +0 -0
  13. {tencentcloud_sdk_python_tokenhub-3.1.132 → tencentcloud_sdk_python_tokenhub-3.1.147}/tencentcloud/tokenhub/v20260322/__init__.py +0 -0
  14. {tencentcloud_sdk_python_tokenhub-3.1.132 → tencentcloud_sdk_python_tokenhub-3.1.147}/tencentcloud/tokenhub/v20260322/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_tokenhub-3.1.132 → tencentcloud_sdk_python_tokenhub-3.1.147}/tencentcloud_sdk_python_tokenhub.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_tokenhub-3.1.132 → tencentcloud_sdk_python_tokenhub-3.1.147}/tencentcloud_sdk_python_tokenhub.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_tokenhub-3.1.132 → tencentcloud_sdk_python_tokenhub-3.1.147}/tencentcloud_sdk_python_tokenhub.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tokenhub
3
- Version: 3.1.132
3
+ Version: 3.1.147
4
4
  Summary: Tencent Cloud Tokenhub 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.132
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.147
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-tokenhub',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.132,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.147,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Tokenhub SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.132'
17
+ __version__ = '3.1.147'
@@ -1349,26 +1349,29 @@ class CreateTokenPlanTeamOrderAndBuyRequest(AbstractModel):
1349
1349
 
1350
1350
  def __init__(self):
1351
1351
  r"""
1352
- :param _ProductType: 套餐类型。取值:enterprise(企业版专业套餐)、enterprise-auto(企业版轻享套餐)。
1352
+ :param _ProductType: <p>套餐类型。取值:enterprise(企业版专业套餐)、enterprise-auto(企业版轻享套餐)。</p>
1353
1353
  :type ProductType: str
1354
- :param _TeamName: 套餐名称。只能包含中文、字母、数字、下划线、连字符,以中文或者字母开头,以中文或字母或数字结尾,2~50个字符
1354
+ :param _TeamName: <p>套餐名称。只能包含中文、字母、数字、下划线、连字符,以中文或者字母开头,以中文或字母或数字结尾,2~50个字符</p>
1355
1355
  :type TeamName: str
1356
- :param _TimeSpan: 购买时长。单位:月。必须大于 0
1356
+ :param _TimeSpan: <p>购买时长。单位:月。必须大于 0,支持1个月~12个月。</p>
1357
1357
  :type TimeSpan: int
1358
- :param _CreditOrToken: 购买的套餐规格。套餐类型为专业套餐(enterprise),单位取值为积分;轻享套餐(enterprise-auto),单位取值为 tokens
1358
+ :param _CreditOrToken: <p>购买的套餐规格。套餐类型为专业套餐(enterprise),单位取值为积分;轻享套餐(enterprise-auto),单位取值为 tokens。</p>
1359
1359
  :type CreditOrToken: int
1360
- :param _EnableAutoRenew: 是否开启自动续费。默认不开启。
1360
+ :param _EnableAutoRenew: <p>是否开启自动续费。默认不开启。</p>
1361
1361
  :type EnableAutoRenew: bool
1362
+ :param _TeamId: <p>已有套餐 ID(非空时走过期续费,空时走新购)</p>
1363
+ :type TeamId: str
1362
1364
  """
1363
1365
  self._ProductType = None
1364
1366
  self._TeamName = None
1365
1367
  self._TimeSpan = None
1366
1368
  self._CreditOrToken = None
1367
1369
  self._EnableAutoRenew = None
1370
+ self._TeamId = None
1368
1371
 
1369
1372
  @property
1370
1373
  def ProductType(self):
1371
- r"""套餐类型。取值:enterprise(企业版专业套餐)、enterprise-auto(企业版轻享套餐)。
1374
+ r"""<p>套餐类型。取值:enterprise(企业版专业套餐)、enterprise-auto(企业版轻享套餐)。</p>
1372
1375
  :rtype: str
1373
1376
  """
1374
1377
  return self._ProductType
@@ -1379,7 +1382,7 @@ class CreateTokenPlanTeamOrderAndBuyRequest(AbstractModel):
1379
1382
 
1380
1383
  @property
1381
1384
  def TeamName(self):
1382
- r"""套餐名称。只能包含中文、字母、数字、下划线、连字符,以中文或者字母开头,以中文或字母或数字结尾,2~50个字符
1385
+ r"""<p>套餐名称。只能包含中文、字母、数字、下划线、连字符,以中文或者字母开头,以中文或字母或数字结尾,2~50个字符</p>
1383
1386
  :rtype: str
1384
1387
  """
1385
1388
  return self._TeamName
@@ -1390,7 +1393,7 @@ class CreateTokenPlanTeamOrderAndBuyRequest(AbstractModel):
1390
1393
 
1391
1394
  @property
1392
1395
  def TimeSpan(self):
1393
- r"""购买时长。单位:月。必须大于 0
1396
+ r"""<p>购买时长。单位:月。必须大于 0,支持1个月~12个月。</p>
1394
1397
  :rtype: int
1395
1398
  """
1396
1399
  return self._TimeSpan
@@ -1401,7 +1404,7 @@ class CreateTokenPlanTeamOrderAndBuyRequest(AbstractModel):
1401
1404
 
1402
1405
  @property
1403
1406
  def CreditOrToken(self):
1404
- r"""购买的套餐规格。套餐类型为专业套餐(enterprise),单位取值为积分;轻享套餐(enterprise-auto),单位取值为 tokens
1407
+ r"""<p>购买的套餐规格。套餐类型为专业套餐(enterprise),单位取值为积分;轻享套餐(enterprise-auto),单位取值为 tokens。</p>
1405
1408
  :rtype: int
1406
1409
  """
1407
1410
  return self._CreditOrToken
@@ -1412,7 +1415,7 @@ class CreateTokenPlanTeamOrderAndBuyRequest(AbstractModel):
1412
1415
 
1413
1416
  @property
1414
1417
  def EnableAutoRenew(self):
1415
- r"""是否开启自动续费。默认不开启。
1418
+ r"""<p>是否开启自动续费。默认不开启。</p>
1416
1419
  :rtype: bool
1417
1420
  """
1418
1421
  return self._EnableAutoRenew
@@ -1421,6 +1424,17 @@ class CreateTokenPlanTeamOrderAndBuyRequest(AbstractModel):
1421
1424
  def EnableAutoRenew(self, EnableAutoRenew):
1422
1425
  self._EnableAutoRenew = EnableAutoRenew
1423
1426
 
1427
+ @property
1428
+ def TeamId(self):
1429
+ r"""<p>已有套餐 ID(非空时走过期续费,空时走新购)</p>
1430
+ :rtype: str
1431
+ """
1432
+ return self._TeamId
1433
+
1434
+ @TeamId.setter
1435
+ def TeamId(self, TeamId):
1436
+ self._TeamId = TeamId
1437
+
1424
1438
 
1425
1439
  def _deserialize(self, params):
1426
1440
  self._ProductType = params.get("ProductType")
@@ -1428,6 +1442,7 @@ class CreateTokenPlanTeamOrderAndBuyRequest(AbstractModel):
1428
1442
  self._TimeSpan = params.get("TimeSpan")
1429
1443
  self._CreditOrToken = params.get("CreditOrToken")
1430
1444
  self._EnableAutoRenew = params.get("EnableAutoRenew")
1445
+ self._TeamId = params.get("TeamId")
1431
1446
  memeber_set = set(params.keys())
1432
1447
  for name, value in vars(self).items():
1433
1448
  property_name = name[1:]
@@ -1445,7 +1460,7 @@ class CreateTokenPlanTeamOrderAndBuyResponse(AbstractModel):
1445
1460
 
1446
1461
  def __init__(self):
1447
1462
  r"""
1448
- :param _BigOrderId: 腾讯云订单 ID。用于关联一次购买操作下的所有子订单。
1463
+ :param _BigOrderId: <p>腾讯云订单 ID。用于关联一次购买操作下的所有子订单。</p>
1449
1464
  :type BigOrderId: str
1450
1465
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1451
1466
  :type RequestId: str
@@ -1455,7 +1470,7 @@ class CreateTokenPlanTeamOrderAndBuyResponse(AbstractModel):
1455
1470
 
1456
1471
  @property
1457
1472
  def BigOrderId(self):
1458
- r"""腾讯云订单 ID。用于关联一次购买操作下的所有子订单。
1473
+ r"""<p>腾讯云订单 ID。用于关联一次购买操作下的所有子订单。</p>
1459
1474
  :rtype: str
1460
1475
  """
1461
1476
  return self._BigOrderId
@@ -8066,33 +8081,35 @@ class TokenPlanListItem(AbstractModel):
8066
8081
 
8067
8082
  def __init__(self):
8068
8083
  r"""
8069
- :param _TeamId: 套餐 ID
8084
+ :param _TeamId: <p>套餐 ID。</p>
8070
8085
  :type TeamId: str
8071
- :param _ProductType: 套餐类型。取值:enterprise(企业版专业套餐)、enterprise-auto(企业版轻享套餐)
8086
+ :param _ProductType: <p>套餐类型。取值:enterprise(企业版专业套餐)、enterprise-auto(企业版轻享套餐)</p>
8072
8087
  :type ProductType: str
8073
- :param _Name: 套餐名称。最大 128 字符。
8088
+ :param _Name: <p>套餐名称。最大 128 字符。</p>
8074
8089
  :type Name: str
8075
- :param _AppId: 账号 APP ID
8090
+ :param _AppId: <p>账号 APP ID。</p>
8076
8091
  :type AppId: str
8077
- :param _Uin: 主账号 UIN
8092
+ :param _Uin: <p>主账号 UIN。</p>
8078
8093
  :type Uin: str
8079
- :param _Status: 套餐状态。取值:enable(启用)、disable(停用)。
8094
+ :param _Status: <p>套餐状态。取值:enable(启用)、disable(停用)。</p>
8080
8095
  :type Status: str
8081
- :param _StopReason: 套餐关停原因。取值:NORMAL(正常)、ISOLATED(隔离/欠费)、FROZEN(冻结)、EXHAUSTED(额度耗尽)、DESTROYED(已销毁)
8096
+ :param _StopReason: <p>套餐关停原因。取值:NORMAL(正常)、ISOLATED(隔离/欠费)、FROZEN(冻结)、EXHAUSTED(额度耗尽)、DESTROYED(已销毁)</p>
8082
8097
  :type StopReason: str
8083
- :param _ApiKeyMax: 可创建 API Key 上限。
8098
+ :param _ApiKeyMax: <p>可创建 API Key 上限。</p>
8084
8099
  :type ApiKeyMax: int
8085
- :param _PrepayResourceID: 云计费预付费资源包 ID。
8100
+ :param _ApiKeyCount: <p>当前已创建的 APIKey 数量</p>
8101
+ :type ApiKeyCount: int
8102
+ :param _PrepayResourceID: <p>云计费预付费资源包 ID。</p>
8086
8103
  :type PrepayResourceID: str
8087
- :param _Creator: 创建人。若为子账号创建的套餐,则该值为子账号UIN
8104
+ :param _Creator: <p>创建人。若为子账号创建的套餐,则该值为子账号UIN。</p>
8088
8105
  :type Creator: str
8089
- :param _CreatedAt: 创建时间。
8106
+ :param _CreatedAt: <p>创建时间。</p>
8090
8107
  :type CreatedAt: str
8091
- :param _UpdatedAt: 更新时间。
8108
+ :param _UpdatedAt: <p>更新时间。</p>
8092
8109
  :type UpdatedAt: str
8093
- :param _PackageInfo: 套餐包基本信息。
8110
+ :param _PackageInfo: <p>套餐包基本信息。</p>
8094
8111
  :type PackageInfo: :class:`tencentcloud.tokenhub.v20260322.models.TokenPlanPackageInfo`
8095
- :param _AutoRenewFlag: 是否开启自动续费。取值:0(未开启),1(开启)
8112
+ :param _AutoRenewFlag: <p>是否开启自动续费。取值:0(未开启),1(开启)</p>
8096
8113
  :type AutoRenewFlag: int
8097
8114
  """
8098
8115
  self._TeamId = None
@@ -8103,6 +8120,7 @@ class TokenPlanListItem(AbstractModel):
8103
8120
  self._Status = None
8104
8121
  self._StopReason = None
8105
8122
  self._ApiKeyMax = None
8123
+ self._ApiKeyCount = None
8106
8124
  self._PrepayResourceID = None
8107
8125
  self._Creator = None
8108
8126
  self._CreatedAt = None
@@ -8112,7 +8130,7 @@ class TokenPlanListItem(AbstractModel):
8112
8130
 
8113
8131
  @property
8114
8132
  def TeamId(self):
8115
- r"""套餐 ID
8133
+ r"""<p>套餐 ID。</p>
8116
8134
  :rtype: str
8117
8135
  """
8118
8136
  return self._TeamId
@@ -8123,7 +8141,7 @@ class TokenPlanListItem(AbstractModel):
8123
8141
 
8124
8142
  @property
8125
8143
  def ProductType(self):
8126
- r"""套餐类型。取值:enterprise(企业版专业套餐)、enterprise-auto(企业版轻享套餐)
8144
+ r"""<p>套餐类型。取值:enterprise(企业版专业套餐)、enterprise-auto(企业版轻享套餐)</p>
8127
8145
  :rtype: str
8128
8146
  """
8129
8147
  return self._ProductType
@@ -8134,7 +8152,7 @@ class TokenPlanListItem(AbstractModel):
8134
8152
 
8135
8153
  @property
8136
8154
  def Name(self):
8137
- r"""套餐名称。最大 128 字符。
8155
+ r"""<p>套餐名称。最大 128 字符。</p>
8138
8156
  :rtype: str
8139
8157
  """
8140
8158
  return self._Name
@@ -8145,7 +8163,7 @@ class TokenPlanListItem(AbstractModel):
8145
8163
 
8146
8164
  @property
8147
8165
  def AppId(self):
8148
- r"""账号 APP ID
8166
+ r"""<p>账号 APP ID。</p>
8149
8167
  :rtype: str
8150
8168
  """
8151
8169
  return self._AppId
@@ -8156,7 +8174,7 @@ class TokenPlanListItem(AbstractModel):
8156
8174
 
8157
8175
  @property
8158
8176
  def Uin(self):
8159
- r"""主账号 UIN
8177
+ r"""<p>主账号 UIN。</p>
8160
8178
  :rtype: str
8161
8179
  """
8162
8180
  return self._Uin
@@ -8167,7 +8185,7 @@ class TokenPlanListItem(AbstractModel):
8167
8185
 
8168
8186
  @property
8169
8187
  def Status(self):
8170
- r"""套餐状态。取值:enable(启用)、disable(停用)。
8188
+ r"""<p>套餐状态。取值:enable(启用)、disable(停用)。</p>
8171
8189
  :rtype: str
8172
8190
  """
8173
8191
  return self._Status
@@ -8178,7 +8196,7 @@ class TokenPlanListItem(AbstractModel):
8178
8196
 
8179
8197
  @property
8180
8198
  def StopReason(self):
8181
- r"""套餐关停原因。取值:NORMAL(正常)、ISOLATED(隔离/欠费)、FROZEN(冻结)、EXHAUSTED(额度耗尽)、DESTROYED(已销毁)
8199
+ r"""<p>套餐关停原因。取值:NORMAL(正常)、ISOLATED(隔离/欠费)、FROZEN(冻结)、EXHAUSTED(额度耗尽)、DESTROYED(已销毁)</p>
8182
8200
  :rtype: str
8183
8201
  """
8184
8202
  return self._StopReason
@@ -8189,7 +8207,7 @@ class TokenPlanListItem(AbstractModel):
8189
8207
 
8190
8208
  @property
8191
8209
  def ApiKeyMax(self):
8192
- r"""可创建 API Key 上限。
8210
+ r"""<p>可创建 API Key 上限。</p>
8193
8211
  :rtype: int
8194
8212
  """
8195
8213
  return self._ApiKeyMax
@@ -8198,9 +8216,20 @@ class TokenPlanListItem(AbstractModel):
8198
8216
  def ApiKeyMax(self, ApiKeyMax):
8199
8217
  self._ApiKeyMax = ApiKeyMax
8200
8218
 
8219
+ @property
8220
+ def ApiKeyCount(self):
8221
+ r"""<p>当前已创建的 APIKey 数量</p>
8222
+ :rtype: int
8223
+ """
8224
+ return self._ApiKeyCount
8225
+
8226
+ @ApiKeyCount.setter
8227
+ def ApiKeyCount(self, ApiKeyCount):
8228
+ self._ApiKeyCount = ApiKeyCount
8229
+
8201
8230
  @property
8202
8231
  def PrepayResourceID(self):
8203
- r"""云计费预付费资源包 ID
8232
+ r"""<p>云计费预付费资源包 ID。</p>
8204
8233
  :rtype: str
8205
8234
  """
8206
8235
  return self._PrepayResourceID
@@ -8211,7 +8240,7 @@ class TokenPlanListItem(AbstractModel):
8211
8240
 
8212
8241
  @property
8213
8242
  def Creator(self):
8214
- r"""创建人。若为子账号创建的套餐,则该值为子账号UIN
8243
+ r"""<p>创建人。若为子账号创建的套餐,则该值为子账号UIN。</p>
8215
8244
  :rtype: str
8216
8245
  """
8217
8246
  return self._Creator
@@ -8222,7 +8251,7 @@ class TokenPlanListItem(AbstractModel):
8222
8251
 
8223
8252
  @property
8224
8253
  def CreatedAt(self):
8225
- r"""创建时间。
8254
+ r"""<p>创建时间。</p>
8226
8255
  :rtype: str
8227
8256
  """
8228
8257
  return self._CreatedAt
@@ -8233,7 +8262,7 @@ class TokenPlanListItem(AbstractModel):
8233
8262
 
8234
8263
  @property
8235
8264
  def UpdatedAt(self):
8236
- r"""更新时间。
8265
+ r"""<p>更新时间。</p>
8237
8266
  :rtype: str
8238
8267
  """
8239
8268
  return self._UpdatedAt
@@ -8244,7 +8273,7 @@ class TokenPlanListItem(AbstractModel):
8244
8273
 
8245
8274
  @property
8246
8275
  def PackageInfo(self):
8247
- r"""套餐包基本信息。
8276
+ r"""<p>套餐包基本信息。</p>
8248
8277
  :rtype: :class:`tencentcloud.tokenhub.v20260322.models.TokenPlanPackageInfo`
8249
8278
  """
8250
8279
  return self._PackageInfo
@@ -8255,7 +8284,7 @@ class TokenPlanListItem(AbstractModel):
8255
8284
 
8256
8285
  @property
8257
8286
  def AutoRenewFlag(self):
8258
- r"""是否开启自动续费。取值:0(未开启),1(开启)
8287
+ r"""<p>是否开启自动续费。取值:0(未开启),1(开启)</p>
8259
8288
  :rtype: int
8260
8289
  """
8261
8290
  return self._AutoRenewFlag
@@ -8274,6 +8303,7 @@ class TokenPlanListItem(AbstractModel):
8274
8303
  self._Status = params.get("Status")
8275
8304
  self._StopReason = params.get("StopReason")
8276
8305
  self._ApiKeyMax = params.get("ApiKeyMax")
8306
+ self._ApiKeyCount = params.get("ApiKeyCount")
8277
8307
  self._PrepayResourceID = params.get("PrepayResourceID")
8278
8308
  self._Creator = params.get("Creator")
8279
8309
  self._CreatedAt = params.get("CreatedAt")
@@ -77,7 +77,7 @@ class TokenhubClient(AbstractClient):
77
77
 
78
78
 
79
79
  def CreateGlossary(self, request):
80
- r"""创建术语库。
80
+ r"""创建术语库。(单个用户默认最多可以创建50个术语库)
81
81
 
82
82
  在当前应用下创建一个新的翻译术语库,用于自定义源语言到目标语言的术语映射。创建成功后返回术语库 ID,可通过该 ID 进一步管理术语条目。
83
83
 
@@ -105,6 +105,7 @@ class TokenhubClient(AbstractClient):
105
105
  r"""批量创建术语条目。
106
106
 
107
107
  在指定术语库下批量创建术语条目。单次最多创建 100 条。
108
+ 单个术语库默认最多总共可以创建10000个术语对
108
109
 
109
110
  :param request: Request instance for CreateGlossaryEntries.
110
111
  :type request: :class:`tencentcloud.tokenhub.v20260322.models.CreateGlossaryEntriesRequest`
@@ -152,7 +153,7 @@ class TokenhubClient(AbstractClient):
152
153
 
153
154
 
154
155
  def CreateTokenPlanTeamOrderAndBuy(self, request):
155
- r"""购买套餐。
156
+ r"""购买套餐(重新开通过期的套餐续费也通过该接口实现,需要额外传已过期套餐teamId。注:续费成功后套餐包总周期数(TotalCycles)会包含历史周期数,实际套餐包生效周期以生效时间(StartTime)和到期时间(ExpireTime)为准)。
156
157
 
157
158
  发起 TokenPlan 套餐下单并完成支付,成功后返回大订单 ID 及关联的子订单、资源信息。
158
159
 
@@ -71,7 +71,7 @@ class TokenhubClient(AbstractClient):
71
71
  opts: Dict = None,
72
72
  ) -> models.CreateGlossaryResponse:
73
73
  """
74
- 创建术语库。
74
+ 创建术语库。(单个用户默认最多可以创建50个术语库)
75
75
 
76
76
  在当前应用下创建一个新的翻译术语库,用于自定义源语言到目标语言的术语映射。创建成功后返回术语库 ID,可通过该 ID 进一步管理术语条目。
77
77
  """
@@ -94,6 +94,7 @@ class TokenhubClient(AbstractClient):
94
94
  批量创建术语条目。
95
95
 
96
96
  在指定术语库下批量创建术语条目。单次最多创建 100 条。
97
+ 单个术语库默认最多总共可以创建10000个术语对
97
98
  """
98
99
 
99
100
  kwargs = {}
@@ -131,7 +132,7 @@ class TokenhubClient(AbstractClient):
131
132
  opts: Dict = None,
132
133
  ) -> models.CreateTokenPlanTeamOrderAndBuyResponse:
133
134
  """
134
- 购买套餐。
135
+ 购买套餐(重新开通过期的套餐续费也通过该接口实现,需要额外传已过期套餐teamId。注:续费成功后套餐包总周期数(TotalCycles)会包含历史周期数,实际套餐包生效周期以生效时间(StartTime)和到期时间(ExpireTime)为准)。
135
136
 
136
137
  发起 TokenPlan 套餐下单并完成支付,成功后返回大订单 ID 及关联的子订单、资源信息。
137
138
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tokenhub
3
- Version: 3.1.132
3
+ Version: 3.1.147
4
4
  Summary: Tencent Cloud Tokenhub 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.132
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.147
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.147
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.132