tencentcloud-sdk-python-intl-en 3.0.1166__py2.py3-none-any.whl → 3.0.1167__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py +24 -0
- tencentcloud/intlpartnersmgt/v20220928/models.py +233 -0
- tencentcloud/mps/v20190612/errorcodes.py +30 -0
- tencentcloud/mps/v20190612/models.py +4369 -218
- tencentcloud/mps/v20190612/mps_client.py +219 -11
- {tencentcloud_sdk_python_intl_en-3.0.1166.dist-info → tencentcloud_sdk_python_intl_en-3.0.1167.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1166.dist-info → tencentcloud_sdk_python_intl_en-3.0.1167.dist-info}/RECORD +10 -10
- {tencentcloud_sdk_python_intl_en-3.0.1166.dist-info → tencentcloud_sdk_python_intl_en-3.0.1167.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1166.dist-info → tencentcloud_sdk_python_intl_en-3.0.1167.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -671,6 +671,30 @@ class IntlpartnersmgtClient(AbstractClient):
|
|
|
671
671
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
672
672
|
|
|
673
673
|
|
|
674
|
+
def QueryInvitationInfo(self, request):
|
|
675
|
+
"""Query usage information of invitation link. Once created, the data will only be retained for 60 days, and the system will automatically delete the invitation link after 60 days.
|
|
676
|
+
Invokable role types: Distributor, Second-level reseller, Reseller.
|
|
677
|
+
|
|
678
|
+
:param request: Request instance for QueryInvitationInfo.
|
|
679
|
+
:type request: :class:`tencentcloud.intlpartnersmgt.v20220928.models.QueryInvitationInfoRequest`
|
|
680
|
+
:rtype: :class:`tencentcloud.intlpartnersmgt.v20220928.models.QueryInvitationInfoResponse`
|
|
681
|
+
|
|
682
|
+
"""
|
|
683
|
+
try:
|
|
684
|
+
params = request._serialize()
|
|
685
|
+
headers = request.headers
|
|
686
|
+
body = self.call("QueryInvitationInfo", params, headers=headers)
|
|
687
|
+
response = json.loads(body)
|
|
688
|
+
model = models.QueryInvitationInfoResponse()
|
|
689
|
+
model._deserialize(response["Response"])
|
|
690
|
+
return model
|
|
691
|
+
except Exception as e:
|
|
692
|
+
if isinstance(e, TencentCloudSDKException):
|
|
693
|
+
raise
|
|
694
|
+
else:
|
|
695
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
696
|
+
|
|
697
|
+
|
|
674
698
|
def QueryPartnerCredit(self, request):
|
|
675
699
|
"""This API is used for a partner to query its own total credit, available credit, and used credit in USD.
|
|
676
700
|
|
|
@@ -5441,6 +5441,239 @@ class QueryDirectCustomersCreditResponse(AbstractModel):
|
|
|
5441
5441
|
self._RequestId = params.get("RequestId")
|
|
5442
5442
|
|
|
5443
5443
|
|
|
5444
|
+
class QueryInvitationInfoData(AbstractModel):
|
|
5445
|
+
"""Invitation link information.
|
|
5446
|
+
|
|
5447
|
+
"""
|
|
5448
|
+
|
|
5449
|
+
def __init__(self):
|
|
5450
|
+
r"""
|
|
5451
|
+
:param _InvitationToken: Invitation link token.
|
|
5452
|
+
:type InvitationToken: str
|
|
5453
|
+
:param _CreateTime: Creation time of the invitation link.
|
|
5454
|
+
:type CreateTime: str
|
|
5455
|
+
:param _Status: Invite link status.
|
|
5456
|
+
1: Unused.
|
|
5457
|
+
2: Used.
|
|
5458
|
+
:type Status: int
|
|
5459
|
+
:param _UseTime: Indicates the usage time of the invitation link.
|
|
5460
|
+
:type UseTime: str
|
|
5461
|
+
:param _ClientUin: Customer uin.
|
|
5462
|
+
:type ClientUin: int
|
|
5463
|
+
:param _ClientMail: Customer mailbox.
|
|
5464
|
+
:type ClientMail: str
|
|
5465
|
+
:param _ClientType: Customer type.
|
|
5466
|
+
1: Second-Level reseller.
|
|
5467
|
+
2: Sub-Customer.
|
|
5468
|
+
:type ClientType: int
|
|
5469
|
+
:param _BindTime: The binding time of the customer.
|
|
5470
|
+
:type BindTime: str
|
|
5471
|
+
"""
|
|
5472
|
+
self._InvitationToken = None
|
|
5473
|
+
self._CreateTime = None
|
|
5474
|
+
self._Status = None
|
|
5475
|
+
self._UseTime = None
|
|
5476
|
+
self._ClientUin = None
|
|
5477
|
+
self._ClientMail = None
|
|
5478
|
+
self._ClientType = None
|
|
5479
|
+
self._BindTime = None
|
|
5480
|
+
|
|
5481
|
+
@property
|
|
5482
|
+
def InvitationToken(self):
|
|
5483
|
+
"""Invitation link token.
|
|
5484
|
+
:rtype: str
|
|
5485
|
+
"""
|
|
5486
|
+
return self._InvitationToken
|
|
5487
|
+
|
|
5488
|
+
@InvitationToken.setter
|
|
5489
|
+
def InvitationToken(self, InvitationToken):
|
|
5490
|
+
self._InvitationToken = InvitationToken
|
|
5491
|
+
|
|
5492
|
+
@property
|
|
5493
|
+
def CreateTime(self):
|
|
5494
|
+
"""Creation time of the invitation link.
|
|
5495
|
+
:rtype: str
|
|
5496
|
+
"""
|
|
5497
|
+
return self._CreateTime
|
|
5498
|
+
|
|
5499
|
+
@CreateTime.setter
|
|
5500
|
+
def CreateTime(self, CreateTime):
|
|
5501
|
+
self._CreateTime = CreateTime
|
|
5502
|
+
|
|
5503
|
+
@property
|
|
5504
|
+
def Status(self):
|
|
5505
|
+
"""Invite link status.
|
|
5506
|
+
1: Unused.
|
|
5507
|
+
2: Used.
|
|
5508
|
+
:rtype: int
|
|
5509
|
+
"""
|
|
5510
|
+
return self._Status
|
|
5511
|
+
|
|
5512
|
+
@Status.setter
|
|
5513
|
+
def Status(self, Status):
|
|
5514
|
+
self._Status = Status
|
|
5515
|
+
|
|
5516
|
+
@property
|
|
5517
|
+
def UseTime(self):
|
|
5518
|
+
"""Indicates the usage time of the invitation link.
|
|
5519
|
+
:rtype: str
|
|
5520
|
+
"""
|
|
5521
|
+
return self._UseTime
|
|
5522
|
+
|
|
5523
|
+
@UseTime.setter
|
|
5524
|
+
def UseTime(self, UseTime):
|
|
5525
|
+
self._UseTime = UseTime
|
|
5526
|
+
|
|
5527
|
+
@property
|
|
5528
|
+
def ClientUin(self):
|
|
5529
|
+
"""Customer uin.
|
|
5530
|
+
:rtype: int
|
|
5531
|
+
"""
|
|
5532
|
+
return self._ClientUin
|
|
5533
|
+
|
|
5534
|
+
@ClientUin.setter
|
|
5535
|
+
def ClientUin(self, ClientUin):
|
|
5536
|
+
self._ClientUin = ClientUin
|
|
5537
|
+
|
|
5538
|
+
@property
|
|
5539
|
+
def ClientMail(self):
|
|
5540
|
+
"""Customer mailbox.
|
|
5541
|
+
:rtype: str
|
|
5542
|
+
"""
|
|
5543
|
+
return self._ClientMail
|
|
5544
|
+
|
|
5545
|
+
@ClientMail.setter
|
|
5546
|
+
def ClientMail(self, ClientMail):
|
|
5547
|
+
self._ClientMail = ClientMail
|
|
5548
|
+
|
|
5549
|
+
@property
|
|
5550
|
+
def ClientType(self):
|
|
5551
|
+
"""Customer type.
|
|
5552
|
+
1: Second-Level reseller.
|
|
5553
|
+
2: Sub-Customer.
|
|
5554
|
+
:rtype: int
|
|
5555
|
+
"""
|
|
5556
|
+
return self._ClientType
|
|
5557
|
+
|
|
5558
|
+
@ClientType.setter
|
|
5559
|
+
def ClientType(self, ClientType):
|
|
5560
|
+
self._ClientType = ClientType
|
|
5561
|
+
|
|
5562
|
+
@property
|
|
5563
|
+
def BindTime(self):
|
|
5564
|
+
"""The binding time of the customer.
|
|
5565
|
+
:rtype: str
|
|
5566
|
+
"""
|
|
5567
|
+
return self._BindTime
|
|
5568
|
+
|
|
5569
|
+
@BindTime.setter
|
|
5570
|
+
def BindTime(self, BindTime):
|
|
5571
|
+
self._BindTime = BindTime
|
|
5572
|
+
|
|
5573
|
+
|
|
5574
|
+
def _deserialize(self, params):
|
|
5575
|
+
self._InvitationToken = params.get("InvitationToken")
|
|
5576
|
+
self._CreateTime = params.get("CreateTime")
|
|
5577
|
+
self._Status = params.get("Status")
|
|
5578
|
+
self._UseTime = params.get("UseTime")
|
|
5579
|
+
self._ClientUin = params.get("ClientUin")
|
|
5580
|
+
self._ClientMail = params.get("ClientMail")
|
|
5581
|
+
self._ClientType = params.get("ClientType")
|
|
5582
|
+
self._BindTime = params.get("BindTime")
|
|
5583
|
+
memeber_set = set(params.keys())
|
|
5584
|
+
for name, value in vars(self).items():
|
|
5585
|
+
property_name = name[1:]
|
|
5586
|
+
if property_name in memeber_set:
|
|
5587
|
+
memeber_set.remove(property_name)
|
|
5588
|
+
if len(memeber_set) > 0:
|
|
5589
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5590
|
+
|
|
5591
|
+
|
|
5592
|
+
|
|
5593
|
+
class QueryInvitationInfoRequest(AbstractModel):
|
|
5594
|
+
"""QueryInvitationInfo request structure.
|
|
5595
|
+
|
|
5596
|
+
"""
|
|
5597
|
+
|
|
5598
|
+
def __init__(self):
|
|
5599
|
+
r"""
|
|
5600
|
+
:param _InvitationToken: Invite token. array member quantity value: [1, 100].
|
|
5601
|
+
:type InvitationToken: list of str
|
|
5602
|
+
"""
|
|
5603
|
+
self._InvitationToken = None
|
|
5604
|
+
|
|
5605
|
+
@property
|
|
5606
|
+
def InvitationToken(self):
|
|
5607
|
+
"""Invite token. array member quantity value: [1, 100].
|
|
5608
|
+
:rtype: list of str
|
|
5609
|
+
"""
|
|
5610
|
+
return self._InvitationToken
|
|
5611
|
+
|
|
5612
|
+
@InvitationToken.setter
|
|
5613
|
+
def InvitationToken(self, InvitationToken):
|
|
5614
|
+
self._InvitationToken = InvitationToken
|
|
5615
|
+
|
|
5616
|
+
|
|
5617
|
+
def _deserialize(self, params):
|
|
5618
|
+
self._InvitationToken = params.get("InvitationToken")
|
|
5619
|
+
memeber_set = set(params.keys())
|
|
5620
|
+
for name, value in vars(self).items():
|
|
5621
|
+
property_name = name[1:]
|
|
5622
|
+
if property_name in memeber_set:
|
|
5623
|
+
memeber_set.remove(property_name)
|
|
5624
|
+
if len(memeber_set) > 0:
|
|
5625
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5626
|
+
|
|
5627
|
+
|
|
5628
|
+
|
|
5629
|
+
class QueryInvitationInfoResponse(AbstractModel):
|
|
5630
|
+
"""QueryInvitationInfo response structure.
|
|
5631
|
+
|
|
5632
|
+
"""
|
|
5633
|
+
|
|
5634
|
+
def __init__(self):
|
|
5635
|
+
r"""
|
|
5636
|
+
:param _InvitationInfo: Invitation link information.
|
|
5637
|
+
:type InvitationInfo: list of QueryInvitationInfoData
|
|
5638
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
5639
|
+
:type RequestId: str
|
|
5640
|
+
"""
|
|
5641
|
+
self._InvitationInfo = None
|
|
5642
|
+
self._RequestId = None
|
|
5643
|
+
|
|
5644
|
+
@property
|
|
5645
|
+
def InvitationInfo(self):
|
|
5646
|
+
"""Invitation link information.
|
|
5647
|
+
:rtype: list of QueryInvitationInfoData
|
|
5648
|
+
"""
|
|
5649
|
+
return self._InvitationInfo
|
|
5650
|
+
|
|
5651
|
+
@InvitationInfo.setter
|
|
5652
|
+
def InvitationInfo(self, InvitationInfo):
|
|
5653
|
+
self._InvitationInfo = InvitationInfo
|
|
5654
|
+
|
|
5655
|
+
@property
|
|
5656
|
+
def RequestId(self):
|
|
5657
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
5658
|
+
:rtype: str
|
|
5659
|
+
"""
|
|
5660
|
+
return self._RequestId
|
|
5661
|
+
|
|
5662
|
+
@RequestId.setter
|
|
5663
|
+
def RequestId(self, RequestId):
|
|
5664
|
+
self._RequestId = RequestId
|
|
5665
|
+
|
|
5666
|
+
|
|
5667
|
+
def _deserialize(self, params):
|
|
5668
|
+
if params.get("InvitationInfo") is not None:
|
|
5669
|
+
self._InvitationInfo = []
|
|
5670
|
+
for item in params.get("InvitationInfo"):
|
|
5671
|
+
obj = QueryInvitationInfoData()
|
|
5672
|
+
obj._deserialize(item)
|
|
5673
|
+
self._InvitationInfo.append(obj)
|
|
5674
|
+
self._RequestId = params.get("RequestId")
|
|
5675
|
+
|
|
5676
|
+
|
|
5444
5677
|
class QueryPartnerCreditRequest(AbstractModel):
|
|
5445
5678
|
"""QueryPartnerCredit request structure.
|
|
5446
5679
|
|
|
@@ -62,6 +62,15 @@ INVALIDPARAMETER_NOTFOUND = 'InvalidParameter.NotFound'
|
|
|
62
62
|
# Incorrect parameter value.
|
|
63
63
|
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
|
64
64
|
|
|
65
|
+
# The value of the hotword lexicon configuration parameter is incorrect.
|
|
66
|
+
INVALIDPARAMETERVALUE_ASRHOTWORDSCONFIGURE = 'InvalidParameterValue.AsrHotWordsConfigure'
|
|
67
|
+
|
|
68
|
+
# The value of the hotword lexicon ID parameter is incorrect.
|
|
69
|
+
INVALIDPARAMETERVALUE_ASRHOTWORDSLIBRARYID = 'InvalidParameterValue.AsrHotWordsLibraryId'
|
|
70
|
+
|
|
71
|
+
# The value of the hotword lexicon switch parameter is incorrect.
|
|
72
|
+
INVALIDPARAMETERVALUE_ASRHOTWORDSSWITCH = 'InvalidParameterValue.AsrHotWordsSwitch'
|
|
73
|
+
|
|
65
74
|
# Parameter error: Audio stream bitrate.
|
|
66
75
|
INVALIDPARAMETERVALUE_AUDIOBITRATE = 'InvalidParameterValue.AudioBitrate'
|
|
67
76
|
|
|
@@ -167,12 +176,21 @@ INVALIDPARAMETERVALUE_GOP = 'InvalidParameterValue.Gop'
|
|
|
167
176
|
# Parameter error: height.
|
|
168
177
|
INVALIDPARAMETERVALUE_HEIGHT = 'InvalidParameterValue.Height'
|
|
169
178
|
|
|
179
|
+
# Parameter error. The hotword lexicon does not exist.
|
|
180
|
+
INVALIDPARAMETERVALUE_HOTWORDSNOTEXIST = 'InvalidParameterValue.HotWordsNotExist'
|
|
181
|
+
|
|
182
|
+
# Hot word vocabulary format error. see the hot word configuration instruction document (https://intl.cloud.tencent.com/document/product/862/116244?from_cn_redirect=1#afc37e17-2786-4289-9bc3-8e24435d3f45).
|
|
183
|
+
INVALIDPARAMETERVALUE_HOTWORDSFORMATERROR = 'InvalidParameterValue.HotwordsFormatError'
|
|
184
|
+
|
|
170
185
|
# Invalid ImageContent
|
|
171
186
|
INVALIDPARAMETERVALUE_IMAGECONTENT = 'InvalidParameterValue.ImageContent'
|
|
172
187
|
|
|
173
188
|
# Parameter error: image watermarking template.
|
|
174
189
|
INVALIDPARAMETERVALUE_IMAGETEMPLATE = 'InvalidParameterValue.ImageTemplate'
|
|
175
190
|
|
|
191
|
+
# Incorrect input parameters.
|
|
192
|
+
INVALIDPARAMETERVALUE_INPUTINFO = 'InvalidParameterValue.InputInfo'
|
|
193
|
+
|
|
176
194
|
# The value of the parsed `Content` is invalid.
|
|
177
195
|
INVALIDPARAMETERVALUE_INVALIDCONTENT = 'InvalidParameterValue.InvalidContent'
|
|
178
196
|
|
|
@@ -254,6 +272,9 @@ INVALIDPARAMETERVALUE_SRCFILE = 'InvalidParameterValue.SrcFile'
|
|
|
254
272
|
# Incorrect parameter value: The value of the `SubtitleFormat` parameter is invalid.
|
|
255
273
|
INVALIDPARAMETERVALUE_SUBTITLEFORMAT = 'InvalidParameterValue.SubtitleFormat'
|
|
256
274
|
|
|
275
|
+
# The value of the subtitle language type is incorrect.
|
|
276
|
+
INVALIDPARAMETERVALUE_SUBTITLETYPE = 'InvalidParameterValue.SubtitleType'
|
|
277
|
+
|
|
257
278
|
# Incorrect parameter value: SVG is empty.
|
|
258
279
|
INVALIDPARAMETERVALUE_SVGTEMPLATE = 'InvalidParameterValue.SvgTemplate'
|
|
259
280
|
|
|
@@ -281,6 +302,12 @@ INVALIDPARAMETERVALUE_TEXTALPHA = 'InvalidParameterValue.TextAlpha'
|
|
|
281
302
|
# Parameter error: text template.
|
|
282
303
|
INVALIDPARAMETERVALUE_TEXTTEMPLATE = 'InvalidParameterValue.TextTemplate'
|
|
283
304
|
|
|
305
|
+
# The value of the target language parameter is incorrect.
|
|
306
|
+
INVALIDPARAMETERVALUE_TRANSLATEDSTLANGUAGE = 'InvalidParameterValue.TranslateDstLanguage'
|
|
307
|
+
|
|
308
|
+
# The value of the translation switch parameter is incorrect.
|
|
309
|
+
INVALIDPARAMETERVALUE_TRANSLATESWITCH = 'InvalidParameterValue.TranslateSwitch'
|
|
310
|
+
|
|
284
311
|
# Parameter error: incorrect `Type` value.
|
|
285
312
|
INVALIDPARAMETERVALUE_TYPE = 'InvalidParameterValue.Type'
|
|
286
313
|
|
|
@@ -296,6 +323,9 @@ INVALIDPARAMETERVALUE_VIDEOBITRATE = 'InvalidParameterValue.VideoBitrate'
|
|
|
296
323
|
# Parameter error: video stream codec.
|
|
297
324
|
INVALIDPARAMETERVALUE_VIDEOCODEC = 'InvalidParameterValue.VideoCodec'
|
|
298
325
|
|
|
326
|
+
# The value of the video source language parameter is incorrect.
|
|
327
|
+
INVALIDPARAMETERVALUE_VIDEOSRCLANGUAGE = 'InvalidParameterValue.VideoSrcLanguage'
|
|
328
|
+
|
|
299
329
|
# Parameter error: Wwdth.
|
|
300
330
|
INVALIDPARAMETERVALUE_WIDTH = 'InvalidParameterValue.Width'
|
|
301
331
|
|