tencentcloud-sdk-python-intl-en 3.0.1181__py2.py3-none-any.whl → 3.0.1183__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.1181'
16
+ __version__ = '3.0.1183'
@@ -14,6 +14,12 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
+ #
18
+ FAILEDOPERATION_AICONCURRENTNOPACKAGE = 'FailedOperation.AIConcurrentNoPackage'
19
+
20
+ #
21
+ FAILEDOPERATION_AICONCURRENTOVERFREQUENCY = 'FailedOperation.AIConcurrentOverFrequency'
22
+
17
23
  # Outbound call failure.
18
24
  FAILEDOPERATION_CALLOUTFAILED = 'FailedOperation.CallOutFailed'
19
25
 
@@ -119,6 +125,9 @@ INVALIDPARAMETERVALUE_APPLYIDNOTEXIST = 'InvalidParameterValue.ApplyIDNotExist'
119
125
  # Error in the status of the review form.
120
126
  INVALIDPARAMETERVALUE_ERRORAPPLYSTATUS = 'InvalidParameterValue.ErrorApplyStatus'
121
127
 
128
+ #
129
+ INVALIDPARAMETERVALUE_EXPERIENCEACCOUNT = 'InvalidParameterValue.ExperienceAccount'
130
+
122
131
  # The SDKAppID does not exist.
123
132
  INVALIDPARAMETERVALUE_INSTANCENOTEXIST = 'InvalidParameterValue.InstanceNotExist'
124
133
 
@@ -1600,6 +1600,8 @@ class CreateAIAgentCallRequest(AbstractModel):
1600
1600
 
1601
1601
  @property
1602
1602
  def PromptVariables(self):
1603
+ warnings.warn("parameter `PromptVariables` is deprecated", DeprecationWarning)
1604
+
1603
1605
  """Prompt variable.
1604
1606
  :rtype: list of Variable
1605
1607
  """
@@ -1607,6 +1609,8 @@ class CreateAIAgentCallRequest(AbstractModel):
1607
1609
 
1608
1610
  @PromptVariables.setter
1609
1611
  def PromptVariables(self, PromptVariables):
1612
+ warnings.warn("parameter `PromptVariables` is deprecated", DeprecationWarning)
1613
+
1610
1614
  self._PromptVariables = PromptVariables
1611
1615
 
1612
1616
 
@@ -1685,6 +1689,32 @@ class CreateAICallRequest(AbstractModel):
1685
1689
  :type SdkAppId: int
1686
1690
  :param _Callee: Called number.
1687
1691
  :type Callee: str
1692
+ :param _LLMType: Model interface protocol types, currently compatible with three protocol types:
1693
+
1694
+ - OpenAI protocol (including GPT, DeepSeek, etc.):"openai"
1695
+ - Azure protocol:"azure"
1696
+ - Minimax protocol:"minimax"
1697
+ :type LLMType: str
1698
+ :param _APIKey: Model API key, for authentication information, please refer to the respective model's official website
1699
+
1700
+ - OpenAI protocol: [GPT](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key), [DeepSeek](https://api-docs.deepseek.com/zh-cn/);
1701
+
1702
+ - Azure protocol: [Azure GPT](https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart?tabs=command-line%2Ctypescript%2Cpython-new&pivots=programming-language-studio#key-settings);
1703
+
1704
+ - Minimax:[Minimax](https://platform.minimaxi.com/document/Fast%20access?key=66701cf51d57f38758d581b2)
1705
+ :type APIKey: str
1706
+ :param _APIUrl: Model interface address
1707
+
1708
+ - OpenAI protocol
1709
+ GPT:"https://api.openai.com/v1/"
1710
+ Deepseek:"https://api.deepseek.com/v1"
1711
+
1712
+ - Azure protocol
1713
+ "https://{your-resource-name}.openai.azure.com?api-version={api-version}"
1714
+
1715
+ - Minimax protocol
1716
+ "https://api.minimax.chat/v1"
1717
+ :type APIUrl: str
1688
1718
  :param _SystemPrompt: ## Identity
1689
1719
  You are Kate from the appointment department at Retell Health calling Cindy over the phone to prepare for the annual checkup coming up. You are a pleasant and friendly receptionist caring deeply for the user. You don't provide medical advice but would use the medical knowledge to understand user responses.
1690
1720
 
@@ -1717,12 +1747,6 @@ If at any time the user showed anger or wanted a human agent, call transfer_call
1717
1747
  - If user asks something you do not know, let them know you don't have the answer. Ask them if they have any other questions.
1718
1748
  - If user do not have any questions, call function end_call to hang up.
1719
1749
  :type SystemPrompt: str
1720
- :param _LLMType: Model interface protocol types, currently compatible with three protocol types:
1721
-
1722
- - OpenAI protocol (including GPT, DeepSeek, etc.):"openai"
1723
- - Azure protocol:"azure"
1724
- - Minimax protocol:"minimax"
1725
- :type LLMType: str
1726
1750
  :param _Model: Model name, such as
1727
1751
 
1728
1752
  - OpenAI protocol
@@ -1734,26 +1758,6 @@ If at any time the user showed anger or wanted a human agent, call transfer_call
1734
1758
  - Minimax protocol
1735
1759
  "deepseek-chat".
1736
1760
  :type Model: str
1737
- :param _APIKey: Model API key, for authentication information, please refer to the respective model's official website
1738
-
1739
- - OpenAI protocol: [GPT](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key), [DeepSeek](https://api-docs.deepseek.com/zh-cn/);
1740
-
1741
- - Azure protocol: [Azure GPT](https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart?tabs=command-line%2Ctypescript%2Cpython-new&pivots=programming-language-studio#key-settings);
1742
-
1743
- - Minimax:[Minimax](https://platform.minimaxi.com/document/Fast%20access?key=66701cf51d57f38758d581b2)
1744
- :type APIKey: str
1745
- :param _APIUrl: Model interface address
1746
-
1747
- - OpenAI protocol
1748
- GPT:"https://api.openai.com/v1/"
1749
- Deepseek:"https://api.deepseek.com/v1"
1750
-
1751
- - Azure protocol
1752
- "https://{your-resource-name}.openai.azure.com?api-version={api-version}"
1753
-
1754
- - Minimax protocol
1755
- "https://api.minimax.chat/v1"
1756
- :type APIUrl: str
1757
1761
  :param _VoiceType: The following voice parameter values are available by default. If you wish to customize the voice type, please leave VoiceType blank and configure it in the CustomTTSConfig parameter.
1758
1762
 
1759
1763
  Chinese:
@@ -1904,11 +1908,11 @@ Please refer to the specific protocol standards in the <a href="https://doc.weix
1904
1908
  """
1905
1909
  self._SdkAppId = None
1906
1910
  self._Callee = None
1907
- self._SystemPrompt = None
1908
1911
  self._LLMType = None
1909
- self._Model = None
1910
1912
  self._APIKey = None
1911
1913
  self._APIUrl = None
1914
+ self._SystemPrompt = None
1915
+ self._Model = None
1912
1916
  self._VoiceType = None
1913
1917
  self._Callers = None
1914
1918
  self._WelcomeMessage = None
@@ -1952,6 +1956,59 @@ Please refer to the specific protocol standards in the <a href="https://doc.weix
1952
1956
  def Callee(self, Callee):
1953
1957
  self._Callee = Callee
1954
1958
 
1959
+ @property
1960
+ def LLMType(self):
1961
+ """Model interface protocol types, currently compatible with three protocol types:
1962
+
1963
+ - OpenAI protocol (including GPT, DeepSeek, etc.):"openai"
1964
+ - Azure protocol:"azure"
1965
+ - Minimax protocol:"minimax"
1966
+ :rtype: str
1967
+ """
1968
+ return self._LLMType
1969
+
1970
+ @LLMType.setter
1971
+ def LLMType(self, LLMType):
1972
+ self._LLMType = LLMType
1973
+
1974
+ @property
1975
+ def APIKey(self):
1976
+ """Model API key, for authentication information, please refer to the respective model's official website
1977
+
1978
+ - OpenAI protocol: [GPT](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key), [DeepSeek](https://api-docs.deepseek.com/zh-cn/);
1979
+
1980
+ - Azure protocol: [Azure GPT](https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart?tabs=command-line%2Ctypescript%2Cpython-new&pivots=programming-language-studio#key-settings);
1981
+
1982
+ - Minimax:[Minimax](https://platform.minimaxi.com/document/Fast%20access?key=66701cf51d57f38758d581b2)
1983
+ :rtype: str
1984
+ """
1985
+ return self._APIKey
1986
+
1987
+ @APIKey.setter
1988
+ def APIKey(self, APIKey):
1989
+ self._APIKey = APIKey
1990
+
1991
+ @property
1992
+ def APIUrl(self):
1993
+ """Model interface address
1994
+
1995
+ - OpenAI protocol
1996
+ GPT:"https://api.openai.com/v1/"
1997
+ Deepseek:"https://api.deepseek.com/v1"
1998
+
1999
+ - Azure protocol
2000
+ "https://{your-resource-name}.openai.azure.com?api-version={api-version}"
2001
+
2002
+ - Minimax protocol
2003
+ "https://api.minimax.chat/v1"
2004
+ :rtype: str
2005
+ """
2006
+ return self._APIUrl
2007
+
2008
+ @APIUrl.setter
2009
+ def APIUrl(self, APIUrl):
2010
+ self._APIUrl = APIUrl
2011
+
1955
2012
  @property
1956
2013
  def SystemPrompt(self):
1957
2014
  """## Identity
@@ -1993,21 +2050,6 @@ If at any time the user showed anger or wanted a human agent, call transfer_call
1993
2050
  def SystemPrompt(self, SystemPrompt):
1994
2051
  self._SystemPrompt = SystemPrompt
1995
2052
 
1996
- @property
1997
- def LLMType(self):
1998
- """Model interface protocol types, currently compatible with three protocol types:
1999
-
2000
- - OpenAI protocol (including GPT, DeepSeek, etc.):"openai"
2001
- - Azure protocol:"azure"
2002
- - Minimax protocol:"minimax"
2003
- :rtype: str
2004
- """
2005
- return self._LLMType
2006
-
2007
- @LLMType.setter
2008
- def LLMType(self, LLMType):
2009
- self._LLMType = LLMType
2010
-
2011
2053
  @property
2012
2054
  def Model(self):
2013
2055
  """Model name, such as
@@ -2028,44 +2070,6 @@ If at any time the user showed anger or wanted a human agent, call transfer_call
2028
2070
  def Model(self, Model):
2029
2071
  self._Model = Model
2030
2072
 
2031
- @property
2032
- def APIKey(self):
2033
- """Model API key, for authentication information, please refer to the respective model's official website
2034
-
2035
- - OpenAI protocol: [GPT](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key), [DeepSeek](https://api-docs.deepseek.com/zh-cn/);
2036
-
2037
- - Azure protocol: [Azure GPT](https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart?tabs=command-line%2Ctypescript%2Cpython-new&pivots=programming-language-studio#key-settings);
2038
-
2039
- - Minimax:[Minimax](https://platform.minimaxi.com/document/Fast%20access?key=66701cf51d57f38758d581b2)
2040
- :rtype: str
2041
- """
2042
- return self._APIKey
2043
-
2044
- @APIKey.setter
2045
- def APIKey(self, APIKey):
2046
- self._APIKey = APIKey
2047
-
2048
- @property
2049
- def APIUrl(self):
2050
- """Model interface address
2051
-
2052
- - OpenAI protocol
2053
- GPT:"https://api.openai.com/v1/"
2054
- Deepseek:"https://api.deepseek.com/v1"
2055
-
2056
- - Azure protocol
2057
- "https://{your-resource-name}.openai.azure.com?api-version={api-version}"
2058
-
2059
- - Minimax protocol
2060
- "https://api.minimax.chat/v1"
2061
- :rtype: str
2062
- """
2063
- return self._APIUrl
2064
-
2065
- @APIUrl.setter
2066
- def APIUrl(self, APIUrl):
2067
- self._APIUrl = APIUrl
2068
-
2069
2073
  @property
2070
2074
  def VoiceType(self):
2071
2075
  """The following voice parameter values are available by default. If you wish to customize the voice type, please leave VoiceType blank and configure it in the CustomTTSConfig parameter.
@@ -2362,6 +2366,8 @@ Please refer to the specific protocol standards in the <a href="https://doc.weix
2362
2366
 
2363
2367
  @property
2364
2368
  def PromptVariables(self):
2369
+ warnings.warn("parameter `PromptVariables` is deprecated", DeprecationWarning)
2370
+
2365
2371
  """Prompt word variable.
2366
2372
  :rtype: list of Variable
2367
2373
  """
@@ -2369,6 +2375,8 @@ Please refer to the specific protocol standards in the <a href="https://doc.weix
2369
2375
 
2370
2376
  @PromptVariables.setter
2371
2377
  def PromptVariables(self, PromptVariables):
2378
+ warnings.warn("parameter `PromptVariables` is deprecated", DeprecationWarning)
2379
+
2372
2380
  self._PromptVariables = PromptVariables
2373
2381
 
2374
2382
  @property
@@ -2397,11 +2405,11 @@ Please refer to the specific protocol standards in the <a href="https://doc.weix
2397
2405
  def _deserialize(self, params):
2398
2406
  self._SdkAppId = params.get("SdkAppId")
2399
2407
  self._Callee = params.get("Callee")
2400
- self._SystemPrompt = params.get("SystemPrompt")
2401
2408
  self._LLMType = params.get("LLMType")
2402
- self._Model = params.get("Model")
2403
2409
  self._APIKey = params.get("APIKey")
2404
2410
  self._APIUrl = params.get("APIUrl")
2411
+ self._SystemPrompt = params.get("SystemPrompt")
2412
+ self._Model = params.get("Model")
2405
2413
  self._VoiceType = params.get("VoiceType")
2406
2414
  self._Callers = params.get("Callers")
2407
2415
  self._WelcomeMessage = params.get("WelcomeMessage")
@@ -11516,6 +11524,8 @@ class StaffInfo(AbstractModel):
11516
11524
 
11517
11525
  @property
11518
11526
  def RoleId(self):
11527
+ warnings.warn("parameter `RoleId` is deprecated", DeprecationWarning)
11528
+
11519
11529
  """User role id.
11520
11530
  :rtype: int
11521
11531
  """
@@ -11523,6 +11533,8 @@ class StaffInfo(AbstractModel):
11523
11533
 
11524
11534
  @RoleId.setter
11525
11535
  def RoleId(self, RoleId):
11536
+ warnings.warn("parameter `RoleId` is deprecated", DeprecationWarning)
11537
+
11526
11538
  self._RoleId = RoleId
11527
11539
 
11528
11540
  @property
@@ -380,9 +380,8 @@ class IntlpartnersmgtClient(AbstractClient):
380
380
 
381
381
 
382
382
  def DescribeCustomerInfo(self, request):
383
- """This API is used to query the customer information.
384
-
385
- Callable roles: Distributor, Reseller
383
+ """This API is used to query sub-customer information.
384
+ Invocation roles: reseller, first-level distributor.
386
385
 
387
386
  :param request: Request instance for DescribeCustomerInfo.
388
387
  :type request: :class:`tencentcloud.intlpartnersmgt.v20220928.models.DescribeCustomerInfoRequest`
@@ -3359,19 +3359,33 @@ class DescribeCustomerInfoData(AbstractModel):
3359
3359
  :type Name: str
3360
3360
  :param _BindTime: Binding time.
3361
3361
  :type BindTime: str
3362
- :param _AccountStatus: Account status
3363
- .
3362
+ :param _AccountStatus: Account status.
3364
3363
  0: normal.
3365
3364
  1: forcibly mandatory (this function is not supported yet).
3366
3365
  2: mandatory arrears.
3367
3366
  :type AccountStatus: str
3368
- :param _AuthStatus: Identity verification status.
3369
- -1: files not uploaded.
3370
- 0: not submitted for review.
3371
- 1: under review.
3372
- 2: review error.
3373
- 3: approved.
3367
+ :param _AuthStatus: Specifies the identity verification status.
3368
+ -999: account information not found.
3369
+ -1: file not uploaded.
3370
+ 0: pending review.
3371
+ Under review.
3372
+ Error in review: 2.
3373
+ 3: pass review.
3374
3374
  :type AuthStatus: str
3375
+ :param _AuthType: Real-Name type.
3376
+ -1: default value. no such information.
3377
+ 0: personal type.
3378
+ 1: enterprise type.
3379
+ :type AuthType: int
3380
+ :param _CidRegisterTime: Specifies the registration time of the cid.
3381
+ :type CidRegisterTime: str
3382
+ :param _UinRegisterTime: Specifies the registration time of the uin.
3383
+ :type UinRegisterTime: str
3384
+ :param _AuthPassTime: Time when real-name authentication passed.
3385
+ :type AuthPassTime: str
3386
+ :param _HasExpense: Whether there is consumption.
3387
+ 0: no consumption; 1: consumption.
3388
+ :type HasExpense: int
3375
3389
  """
3376
3390
  self._CustomerUin = None
3377
3391
  self._Email = None
@@ -3381,6 +3395,11 @@ class DescribeCustomerInfoData(AbstractModel):
3381
3395
  self._BindTime = None
3382
3396
  self._AccountStatus = None
3383
3397
  self._AuthStatus = None
3398
+ self._AuthType = None
3399
+ self._CidRegisterTime = None
3400
+ self._UinRegisterTime = None
3401
+ self._AuthPassTime = None
3402
+ self._HasExpense = None
3384
3403
 
3385
3404
  @property
3386
3405
  def CustomerUin(self):
@@ -3450,8 +3469,7 @@ class DescribeCustomerInfoData(AbstractModel):
3450
3469
 
3451
3470
  @property
3452
3471
  def AccountStatus(self):
3453
- """Account status
3454
- .
3472
+ """Account status.
3455
3473
  0: normal.
3456
3474
  1: forcibly mandatory (this function is not supported yet).
3457
3475
  2: mandatory arrears.
@@ -3465,12 +3483,13 @@ class DescribeCustomerInfoData(AbstractModel):
3465
3483
 
3466
3484
  @property
3467
3485
  def AuthStatus(self):
3468
- """Identity verification status.
3469
- -1: files not uploaded.
3470
- 0: not submitted for review.
3471
- 1: under review.
3472
- 2: review error.
3473
- 3: approved.
3486
+ """Specifies the identity verification status.
3487
+ -999: account information not found.
3488
+ -1: file not uploaded.
3489
+ 0: pending review.
3490
+ Under review.
3491
+ Error in review: 2.
3492
+ 3: pass review.
3474
3493
  :rtype: str
3475
3494
  """
3476
3495
  return self._AuthStatus
@@ -3479,6 +3498,65 @@ class DescribeCustomerInfoData(AbstractModel):
3479
3498
  def AuthStatus(self, AuthStatus):
3480
3499
  self._AuthStatus = AuthStatus
3481
3500
 
3501
+ @property
3502
+ def AuthType(self):
3503
+ """Real-Name type.
3504
+ -1: default value. no such information.
3505
+ 0: personal type.
3506
+ 1: enterprise type.
3507
+ :rtype: int
3508
+ """
3509
+ return self._AuthType
3510
+
3511
+ @AuthType.setter
3512
+ def AuthType(self, AuthType):
3513
+ self._AuthType = AuthType
3514
+
3515
+ @property
3516
+ def CidRegisterTime(self):
3517
+ """Specifies the registration time of the cid.
3518
+ :rtype: str
3519
+ """
3520
+ return self._CidRegisterTime
3521
+
3522
+ @CidRegisterTime.setter
3523
+ def CidRegisterTime(self, CidRegisterTime):
3524
+ self._CidRegisterTime = CidRegisterTime
3525
+
3526
+ @property
3527
+ def UinRegisterTime(self):
3528
+ """Specifies the registration time of the uin.
3529
+ :rtype: str
3530
+ """
3531
+ return self._UinRegisterTime
3532
+
3533
+ @UinRegisterTime.setter
3534
+ def UinRegisterTime(self, UinRegisterTime):
3535
+ self._UinRegisterTime = UinRegisterTime
3536
+
3537
+ @property
3538
+ def AuthPassTime(self):
3539
+ """Time when real-name authentication passed.
3540
+ :rtype: str
3541
+ """
3542
+ return self._AuthPassTime
3543
+
3544
+ @AuthPassTime.setter
3545
+ def AuthPassTime(self, AuthPassTime):
3546
+ self._AuthPassTime = AuthPassTime
3547
+
3548
+ @property
3549
+ def HasExpense(self):
3550
+ """Whether there is consumption.
3551
+ 0: no consumption; 1: consumption.
3552
+ :rtype: int
3553
+ """
3554
+ return self._HasExpense
3555
+
3556
+ @HasExpense.setter
3557
+ def HasExpense(self, HasExpense):
3558
+ self._HasExpense = HasExpense
3559
+
3482
3560
 
3483
3561
  def _deserialize(self, params):
3484
3562
  self._CustomerUin = params.get("CustomerUin")
@@ -3489,6 +3567,11 @@ class DescribeCustomerInfoData(AbstractModel):
3489
3567
  self._BindTime = params.get("BindTime")
3490
3568
  self._AccountStatus = params.get("AccountStatus")
3491
3569
  self._AuthStatus = params.get("AuthStatus")
3570
+ self._AuthType = params.get("AuthType")
3571
+ self._CidRegisterTime = params.get("CidRegisterTime")
3572
+ self._UinRegisterTime = params.get("UinRegisterTime")
3573
+ self._AuthPassTime = params.get("AuthPassTime")
3574
+ self._HasExpense = params.get("HasExpense")
3492
3575
  memeber_set = set(params.keys())
3493
3576
  for name, value in vars(self).items():
3494
3577
  property_name = name[1:]