tencentcloud-sdk-python-intl-en 3.0.1141__py2.py3-none-any.whl → 3.0.1143__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.

@@ -56,6 +56,9 @@ FAILEDOPERATION_SENDVERIFYCODELIMIT = 'FailedOperation.SendVerifyCodeLimit'
56
56
  # The interval for sending SMS verification codes should be greater than 60 seconds. Please try again later.
57
57
  FAILEDOPERATION_SENDVERIFYCODELIMIT60 = 'FailedOperation.SendVerifyCodeLimit60'
58
58
 
59
+ # The primary industry id and secondary industry id do not match.
60
+ FAILEDOPERATION_TRADEINFOINCORRECT = 'FailedOperation.TradeInfoIncorrect'
61
+
59
62
  # Tencent cloud ka account cannot become a sub-customer.
60
63
  FAILEDOPERATION_UINALREADYKA = 'FailedOperation.UinAlreadyKA'
61
64
 
@@ -143,6 +146,9 @@ INVALIDPARAMETERVALUE_PASSWORDEMPTY = 'InvalidParameterValue.PasswordEmpty'
143
146
  # InvalidParameterValue.PhoneNumEmpty
144
147
  INVALIDPARAMETERVALUE_PHONENUMEMPTY = 'InvalidParameterValue.PhoneNumEmpty'
145
148
 
149
+ # The primary industry id or secondary industry id is empty.
150
+ INVALIDPARAMETERVALUE_TRADEINFOEMPTY = 'InvalidParameterValue.TradeInfoEmpty'
151
+
146
152
  # The user has become a sub-customer of another reseller.
147
153
  INVALIDPARAMETERVALUE_UINALREADYCLIENT = 'InvalidParameterValue.UinAlreadyClient'
148
154
 
@@ -104,8 +104,10 @@ class IntlpartnersmgtClient(AbstractClient):
104
104
  def CreateAccount(self, request):
105
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:
106
106
  1. Create a Tencent Cloud account. The entered email address and mobile phone number need to be verified by the partner for validity.
107
- 2. Customers need to add personal information when logging in for the first time.
108
- 3. This interface needs to be applied for allowlist usage. Please contact the channel manager to initiate the application process.
107
+ 2. Customers need to add personal information when logging in for the first time.
108
+ 3. This interface needs to be applied for allowlist usage. Please contact the channel manager to initiate the application process.
109
+
110
+ Callable roles: distributor, second-level reseller, reseller
109
111
 
110
112
  :param request: Request instance for CreateAccount.
111
113
  :type request: :class:`tencentcloud.intlpartnersmgt.v20220928.models.CreateAccountRequest`
@@ -457,6 +459,29 @@ class IntlpartnersmgtClient(AbstractClient):
457
459
  raise TencentCloudSDKException(type(e).__name__, str(e))
458
460
 
459
461
 
462
+ def GetTradeConfigList(self, request):
463
+ """This API is used to query industry information, including layer-1 industry and layer-2 industry.
464
+
465
+ :param request: Request instance for GetTradeConfigList.
466
+ :type request: :class:`tencentcloud.intlpartnersmgt.v20220928.models.GetTradeConfigListRequest`
467
+ :rtype: :class:`tencentcloud.intlpartnersmgt.v20220928.models.GetTradeConfigListResponse`
468
+
469
+ """
470
+ try:
471
+ params = request._serialize()
472
+ headers = request.headers
473
+ body = self.call("GetTradeConfigList", params, headers=headers)
474
+ response = json.loads(body)
475
+ model = models.GetTradeConfigListResponse()
476
+ model._deserialize(response["Response"])
477
+ return model
478
+ except Exception as e:
479
+ if isinstance(e, TencentCloudSDKException):
480
+ raise
481
+ else:
482
+ raise TencentCloudSDKException(type(e).__name__, str(e))
483
+
484
+
460
485
  def ModifyClientRemark(self, request):
461
486
  """This API is used to modify customer remarks.
462
487
 
@@ -1352,6 +1352,12 @@ Parameter value is not allowed to be 7,380,86.
1352
1352
  :param _VerifyCode: VerifyCode. This parameter is required.
1353
1353
  Use the [SendVerifyCode API](https://www.tencentcloud.com/document/product/1085/65907) to obtain the verifycode.The SendVerifyCode API sends a 6-digit verifycode to your specified mobile number via SMS. After receiving it, you need to pass it along with other parameters.
1354
1354
  :type VerifyCode: str
1355
+ :param _TradeOne: Layer-1 industry id. This is a required item and can be obtained via the [ GetTradeConfigList API](https://www.tencentcloud.com/zh/document/product/1085/68181),
1356
+ such as "kghy_01".
1357
+ :type TradeOne: str
1358
+ :param _TradeTwo: Layer-2 industry id. This is a required item and can be obtained via the [ GetTradeConfigList API](https://www.tencentcloud.com/zh/document/product/1085/68181),
1359
+ such as "kghy_0101"
1360
+ :type TradeTwo: str
1355
1361
  """
1356
1362
  self._AccountType = None
1357
1363
  self._Mail = None
@@ -1362,6 +1368,8 @@ Use the [SendVerifyCode API](https://www.tencentcloud.com/document/product/1085/
1362
1368
  self._Area = None
1363
1369
  self._Extended = None
1364
1370
  self._VerifyCode = None
1371
+ self._TradeOne = None
1372
+ self._TradeTwo = None
1365
1373
 
1366
1374
  @property
1367
1375
  def AccountType(self):
@@ -1470,6 +1478,30 @@ Use the [SendVerifyCode API](https://www.tencentcloud.com/document/product/1085/
1470
1478
  def VerifyCode(self, VerifyCode):
1471
1479
  self._VerifyCode = VerifyCode
1472
1480
 
1481
+ @property
1482
+ def TradeOne(self):
1483
+ """Layer-1 industry id. This is a required item and can be obtained via the [ GetTradeConfigList API](https://www.tencentcloud.com/zh/document/product/1085/68181),
1484
+ such as "kghy_01".
1485
+ :rtype: str
1486
+ """
1487
+ return self._TradeOne
1488
+
1489
+ @TradeOne.setter
1490
+ def TradeOne(self, TradeOne):
1491
+ self._TradeOne = TradeOne
1492
+
1493
+ @property
1494
+ def TradeTwo(self):
1495
+ """Layer-2 industry id. This is a required item and can be obtained via the [ GetTradeConfigList API](https://www.tencentcloud.com/zh/document/product/1085/68181),
1496
+ such as "kghy_0101"
1497
+ :rtype: str
1498
+ """
1499
+ return self._TradeTwo
1500
+
1501
+ @TradeTwo.setter
1502
+ def TradeTwo(self, TradeTwo):
1503
+ self._TradeTwo = TradeTwo
1504
+
1473
1505
 
1474
1506
  def _deserialize(self, params):
1475
1507
  self._AccountType = params.get("AccountType")
@@ -1481,6 +1513,8 @@ Use the [SendVerifyCode API](https://www.tencentcloud.com/document/product/1085/
1481
1513
  self._Area = params.get("Area")
1482
1514
  self._Extended = params.get("Extended")
1483
1515
  self._VerifyCode = params.get("VerifyCode")
1516
+ self._TradeOne = params.get("TradeOne")
1517
+ self._TradeTwo = params.get("TradeTwo")
1484
1518
  memeber_set = set(params.keys())
1485
1519
  for name, value in vars(self).items():
1486
1520
  property_name = name[1:]
@@ -3992,6 +4026,60 @@ class GetCountryCodesResponse(AbstractModel):
3992
4026
  self._RequestId = params.get("RequestId")
3993
4027
 
3994
4028
 
4029
+ class GetTradeConfigListRequest(AbstractModel):
4030
+ """GetTradeConfigList request structure.
4031
+
4032
+ """
4033
+
4034
+
4035
+ class GetTradeConfigListResponse(AbstractModel):
4036
+ """GetTradeConfigList response structure.
4037
+
4038
+ """
4039
+
4040
+ def __init__(self):
4041
+ r"""
4042
+ :param _TradeList: Industry information.
4043
+ :type TradeList: list of TradeOneNode
4044
+ :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.
4045
+ :type RequestId: str
4046
+ """
4047
+ self._TradeList = None
4048
+ self._RequestId = None
4049
+
4050
+ @property
4051
+ def TradeList(self):
4052
+ """Industry information.
4053
+ :rtype: list of TradeOneNode
4054
+ """
4055
+ return self._TradeList
4056
+
4057
+ @TradeList.setter
4058
+ def TradeList(self, TradeList):
4059
+ self._TradeList = TradeList
4060
+
4061
+ @property
4062
+ def RequestId(self):
4063
+ """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.
4064
+ :rtype: str
4065
+ """
4066
+ return self._RequestId
4067
+
4068
+ @RequestId.setter
4069
+ def RequestId(self, RequestId):
4070
+ self._RequestId = RequestId
4071
+
4072
+
4073
+ def _deserialize(self, params):
4074
+ if params.get("TradeList") is not None:
4075
+ self._TradeList = []
4076
+ for item in params.get("TradeList"):
4077
+ obj = TradeOneNode()
4078
+ obj._deserialize(item)
4079
+ self._TradeList.append(obj)
4080
+ self._RequestId = params.get("RequestId")
4081
+
4082
+
3995
4083
  class ModifyClientRemarkRequest(AbstractModel):
3996
4084
  """ModifyClientRemark request structure.
3997
4085
 
@@ -6972,4 +7060,141 @@ class TagInfo(AbstractModel):
6972
7060
  memeber_set.remove(property_name)
6973
7061
  if len(memeber_set) > 0:
6974
7062
  warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7063
+
7064
+
7065
+
7066
+ class TradeOneNode(AbstractModel):
7067
+ """Primary Industry Information
7068
+
7069
+ """
7070
+
7071
+ def __init__(self):
7072
+ r"""
7073
+ :param _Id: Layer-1 industry id.
7074
+ :type Id: str
7075
+ :param _Name: Layer-1 industry name.
7076
+ :type Name: str
7077
+ :param _Children: Layer-2 industries corresponding to the layer-1 industry.
7078
+ :type Children: list of TradeTwoNode
7079
+ """
7080
+ self._Id = None
7081
+ self._Name = None
7082
+ self._Children = None
7083
+
7084
+ @property
7085
+ def Id(self):
7086
+ """Layer-1 industry id.
7087
+ :rtype: str
7088
+ """
7089
+ return self._Id
7090
+
7091
+ @Id.setter
7092
+ def Id(self, Id):
7093
+ self._Id = Id
7094
+
7095
+ @property
7096
+ def Name(self):
7097
+ """Layer-1 industry name.
7098
+ :rtype: str
7099
+ """
7100
+ return self._Name
7101
+
7102
+ @Name.setter
7103
+ def Name(self, Name):
7104
+ self._Name = Name
7105
+
7106
+ @property
7107
+ def Children(self):
7108
+ """Layer-2 industries corresponding to the layer-1 industry.
7109
+ :rtype: list of TradeTwoNode
7110
+ """
7111
+ return self._Children
7112
+
7113
+ @Children.setter
7114
+ def Children(self, Children):
7115
+ self._Children = Children
7116
+
7117
+
7118
+ def _deserialize(self, params):
7119
+ self._Id = params.get("Id")
7120
+ self._Name = params.get("Name")
7121
+ if params.get("Children") is not None:
7122
+ self._Children = []
7123
+ for item in params.get("Children"):
7124
+ obj = TradeTwoNode()
7125
+ obj._deserialize(item)
7126
+ self._Children.append(obj)
7127
+ memeber_set = set(params.keys())
7128
+ for name, value in vars(self).items():
7129
+ property_name = name[1:]
7130
+ if property_name in memeber_set:
7131
+ memeber_set.remove(property_name)
7132
+ if len(memeber_set) > 0:
7133
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7134
+
7135
+
7136
+
7137
+ class TradeTwoNode(AbstractModel):
7138
+ """Secondary Industry Information
7139
+
7140
+ """
7141
+
7142
+ def __init__(self):
7143
+ r"""
7144
+ :param _Id: Secondary industry id.
7145
+ :type Id: str
7146
+ :param _Name: Secondary industry name.
7147
+ :type Name: str
7148
+ :param _TradeInfo: Industry information.
7149
+ :type TradeInfo: str
7150
+ """
7151
+ self._Id = None
7152
+ self._Name = None
7153
+ self._TradeInfo = None
7154
+
7155
+ @property
7156
+ def Id(self):
7157
+ """Secondary industry id.
7158
+ :rtype: str
7159
+ """
7160
+ return self._Id
7161
+
7162
+ @Id.setter
7163
+ def Id(self, Id):
7164
+ self._Id = Id
7165
+
7166
+ @property
7167
+ def Name(self):
7168
+ """Secondary industry name.
7169
+ :rtype: str
7170
+ """
7171
+ return self._Name
7172
+
7173
+ @Name.setter
7174
+ def Name(self, Name):
7175
+ self._Name = Name
7176
+
7177
+ @property
7178
+ def TradeInfo(self):
7179
+ """Industry information.
7180
+ :rtype: str
7181
+ """
7182
+ return self._TradeInfo
7183
+
7184
+ @TradeInfo.setter
7185
+ def TradeInfo(self, TradeInfo):
7186
+ self._TradeInfo = TradeInfo
7187
+
7188
+
7189
+ def _deserialize(self, params):
7190
+ self._Id = params.get("Id")
7191
+ self._Name = params.get("Name")
7192
+ self._TradeInfo = params.get("TradeInfo")
7193
+ memeber_set = set(params.keys())
7194
+ for name, value in vars(self).items():
7195
+ property_name = name[1:]
7196
+ if property_name in memeber_set:
7197
+ memeber_set.remove(property_name)
7198
+ if len(memeber_set) > 0:
7199
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6975
7200
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-intl-en
3
- Version: 3.0.1141
3
+ Version: 3.0.1143
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python-intl-en
6
6
  Author: Tencent Cloud
@@ -1,4 +1,4 @@
1
- tencentcloud/__init__.py,sha256=aZQyTIbE9MIoXuDfx6gh4lKE7nNzQNzooOEuJHjo_aA,630
1
+ tencentcloud/__init__.py,sha256=yy5J64xluilTt6MJ4E937qBvcbTZ8B7tQ5JXuDuJJMY,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
@@ -24,6 +24,11 @@ tencentcloud/apigateway/v20180808/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeR
24
24
  tencentcloud/apigateway/v20180808/apigateway_client.py,sha256=vqNE3Z8NTt4nrwjGpkoE24wCUz_o50MZL7BXqWrEz6s,91277
25
25
  tencentcloud/apigateway/v20180808/errorcodes.py,sha256=0T0u1gze7_0UL5PGy0yOYWJOuI17GixRzh6_wngXJ74,23820
26
26
  tencentcloud/apigateway/v20180808/models.py,sha256=BLOBe8Vw6lpPySeaXFyNihWAnZdPStvnqX_d3utcLyE,793345
27
+ tencentcloud/apm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
+ tencentcloud/apm/v20210622/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
+ tencentcloud/apm/v20210622/apm_client.py,sha256=t3LlEPCKxGFoiPbbs_ixkoVqIg3vPNYKMSoURR2LRaQ,13561
30
+ tencentcloud/apm/v20210622/errorcodes.py,sha256=wyRZlc4C7vf9NK9InNmg6OErJdYhLJQZe5PPKWajwTo,5425
31
+ tencentcloud/apm/v20210622/models.py,sha256=eOAdmoAOS9Mi9jxw1GNXEwco2_DY6VX52Egjn3uuVmE,144950
27
32
  tencentcloud/asr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
33
  tencentcloud/asr/v20190614/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
34
  tencentcloud/asr/v20190614/asr_client.py,sha256=r4qEn2LB-YgWklBIiAUfpxCOI2ypetHuoJz2HqAm-Cg,6446
@@ -322,9 +327,9 @@ tencentcloud/ims/v20201229/ims_client.py,sha256=93jgAU4o9X_1q6qFZAs_IC08d6hsnO50
322
327
  tencentcloud/ims/v20201229/models.py,sha256=Sfna_x1BytKq04dX2wwI9wbXDh9N4JPyS6WDxxD5F10,89276
323
328
  tencentcloud/intlpartnersmgt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
324
329
  tencentcloud/intlpartnersmgt/v20220928/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
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=Q_xExQCIF7osicWLU-bpjb2Aj1QdUy_ZNH1NyPMLC0k,219652
330
+ tencentcloud/intlpartnersmgt/v20220928/errorcodes.py,sha256=wmSov1mjs4dOJw1-4IRll3qLu3mLdqyfJ-aNupV03V8,7248
331
+ tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py,sha256=6pnIKdNCFi0YDXXH4YzzIFqO2MvoG8ZCRFjB28tyM-g,36883
332
+ tencentcloud/intlpartnersmgt/v20220928/models.py,sha256=0rOwqDrWS6Ie0o6PglTjsu-f7iqR_5bsnljrh5Tc8ro,226146
328
333
  tencentcloud/iotcloud/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
329
334
  tencentcloud/iotcloud/v20210408/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
330
335
  tencentcloud/iotcloud/v20210408/errorcodes.py,sha256=ot2acVUWnZ1XbJLkM4K-jT_Gw5TQD53TtZwnfFzJJ9Y,5887
@@ -624,7 +629,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
624
629
  tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
625
630
  tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
626
631
  tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=GA7Fo5GmpEJ2kufV2upw-ZpMZxznsPZ3NKDKDDAI4Ao,67384
627
- tencentcloud_sdk_python_intl_en-3.0.1141.dist-info/METADATA,sha256=u_G_XMsQ2izhiJVnnn7frrQUNn2xLDUWX_k6yR7F6qA,1628
628
- tencentcloud_sdk_python_intl_en-3.0.1141.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
629
- tencentcloud_sdk_python_intl_en-3.0.1141.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
630
- tencentcloud_sdk_python_intl_en-3.0.1141.dist-info/RECORD,,
632
+ tencentcloud_sdk_python_intl_en-3.0.1143.dist-info/METADATA,sha256=0B3h3sA1lst6eACyPB5HYOE0jc9hYXVJEOkBJcR68l0,1628
633
+ tencentcloud_sdk_python_intl_en-3.0.1143.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
634
+ tencentcloud_sdk_python_intl_en-3.0.1143.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
635
+ tencentcloud_sdk_python_intl_en-3.0.1143.dist-info/RECORD,,