tencentcloud-sdk-python 3.0.1413__py2.py3-none-any.whl → 3.0.1415__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.
Files changed (26) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aiart/v20221229/aiart_client.py +48 -0
  3. tencentcloud/aiart/v20221229/errorcodes.py +3 -0
  4. tencentcloud/aiart/v20221229/models.py +570 -0
  5. tencentcloud/apm/v20210622/models.py +360 -0
  6. tencentcloud/ccc/v20200210/ccc_client.py +23 -0
  7. tencentcloud/ccc/v20200210/errorcodes.py +6 -0
  8. tencentcloud/ccc/v20200210/models.py +248 -0
  9. tencentcloud/cdb/v20170320/models.py +144 -120
  10. tencentcloud/csip/v20221121/csip_client.py +69 -0
  11. tencentcloud/csip/v20221121/models.py +3253 -1734
  12. tencentcloud/emr/v20190103/models.py +30 -0
  13. tencentcloud/ess/v20201111/models.py +82 -2
  14. tencentcloud/essbasic/v20210526/models.py +40 -0
  15. tencentcloud/mps/v20190612/models.py +10 -4
  16. tencentcloud/oceanus/v20190422/models.py +257 -0
  17. tencentcloud/redis/v20180412/models.py +15 -0
  18. tencentcloud/tdmq/v20200217/errorcodes.py +12 -0
  19. tencentcloud/trocket/v20230308/models.py +2 -2
  20. tencentcloud/trtc/v20190722/models.py +47 -0
  21. tencentcloud/waf/v20180125/models.py +91 -0
  22. {tencentcloud_sdk_python-3.0.1413.dist-info → tencentcloud_sdk_python-3.0.1415.dist-info}/METADATA +1 -1
  23. {tencentcloud_sdk_python-3.0.1413.dist-info → tencentcloud_sdk_python-3.0.1415.dist-info}/RECORD +26 -26
  24. {tencentcloud_sdk_python-3.0.1413.dist-info → tencentcloud_sdk_python-3.0.1415.dist-info}/LICENSE +0 -0
  25. {tencentcloud_sdk_python-3.0.1413.dist-info → tencentcloud_sdk_python-3.0.1415.dist-info}/WHEEL +0 -0
  26. {tencentcloud_sdk_python-3.0.1413.dist-info → tencentcloud_sdk_python-3.0.1415.dist-info}/top_level.txt +0 -0
@@ -2685,6 +2685,121 @@ class CompanyStateInfo(AbstractModel):
2685
2685
 
2686
2686
 
2687
2687
 
2688
+ class ControlAIConversationRequest(AbstractModel):
2689
+ """ControlAIConversation请求参数结构体
2690
+
2691
+ """
2692
+
2693
+ def __init__(self):
2694
+ r"""
2695
+ :param _SessionId: 会话 ID
2696
+ :type SessionId: str
2697
+ :param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
2698
+ :type SdkAppId: int
2699
+ :param _Command: 控制命令,目前支持命令如下:
2700
+
2701
+ - ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本
2702
+ :type Command: str
2703
+ :param _ServerPushText: 服务端发送播报文本命令,当Command为ServerPushText时必填
2704
+ :type ServerPushText: :class:`tencentcloud.ccc.v20200210.models.ServerPushText`
2705
+ """
2706
+ self._SessionId = None
2707
+ self._SdkAppId = None
2708
+ self._Command = None
2709
+ self._ServerPushText = None
2710
+
2711
+ @property
2712
+ def SessionId(self):
2713
+ """会话 ID
2714
+ :rtype: str
2715
+ """
2716
+ return self._SessionId
2717
+
2718
+ @SessionId.setter
2719
+ def SessionId(self, SessionId):
2720
+ self._SessionId = SessionId
2721
+
2722
+ @property
2723
+ def SdkAppId(self):
2724
+ """应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
2725
+ :rtype: int
2726
+ """
2727
+ return self._SdkAppId
2728
+
2729
+ @SdkAppId.setter
2730
+ def SdkAppId(self, SdkAppId):
2731
+ self._SdkAppId = SdkAppId
2732
+
2733
+ @property
2734
+ def Command(self):
2735
+ """控制命令,目前支持命令如下:
2736
+
2737
+ - ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本
2738
+ :rtype: str
2739
+ """
2740
+ return self._Command
2741
+
2742
+ @Command.setter
2743
+ def Command(self, Command):
2744
+ self._Command = Command
2745
+
2746
+ @property
2747
+ def ServerPushText(self):
2748
+ """服务端发送播报文本命令,当Command为ServerPushText时必填
2749
+ :rtype: :class:`tencentcloud.ccc.v20200210.models.ServerPushText`
2750
+ """
2751
+ return self._ServerPushText
2752
+
2753
+ @ServerPushText.setter
2754
+ def ServerPushText(self, ServerPushText):
2755
+ self._ServerPushText = ServerPushText
2756
+
2757
+
2758
+ def _deserialize(self, params):
2759
+ self._SessionId = params.get("SessionId")
2760
+ self._SdkAppId = params.get("SdkAppId")
2761
+ self._Command = params.get("Command")
2762
+ if params.get("ServerPushText") is not None:
2763
+ self._ServerPushText = ServerPushText()
2764
+ self._ServerPushText._deserialize(params.get("ServerPushText"))
2765
+ memeber_set = set(params.keys())
2766
+ for name, value in vars(self).items():
2767
+ property_name = name[1:]
2768
+ if property_name in memeber_set:
2769
+ memeber_set.remove(property_name)
2770
+ if len(memeber_set) > 0:
2771
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2772
+
2773
+
2774
+
2775
+ class ControlAIConversationResponse(AbstractModel):
2776
+ """ControlAIConversation返回参数结构体
2777
+
2778
+ """
2779
+
2780
+ def __init__(self):
2781
+ r"""
2782
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2783
+ :type RequestId: str
2784
+ """
2785
+ self._RequestId = None
2786
+
2787
+ @property
2788
+ def RequestId(self):
2789
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2790
+ :rtype: str
2791
+ """
2792
+ return self._RequestId
2793
+
2794
+ @RequestId.setter
2795
+ def RequestId(self, RequestId):
2796
+ self._RequestId = RequestId
2797
+
2798
+
2799
+ def _deserialize(self, params):
2800
+ self._RequestId = params.get("RequestId")
2801
+
2802
+
2688
2803
  class CreateAIAgentCallRequest(AbstractModel):
2689
2804
  """CreateAIAgentCall请求参数结构体
2690
2805
 
@@ -14934,6 +15049,139 @@ class ServeParticipant(AbstractModel):
14934
15049
 
14935
15050
 
14936
15051
 
15052
+ class ServerPushText(AbstractModel):
15053
+ """服务端控制AI对话机器人播报指定文本
15054
+
15055
+ """
15056
+
15057
+ def __init__(self):
15058
+ r"""
15059
+ :param _Text: 服务端推送播报文本
15060
+ :type Text: str
15061
+ :param _Interrupt: 是否允许该文本打断机器人说话
15062
+ :type Interrupt: bool
15063
+ :param _StopAfterPlay: 播报完文本后,是否自动关闭对话任务
15064
+ :type StopAfterPlay: bool
15065
+ :param _Audio: 服务端推送播报音频
15066
+ 格式说明:音频必须为单声道,采样率必须跟对应TTS的采样率保持一致,编码为Base64字符串。
15067
+ 输入规则:当提供Audio字段时,将不接受Text字段的输入。系统将直接播放Audio字段中的音频内容。
15068
+ :type Audio: str
15069
+ :param _DropMode: 默认为0,仅在Interrupt为false时有效
15070
+ - 0表示当前有交互发生时,会丢弃Interrupt为false的消息
15071
+ - 1表示当前有交互发生时,不会丢弃Interrupt为false的消息,而是缓存下来,等待当前交互结束后,再去处理
15072
+
15073
+ 注意:DropMode为1时,允许缓存多个消息,如果后续出现了打断,缓存的消息会被清空
15074
+ :type DropMode: int
15075
+ :param _Priority: ServerPushText消息的优先级,0表示可被打断,1表示不会被打断。**目前仅支持传入0,如果需要传入1,请提工单联系我们添加权限。**
15076
+ 注意:在接收到Priority=1的消息后,后续其他任何消息都会被忽略(包括Priority=1的消息),直到Priority=1的消息处理结束。该字段可与Interrupt、DropMode字段配合使用。
15077
+ 例子:
15078
+ - Priority=1、Interrupt=true,会打断现有交互,立刻播报,播报过程中不会被打断
15079
+ - Priority=1、Interrupt=false、DropMode=1,会等待当前交互结束,再进行播报,播报过程中不会被打断
15080
+
15081
+ :type Priority: int
15082
+ """
15083
+ self._Text = None
15084
+ self._Interrupt = None
15085
+ self._StopAfterPlay = None
15086
+ self._Audio = None
15087
+ self._DropMode = None
15088
+ self._Priority = None
15089
+
15090
+ @property
15091
+ def Text(self):
15092
+ """服务端推送播报文本
15093
+ :rtype: str
15094
+ """
15095
+ return self._Text
15096
+
15097
+ @Text.setter
15098
+ def Text(self, Text):
15099
+ self._Text = Text
15100
+
15101
+ @property
15102
+ def Interrupt(self):
15103
+ """是否允许该文本打断机器人说话
15104
+ :rtype: bool
15105
+ """
15106
+ return self._Interrupt
15107
+
15108
+ @Interrupt.setter
15109
+ def Interrupt(self, Interrupt):
15110
+ self._Interrupt = Interrupt
15111
+
15112
+ @property
15113
+ def StopAfterPlay(self):
15114
+ """播报完文本后,是否自动关闭对话任务
15115
+ :rtype: bool
15116
+ """
15117
+ return self._StopAfterPlay
15118
+
15119
+ @StopAfterPlay.setter
15120
+ def StopAfterPlay(self, StopAfterPlay):
15121
+ self._StopAfterPlay = StopAfterPlay
15122
+
15123
+ @property
15124
+ def Audio(self):
15125
+ """服务端推送播报音频
15126
+ 格式说明:音频必须为单声道,采样率必须跟对应TTS的采样率保持一致,编码为Base64字符串。
15127
+ 输入规则:当提供Audio字段时,将不接受Text字段的输入。系统将直接播放Audio字段中的音频内容。
15128
+ :rtype: str
15129
+ """
15130
+ return self._Audio
15131
+
15132
+ @Audio.setter
15133
+ def Audio(self, Audio):
15134
+ self._Audio = Audio
15135
+
15136
+ @property
15137
+ def DropMode(self):
15138
+ """默认为0,仅在Interrupt为false时有效
15139
+ - 0表示当前有交互发生时,会丢弃Interrupt为false的消息
15140
+ - 1表示当前有交互发生时,不会丢弃Interrupt为false的消息,而是缓存下来,等待当前交互结束后,再去处理
15141
+
15142
+ 注意:DropMode为1时,允许缓存多个消息,如果后续出现了打断,缓存的消息会被清空
15143
+ :rtype: int
15144
+ """
15145
+ return self._DropMode
15146
+
15147
+ @DropMode.setter
15148
+ def DropMode(self, DropMode):
15149
+ self._DropMode = DropMode
15150
+
15151
+ @property
15152
+ def Priority(self):
15153
+ """ServerPushText消息的优先级,0表示可被打断,1表示不会被打断。**目前仅支持传入0,如果需要传入1,请提工单联系我们添加权限。**
15154
+ 注意:在接收到Priority=1的消息后,后续其他任何消息都会被忽略(包括Priority=1的消息),直到Priority=1的消息处理结束。该字段可与Interrupt、DropMode字段配合使用。
15155
+ 例子:
15156
+ - Priority=1、Interrupt=true,会打断现有交互,立刻播报,播报过程中不会被打断
15157
+ - Priority=1、Interrupt=false、DropMode=1,会等待当前交互结束,再进行播报,播报过程中不会被打断
15158
+
15159
+ :rtype: int
15160
+ """
15161
+ return self._Priority
15162
+
15163
+ @Priority.setter
15164
+ def Priority(self, Priority):
15165
+ self._Priority = Priority
15166
+
15167
+
15168
+ def _deserialize(self, params):
15169
+ self._Text = params.get("Text")
15170
+ self._Interrupt = params.get("Interrupt")
15171
+ self._StopAfterPlay = params.get("StopAfterPlay")
15172
+ self._Audio = params.get("Audio")
15173
+ self._DropMode = params.get("DropMode")
15174
+ self._Priority = params.get("Priority")
15175
+ memeber_set = set(params.keys())
15176
+ for name, value in vars(self).items():
15177
+ property_name = name[1:]
15178
+ if property_name in memeber_set:
15179
+ memeber_set.remove(property_name)
15180
+ if len(memeber_set) > 0:
15181
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15182
+
15183
+
15184
+
14937
15185
  class SkillGroupInfoItem(AbstractModel):
14938
15186
  """技能组信息
14939
15187