tencentcloud-sdk-python-intl-en 3.0.1141__py2.py3-none-any.whl → 3.0.1142__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 CHANGED
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
 
16
- __version__ = '3.0.1141'
16
+ __version__ = '3.0.1142'
@@ -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,10 @@ 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
+ :type TradeOne: str
1357
+ :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).
1358
+ :type TradeTwo: str
1355
1359
  """
1356
1360
  self._AccountType = None
1357
1361
  self._Mail = None
@@ -1362,6 +1366,8 @@ Use the [SendVerifyCode API](https://www.tencentcloud.com/document/product/1085/
1362
1366
  self._Area = None
1363
1367
  self._Extended = None
1364
1368
  self._VerifyCode = None
1369
+ self._TradeOne = None
1370
+ self._TradeTwo = None
1365
1371
 
1366
1372
  @property
1367
1373
  def AccountType(self):
@@ -1470,6 +1476,28 @@ Use the [SendVerifyCode API](https://www.tencentcloud.com/document/product/1085/
1470
1476
  def VerifyCode(self, VerifyCode):
1471
1477
  self._VerifyCode = VerifyCode
1472
1478
 
1479
+ @property
1480
+ def TradeOne(self):
1481
+ """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).
1482
+ :rtype: str
1483
+ """
1484
+ return self._TradeOne
1485
+
1486
+ @TradeOne.setter
1487
+ def TradeOne(self, TradeOne):
1488
+ self._TradeOne = TradeOne
1489
+
1490
+ @property
1491
+ def TradeTwo(self):
1492
+ """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).
1493
+ :rtype: str
1494
+ """
1495
+ return self._TradeTwo
1496
+
1497
+ @TradeTwo.setter
1498
+ def TradeTwo(self, TradeTwo):
1499
+ self._TradeTwo = TradeTwo
1500
+
1473
1501
 
1474
1502
  def _deserialize(self, params):
1475
1503
  self._AccountType = params.get("AccountType")
@@ -1481,6 +1509,8 @@ Use the [SendVerifyCode API](https://www.tencentcloud.com/document/product/1085/
1481
1509
  self._Area = params.get("Area")
1482
1510
  self._Extended = params.get("Extended")
1483
1511
  self._VerifyCode = params.get("VerifyCode")
1512
+ self._TradeOne = params.get("TradeOne")
1513
+ self._TradeTwo = params.get("TradeTwo")
1484
1514
  memeber_set = set(params.keys())
1485
1515
  for name, value in vars(self).items():
1486
1516
  property_name = name[1:]
@@ -3992,6 +4022,60 @@ class GetCountryCodesResponse(AbstractModel):
3992
4022
  self._RequestId = params.get("RequestId")
3993
4023
 
3994
4024
 
4025
+ class GetTradeConfigListRequest(AbstractModel):
4026
+ """GetTradeConfigList request structure.
4027
+
4028
+ """
4029
+
4030
+
4031
+ class GetTradeConfigListResponse(AbstractModel):
4032
+ """GetTradeConfigList response structure.
4033
+
4034
+ """
4035
+
4036
+ def __init__(self):
4037
+ r"""
4038
+ :param _TradeList: Industry information.
4039
+ :type TradeList: list of TradeOneNode
4040
+ :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.
4041
+ :type RequestId: str
4042
+ """
4043
+ self._TradeList = None
4044
+ self._RequestId = None
4045
+
4046
+ @property
4047
+ def TradeList(self):
4048
+ """Industry information.
4049
+ :rtype: list of TradeOneNode
4050
+ """
4051
+ return self._TradeList
4052
+
4053
+ @TradeList.setter
4054
+ def TradeList(self, TradeList):
4055
+ self._TradeList = TradeList
4056
+
4057
+ @property
4058
+ def RequestId(self):
4059
+ """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.
4060
+ :rtype: str
4061
+ """
4062
+ return self._RequestId
4063
+
4064
+ @RequestId.setter
4065
+ def RequestId(self, RequestId):
4066
+ self._RequestId = RequestId
4067
+
4068
+
4069
+ def _deserialize(self, params):
4070
+ if params.get("TradeList") is not None:
4071
+ self._TradeList = []
4072
+ for item in params.get("TradeList"):
4073
+ obj = TradeOneNode()
4074
+ obj._deserialize(item)
4075
+ self._TradeList.append(obj)
4076
+ self._RequestId = params.get("RequestId")
4077
+
4078
+
3995
4079
  class ModifyClientRemarkRequest(AbstractModel):
3996
4080
  """ModifyClientRemark request structure.
3997
4081
 
@@ -6972,4 +7056,141 @@ class TagInfo(AbstractModel):
6972
7056
  memeber_set.remove(property_name)
6973
7057
  if len(memeber_set) > 0:
6974
7058
  warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7059
+
7060
+
7061
+
7062
+ class TradeOneNode(AbstractModel):
7063
+ """Primary Industry Information
7064
+
7065
+ """
7066
+
7067
+ def __init__(self):
7068
+ r"""
7069
+ :param _Id: Layer-1 industry id.
7070
+ :type Id: str
7071
+ :param _Name: Layer-1 industry name.
7072
+ :type Name: str
7073
+ :param _Children: Layer-2 industries corresponding to the layer-1 industry.
7074
+ :type Children: list of TradeTwoNode
7075
+ """
7076
+ self._Id = None
7077
+ self._Name = None
7078
+ self._Children = None
7079
+
7080
+ @property
7081
+ def Id(self):
7082
+ """Layer-1 industry id.
7083
+ :rtype: str
7084
+ """
7085
+ return self._Id
7086
+
7087
+ @Id.setter
7088
+ def Id(self, Id):
7089
+ self._Id = Id
7090
+
7091
+ @property
7092
+ def Name(self):
7093
+ """Layer-1 industry name.
7094
+ :rtype: str
7095
+ """
7096
+ return self._Name
7097
+
7098
+ @Name.setter
7099
+ def Name(self, Name):
7100
+ self._Name = Name
7101
+
7102
+ @property
7103
+ def Children(self):
7104
+ """Layer-2 industries corresponding to the layer-1 industry.
7105
+ :rtype: list of TradeTwoNode
7106
+ """
7107
+ return self._Children
7108
+
7109
+ @Children.setter
7110
+ def Children(self, Children):
7111
+ self._Children = Children
7112
+
7113
+
7114
+ def _deserialize(self, params):
7115
+ self._Id = params.get("Id")
7116
+ self._Name = params.get("Name")
7117
+ if params.get("Children") is not None:
7118
+ self._Children = []
7119
+ for item in params.get("Children"):
7120
+ obj = TradeTwoNode()
7121
+ obj._deserialize(item)
7122
+ self._Children.append(obj)
7123
+ memeber_set = set(params.keys())
7124
+ for name, value in vars(self).items():
7125
+ property_name = name[1:]
7126
+ if property_name in memeber_set:
7127
+ memeber_set.remove(property_name)
7128
+ if len(memeber_set) > 0:
7129
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7130
+
7131
+
7132
+
7133
+ class TradeTwoNode(AbstractModel):
7134
+ """Secondary Industry Information
7135
+
7136
+ """
7137
+
7138
+ def __init__(self):
7139
+ r"""
7140
+ :param _Id: Secondary industry id.
7141
+ :type Id: str
7142
+ :param _Name: Secondary industry name.
7143
+ :type Name: str
7144
+ :param _TradeInfo: Industry information.
7145
+ :type TradeInfo: str
7146
+ """
7147
+ self._Id = None
7148
+ self._Name = None
7149
+ self._TradeInfo = None
7150
+
7151
+ @property
7152
+ def Id(self):
7153
+ """Secondary industry id.
7154
+ :rtype: str
7155
+ """
7156
+ return self._Id
7157
+
7158
+ @Id.setter
7159
+ def Id(self, Id):
7160
+ self._Id = Id
7161
+
7162
+ @property
7163
+ def Name(self):
7164
+ """Secondary industry name.
7165
+ :rtype: str
7166
+ """
7167
+ return self._Name
7168
+
7169
+ @Name.setter
7170
+ def Name(self, Name):
7171
+ self._Name = Name
7172
+
7173
+ @property
7174
+ def TradeInfo(self):
7175
+ """Industry information.
7176
+ :rtype: str
7177
+ """
7178
+ return self._TradeInfo
7179
+
7180
+ @TradeInfo.setter
7181
+ def TradeInfo(self, TradeInfo):
7182
+ self._TradeInfo = TradeInfo
7183
+
7184
+
7185
+ def _deserialize(self, params):
7186
+ self._Id = params.get("Id")
7187
+ self._Name = params.get("Name")
7188
+ self._TradeInfo = params.get("TradeInfo")
7189
+ memeber_set = set(params.keys())
7190
+ for name, value in vars(self).items():
7191
+ property_name = name[1:]
7192
+ if property_name in memeber_set:
7193
+ memeber_set.remove(property_name)
7194
+ if len(memeber_set) > 0:
7195
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6975
7196
 
@@ -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.1142
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=o4N2gND0RqgvtRl_FPKGdzarREZiSLEmjgBd9PN1JOg,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=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
325
+ tencentcloud/intlpartnersmgt/v20220928/errorcodes.py,sha256=wmSov1mjs4dOJw1-4IRll3qLu3mLdqyfJ-aNupV03V8,7248
326
+ tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py,sha256=6pnIKdNCFi0YDXXH4YzzIFqO2MvoG8ZCRFjB28tyM-g,36883
327
+ tencentcloud/intlpartnersmgt/v20220928/models.py,sha256=Cw5SvB0z7uWtKeBA1cNgh5ut7kaiZKZP_9r5XNHxDSM,226068
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
@@ -624,7 +624,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
624
624
  tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
625
625
  tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
626
626
  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,,
627
+ tencentcloud_sdk_python_intl_en-3.0.1142.dist-info/METADATA,sha256=h2sbqMd4p2uoZ7-JcwzUfr1E5Pit9QEDZ5SwRiHQA2s,1628
628
+ tencentcloud_sdk_python_intl_en-3.0.1142.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
629
+ tencentcloud_sdk_python_intl_en-3.0.1142.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
630
+ tencentcloud_sdk_python_intl_en-3.0.1142.dist-info/RECORD,,