tencentcloud-sdk-python-intl-en 3.0.1131__py2.py3-none-any.whl → 3.0.1133__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/errorcodes.py +30 -0
- tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py +75 -0
- tencentcloud/intlpartnersmgt/v20220928/models.py +555 -2
- {tencentcloud_sdk_python_intl_en-3.0.1131.dist-info → tencentcloud_sdk_python_intl_en-3.0.1133.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1131.dist-info → tencentcloud_sdk_python_intl_en-3.0.1133.dist-info}/RECORD +8 -8
- {tencentcloud_sdk_python_intl_en-3.0.1131.dist-info → tencentcloud_sdk_python_intl_en-3.0.1133.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1131.dist-info → tencentcloud_sdk_python_intl_en-3.0.1133.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -20,6 +20,24 @@ AUTHFAILURE = 'AuthFailure'
|
|
|
20
20
|
# Operation failed.
|
|
21
21
|
FAILEDOPERATION = 'FailedOperation'
|
|
22
22
|
|
|
23
|
+
# The account is a group account and cannot be bound as a sub-customer.
|
|
24
|
+
FAILEDOPERATION_BINDORGANIZATIONACCOUNT = 'FailedOperation.BindOrganizationAccount'
|
|
25
|
+
|
|
26
|
+
# The sub-customer balance is less than zero.
|
|
27
|
+
FAILEDOPERATION_CLIENTBALANCEISLESSOREQUALZERO = 'FailedOperation.ClientBalanceIsLessOrEqualZero'
|
|
28
|
+
|
|
29
|
+
# The sub-customer has purchased an sp package.
|
|
30
|
+
FAILEDOPERATION_CLIENTBUYSP = 'FailedOperation.ClientBuySP'
|
|
31
|
+
|
|
32
|
+
# The sub-customer has created a shared unit.
|
|
33
|
+
FAILEDOPERATION_CLIENTCREATESHAREUNIT = 'FailedOperation.ClientCreateShareUnit'
|
|
34
|
+
|
|
35
|
+
# The sub-customer has joined a shared unit.
|
|
36
|
+
FAILEDOPERATION_CLIENTJOINSHAREUNIT = 'FailedOperation.ClientJoinShareUnit'
|
|
37
|
+
|
|
38
|
+
# The user has not applied to become a sub-customer.
|
|
39
|
+
FAILEDOPERATION_CLIENTNOTAPPLY = 'FailedOperation.ClientNotApply'
|
|
40
|
+
|
|
23
41
|
#
|
|
24
42
|
FAILEDOPERATION_EXCEEDMAXBINDCOUNT = 'FailedOperation.ExceedMaxBindCount'
|
|
25
43
|
|
|
@@ -38,12 +56,18 @@ FAILEDOPERATION_SENDVERIFYCODELIMIT = 'FailedOperation.SendVerifyCodeLimit'
|
|
|
38
56
|
# The interval for sending SMS verification codes should be greater than 60 seconds. Please try again later.
|
|
39
57
|
FAILEDOPERATION_SENDVERIFYCODELIMIT60 = 'FailedOperation.SendVerifyCodeLimit60'
|
|
40
58
|
|
|
59
|
+
# Tencent cloud ka account cannot become a sub-customer.
|
|
60
|
+
FAILEDOPERATION_UINALREADYKA = 'FailedOperation.UinAlreadyKA'
|
|
61
|
+
|
|
41
62
|
# Invalid UIN
|
|
42
63
|
FAILEDOPERATION_UININVALID = 'FailedOperation.UinInvalid'
|
|
43
64
|
|
|
44
65
|
# UIN is not a reseller.
|
|
45
66
|
FAILEDOPERATION_UINNOTAGENT = 'FailedOperation.UinNotAgent'
|
|
46
67
|
|
|
68
|
+
# UIN is a non-reseller (master reseller, reseller, sub-reseller) account.
|
|
69
|
+
FAILEDOPERATION_UINNOTRESELLER = 'FailedOperation.UinNotReseller'
|
|
70
|
+
|
|
47
71
|
# Incorrect verification code.
|
|
48
72
|
FAILEDOPERATION_VERIFICATIONCODEILLEGAL = 'FailedOperation.VerificationCodeIllegal'
|
|
49
73
|
|
|
@@ -119,6 +143,12 @@ INVALIDPARAMETERVALUE_PASSWORDEMPTY = 'InvalidParameterValue.PasswordEmpty'
|
|
|
119
143
|
# InvalidParameterValue.PhoneNumEmpty
|
|
120
144
|
INVALIDPARAMETERVALUE_PHONENUMEMPTY = 'InvalidParameterValue.PhoneNumEmpty'
|
|
121
145
|
|
|
146
|
+
# The user has become a sub-customer of another reseller.
|
|
147
|
+
INVALIDPARAMETERVALUE_UINALREADYCLIENT = 'InvalidParameterValue.UinAlreadyClient'
|
|
148
|
+
|
|
149
|
+
# The user is a sub-account.
|
|
150
|
+
INVALIDPARAMETERVALUE_UINISSUBACCOUNT = 'InvalidParameterValue.UinIsSubAccount'
|
|
151
|
+
|
|
122
152
|
# Invalid UinList. Array length value: 1-50.
|
|
123
153
|
INVALIDPARAMETERVALUE_UINLIST = 'InvalidParameterValue.UinList'
|
|
124
154
|
|
|
@@ -76,6 +76,31 @@ class IntlpartnersmgtClient(AbstractClient):
|
|
|
76
76
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
77
77
|
|
|
78
78
|
|
|
79
|
+
def ApproveClientApply(self, request):
|
|
80
|
+
"""Description: This API is used by resellers to review applications to become sub-customers. Note: This API is used to apply for the allowlist. If needed, please contact your business representative.
|
|
81
|
+
|
|
82
|
+
Callable roles: Reseller, Distributer, Second-level reseller
|
|
83
|
+
|
|
84
|
+
:param request: Request instance for ApproveClientApply.
|
|
85
|
+
:type request: :class:`tencentcloud.intlpartnersmgt.v20220928.models.ApproveClientApplyRequest`
|
|
86
|
+
:rtype: :class:`tencentcloud.intlpartnersmgt.v20220928.models.ApproveClientApplyResponse`
|
|
87
|
+
|
|
88
|
+
"""
|
|
89
|
+
try:
|
|
90
|
+
params = request._serialize()
|
|
91
|
+
headers = request.headers
|
|
92
|
+
body = self.call("ApproveClientApply", params, headers=headers)
|
|
93
|
+
response = json.loads(body)
|
|
94
|
+
model = models.ApproveClientApplyResponse()
|
|
95
|
+
model._deserialize(response["Response"])
|
|
96
|
+
return model
|
|
97
|
+
except Exception as e:
|
|
98
|
+
if isinstance(e, TencentCloudSDKException):
|
|
99
|
+
raise
|
|
100
|
+
else:
|
|
101
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
102
|
+
|
|
103
|
+
|
|
79
104
|
def CreateAccount(self, request):
|
|
80
105
|
"""This API is used to create Tencent Cloud customer accounts for distributor/second-level resellers.After the account is created, it will be automatically bound to the partner account.Note:
|
|
81
106
|
1. Create a Tencent Cloud account. The entered email address and mobile phone number need to be verified by the partner for validity.
|
|
@@ -547,6 +572,31 @@ class IntlpartnersmgtClient(AbstractClient):
|
|
|
547
572
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
548
573
|
|
|
549
574
|
|
|
575
|
+
def QueryCustomerBillingQuota(self, request):
|
|
576
|
+
"""Description: This API is used for a sub-customer to real-time query its own total credit and remaining credit in USD.
|
|
577
|
+
|
|
578
|
+
Callable roles: Sub-customer
|
|
579
|
+
|
|
580
|
+
:param request: Request instance for QueryCustomerBillingQuota.
|
|
581
|
+
:type request: :class:`tencentcloud.intlpartnersmgt.v20220928.models.QueryCustomerBillingQuotaRequest`
|
|
582
|
+
:rtype: :class:`tencentcloud.intlpartnersmgt.v20220928.models.QueryCustomerBillingQuotaResponse`
|
|
583
|
+
|
|
584
|
+
"""
|
|
585
|
+
try:
|
|
586
|
+
params = request._serialize()
|
|
587
|
+
headers = request.headers
|
|
588
|
+
body = self.call("QueryCustomerBillingQuota", params, headers=headers)
|
|
589
|
+
response = json.loads(body)
|
|
590
|
+
model = models.QueryCustomerBillingQuotaResponse()
|
|
591
|
+
model._deserialize(response["Response"])
|
|
592
|
+
return model
|
|
593
|
+
except Exception as e:
|
|
594
|
+
if isinstance(e, TencentCloudSDKException):
|
|
595
|
+
raise
|
|
596
|
+
else:
|
|
597
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
598
|
+
|
|
599
|
+
|
|
550
600
|
def QueryCustomersCredit(self, request):
|
|
551
601
|
"""This API is used for a partner to the credits and basic information of cutomers.
|
|
552
602
|
|
|
@@ -616,6 +666,31 @@ class IntlpartnersmgtClient(AbstractClient):
|
|
|
616
666
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
617
667
|
|
|
618
668
|
|
|
669
|
+
def QueryPendingClientsV2(self, request):
|
|
670
|
+
"""Description: This API is used by resellers to query the list of sub-customers pending review. Note: This API is used to apply for the allowlist. If needed, please contact your business representative.
|
|
671
|
+
|
|
672
|
+
Callable roles: Reseller, Distributer, Second-level reseller
|
|
673
|
+
|
|
674
|
+
:param request: Request instance for QueryPendingClientsV2.
|
|
675
|
+
:type request: :class:`tencentcloud.intlpartnersmgt.v20220928.models.QueryPendingClientsV2Request`
|
|
676
|
+
:rtype: :class:`tencentcloud.intlpartnersmgt.v20220928.models.QueryPendingClientsV2Response`
|
|
677
|
+
|
|
678
|
+
"""
|
|
679
|
+
try:
|
|
680
|
+
params = request._serialize()
|
|
681
|
+
headers = request.headers
|
|
682
|
+
body = self.call("QueryPendingClientsV2", params, headers=headers)
|
|
683
|
+
response = json.loads(body)
|
|
684
|
+
model = models.QueryPendingClientsV2Response()
|
|
685
|
+
model._deserialize(response["Response"])
|
|
686
|
+
return model
|
|
687
|
+
except Exception as e:
|
|
688
|
+
if isinstance(e, TencentCloudSDKException):
|
|
689
|
+
raise
|
|
690
|
+
else:
|
|
691
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
692
|
+
|
|
693
|
+
|
|
619
694
|
def QueryPolicyProductListByCode(self, request):
|
|
620
695
|
"""This API is used to query the product list information within the specified policy range. To call this API, contact your account manager to add it to the allowlist.
|
|
621
696
|
|
|
@@ -342,6 +342,100 @@ class AllocateCustomerCreditResponse(AbstractModel):
|
|
|
342
342
|
self._RequestId = params.get("RequestId")
|
|
343
343
|
|
|
344
344
|
|
|
345
|
+
class ApproveClientApplyRequest(AbstractModel):
|
|
346
|
+
"""ApproveClientApply request structure.
|
|
347
|
+
|
|
348
|
+
"""
|
|
349
|
+
|
|
350
|
+
def __init__(self):
|
|
351
|
+
r"""
|
|
352
|
+
:param _ClientUin: Sub-customer uin.
|
|
353
|
+
:type ClientUin: int
|
|
354
|
+
:param _ApproveType: Approval type. only supports pass and reject.
|
|
355
|
+
:type ApproveType: str
|
|
356
|
+
:param _RejectReason: Reason for rejection. required only when approvetype is reject.
|
|
357
|
+
:type RejectReason: str
|
|
358
|
+
"""
|
|
359
|
+
self._ClientUin = None
|
|
360
|
+
self._ApproveType = None
|
|
361
|
+
self._RejectReason = None
|
|
362
|
+
|
|
363
|
+
@property
|
|
364
|
+
def ClientUin(self):
|
|
365
|
+
"""Sub-customer uin.
|
|
366
|
+
:rtype: int
|
|
367
|
+
"""
|
|
368
|
+
return self._ClientUin
|
|
369
|
+
|
|
370
|
+
@ClientUin.setter
|
|
371
|
+
def ClientUin(self, ClientUin):
|
|
372
|
+
self._ClientUin = ClientUin
|
|
373
|
+
|
|
374
|
+
@property
|
|
375
|
+
def ApproveType(self):
|
|
376
|
+
"""Approval type. only supports pass and reject.
|
|
377
|
+
:rtype: str
|
|
378
|
+
"""
|
|
379
|
+
return self._ApproveType
|
|
380
|
+
|
|
381
|
+
@ApproveType.setter
|
|
382
|
+
def ApproveType(self, ApproveType):
|
|
383
|
+
self._ApproveType = ApproveType
|
|
384
|
+
|
|
385
|
+
@property
|
|
386
|
+
def RejectReason(self):
|
|
387
|
+
"""Reason for rejection. required only when approvetype is reject.
|
|
388
|
+
:rtype: str
|
|
389
|
+
"""
|
|
390
|
+
return self._RejectReason
|
|
391
|
+
|
|
392
|
+
@RejectReason.setter
|
|
393
|
+
def RejectReason(self, RejectReason):
|
|
394
|
+
self._RejectReason = RejectReason
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
def _deserialize(self, params):
|
|
398
|
+
self._ClientUin = params.get("ClientUin")
|
|
399
|
+
self._ApproveType = params.get("ApproveType")
|
|
400
|
+
self._RejectReason = params.get("RejectReason")
|
|
401
|
+
memeber_set = set(params.keys())
|
|
402
|
+
for name, value in vars(self).items():
|
|
403
|
+
property_name = name[1:]
|
|
404
|
+
if property_name in memeber_set:
|
|
405
|
+
memeber_set.remove(property_name)
|
|
406
|
+
if len(memeber_set) > 0:
|
|
407
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
class ApproveClientApplyResponse(AbstractModel):
|
|
412
|
+
"""ApproveClientApply response structure.
|
|
413
|
+
|
|
414
|
+
"""
|
|
415
|
+
|
|
416
|
+
def __init__(self):
|
|
417
|
+
r"""
|
|
418
|
+
: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.
|
|
419
|
+
:type RequestId: str
|
|
420
|
+
"""
|
|
421
|
+
self._RequestId = None
|
|
422
|
+
|
|
423
|
+
@property
|
|
424
|
+
def RequestId(self):
|
|
425
|
+
"""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.
|
|
426
|
+
:rtype: str
|
|
427
|
+
"""
|
|
428
|
+
return self._RequestId
|
|
429
|
+
|
|
430
|
+
@RequestId.setter
|
|
431
|
+
def RequestId(self, RequestId):
|
|
432
|
+
self._RequestId = RequestId
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
def _deserialize(self, params):
|
|
436
|
+
self._RequestId = params.get("RequestId")
|
|
437
|
+
|
|
438
|
+
|
|
345
439
|
class BillDetailData(AbstractModel):
|
|
346
440
|
"""Customer bill details
|
|
347
441
|
|
|
@@ -4734,6 +4828,225 @@ class QueryCreditQuotaResponse(AbstractModel):
|
|
|
4734
4828
|
self._RequestId = params.get("RequestId")
|
|
4735
4829
|
|
|
4736
4830
|
|
|
4831
|
+
class QueryCustomerBillingQuotaData(AbstractModel):
|
|
4832
|
+
"""Sub-customer credit balance data
|
|
4833
|
+
|
|
4834
|
+
"""
|
|
4835
|
+
|
|
4836
|
+
def __init__(self):
|
|
4837
|
+
r"""
|
|
4838
|
+
:param _TotalCredit: Total credit limit (unit: cny), accurate down to two decimal places.
|
|
4839
|
+
:type TotalCredit: float
|
|
4840
|
+
:param _RemainingCredit: Remaining credit limit (unit: cny), accurate down to two decimal places.
|
|
4841
|
+
:type RemainingCredit: float
|
|
4842
|
+
:param _RemainingVoucher: Remaining total voucher amount (unit: cny), accurate down to two decimal places.
|
|
4843
|
+
:type RemainingVoucher: float
|
|
4844
|
+
:param _Force: Forced status
|
|
4845
|
+
.
|
|
4846
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
4847
|
+
:type Force: int
|
|
4848
|
+
:param _PrepayFrozen: Prepaid frozen amount.
|
|
4849
|
+
:type PrepayFrozen: float
|
|
4850
|
+
:param _PostpayFrozen: Postpaid frozen amount.
|
|
4851
|
+
:type PostpayFrozen: float
|
|
4852
|
+
"""
|
|
4853
|
+
self._TotalCredit = None
|
|
4854
|
+
self._RemainingCredit = None
|
|
4855
|
+
self._RemainingVoucher = None
|
|
4856
|
+
self._Force = None
|
|
4857
|
+
self._PrepayFrozen = None
|
|
4858
|
+
self._PostpayFrozen = None
|
|
4859
|
+
|
|
4860
|
+
@property
|
|
4861
|
+
def TotalCredit(self):
|
|
4862
|
+
"""Total credit limit (unit: cny), accurate down to two decimal places.
|
|
4863
|
+
:rtype: float
|
|
4864
|
+
"""
|
|
4865
|
+
return self._TotalCredit
|
|
4866
|
+
|
|
4867
|
+
@TotalCredit.setter
|
|
4868
|
+
def TotalCredit(self, TotalCredit):
|
|
4869
|
+
self._TotalCredit = TotalCredit
|
|
4870
|
+
|
|
4871
|
+
@property
|
|
4872
|
+
def RemainingCredit(self):
|
|
4873
|
+
"""Remaining credit limit (unit: cny), accurate down to two decimal places.
|
|
4874
|
+
:rtype: float
|
|
4875
|
+
"""
|
|
4876
|
+
return self._RemainingCredit
|
|
4877
|
+
|
|
4878
|
+
@RemainingCredit.setter
|
|
4879
|
+
def RemainingCredit(self, RemainingCredit):
|
|
4880
|
+
self._RemainingCredit = RemainingCredit
|
|
4881
|
+
|
|
4882
|
+
@property
|
|
4883
|
+
def RemainingVoucher(self):
|
|
4884
|
+
"""Remaining total voucher amount (unit: cny), accurate down to two decimal places.
|
|
4885
|
+
:rtype: float
|
|
4886
|
+
"""
|
|
4887
|
+
return self._RemainingVoucher
|
|
4888
|
+
|
|
4889
|
+
@RemainingVoucher.setter
|
|
4890
|
+
def RemainingVoucher(self, RemainingVoucher):
|
|
4891
|
+
self._RemainingVoucher = RemainingVoucher
|
|
4892
|
+
|
|
4893
|
+
@property
|
|
4894
|
+
def Force(self):
|
|
4895
|
+
"""Forced status
|
|
4896
|
+
.
|
|
4897
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
4898
|
+
:rtype: int
|
|
4899
|
+
"""
|
|
4900
|
+
return self._Force
|
|
4901
|
+
|
|
4902
|
+
@Force.setter
|
|
4903
|
+
def Force(self, Force):
|
|
4904
|
+
self._Force = Force
|
|
4905
|
+
|
|
4906
|
+
@property
|
|
4907
|
+
def PrepayFrozen(self):
|
|
4908
|
+
"""Prepaid frozen amount.
|
|
4909
|
+
:rtype: float
|
|
4910
|
+
"""
|
|
4911
|
+
return self._PrepayFrozen
|
|
4912
|
+
|
|
4913
|
+
@PrepayFrozen.setter
|
|
4914
|
+
def PrepayFrozen(self, PrepayFrozen):
|
|
4915
|
+
self._PrepayFrozen = PrepayFrozen
|
|
4916
|
+
|
|
4917
|
+
@property
|
|
4918
|
+
def PostpayFrozen(self):
|
|
4919
|
+
"""Postpaid frozen amount.
|
|
4920
|
+
:rtype: float
|
|
4921
|
+
"""
|
|
4922
|
+
return self._PostpayFrozen
|
|
4923
|
+
|
|
4924
|
+
@PostpayFrozen.setter
|
|
4925
|
+
def PostpayFrozen(self, PostpayFrozen):
|
|
4926
|
+
self._PostpayFrozen = PostpayFrozen
|
|
4927
|
+
|
|
4928
|
+
|
|
4929
|
+
def _deserialize(self, params):
|
|
4930
|
+
self._TotalCredit = params.get("TotalCredit")
|
|
4931
|
+
self._RemainingCredit = params.get("RemainingCredit")
|
|
4932
|
+
self._RemainingVoucher = params.get("RemainingVoucher")
|
|
4933
|
+
self._Force = params.get("Force")
|
|
4934
|
+
self._PrepayFrozen = params.get("PrepayFrozen")
|
|
4935
|
+
self._PostpayFrozen = params.get("PostpayFrozen")
|
|
4936
|
+
memeber_set = set(params.keys())
|
|
4937
|
+
for name, value in vars(self).items():
|
|
4938
|
+
property_name = name[1:]
|
|
4939
|
+
if property_name in memeber_set:
|
|
4940
|
+
memeber_set.remove(property_name)
|
|
4941
|
+
if len(memeber_set) > 0:
|
|
4942
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4943
|
+
|
|
4944
|
+
|
|
4945
|
+
|
|
4946
|
+
class QueryCustomerBillingQuotaRequest(AbstractModel):
|
|
4947
|
+
"""QueryCustomerBillingQuota request structure.
|
|
4948
|
+
|
|
4949
|
+
"""
|
|
4950
|
+
|
|
4951
|
+
def __init__(self):
|
|
4952
|
+
r"""
|
|
4953
|
+
:param _EventId: Event id, used to tag the request event, usually a random number.
|
|
4954
|
+
:type EventId: int
|
|
4955
|
+
:param _ComponentName: Source of the request.
|
|
4956
|
+
:type ComponentName: str
|
|
4957
|
+
"""
|
|
4958
|
+
self._EventId = None
|
|
4959
|
+
self._ComponentName = None
|
|
4960
|
+
|
|
4961
|
+
@property
|
|
4962
|
+
def EventId(self):
|
|
4963
|
+
warnings.warn("parameter `EventId` is deprecated", DeprecationWarning)
|
|
4964
|
+
|
|
4965
|
+
"""Event id, used to tag the request event, usually a random number.
|
|
4966
|
+
:rtype: int
|
|
4967
|
+
"""
|
|
4968
|
+
return self._EventId
|
|
4969
|
+
|
|
4970
|
+
@EventId.setter
|
|
4971
|
+
def EventId(self, EventId):
|
|
4972
|
+
warnings.warn("parameter `EventId` is deprecated", DeprecationWarning)
|
|
4973
|
+
|
|
4974
|
+
self._EventId = EventId
|
|
4975
|
+
|
|
4976
|
+
@property
|
|
4977
|
+
def ComponentName(self):
|
|
4978
|
+
warnings.warn("parameter `ComponentName` is deprecated", DeprecationWarning)
|
|
4979
|
+
|
|
4980
|
+
"""Source of the request.
|
|
4981
|
+
:rtype: str
|
|
4982
|
+
"""
|
|
4983
|
+
return self._ComponentName
|
|
4984
|
+
|
|
4985
|
+
@ComponentName.setter
|
|
4986
|
+
def ComponentName(self, ComponentName):
|
|
4987
|
+
warnings.warn("parameter `ComponentName` is deprecated", DeprecationWarning)
|
|
4988
|
+
|
|
4989
|
+
self._ComponentName = ComponentName
|
|
4990
|
+
|
|
4991
|
+
|
|
4992
|
+
def _deserialize(self, params):
|
|
4993
|
+
self._EventId = params.get("EventId")
|
|
4994
|
+
self._ComponentName = params.get("ComponentName")
|
|
4995
|
+
memeber_set = set(params.keys())
|
|
4996
|
+
for name, value in vars(self).items():
|
|
4997
|
+
property_name = name[1:]
|
|
4998
|
+
if property_name in memeber_set:
|
|
4999
|
+
memeber_set.remove(property_name)
|
|
5000
|
+
if len(memeber_set) > 0:
|
|
5001
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5002
|
+
|
|
5003
|
+
|
|
5004
|
+
|
|
5005
|
+
class QueryCustomerBillingQuotaResponse(AbstractModel):
|
|
5006
|
+
"""QueryCustomerBillingQuota response structure.
|
|
5007
|
+
|
|
5008
|
+
"""
|
|
5009
|
+
|
|
5010
|
+
def __init__(self):
|
|
5011
|
+
r"""
|
|
5012
|
+
:param _Data: Limit data.
|
|
5013
|
+
:type Data: :class:`tencentcloud.intlpartnersmgt.v20220928.models.QueryCustomerBillingQuotaData`
|
|
5014
|
+
: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.
|
|
5015
|
+
:type RequestId: str
|
|
5016
|
+
"""
|
|
5017
|
+
self._Data = None
|
|
5018
|
+
self._RequestId = None
|
|
5019
|
+
|
|
5020
|
+
@property
|
|
5021
|
+
def Data(self):
|
|
5022
|
+
"""Limit data.
|
|
5023
|
+
:rtype: :class:`tencentcloud.intlpartnersmgt.v20220928.models.QueryCustomerBillingQuotaData`
|
|
5024
|
+
"""
|
|
5025
|
+
return self._Data
|
|
5026
|
+
|
|
5027
|
+
@Data.setter
|
|
5028
|
+
def Data(self, Data):
|
|
5029
|
+
self._Data = Data
|
|
5030
|
+
|
|
5031
|
+
@property
|
|
5032
|
+
def RequestId(self):
|
|
5033
|
+
"""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.
|
|
5034
|
+
:rtype: str
|
|
5035
|
+
"""
|
|
5036
|
+
return self._RequestId
|
|
5037
|
+
|
|
5038
|
+
@RequestId.setter
|
|
5039
|
+
def RequestId(self, RequestId):
|
|
5040
|
+
self._RequestId = RequestId
|
|
5041
|
+
|
|
5042
|
+
|
|
5043
|
+
def _deserialize(self, params):
|
|
5044
|
+
if params.get("Data") is not None:
|
|
5045
|
+
self._Data = QueryCustomerBillingQuotaData()
|
|
5046
|
+
self._Data._deserialize(params.get("Data"))
|
|
5047
|
+
self._RequestId = params.get("RequestId")
|
|
5048
|
+
|
|
5049
|
+
|
|
4737
5050
|
class QueryCustomersCreditData(AbstractModel):
|
|
4738
5051
|
"""Complex type of output parameters for querying customer's credit
|
|
4739
5052
|
|
|
@@ -5340,6 +5653,246 @@ class QueryPartnerCreditResponse(AbstractModel):
|
|
|
5340
5653
|
self._RequestId = params.get("RequestId")
|
|
5341
5654
|
|
|
5342
5655
|
|
|
5656
|
+
class QueryPendingClientsV2Request(AbstractModel):
|
|
5657
|
+
"""QueryPendingClientsV2 request structure.
|
|
5658
|
+
|
|
5659
|
+
"""
|
|
5660
|
+
|
|
5661
|
+
def __init__(self):
|
|
5662
|
+
r"""
|
|
5663
|
+
:param _Page: Page number, starting from 1.
|
|
5664
|
+
:type Page: int
|
|
5665
|
+
:param _PageSize: Quantity. page size [1-100].
|
|
5666
|
+
:type PageSize: int
|
|
5667
|
+
"""
|
|
5668
|
+
self._Page = None
|
|
5669
|
+
self._PageSize = None
|
|
5670
|
+
|
|
5671
|
+
@property
|
|
5672
|
+
def Page(self):
|
|
5673
|
+
"""Page number, starting from 1.
|
|
5674
|
+
:rtype: int
|
|
5675
|
+
"""
|
|
5676
|
+
return self._Page
|
|
5677
|
+
|
|
5678
|
+
@Page.setter
|
|
5679
|
+
def Page(self, Page):
|
|
5680
|
+
self._Page = Page
|
|
5681
|
+
|
|
5682
|
+
@property
|
|
5683
|
+
def PageSize(self):
|
|
5684
|
+
"""Quantity. page size [1-100].
|
|
5685
|
+
:rtype: int
|
|
5686
|
+
"""
|
|
5687
|
+
return self._PageSize
|
|
5688
|
+
|
|
5689
|
+
@PageSize.setter
|
|
5690
|
+
def PageSize(self, PageSize):
|
|
5691
|
+
self._PageSize = PageSize
|
|
5692
|
+
|
|
5693
|
+
|
|
5694
|
+
def _deserialize(self, params):
|
|
5695
|
+
self._Page = params.get("Page")
|
|
5696
|
+
self._PageSize = params.get("PageSize")
|
|
5697
|
+
memeber_set = set(params.keys())
|
|
5698
|
+
for name, value in vars(self).items():
|
|
5699
|
+
property_name = name[1:]
|
|
5700
|
+
if property_name in memeber_set:
|
|
5701
|
+
memeber_set.remove(property_name)
|
|
5702
|
+
if len(memeber_set) > 0:
|
|
5703
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5704
|
+
|
|
5705
|
+
|
|
5706
|
+
|
|
5707
|
+
class QueryPendingClientsV2Response(AbstractModel):
|
|
5708
|
+
"""QueryPendingClientsV2 response structure.
|
|
5709
|
+
|
|
5710
|
+
"""
|
|
5711
|
+
|
|
5712
|
+
def __init__(self):
|
|
5713
|
+
r"""
|
|
5714
|
+
:param _Data: Details of customers in application.
|
|
5715
|
+
:type Data: list of QueryPendingCustomersItem
|
|
5716
|
+
:param _Total: Total number of customers in application.
|
|
5717
|
+
:type Total: int
|
|
5718
|
+
: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.
|
|
5719
|
+
:type RequestId: str
|
|
5720
|
+
"""
|
|
5721
|
+
self._Data = None
|
|
5722
|
+
self._Total = None
|
|
5723
|
+
self._RequestId = None
|
|
5724
|
+
|
|
5725
|
+
@property
|
|
5726
|
+
def Data(self):
|
|
5727
|
+
"""Details of customers in application.
|
|
5728
|
+
:rtype: list of QueryPendingCustomersItem
|
|
5729
|
+
"""
|
|
5730
|
+
return self._Data
|
|
5731
|
+
|
|
5732
|
+
@Data.setter
|
|
5733
|
+
def Data(self, Data):
|
|
5734
|
+
self._Data = Data
|
|
5735
|
+
|
|
5736
|
+
@property
|
|
5737
|
+
def Total(self):
|
|
5738
|
+
"""Total number of customers in application.
|
|
5739
|
+
:rtype: int
|
|
5740
|
+
"""
|
|
5741
|
+
return self._Total
|
|
5742
|
+
|
|
5743
|
+
@Total.setter
|
|
5744
|
+
def Total(self, Total):
|
|
5745
|
+
self._Total = Total
|
|
5746
|
+
|
|
5747
|
+
@property
|
|
5748
|
+
def RequestId(self):
|
|
5749
|
+
"""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.
|
|
5750
|
+
:rtype: str
|
|
5751
|
+
"""
|
|
5752
|
+
return self._RequestId
|
|
5753
|
+
|
|
5754
|
+
@RequestId.setter
|
|
5755
|
+
def RequestId(self, RequestId):
|
|
5756
|
+
self._RequestId = RequestId
|
|
5757
|
+
|
|
5758
|
+
|
|
5759
|
+
def _deserialize(self, params):
|
|
5760
|
+
if params.get("Data") is not None:
|
|
5761
|
+
self._Data = []
|
|
5762
|
+
for item in params.get("Data"):
|
|
5763
|
+
obj = QueryPendingCustomersItem()
|
|
5764
|
+
obj._deserialize(item)
|
|
5765
|
+
self._Data.append(obj)
|
|
5766
|
+
self._Total = params.get("Total")
|
|
5767
|
+
self._RequestId = params.get("RequestId")
|
|
5768
|
+
|
|
5769
|
+
|
|
5770
|
+
class QueryPendingCustomersItem(AbstractModel):
|
|
5771
|
+
"""Pending review sub-customer
|
|
5772
|
+
|
|
5773
|
+
"""
|
|
5774
|
+
|
|
5775
|
+
def __init__(self):
|
|
5776
|
+
r"""
|
|
5777
|
+
:param _ApplyTime: Application time.
|
|
5778
|
+
:type ApplyTime: str
|
|
5779
|
+
:param _ClientUin: Sub-Account uin.
|
|
5780
|
+
:type ClientUin: int
|
|
5781
|
+
:param _Email: Email.
|
|
5782
|
+
:type Email: str
|
|
5783
|
+
:param _Mobile: Mobile number.
|
|
5784
|
+
:type Mobile: str
|
|
5785
|
+
:param _Name: Name.
|
|
5786
|
+
:type Name: str
|
|
5787
|
+
:param _Status: Approval status.
|
|
5788
|
+
:type Status: str
|
|
5789
|
+
:param _Type: Sub-Customer type.
|
|
5790
|
+
:type Type: str
|
|
5791
|
+
"""
|
|
5792
|
+
self._ApplyTime = None
|
|
5793
|
+
self._ClientUin = None
|
|
5794
|
+
self._Email = None
|
|
5795
|
+
self._Mobile = None
|
|
5796
|
+
self._Name = None
|
|
5797
|
+
self._Status = None
|
|
5798
|
+
self._Type = None
|
|
5799
|
+
|
|
5800
|
+
@property
|
|
5801
|
+
def ApplyTime(self):
|
|
5802
|
+
"""Application time.
|
|
5803
|
+
:rtype: str
|
|
5804
|
+
"""
|
|
5805
|
+
return self._ApplyTime
|
|
5806
|
+
|
|
5807
|
+
@ApplyTime.setter
|
|
5808
|
+
def ApplyTime(self, ApplyTime):
|
|
5809
|
+
self._ApplyTime = ApplyTime
|
|
5810
|
+
|
|
5811
|
+
@property
|
|
5812
|
+
def ClientUin(self):
|
|
5813
|
+
"""Sub-Account uin.
|
|
5814
|
+
:rtype: int
|
|
5815
|
+
"""
|
|
5816
|
+
return self._ClientUin
|
|
5817
|
+
|
|
5818
|
+
@ClientUin.setter
|
|
5819
|
+
def ClientUin(self, ClientUin):
|
|
5820
|
+
self._ClientUin = ClientUin
|
|
5821
|
+
|
|
5822
|
+
@property
|
|
5823
|
+
def Email(self):
|
|
5824
|
+
"""Email.
|
|
5825
|
+
:rtype: str
|
|
5826
|
+
"""
|
|
5827
|
+
return self._Email
|
|
5828
|
+
|
|
5829
|
+
@Email.setter
|
|
5830
|
+
def Email(self, Email):
|
|
5831
|
+
self._Email = Email
|
|
5832
|
+
|
|
5833
|
+
@property
|
|
5834
|
+
def Mobile(self):
|
|
5835
|
+
"""Mobile number.
|
|
5836
|
+
:rtype: str
|
|
5837
|
+
"""
|
|
5838
|
+
return self._Mobile
|
|
5839
|
+
|
|
5840
|
+
@Mobile.setter
|
|
5841
|
+
def Mobile(self, Mobile):
|
|
5842
|
+
self._Mobile = Mobile
|
|
5843
|
+
|
|
5844
|
+
@property
|
|
5845
|
+
def Name(self):
|
|
5846
|
+
"""Name.
|
|
5847
|
+
:rtype: str
|
|
5848
|
+
"""
|
|
5849
|
+
return self._Name
|
|
5850
|
+
|
|
5851
|
+
@Name.setter
|
|
5852
|
+
def Name(self, Name):
|
|
5853
|
+
self._Name = Name
|
|
5854
|
+
|
|
5855
|
+
@property
|
|
5856
|
+
def Status(self):
|
|
5857
|
+
"""Approval status.
|
|
5858
|
+
:rtype: str
|
|
5859
|
+
"""
|
|
5860
|
+
return self._Status
|
|
5861
|
+
|
|
5862
|
+
@Status.setter
|
|
5863
|
+
def Status(self, Status):
|
|
5864
|
+
self._Status = Status
|
|
5865
|
+
|
|
5866
|
+
@property
|
|
5867
|
+
def Type(self):
|
|
5868
|
+
"""Sub-Customer type.
|
|
5869
|
+
:rtype: str
|
|
5870
|
+
"""
|
|
5871
|
+
return self._Type
|
|
5872
|
+
|
|
5873
|
+
@Type.setter
|
|
5874
|
+
def Type(self, Type):
|
|
5875
|
+
self._Type = Type
|
|
5876
|
+
|
|
5877
|
+
|
|
5878
|
+
def _deserialize(self, params):
|
|
5879
|
+
self._ApplyTime = params.get("ApplyTime")
|
|
5880
|
+
self._ClientUin = params.get("ClientUin")
|
|
5881
|
+
self._Email = params.get("Email")
|
|
5882
|
+
self._Mobile = params.get("Mobile")
|
|
5883
|
+
self._Name = params.get("Name")
|
|
5884
|
+
self._Status = params.get("Status")
|
|
5885
|
+
self._Type = params.get("Type")
|
|
5886
|
+
memeber_set = set(params.keys())
|
|
5887
|
+
for name, value in vars(self).items():
|
|
5888
|
+
property_name = name[1:]
|
|
5889
|
+
if property_name in memeber_set:
|
|
5890
|
+
memeber_set.remove(property_name)
|
|
5891
|
+
if len(memeber_set) > 0:
|
|
5892
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5893
|
+
|
|
5894
|
+
|
|
5895
|
+
|
|
5343
5896
|
class QueryPolicyProductListByCodeRequest(AbstractModel):
|
|
5344
5897
|
"""QueryPolicyProductListByCode request structure.
|
|
5345
5898
|
|
|
@@ -5810,7 +6363,7 @@ class QueryVoucherListByUinResponse(AbstractModel):
|
|
|
5810
6363
|
r"""
|
|
5811
6364
|
:param _Data: Customer voucher information
|
|
5812
6365
|
:type Data: list of QueryVoucherListByUinItem
|
|
5813
|
-
:param _RequestId: The unique request ID,
|
|
6366
|
+
: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.
|
|
5814
6367
|
:type RequestId: str
|
|
5815
6368
|
"""
|
|
5816
6369
|
self._Data = None
|
|
@@ -5829,7 +6382,7 @@ class QueryVoucherListByUinResponse(AbstractModel):
|
|
|
5829
6382
|
|
|
5830
6383
|
@property
|
|
5831
6384
|
def RequestId(self):
|
|
5832
|
-
"""The unique request ID,
|
|
6385
|
+
"""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.
|
|
5833
6386
|
:rtype: str
|
|
5834
6387
|
"""
|
|
5835
6388
|
return self._RequestId
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=w0f0kHHR9j909CouFNhUrYcAUkooK_qq6UJiFGI4ucs,630
|
|
2
2
|
tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tencentcloud/advisor/v20200721/advisor_client.py,sha256=b5pLP_oF5HZHo4xbn-hI4dkpnirhcHB2rNDWvGf4q1Y,2919
|
|
@@ -322,9 +322,9 @@ tencentcloud/ims/v20201229/ims_client.py,sha256=93jgAU4o9X_1q6qFZAs_IC08d6hsnO50
|
|
|
322
322
|
tencentcloud/ims/v20201229/models.py,sha256=Sfna_x1BytKq04dX2wwI9wbXDh9N4JPyS6WDxxD5F10,89276
|
|
323
323
|
tencentcloud/intlpartnersmgt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
324
324
|
tencentcloud/intlpartnersmgt/v20220928/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
325
|
-
tencentcloud/intlpartnersmgt/v20220928/errorcodes.py,sha256=
|
|
326
|
-
tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py,sha256=
|
|
327
|
-
tencentcloud/intlpartnersmgt/v20220928/models.py,sha256=
|
|
325
|
+
tencentcloud/intlpartnersmgt/v20220928/errorcodes.py,sha256=G9y1MiiDR13Gzkshs3rEi8CZiUueBH2TnjjxCgBGJr8,6967
|
|
326
|
+
tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py,sha256=eJpf_rep4yl9Fl7yvUhbavRfSXSev9OTsEWNKGlyaVg,35838
|
|
327
|
+
tencentcloud/intlpartnersmgt/v20220928/models.py,sha256=TbgPnlQR46UlOMbnl1NQC2F3E9UWcncHpNKcV5bxKTg,219644
|
|
328
328
|
tencentcloud/iotcloud/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
329
329
|
tencentcloud/iotcloud/v20210408/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
330
330
|
tencentcloud/iotcloud/v20210408/errorcodes.py,sha256=ot2acVUWnZ1XbJLkM4K-jT_Gw5TQD53TtZwnfFzJJ9Y,5887
|
|
@@ -619,7 +619,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
619
619
|
tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
|
|
620
620
|
tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
|
|
621
621
|
tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=GA7Fo5GmpEJ2kufV2upw-ZpMZxznsPZ3NKDKDDAI4Ao,67384
|
|
622
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
623
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
624
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
625
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
622
|
+
tencentcloud_sdk_python_intl_en-3.0.1133.dist-info/METADATA,sha256=GeZSW7WnSPM10f_KSho-qNM1fQnflhDzug0DA6knpcg,1628
|
|
623
|
+
tencentcloud_sdk_python_intl_en-3.0.1133.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
624
|
+
tencentcloud_sdk_python_intl_en-3.0.1133.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
625
|
+
tencentcloud_sdk_python_intl_en-3.0.1133.dist-info/RECORD,,
|
|
File without changes
|