@huaweicloud/huaweicloud-sdk-metastudio 3.1.123 → 3.1.124

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 (257) hide show
  1. package/package.json +2 -2
  2. package/v1/MetaStudioClient.d.ts +442 -5
  3. package/v1/MetaStudioClient.d.ts.map +1 -1
  4. package/v1/MetaStudioClient.js +1212 -36
  5. package/v1/MetaStudioClient.js.map +1 -1
  6. package/v1/model/CreateAsyncTtsJobRequest.d.ts +23 -0
  7. package/v1/model/CreateAsyncTtsJobRequest.d.ts.map +1 -0
  8. package/v1/model/CreateAsyncTtsJobRequest.js +53 -0
  9. package/v1/model/CreateAsyncTtsJobRequest.js.map +1 -0
  10. package/v1/model/CreateAsyncTtsJobRequestBody.d.ts +40 -0
  11. package/v1/model/CreateAsyncTtsJobRequestBody.d.ts.map +1 -0
  12. package/v1/model/CreateAsyncTtsJobRequestBody.js +86 -0
  13. package/v1/model/CreateAsyncTtsJobRequestBody.js.map +1 -0
  14. package/v1/model/CreateAsyncTtsJobResponse.d.ts +9 -0
  15. package/v1/model/CreateAsyncTtsJobResponse.d.ts.map +1 -0
  16. package/v1/model/CreateAsyncTtsJobResponse.js +21 -0
  17. package/v1/model/CreateAsyncTtsJobResponse.js.map +1 -0
  18. package/v1/model/CreateHotQuestionReq.d.ts +3 -0
  19. package/v1/model/CreateHotQuestionReq.d.ts.map +1 -1
  20. package/v1/model/CreateHotQuestionReq.js +4 -0
  21. package/v1/model/CreateHotQuestionReq.js.map +1 -1
  22. package/v1/model/CreateHotQuestionResponse.d.ts +3 -0
  23. package/v1/model/CreateHotQuestionResponse.d.ts.map +1 -1
  24. package/v1/model/CreateHotQuestionResponse.js +4 -0
  25. package/v1/model/CreateHotQuestionResponse.js.map +1 -1
  26. package/v1/model/CreatePacifyWordsReq.d.ts +21 -0
  27. package/v1/model/CreatePacifyWordsReq.d.ts.map +1 -0
  28. package/v1/model/CreatePacifyWordsReq.js +51 -0
  29. package/v1/model/CreatePacifyWordsReq.js.map +1 -0
  30. package/v1/model/CreatePacifyWordsRequest.d.ts +23 -0
  31. package/v1/model/CreatePacifyWordsRequest.d.ts.map +1 -0
  32. package/v1/model/CreatePacifyWordsRequest.js +53 -0
  33. package/v1/model/CreatePacifyWordsRequest.js.map +1 -0
  34. package/v1/model/CreatePacifyWordsResponse.d.ts +38 -0
  35. package/v1/model/CreatePacifyWordsResponse.d.ts.map +1 -0
  36. package/v1/model/CreatePacifyWordsResponse.js +89 -0
  37. package/v1/model/CreatePacifyWordsResponse.js.map +1 -0
  38. package/v1/model/CreateSubtitleFileReq.d.ts +12 -0
  39. package/v1/model/CreateSubtitleFileReq.d.ts.map +1 -0
  40. package/v1/model/CreateSubtitleFileReq.js +29 -0
  41. package/v1/model/CreateSubtitleFileReq.js.map +1 -0
  42. package/v1/model/CreateSubtitleFileRequest.d.ts +23 -0
  43. package/v1/model/CreateSubtitleFileRequest.d.ts.map +1 -0
  44. package/v1/model/CreateSubtitleFileRequest.js +53 -0
  45. package/v1/model/CreateSubtitleFileRequest.js.map +1 -0
  46. package/v1/model/CreateSubtitleFileResponse.d.ts +13 -0
  47. package/v1/model/CreateSubtitleFileResponse.d.ts.map +1 -0
  48. package/v1/model/CreateSubtitleFileResponse.js +31 -0
  49. package/v1/model/CreateSubtitleFileResponse.js.map +1 -0
  50. package/v1/model/CreateTtsAuditionRequestBody.d.ts +4 -0
  51. package/v1/model/CreateTtsAuditionRequestBody.d.ts.map +1 -1
  52. package/v1/model/CreateTtsAuditionRequestBody.js +10 -0
  53. package/v1/model/CreateTtsAuditionRequestBody.js.map +1 -1
  54. package/v1/model/CreateWelcomeSpeechReq.d.ts +3 -0
  55. package/v1/model/CreateWelcomeSpeechReq.d.ts.map +1 -1
  56. package/v1/model/CreateWelcomeSpeechReq.js +4 -0
  57. package/v1/model/CreateWelcomeSpeechReq.js.map +1 -1
  58. package/v1/model/CreateWelcomeSpeechResponse.d.ts +7 -0
  59. package/v1/model/CreateWelcomeSpeechResponse.d.ts.map +1 -1
  60. package/v1/model/CreateWelcomeSpeechResponse.js +14 -0
  61. package/v1/model/CreateWelcomeSpeechResponse.js.map +1 -1
  62. package/v1/model/DeletePacifyWordsRequest.d.ts +24 -0
  63. package/v1/model/DeletePacifyWordsRequest.d.ts.map +1 -0
  64. package/v1/model/DeletePacifyWordsRequest.js +60 -0
  65. package/v1/model/DeletePacifyWordsRequest.js.map +1 -0
  66. package/v1/model/DeletePacifyWordsResponse.d.ts +9 -0
  67. package/v1/model/DeletePacifyWordsResponse.d.ts.map +1 -0
  68. package/v1/model/DeletePacifyWordsResponse.js +21 -0
  69. package/v1/model/DeletePacifyWordsResponse.js.map +1 -0
  70. package/v1/model/HotQuestionInfo.d.ts +3 -0
  71. package/v1/model/HotQuestionInfo.d.ts.map +1 -1
  72. package/v1/model/HotQuestionInfo.js +4 -0
  73. package/v1/model/HotQuestionInfo.js.map +1 -1
  74. package/v1/model/HuaweiEiCbs.d.ts +4 -0
  75. package/v1/model/HuaweiEiCbs.d.ts.map +1 -1
  76. package/v1/model/HuaweiEiCbs.js +10 -0
  77. package/v1/model/HuaweiEiCbs.js.map +1 -1
  78. package/v1/model/Language.d.ts +4 -0
  79. package/v1/model/Language.d.ts.map +1 -0
  80. package/v1/model/Language.js +9 -0
  81. package/v1/model/Language.js.map +1 -0
  82. package/v1/model/ListHotQuestionRequest.d.ts +10 -0
  83. package/v1/model/ListHotQuestionRequest.d.ts.map +1 -1
  84. package/v1/model/ListHotQuestionRequest.js +14 -1
  85. package/v1/model/ListHotQuestionRequest.js.map +1 -1
  86. package/v1/model/ListHotWordsRequest.d.ts +3 -1
  87. package/v1/model/ListHotWordsRequest.d.ts.map +1 -1
  88. package/v1/model/ListHotWordsRequest.js +2 -0
  89. package/v1/model/ListHotWordsRequest.js.map +1 -1
  90. package/v1/model/ListPacifyWordsRequest.d.ts +44 -0
  91. package/v1/model/ListPacifyWordsRequest.d.ts.map +1 -0
  92. package/v1/model/ListPacifyWordsRequest.js +95 -0
  93. package/v1/model/ListPacifyWordsRequest.js.map +1 -0
  94. package/v1/model/ListPacifyWordsResponse.d.ts +18 -0
  95. package/v1/model/ListPacifyWordsResponse.d.ts.map +1 -0
  96. package/v1/model/ListPacifyWordsResponse.js +37 -0
  97. package/v1/model/ListPacifyWordsResponse.js.map +1 -0
  98. package/v1/model/ListWelcomeSpeechRequest.d.ts +10 -0
  99. package/v1/model/ListWelcomeSpeechRequest.d.ts.map +1 -1
  100. package/v1/model/ListWelcomeSpeechRequest.js +14 -1
  101. package/v1/model/ListWelcomeSpeechRequest.js.map +1 -1
  102. package/v1/model/MobvoiConfig.d.ts +4 -0
  103. package/v1/model/MobvoiConfig.d.ts.map +1 -1
  104. package/v1/model/MobvoiConfig.js +10 -0
  105. package/v1/model/MobvoiConfig.js.map +1 -1
  106. package/v1/model/PacifyWordsInfo.d.ts +33 -0
  107. package/v1/model/PacifyWordsInfo.d.ts.map +1 -0
  108. package/v1/model/PacifyWordsInfo.js +77 -0
  109. package/v1/model/PacifyWordsInfo.js.map +1 -0
  110. package/v1/model/PacifyWordsIntentInfo.d.ts +14 -0
  111. package/v1/model/PacifyWordsIntentInfo.d.ts.map +1 -0
  112. package/v1/model/PacifyWordsIntentInfo.js +33 -0
  113. package/v1/model/PacifyWordsIntentInfo.js.map +1 -0
  114. package/v1/model/ShowAsyncTtsJobRequest.d.ts +24 -0
  115. package/v1/model/ShowAsyncTtsJobRequest.d.ts.map +1 -0
  116. package/v1/model/ShowAsyncTtsJobRequest.js +60 -0
  117. package/v1/model/ShowAsyncTtsJobRequest.js.map +1 -0
  118. package/v1/model/ShowAsyncTtsJobResponse.d.ts +15 -0
  119. package/v1/model/ShowAsyncTtsJobResponse.d.ts.map +1 -0
  120. package/v1/model/ShowAsyncTtsJobResponse.js +35 -0
  121. package/v1/model/ShowAsyncTtsJobResponse.js.map +1 -0
  122. package/v1/model/ShowHotQuestionResponse.d.ts +3 -0
  123. package/v1/model/ShowHotQuestionResponse.d.ts.map +1 -1
  124. package/v1/model/ShowHotQuestionResponse.js +4 -0
  125. package/v1/model/ShowHotQuestionResponse.js.map +1 -1
  126. package/v1/model/ShowPacifyWordsIntentRequest.d.ts +24 -0
  127. package/v1/model/ShowPacifyWordsIntentRequest.d.ts.map +1 -0
  128. package/v1/model/ShowPacifyWordsIntentRequest.js +60 -0
  129. package/v1/model/ShowPacifyWordsIntentRequest.js.map +1 -0
  130. package/v1/model/ShowPacifyWordsIntentResponse.d.ts +12 -0
  131. package/v1/model/ShowPacifyWordsIntentResponse.d.ts.map +1 -0
  132. package/v1/model/ShowPacifyWordsIntentResponse.js +25 -0
  133. package/v1/model/ShowPacifyWordsIntentResponse.js.map +1 -0
  134. package/v1/model/ShowPacifyWordsRequest.d.ts +24 -0
  135. package/v1/model/ShowPacifyWordsRequest.d.ts.map +1 -0
  136. package/v1/model/ShowPacifyWordsRequest.js +60 -0
  137. package/v1/model/ShowPacifyWordsRequest.js.map +1 -0
  138. package/v1/model/ShowPacifyWordsResponse.d.ts +38 -0
  139. package/v1/model/ShowPacifyWordsResponse.d.ts.map +1 -0
  140. package/v1/model/ShowPacifyWordsResponse.js +89 -0
  141. package/v1/model/ShowPacifyWordsResponse.js.map +1 -0
  142. package/v1/model/ShowPacifyWordsSwitchRequest.d.ts +34 -0
  143. package/v1/model/ShowPacifyWordsSwitchRequest.d.ts.map +1 -0
  144. package/v1/model/ShowPacifyWordsSwitchRequest.js +74 -0
  145. package/v1/model/ShowPacifyWordsSwitchRequest.js.map +1 -0
  146. package/v1/model/ShowPacifyWordsSwitchResponse.d.ts +13 -0
  147. package/v1/model/ShowPacifyWordsSwitchResponse.d.ts.map +1 -0
  148. package/v1/model/ShowPacifyWordsSwitchResponse.js +31 -0
  149. package/v1/model/ShowPacifyWordsSwitchResponse.js.map +1 -0
  150. package/v1/model/ShowPacifyWordsTriggerTimeRequest.d.ts +34 -0
  151. package/v1/model/ShowPacifyWordsTriggerTimeRequest.d.ts.map +1 -0
  152. package/v1/model/ShowPacifyWordsTriggerTimeRequest.js +74 -0
  153. package/v1/model/ShowPacifyWordsTriggerTimeRequest.js.map +1 -0
  154. package/v1/model/ShowPacifyWordsTriggerTimeResponse.d.ts +13 -0
  155. package/v1/model/ShowPacifyWordsTriggerTimeResponse.d.ts.map +1 -0
  156. package/v1/model/ShowPacifyWordsTriggerTimeResponse.js +31 -0
  157. package/v1/model/ShowPacifyWordsTriggerTimeResponse.js.map +1 -0
  158. package/v1/model/ShowSmartChatJobResponse.d.ts +17 -0
  159. package/v1/model/ShowSmartChatJobResponse.d.ts.map +1 -1
  160. package/v1/model/ShowSmartChatJobResponse.js +30 -1
  161. package/v1/model/ShowSmartChatJobResponse.js.map +1 -1
  162. package/v1/model/ShowSubtitleFileRequest.d.ts +24 -0
  163. package/v1/model/ShowSubtitleFileRequest.d.ts.map +1 -0
  164. package/v1/model/ShowSubtitleFileRequest.js +60 -0
  165. package/v1/model/ShowSubtitleFileRequest.js.map +1 -0
  166. package/v1/model/ShowSubtitleFileResponse.d.ts +18 -0
  167. package/v1/model/ShowSubtitleFileResponse.d.ts.map +1 -0
  168. package/v1/model/ShowSubtitleFileResponse.js +41 -0
  169. package/v1/model/ShowSubtitleFileResponse.js.map +1 -0
  170. package/v1/model/ShowWelcomeSpeechResponse.d.ts +7 -0
  171. package/v1/model/ShowWelcomeSpeechResponse.d.ts.map +1 -1
  172. package/v1/model/ShowWelcomeSpeechResponse.js +14 -0
  173. package/v1/model/ShowWelcomeSpeechResponse.js.map +1 -1
  174. package/v1/model/ShowWelcomeSpeechSwitchRequest.d.ts +10 -0
  175. package/v1/model/ShowWelcomeSpeechSwitchRequest.d.ts.map +1 -1
  176. package/v1/model/ShowWelcomeSpeechSwitchRequest.js +14 -1
  177. package/v1/model/ShowWelcomeSpeechSwitchRequest.js.map +1 -1
  178. package/v1/model/SmartChatVoiceConfig.d.ts +30 -0
  179. package/v1/model/SmartChatVoiceConfig.d.ts.map +1 -0
  180. package/v1/model/SmartChatVoiceConfig.js +58 -0
  181. package/v1/model/SmartChatVoiceConfig.js.map +1 -0
  182. package/v1/model/StartSmartChatJobResponse.d.ts +17 -0
  183. package/v1/model/StartSmartChatJobResponse.d.ts.map +1 -1
  184. package/v1/model/StartSmartChatJobResponse.js +30 -1
  185. package/v1/model/StartSmartChatJobResponse.js.map +1 -1
  186. package/v1/model/SubtitleFileDetail.d.ts +33 -0
  187. package/v1/model/SubtitleFileDetail.d.ts.map +1 -0
  188. package/v1/model/SubtitleFileDetail.js +69 -0
  189. package/v1/model/SubtitleFileDetail.js.map +1 -0
  190. package/v1/model/ThirdPartyModelConfig.d.ts +4 -0
  191. package/v1/model/ThirdPartyModelConfig.d.ts.map +1 -1
  192. package/v1/model/ThirdPartyModelConfig.js +10 -0
  193. package/v1/model/ThirdPartyModelConfig.js.map +1 -1
  194. package/v1/model/UpdateHotQuestionResponse.d.ts +3 -0
  195. package/v1/model/UpdateHotQuestionResponse.d.ts.map +1 -1
  196. package/v1/model/UpdateHotQuestionResponse.js +4 -0
  197. package/v1/model/UpdateHotQuestionResponse.js.map +1 -1
  198. package/v1/model/UpdatePacifyWordsReq.d.ts +8 -0
  199. package/v1/model/UpdatePacifyWordsReq.d.ts.map +1 -0
  200. package/v1/model/UpdatePacifyWordsReq.js +20 -0
  201. package/v1/model/UpdatePacifyWordsReq.js.map +1 -0
  202. package/v1/model/UpdatePacifyWordsRequest.d.ts +27 -0
  203. package/v1/model/UpdatePacifyWordsRequest.d.ts.map +1 -0
  204. package/v1/model/UpdatePacifyWordsRequest.js +64 -0
  205. package/v1/model/UpdatePacifyWordsRequest.js.map +1 -0
  206. package/v1/model/UpdatePacifyWordsResponse.d.ts +38 -0
  207. package/v1/model/UpdatePacifyWordsResponse.d.ts.map +1 -0
  208. package/v1/model/UpdatePacifyWordsResponse.js +89 -0
  209. package/v1/model/UpdatePacifyWordsResponse.js.map +1 -0
  210. package/v1/model/UpdatePacifyWordsSwitchReq.d.ts +15 -0
  211. package/v1/model/UpdatePacifyWordsSwitchReq.d.ts.map +1 -0
  212. package/v1/model/UpdatePacifyWordsSwitchReq.js +36 -0
  213. package/v1/model/UpdatePacifyWordsSwitchReq.js.map +1 -0
  214. package/v1/model/UpdatePacifyWordsSwitchRequest.d.ts +23 -0
  215. package/v1/model/UpdatePacifyWordsSwitchRequest.d.ts.map +1 -0
  216. package/v1/model/UpdatePacifyWordsSwitchRequest.js +53 -0
  217. package/v1/model/UpdatePacifyWordsSwitchRequest.js.map +1 -0
  218. package/v1/model/UpdatePacifyWordsSwitchResponse.d.ts +9 -0
  219. package/v1/model/UpdatePacifyWordsSwitchResponse.d.ts.map +1 -0
  220. package/v1/model/UpdatePacifyWordsSwitchResponse.js +21 -0
  221. package/v1/model/UpdatePacifyWordsSwitchResponse.js.map +1 -0
  222. package/v1/model/UpdatePacifyWordsTriggerTimeReq.d.ts +15 -0
  223. package/v1/model/UpdatePacifyWordsTriggerTimeReq.d.ts.map +1 -0
  224. package/v1/model/UpdatePacifyWordsTriggerTimeReq.js +36 -0
  225. package/v1/model/UpdatePacifyWordsTriggerTimeReq.js.map +1 -0
  226. package/v1/model/UpdatePacifyWordsTriggerTimeRequest.d.ts +23 -0
  227. package/v1/model/UpdatePacifyWordsTriggerTimeRequest.d.ts.map +1 -0
  228. package/v1/model/UpdatePacifyWordsTriggerTimeRequest.js +53 -0
  229. package/v1/model/UpdatePacifyWordsTriggerTimeRequest.js.map +1 -0
  230. package/v1/model/UpdatePacifyWordsTriggerTimeResponse.d.ts +9 -0
  231. package/v1/model/UpdatePacifyWordsTriggerTimeResponse.d.ts.map +1 -0
  232. package/v1/model/UpdatePacifyWordsTriggerTimeResponse.js +21 -0
  233. package/v1/model/UpdatePacifyWordsTriggerTimeResponse.js.map +1 -0
  234. package/v1/model/UpdateWelcomeSpeechReq.d.ts +4 -0
  235. package/v1/model/UpdateWelcomeSpeechReq.d.ts.map +1 -1
  236. package/v1/model/UpdateWelcomeSpeechReq.js +10 -0
  237. package/v1/model/UpdateWelcomeSpeechReq.js.map +1 -1
  238. package/v1/model/UpdateWelcomeSpeechResponse.d.ts +7 -0
  239. package/v1/model/UpdateWelcomeSpeechResponse.d.ts.map +1 -1
  240. package/v1/model/UpdateWelcomeSpeechResponse.js +14 -0
  241. package/v1/model/UpdateWelcomeSpeechResponse.js.map +1 -1
  242. package/v1/model/UpdateWelcomeSpeechSwitchReq.d.ts +3 -0
  243. package/v1/model/UpdateWelcomeSpeechSwitchReq.d.ts.map +1 -1
  244. package/v1/model/UpdateWelcomeSpeechSwitchReq.js +4 -0
  245. package/v1/model/UpdateWelcomeSpeechSwitchReq.js.map +1 -1
  246. package/v1/model/VoiceModelAssetMeta.d.ts +3 -0
  247. package/v1/model/VoiceModelAssetMeta.d.ts.map +1 -1
  248. package/v1/model/VoiceModelAssetMeta.js +4 -0
  249. package/v1/model/VoiceModelAssetMeta.js.map +1 -1
  250. package/v1/model/WelcomeSpeechInfo.d.ts +7 -0
  251. package/v1/model/WelcomeSpeechInfo.d.ts.map +1 -1
  252. package/v1/model/WelcomeSpeechInfo.js +14 -0
  253. package/v1/model/WelcomeSpeechInfo.js.map +1 -1
  254. package/v1/public-api.d.ts +39 -0
  255. package/v1/public-api.d.ts.map +1 -1
  256. package/v1/public-api.js +39 -0
  257. package/v1/public-api.js.map +1 -1
@@ -19,6 +19,7 @@ const Create2dModelTrainingJobRequest_1 = require("./model/Create2dModelTraining
19
19
  const CreateActiveCodeRequest_1 = require("./model/CreateActiveCodeRequest");
20
20
  const CreateAgencyWithRoleTypeRequest_1 = require("./model/CreateAgencyWithRoleTypeRequest");
21
21
  const CreateAssetByReplicationInfoRequest_1 = require("./model/CreateAssetByReplicationInfoRequest");
22
+ const CreateAsyncTtsJobRequest_1 = require("./model/CreateAsyncTtsJobRequest");
22
23
  const CreateBatchKnowledgeQuestionRequest_1 = require("./model/CreateBatchKnowledgeQuestionRequest");
23
24
  const CreateBeautyPreviewJobRequest_1 = require("./model/CreateBeautyPreviewJobRequest");
24
25
  const CreateDialogUrlRequest_1 = require("./model/CreateDialogUrlRequest");
@@ -35,6 +36,7 @@ const CreateKnowledgeQuestionRequest_1 = require("./model/CreateKnowledgeQuestio
35
36
  const CreateKnowledgeSkillRequest_1 = require("./model/CreateKnowledgeSkillRequest");
36
37
  const CreateLargeFileRequest_1 = require("./model/CreateLargeFileRequest");
37
38
  const CreateOnceCodeRequest_1 = require("./model/CreateOnceCodeRequest");
39
+ const CreatePacifyWordsRequest_1 = require("./model/CreatePacifyWordsRequest");
38
40
  const CreatePhotoDetectionRequest_1 = require("./model/CreatePhotoDetectionRequest");
39
41
  const CreatePhotoDigitalHumanVideoRequest_1 = require("./model/CreatePhotoDigitalHumanVideoRequest");
40
42
  const CreatePictureModelingByUrlJobRequest_1 = require("./model/CreatePictureModelingByUrlJobRequest");
@@ -43,6 +45,7 @@ const CreateProductRequest_1 = require("./model/CreateProductRequest");
43
45
  const CreateRobotRequest_1 = require("./model/CreateRobotRequest");
44
46
  const CreateSmartChatRoomRequest_1 = require("./model/CreateSmartChatRoomRequest");
45
47
  const CreateSmartLiveRoomRequest_1 = require("./model/CreateSmartLiveRoomRequest");
48
+ const CreateSubtitleFileRequest_1 = require("./model/CreateSubtitleFileRequest");
46
49
  const CreateTrainingAdvanceJobRequest_1 = require("./model/CreateTrainingAdvanceJobRequest");
47
50
  const CreateTrainingBasicJobRequest_1 = require("./model/CreateTrainingBasicJobRequest");
48
51
  const CreateTrainingMiddleJobRequest_1 = require("./model/CreateTrainingMiddleJobRequest");
@@ -63,6 +66,7 @@ const DeleteInteractionRuleGroupRequest_1 = require("./model/DeleteInteractionRu
63
66
  const DeleteKnowledgeIntentRequest_1 = require("./model/DeleteKnowledgeIntentRequest");
64
67
  const DeleteKnowledgeQuestionRequest_1 = require("./model/DeleteKnowledgeQuestionRequest");
65
68
  const DeleteKnowledgeSkillRequest_1 = require("./model/DeleteKnowledgeSkillRequest");
69
+ const DeletePacifyWordsRequest_1 = require("./model/DeletePacifyWordsRequest");
66
70
  const DeleteProductRequest_1 = require("./model/DeleteProductRequest");
67
71
  const DeleteRobotRequest_1 = require("./model/DeleteRobotRequest");
68
72
  const DeleteSmartChatRoomRequest_1 = require("./model/DeleteSmartChatRoomRequest");
@@ -88,6 +92,7 @@ const ListJobOperationLogRequest_1 = require("./model/ListJobOperationLogRequest
88
92
  const ListKnowledgeIntentRequest_1 = require("./model/ListKnowledgeIntentRequest");
89
93
  const ListKnowledgeQuestionRequest_1 = require("./model/ListKnowledgeQuestionRequest");
90
94
  const ListKnowledgeSkillRequest_1 = require("./model/ListKnowledgeSkillRequest");
95
+ const ListPacifyWordsRequest_1 = require("./model/ListPacifyWordsRequest");
91
96
  const ListPictureModelingJobsRequest_1 = require("./model/ListPictureModelingJobsRequest");
92
97
  const ListProductsRequest_1 = require("./model/ListProductsRequest");
93
98
  const ListRobotRequest_1 = require("./model/ListRobotRequest");
@@ -113,6 +118,7 @@ const ShowActiveCodeRequest_1 = require("./model/ShowActiveCodeRequest");
113
118
  const ShowAgencyRequest_1 = require("./model/ShowAgencyRequest");
114
119
  const ShowAssetReplicationInfoRequest_1 = require("./model/ShowAssetReplicationInfoRequest");
115
120
  const ShowAssetRequest_1 = require("./model/ShowAssetRequest");
121
+ const ShowAsyncTtsJobRequest_1 = require("./model/ShowAsyncTtsJobRequest");
116
122
  const ShowBeautyPreviewJobRequest_1 = require("./model/ShowBeautyPreviewJobRequest");
117
123
  const ShowDigitalHumanBusinessCardRequest_1 = require("./model/ShowDigitalHumanBusinessCardRequest");
118
124
  const ShowHotQuestionRequest_1 = require("./model/ShowHotQuestionRequest");
@@ -123,6 +129,10 @@ const ShowJobUploadingAddressRequest_1 = require("./model/ShowJobUploadingAddres
123
129
  const ShowKnowledgeIntentRequest_1 = require("./model/ShowKnowledgeIntentRequest");
124
130
  const ShowKnowledgeQuestionRequest_1 = require("./model/ShowKnowledgeQuestionRequest");
125
131
  const ShowKnowledgeSkillRequest_1 = require("./model/ShowKnowledgeSkillRequest");
132
+ const ShowPacifyWordsIntentRequest_1 = require("./model/ShowPacifyWordsIntentRequest");
133
+ const ShowPacifyWordsRequest_1 = require("./model/ShowPacifyWordsRequest");
134
+ const ShowPacifyWordsSwitchRequest_1 = require("./model/ShowPacifyWordsSwitchRequest");
135
+ const ShowPacifyWordsTriggerTimeRequest_1 = require("./model/ShowPacifyWordsTriggerTimeRequest");
126
136
  const ShowPhotoDetectionRequest_1 = require("./model/ShowPhotoDetectionRequest");
127
137
  const ShowPhotoDigitalHumanVideoRequest_1 = require("./model/ShowPhotoDigitalHumanVideoRequest");
128
138
  const ShowPictureModelingJobRequest_1 = require("./model/ShowPictureModelingJobRequest");
@@ -133,6 +143,7 @@ const ShowSmartChatJobRequest_1 = require("./model/ShowSmartChatJobRequest");
133
143
  const ShowSmartChatRoomRequest_1 = require("./model/ShowSmartChatRoomRequest");
134
144
  const ShowSmartLiveRequest_1 = require("./model/ShowSmartLiveRequest");
135
145
  const ShowSmartLiveRoomRequest_1 = require("./model/ShowSmartLiveRoomRequest");
146
+ const ShowSubtitleFileRequest_1 = require("./model/ShowSubtitleFileRequest");
136
147
  const ShowTrainingSegmentInfoRequest_1 = require("./model/ShowTrainingSegmentInfoRequest");
137
148
  const ShowTtsAuditionFileRequest_1 = require("./model/ShowTtsAuditionFileRequest");
138
149
  const ShowVideoMotionCaptureJobRequest_1 = require("./model/ShowVideoMotionCaptureJobRequest");
@@ -158,6 +169,9 @@ const UpdateInteractionRuleGroupRequest_1 = require("./model/UpdateInteractionRu
158
169
  const UpdateKnowledgeIntentRequest_1 = require("./model/UpdateKnowledgeIntentRequest");
159
170
  const UpdateKnowledgeQuestionRequest_1 = require("./model/UpdateKnowledgeQuestionRequest");
160
171
  const UpdateKnowledgeSkillRequest_1 = require("./model/UpdateKnowledgeSkillRequest");
172
+ const UpdatePacifyWordsRequest_1 = require("./model/UpdatePacifyWordsRequest");
173
+ const UpdatePacifyWordsSwitchRequest_1 = require("./model/UpdatePacifyWordsSwitchRequest");
174
+ const UpdatePacifyWordsTriggerTimeRequest_1 = require("./model/UpdatePacifyWordsTriggerTimeRequest");
161
175
  const UpdateProductRequest_1 = require("./model/UpdateProductRequest");
162
176
  const UpdateRobotRequest_1 = require("./model/UpdateRobotRequest");
163
177
  const UpdateSmartChatRoomRequest_1 = require("./model/UpdateSmartChatRoomRequest");
@@ -434,7 +448,7 @@ class MetaStudioClient {
434
448
  * Please refer to HUAWEI cloud API Explorer for details.
435
449
  *
436
450
  * @summary 查询数字人智能交互任务
437
- * @param {string} roomId 智能交互对话ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)
451
+ * @param {string} roomId 智能交互对话ID,获取方法请参考[创建智能交互对话直播间](CreateSmartChatRoom.xml)。
438
452
  * @param {string} jobId 任务ID。
439
453
  * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
440
454
  * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
@@ -455,8 +469,8 @@ class MetaStudioClient {
455
469
  * Please refer to HUAWEI cloud API Explorer for details.
456
470
  *
457
471
  * @summary 启动数字人智能交互任务
458
- * @param {string} roomId 智能交互对话ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)
459
- * @param {string} robotId 应用ID,获取方法请参考[[创建应用](https://support.huaweicloud.com/api-metastudio/CreateRobot.html)](tag:hc,hk)[“创建应用”](tag:cmcc)
472
+ * @param {string} roomId 智能交互对话ID,获取方法请参考[创建智能交互对话直播间](CreateSmartChatRoom.xml)。
473
+ * @param {string} robotId 应用ID,获取方法请参考[创建应用](CreateRobot.xml)。
460
474
  * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
461
475
  * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
462
476
  * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
@@ -477,7 +491,7 @@ class MetaStudioClient {
477
491
  * Please refer to HUAWEI cloud API Explorer for details.
478
492
  *
479
493
  * @summary 结束数字人智能交互任务
480
- * @param {string} roomId 智能交互对话ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)
494
+ * @param {string} roomId 智能交互对话ID,获取方法请参考[创建智能交互对话直播间](CreateSmartChatRoom.xml)。
481
495
  * @param {string} jobId 任务ID。
482
496
  * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
483
497
  * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
@@ -1148,6 +1162,7 @@ class MetaStudioClient {
1148
1162
  * @param {number} [offset] 偏移量,表示从此偏移量开始查询。
1149
1163
  * @param {number} [limit] 每页显示的条目数量。
1150
1164
  * @param {string} [sortDir] 排序方式。 * asc:升序 * desc:降序 默认asc升序。
1165
+ * @param {'CN' | 'EN'} [language] 智能交互语言 * CN:中文 * EN:英文
1151
1166
  * @param {*} [options] Override http request option.
1152
1167
  * @throws {RequiredError}
1153
1168
  */
@@ -1252,7 +1267,7 @@ class MetaStudioClient {
1252
1267
  * @param {number} [offset] 偏移量,表示从此偏移量开始查询。
1253
1268
  * @param {number} [limit] 每页显示的条目数量。
1254
1269
  * @param {number} [region] sis服务所在区域
1255
- * @param {'zh_CN' | 'en_US'} [language] 智能交互语言 * zh_CN:简体中文 * en_US:英语
1270
+ * @param {'zh_CN' | 'en_US' | 'CN' | 'EN'} [language] 智能交互语言 * zh_CN:简体中文(已下线,请使用CN) * en_US:英语(已下线,请使用EN) * CN: 中文 * EN: 英文
1256
1271
  * @param {*} [options] Override http request option.
1257
1272
  * @throws {RequiredError}
1258
1273
  */
@@ -1752,6 +1767,214 @@ class MetaStudioClient {
1752
1767
  options['responseHeaders'] = ['X-Request-Id'];
1753
1768
  return this.hcClient.sendRequest(options);
1754
1769
  }
1770
+ /**
1771
+ * 该接口用于创建安抚话术。
1772
+ *
1773
+ * Please refer to HUAWEI cloud API Explorer for details.
1774
+ *
1775
+ * @summary 创建安抚话术
1776
+ * @param {CreatePacifyWordsReq} createPacifyWordsRequestBody 创建安抚话术请求。
1777
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
1778
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
1779
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
1780
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
1781
+ * @param {*} [options] Override http request option.
1782
+ * @throws {RequiredError}
1783
+ */
1784
+ createPacifyWords(createPacifyWordsRequest) {
1785
+ const options = (0, exports.ParamCreater)().createPacifyWords(createPacifyWordsRequest);
1786
+ // @ts-ignore
1787
+ options['responseHeaders'] = ['X-Request-Id'];
1788
+ return this.hcClient.sendRequest(options);
1789
+ }
1790
+ /**
1791
+ * 该接口用于删除安抚话术。
1792
+ *
1793
+ * Please refer to HUAWEI cloud API Explorer for details.
1794
+ *
1795
+ * @summary 删除安抚话术
1796
+ * @param {string} pacifyWordsId 安抚话术ID。
1797
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
1798
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
1799
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
1800
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
1801
+ * @param {*} [options] Override http request option.
1802
+ * @throws {RequiredError}
1803
+ */
1804
+ deletePacifyWords(deletePacifyWordsRequest) {
1805
+ const options = (0, exports.ParamCreater)().deletePacifyWords(deletePacifyWordsRequest);
1806
+ // @ts-ignore
1807
+ options['responseHeaders'] = ['X-Request-Id'];
1808
+ return this.hcClient.sendRequest(options);
1809
+ }
1810
+ /**
1811
+ * 该接口用于查询安抚话术列表。
1812
+ *
1813
+ * Please refer to HUAWEI cloud API Explorer for details.
1814
+ *
1815
+ * @summary 查询安抚话术列表
1816
+ * @param {string} robotId 应用ID。
1817
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
1818
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
1819
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
1820
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
1821
+ * @param {number} [offset] 偏移量,表示从此偏移量开始查询。
1822
+ * @param {number} [limit] 每页显示的条目数量。
1823
+ * @param {'CN' | 'EN'} [language] 智能交互语言 * CN:中文 * EN:英文
1824
+ * @param {number} [pacifyWordsType] 安抚话术类型 > 0:通用安抚话术, 1:基于意图匹配安抚话术
1825
+ * @param {string} [intent] 安抚话术意图
1826
+ * @param {*} [options] Override http request option.
1827
+ * @throws {RequiredError}
1828
+ */
1829
+ listPacifyWords(listPacifyWordsRequest) {
1830
+ const options = (0, exports.ParamCreater)().listPacifyWords(listPacifyWordsRequest);
1831
+ // @ts-ignore
1832
+ options['responseHeaders'] = ['X-Request-Id'];
1833
+ return this.hcClient.sendRequest(options);
1834
+ }
1835
+ /**
1836
+ * 该接口用于查询安抚话术详情。
1837
+ *
1838
+ * Please refer to HUAWEI cloud API Explorer for details.
1839
+ *
1840
+ * @summary 查询安抚话术详情
1841
+ * @param {string} pacifyWordsId 安抚话术ID。
1842
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
1843
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
1844
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
1845
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
1846
+ * @param {*} [options] Override http request option.
1847
+ * @throws {RequiredError}
1848
+ */
1849
+ showPacifyWords(showPacifyWordsRequest) {
1850
+ const options = (0, exports.ParamCreater)().showPacifyWords(showPacifyWordsRequest);
1851
+ // @ts-ignore
1852
+ options['responseHeaders'] = ['X-Request-Id'];
1853
+ return this.hcClient.sendRequest(options);
1854
+ }
1855
+ /**
1856
+ * 该接口用于查询安抚话术意图。
1857
+ *
1858
+ * Please refer to HUAWEI cloud API Explorer for details.
1859
+ *
1860
+ * @summary 查询安抚话术意图
1861
+ * @param {string} robotId 应用ID。
1862
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
1863
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
1864
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
1865
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
1866
+ * @param {*} [options] Override http request option.
1867
+ * @throws {RequiredError}
1868
+ */
1869
+ showPacifyWordsIntent(showPacifyWordsIntentRequest) {
1870
+ const options = (0, exports.ParamCreater)().showPacifyWordsIntent(showPacifyWordsIntentRequest);
1871
+ // @ts-ignore
1872
+ options['responseHeaders'] = ['X-Request-Id'];
1873
+ return this.hcClient.sendRequest(options);
1874
+ }
1875
+ /**
1876
+ * 该接口用于查询安抚话术功能开关。
1877
+ *
1878
+ * Please refer to HUAWEI cloud API Explorer for details.
1879
+ *
1880
+ * @summary 查询安抚话术功能开关
1881
+ * @param {string} robotId 应用ID。
1882
+ * @param {'CN' | 'EN'} language 智能交互语言 * CN:中文 * EN:英文
1883
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
1884
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
1885
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
1886
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
1887
+ * @param {*} [options] Override http request option.
1888
+ * @throws {RequiredError}
1889
+ */
1890
+ showPacifyWordsSwitch(showPacifyWordsSwitchRequest) {
1891
+ const options = (0, exports.ParamCreater)().showPacifyWordsSwitch(showPacifyWordsSwitchRequest);
1892
+ // @ts-ignore
1893
+ options['responseHeaders'] = ['X-Request-Id'];
1894
+ return this.hcClient.sendRequest(options);
1895
+ }
1896
+ /**
1897
+ * 该接口用于查询等待触发时长。
1898
+ *
1899
+ * Please refer to HUAWEI cloud API Explorer for details.
1900
+ *
1901
+ * @summary 查询安抚话术等待触发时长
1902
+ * @param {string} robotId 应用ID。
1903
+ * @param {'CN' | 'EN'} language 智能交互语言 * CN:中文 * EN:英文
1904
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
1905
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
1906
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
1907
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
1908
+ * @param {*} [options] Override http request option.
1909
+ * @throws {RequiredError}
1910
+ */
1911
+ showPacifyWordsTriggerTime(showPacifyWordsTriggerTimeRequest) {
1912
+ const options = (0, exports.ParamCreater)().showPacifyWordsTriggerTime(showPacifyWordsTriggerTimeRequest);
1913
+ // @ts-ignore
1914
+ options['responseHeaders'] = ['X-Request-Id'];
1915
+ return this.hcClient.sendRequest(options);
1916
+ }
1917
+ /**
1918
+ * 该接口用于修改安抚话术。
1919
+ *
1920
+ * Please refer to HUAWEI cloud API Explorer for details.
1921
+ *
1922
+ * @summary 修改安抚话术
1923
+ * @param {string} pacifyWordsId 安抚话术ID。
1924
+ * @param {UpdatePacifyWordsReq} updatePacifyWordsRequestBody 修改安抚话术请求。
1925
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
1926
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
1927
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
1928
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
1929
+ * @param {*} [options] Override http request option.
1930
+ * @throws {RequiredError}
1931
+ */
1932
+ updatePacifyWords(updatePacifyWordsRequest) {
1933
+ const options = (0, exports.ParamCreater)().updatePacifyWords(updatePacifyWordsRequest);
1934
+ // @ts-ignore
1935
+ options['responseHeaders'] = ['X-Request-Id'];
1936
+ return this.hcClient.sendRequest(options);
1937
+ }
1938
+ /**
1939
+ * 该接口用于修改安抚话术功能开关。
1940
+ *
1941
+ * Please refer to HUAWEI cloud API Explorer for details.
1942
+ *
1943
+ * @summary 修改安抚话术功能开关
1944
+ * @param {UpdatePacifyWordsSwitchReq} updatePacifyWordsSwitchRequestBody 修改安抚话术功能开关请求。
1945
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
1946
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
1947
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
1948
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
1949
+ * @param {*} [options] Override http request option.
1950
+ * @throws {RequiredError}
1951
+ */
1952
+ updatePacifyWordsSwitch(updatePacifyWordsSwitchRequest) {
1953
+ const options = (0, exports.ParamCreater)().updatePacifyWordsSwitch(updatePacifyWordsSwitchRequest);
1954
+ // @ts-ignore
1955
+ options['responseHeaders'] = ['X-Request-Id'];
1956
+ return this.hcClient.sendRequest(options);
1957
+ }
1958
+ /**
1959
+ * 该接口用于修改安抚话术等待触发时长。
1960
+ *
1961
+ * Please refer to HUAWEI cloud API Explorer for details.
1962
+ *
1963
+ * @summary 修改安抚话术等待触发时长
1964
+ * @param {UpdatePacifyWordsTriggerTimeReq} updatePacifyWordsTriggerTimeRequestBody 修改安抚话术等待触发时长。
1965
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
1966
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
1967
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
1968
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
1969
+ * @param {*} [options] Override http request option.
1970
+ * @throws {RequiredError}
1971
+ */
1972
+ updatePacifyWordsTriggerTime(updatePacifyWordsTriggerTimeRequest) {
1973
+ const options = (0, exports.ParamCreater)().updatePacifyWordsTriggerTime(updatePacifyWordsTriggerTimeRequest);
1974
+ // @ts-ignore
1975
+ options['responseHeaders'] = ['X-Request-Id'];
1976
+ return this.hcClient.sendRequest(options);
1977
+ }
1755
1978
  /**
1756
1979
  * 该接口用于从URL中获取图片进行照片建模任务。
1757
1980
  *
@@ -2586,6 +2809,46 @@ class MetaStudioClient {
2586
2809
  options['responseHeaders'] = ['X-Request-Id'];
2587
2810
  return this.hcClient.sendRequest(options);
2588
2811
  }
2812
+ /**
2813
+ * 该接口用于创建分身数字人视频字幕文件任务。
2814
+ *
2815
+ * Please refer to HUAWEI cloud API Explorer for details.
2816
+ *
2817
+ * @summary 创建分身数字人视频字幕文件
2818
+ * @param {CreateSubtitleFileReq} createSubtitleFileRequestBody 分身数字人字幕文件生成请求。
2819
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
2820
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
2821
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
2822
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
2823
+ * @param {*} [options] Override http request option.
2824
+ * @throws {RequiredError}
2825
+ */
2826
+ createSubtitleFile(createSubtitleFileRequest) {
2827
+ const options = (0, exports.ParamCreater)().createSubtitleFile(createSubtitleFileRequest);
2828
+ // @ts-ignore
2829
+ options['responseHeaders'] = ['X-Request-Id'];
2830
+ return this.hcClient.sendRequest(options);
2831
+ }
2832
+ /**
2833
+ * 该接口用于查询分身数字人视频字幕文件任务详情。
2834
+ *
2835
+ * Please refer to HUAWEI cloud API Explorer for details.
2836
+ *
2837
+ * @summary 查询分身数字人视频字幕文件任务详情
2838
+ * @param {string} jobId 任务ID。
2839
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
2840
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
2841
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
2842
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
2843
+ * @param {*} [options] Override http request option.
2844
+ * @throws {RequiredError}
2845
+ */
2846
+ showSubtitleFile(showSubtitleFileRequest) {
2847
+ const options = (0, exports.ParamCreater)().showSubtitleFile(showSubtitleFileRequest);
2848
+ // @ts-ignore
2849
+ options['responseHeaders'] = ['X-Request-Id'];
2850
+ return this.hcClient.sendRequest(options);
2851
+ }
2589
2852
  /**
2590
2853
  * 统计指定时间段内即将过期的包周期与一次性资源数量。
2591
2854
  *
@@ -3132,6 +3395,26 @@ class MetaStudioClient {
3132
3395
  options['responseHeaders'] = ['X-Request-Id'];
3133
3396
  return this.hcClient.sendRequest(options);
3134
3397
  }
3398
+ /**
3399
+ * 该接口用于对外生成音频文件
3400
+ *
3401
+ * Please refer to HUAWEI cloud API Explorer for details.
3402
+ *
3403
+ * @summary 创建TTS语音异步任务
3404
+ * @param {CreateAsyncTtsJobRequestBody} createAsyncTtsJobRequestBody 创建文本转音频文件请求。
3405
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
3406
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
3407
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
3408
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
3409
+ * @param {*} [options] Override http request option.
3410
+ * @throws {RequiredError}
3411
+ */
3412
+ createAsyncTtsJob(createAsyncTtsJobRequest) {
3413
+ const options = (0, exports.ParamCreater)().createAsyncTtsJob(createAsyncTtsJobRequest);
3414
+ // @ts-ignore
3415
+ options['responseHeaders'] = [''];
3416
+ return this.hcClient.sendRequest(options);
3417
+ }
3135
3418
  /**
3136
3419
  * 该接口用于创建生成播报内容的语音试听文件任务。
3137
3420
  *
@@ -3157,6 +3440,26 @@ class MetaStudioClient {
3157
3440
  options['responseHeaders'] = [''];
3158
3441
  return this.hcClient.sendRequest(options);
3159
3442
  }
3443
+ /**
3444
+ * 该接口用于获取TTS音频文件下载链接。
3445
+ *
3446
+ * Please refer to HUAWEI cloud API Explorer for details.
3447
+ *
3448
+ * @summary 获取音频语音文件
3449
+ * @param {string} jobId 任务ID。
3450
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
3451
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
3452
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
3453
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
3454
+ * @param {*} [options] Override http request option.
3455
+ * @throws {RequiredError}
3456
+ */
3457
+ showAsyncTtsJob(showAsyncTtsJobRequest) {
3458
+ const options = (0, exports.ParamCreater)().showAsyncTtsJob(showAsyncTtsJobRequest);
3459
+ // @ts-ignore
3460
+ options['responseHeaders'] = [''];
3461
+ return this.hcClient.sendRequest(options);
3462
+ }
3160
3463
  /**
3161
3464
  * 该接口用于获取TTS试听文件下载链接,返回List中包含当前已生产的试听文件。
3162
3465
  *
@@ -3459,6 +3762,7 @@ class MetaStudioClient {
3459
3762
  * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
3460
3763
  * @param {number} [offset] 偏移量,表示从此偏移量开始查询。
3461
3764
  * @param {number} [limit] 每页显示的条目数量。
3765
+ * @param {'CN' | 'EN'} [language] 智能交互语言 * CN:中文 * EN:英文
3462
3766
  * @param {*} [options] Override http request option.
3463
3767
  * @throws {RequiredError}
3464
3768
  */
@@ -3499,6 +3803,7 @@ class MetaStudioClient {
3499
3803
  * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
3500
3804
  * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
3501
3805
  * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
3806
+ * @param {'CN' | 'EN'} [language] 智能交互语言 * CN:中文 * EN:英文
3502
3807
  * @param {*} [options] Override http request option.
3503
3808
  * @throws {RequiredError}
3504
3809
  */
@@ -6375,6 +6680,7 @@ const ParamCreater = function () {
6375
6680
  let offset;
6376
6681
  let limit;
6377
6682
  let sortDir;
6683
+ let language;
6378
6684
  if (listHotQuestionRequest !== null && listHotQuestionRequest !== undefined) {
6379
6685
  if (listHotQuestionRequest instanceof ListHotQuestionRequest_1.ListHotQuestionRequest) {
6380
6686
  robotId = listHotQuestionRequest.robotId;
@@ -6385,6 +6691,7 @@ const ParamCreater = function () {
6385
6691
  offset = listHotQuestionRequest.offset;
6386
6692
  limit = listHotQuestionRequest.limit;
6387
6693
  sortDir = listHotQuestionRequest.sortDir;
6694
+ language = listHotQuestionRequest.language;
6388
6695
  }
6389
6696
  else {
6390
6697
  robotId = listHotQuestionRequest['robot_id'];
@@ -6395,6 +6702,7 @@ const ParamCreater = function () {
6395
6702
  offset = listHotQuestionRequest['offset'];
6396
6703
  limit = listHotQuestionRequest['limit'];
6397
6704
  sortDir = listHotQuestionRequest['sort_dir'];
6705
+ language = listHotQuestionRequest['language'];
6398
6706
  }
6399
6707
  }
6400
6708
  if (robotId === null || robotId === undefined) {
@@ -6412,6 +6720,9 @@ const ParamCreater = function () {
6412
6720
  if (sortDir !== null && sortDir !== undefined) {
6413
6721
  localVarQueryParameter['sort_dir'] = sortDir;
6414
6722
  }
6723
+ if (language !== null && language !== undefined) {
6724
+ localVarQueryParameter['language'] = language;
6725
+ }
6415
6726
  if (authorization !== undefined && authorization !== null) {
6416
6727
  localVarHeaderParameter['Authorization'] = String(authorization);
6417
6728
  }
@@ -8167,14 +8478,14 @@ const ParamCreater = function () {
8167
8478
  return options;
8168
8479
  },
8169
8480
  /**
8170
- * 该接口用于从URL中获取图片进行照片建模任务。
8481
+ * 该接口用于创建安抚话术。
8171
8482
  *
8172
8483
  * Please refer to HUAWEI cloud API Explorer for details.
8173
8484
  */
8174
- createPictureModelingByUrlJob(createPictureModelingByUrlJobRequest) {
8485
+ createPacifyWords(createPacifyWordsRequest) {
8175
8486
  const options = {
8176
8487
  method: "POST",
8177
- url: "/v1/{project_id}/digital-human/stylized/picture-modelings-by-url",
8488
+ url: "/v1/{project_id}/digital-human-chat/pacify-words",
8178
8489
  contentType: "application/json",
8179
8490
  queryParams: {},
8180
8491
  pathParams: {},
@@ -8187,20 +8498,20 @@ const ParamCreater = function () {
8187
8498
  let xSdkDate;
8188
8499
  let xProjectId;
8189
8500
  let xAppUserId;
8190
- if (createPictureModelingByUrlJobRequest !== null && createPictureModelingByUrlJobRequest !== undefined) {
8191
- if (createPictureModelingByUrlJobRequest instanceof CreatePictureModelingByUrlJobRequest_1.CreatePictureModelingByUrlJobRequest) {
8192
- body = createPictureModelingByUrlJobRequest.body;
8193
- authorization = createPictureModelingByUrlJobRequest.authorization;
8194
- xSdkDate = createPictureModelingByUrlJobRequest.xSdkDate;
8195
- xProjectId = createPictureModelingByUrlJobRequest.xProjectId;
8196
- xAppUserId = createPictureModelingByUrlJobRequest.xAppUserId;
8501
+ if (createPacifyWordsRequest !== null && createPacifyWordsRequest !== undefined) {
8502
+ if (createPacifyWordsRequest instanceof CreatePacifyWordsRequest_1.CreatePacifyWordsRequest) {
8503
+ body = createPacifyWordsRequest.body;
8504
+ authorization = createPacifyWordsRequest.authorization;
8505
+ xSdkDate = createPacifyWordsRequest.xSdkDate;
8506
+ xProjectId = createPacifyWordsRequest.xProjectId;
8507
+ xAppUserId = createPacifyWordsRequest.xAppUserId;
8197
8508
  }
8198
8509
  else {
8199
- body = createPictureModelingByUrlJobRequest['body'];
8200
- authorization = createPictureModelingByUrlJobRequest['Authorization'];
8201
- xSdkDate = createPictureModelingByUrlJobRequest['X-Sdk-Date'];
8202
- xProjectId = createPictureModelingByUrlJobRequest['X-Project-Id'];
8203
- xAppUserId = createPictureModelingByUrlJobRequest['X-App-UserId'];
8510
+ body = createPacifyWordsRequest['body'];
8511
+ authorization = createPacifyWordsRequest['Authorization'];
8512
+ xSdkDate = createPacifyWordsRequest['X-Sdk-Date'];
8513
+ xProjectId = createPacifyWordsRequest['X-Project-Id'];
8514
+ xAppUserId = createPacifyWordsRequest['X-App-UserId'];
8204
8515
  }
8205
8516
  }
8206
8517
  if (body === null || body === undefined) {
@@ -8224,34 +8535,663 @@ const ParamCreater = function () {
8224
8535
  return options;
8225
8536
  },
8226
8537
  /**
8227
- * 该接口用于创建风格化照片建模任务。通过上传照片,生成风格化数字人模型。
8538
+ * 该接口用于删除安抚话术。
8228
8539
  *
8229
8540
  * Please refer to HUAWEI cloud API Explorer for details.
8230
8541
  */
8231
- createPictureModelingJob(createPictureModelingJobRequest) {
8232
- var _a, _b, _c, _d;
8542
+ deletePacifyWords(deletePacifyWordsRequest) {
8233
8543
  const options = {
8234
- method: "POST",
8235
- url: "/v1/{project_id}/digital-human/stylized/picture-modelings",
8236
- contentType: "multipart/form-data",
8544
+ method: "DELETE",
8545
+ url: "/v1/{project_id}/digital-human-chat/pacify-words/{pacify_words_id}",
8546
+ contentType: "application/json",
8237
8547
  queryParams: {},
8238
8548
  pathParams: {},
8239
- headers: {},
8240
- data: {}
8549
+ headers: {}
8241
8550
  };
8242
8551
  const localVarHeaderParameter = {};
8243
- const localVarFormParams = new form_data_1.default();
8244
- let file;
8245
- let styleId;
8246
- let name;
8552
+ let pacifyWordsId;
8247
8553
  let authorization;
8248
8554
  let xSdkDate;
8249
8555
  let xProjectId;
8250
8556
  let xAppUserId;
8251
- let notifyUrl;
8252
- if (createPictureModelingJobRequest !== null && createPictureModelingJobRequest !== undefined) {
8253
- if (createPictureModelingJobRequest instanceof CreatePictureModelingJobRequest_1.CreatePictureModelingJobRequest) {
8254
- file = (_a = createPictureModelingJobRequest.body) === null || _a === void 0 ? void 0 : _a.file;
8557
+ if (deletePacifyWordsRequest !== null && deletePacifyWordsRequest !== undefined) {
8558
+ if (deletePacifyWordsRequest instanceof DeletePacifyWordsRequest_1.DeletePacifyWordsRequest) {
8559
+ pacifyWordsId = deletePacifyWordsRequest.pacifyWordsId;
8560
+ authorization = deletePacifyWordsRequest.authorization;
8561
+ xSdkDate = deletePacifyWordsRequest.xSdkDate;
8562
+ xProjectId = deletePacifyWordsRequest.xProjectId;
8563
+ xAppUserId = deletePacifyWordsRequest.xAppUserId;
8564
+ }
8565
+ else {
8566
+ pacifyWordsId = deletePacifyWordsRequest['pacify_words_id'];
8567
+ authorization = deletePacifyWordsRequest['Authorization'];
8568
+ xSdkDate = deletePacifyWordsRequest['X-Sdk-Date'];
8569
+ xProjectId = deletePacifyWordsRequest['X-Project-Id'];
8570
+ xAppUserId = deletePacifyWordsRequest['X-App-UserId'];
8571
+ }
8572
+ }
8573
+ if (pacifyWordsId === null || pacifyWordsId === undefined) {
8574
+ throw new RequiredError('pacifyWordsId', 'Required parameter pacifyWordsId was null or undefined when calling deletePacifyWords.');
8575
+ }
8576
+ if (authorization !== undefined && authorization !== null) {
8577
+ localVarHeaderParameter['Authorization'] = String(authorization);
8578
+ }
8579
+ if (xSdkDate !== undefined && xSdkDate !== null) {
8580
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
8581
+ }
8582
+ if (xProjectId !== undefined && xProjectId !== null) {
8583
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
8584
+ }
8585
+ if (xAppUserId !== undefined && xAppUserId !== null) {
8586
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
8587
+ }
8588
+ options.pathParams = { 'pacify_words_id': pacifyWordsId, };
8589
+ options.headers = localVarHeaderParameter;
8590
+ return options;
8591
+ },
8592
+ /**
8593
+ * 该接口用于查询安抚话术列表。
8594
+ *
8595
+ * Please refer to HUAWEI cloud API Explorer for details.
8596
+ */
8597
+ listPacifyWords(listPacifyWordsRequest) {
8598
+ const options = {
8599
+ method: "GET",
8600
+ url: "/v1/{project_id}/digital-human-chat/pacify-words",
8601
+ contentType: "application/json",
8602
+ queryParams: {},
8603
+ pathParams: {},
8604
+ headers: {}
8605
+ };
8606
+ const localVarHeaderParameter = {};
8607
+ const localVarQueryParameter = {};
8608
+ let robotId;
8609
+ let authorization;
8610
+ let xSdkDate;
8611
+ let xProjectId;
8612
+ let xAppUserId;
8613
+ let offset;
8614
+ let limit;
8615
+ let language;
8616
+ let pacifyWordsType;
8617
+ let intent;
8618
+ if (listPacifyWordsRequest !== null && listPacifyWordsRequest !== undefined) {
8619
+ if (listPacifyWordsRequest instanceof ListPacifyWordsRequest_1.ListPacifyWordsRequest) {
8620
+ robotId = listPacifyWordsRequest.robotId;
8621
+ authorization = listPacifyWordsRequest.authorization;
8622
+ xSdkDate = listPacifyWordsRequest.xSdkDate;
8623
+ xProjectId = listPacifyWordsRequest.xProjectId;
8624
+ xAppUserId = listPacifyWordsRequest.xAppUserId;
8625
+ offset = listPacifyWordsRequest.offset;
8626
+ limit = listPacifyWordsRequest.limit;
8627
+ language = listPacifyWordsRequest.language;
8628
+ pacifyWordsType = listPacifyWordsRequest.pacifyWordsType;
8629
+ intent = listPacifyWordsRequest.intent;
8630
+ }
8631
+ else {
8632
+ robotId = listPacifyWordsRequest['robot_id'];
8633
+ authorization = listPacifyWordsRequest['Authorization'];
8634
+ xSdkDate = listPacifyWordsRequest['X-Sdk-Date'];
8635
+ xProjectId = listPacifyWordsRequest['X-Project-Id'];
8636
+ xAppUserId = listPacifyWordsRequest['X-App-UserId'];
8637
+ offset = listPacifyWordsRequest['offset'];
8638
+ limit = listPacifyWordsRequest['limit'];
8639
+ language = listPacifyWordsRequest['language'];
8640
+ pacifyWordsType = listPacifyWordsRequest['pacify_words_type'];
8641
+ intent = listPacifyWordsRequest['intent'];
8642
+ }
8643
+ }
8644
+ if (robotId === null || robotId === undefined) {
8645
+ throw new RequiredError('robotId', 'Required parameter robotId was null or undefined when calling listPacifyWords.');
8646
+ }
8647
+ if (robotId !== null && robotId !== undefined) {
8648
+ localVarQueryParameter['robot_id'] = robotId;
8649
+ }
8650
+ if (offset !== null && offset !== undefined) {
8651
+ localVarQueryParameter['offset'] = offset;
8652
+ }
8653
+ if (limit !== null && limit !== undefined) {
8654
+ localVarQueryParameter['limit'] = limit;
8655
+ }
8656
+ if (language !== null && language !== undefined) {
8657
+ localVarQueryParameter['language'] = language;
8658
+ }
8659
+ if (pacifyWordsType !== null && pacifyWordsType !== undefined) {
8660
+ localVarQueryParameter['pacify_words_type'] = pacifyWordsType;
8661
+ }
8662
+ if (intent !== null && intent !== undefined) {
8663
+ localVarQueryParameter['intent'] = intent;
8664
+ }
8665
+ if (authorization !== undefined && authorization !== null) {
8666
+ localVarHeaderParameter['Authorization'] = String(authorization);
8667
+ }
8668
+ if (xSdkDate !== undefined && xSdkDate !== null) {
8669
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
8670
+ }
8671
+ if (xProjectId !== undefined && xProjectId !== null) {
8672
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
8673
+ }
8674
+ if (xAppUserId !== undefined && xAppUserId !== null) {
8675
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
8676
+ }
8677
+ options.queryParams = localVarQueryParameter;
8678
+ options.headers = localVarHeaderParameter;
8679
+ return options;
8680
+ },
8681
+ /**
8682
+ * 该接口用于查询安抚话术详情。
8683
+ *
8684
+ * Please refer to HUAWEI cloud API Explorer for details.
8685
+ */
8686
+ showPacifyWords(showPacifyWordsRequest) {
8687
+ const options = {
8688
+ method: "GET",
8689
+ url: "/v1/{project_id}/digital-human-chat/pacify-words/{pacify_words_id}",
8690
+ contentType: "application/json",
8691
+ queryParams: {},
8692
+ pathParams: {},
8693
+ headers: {}
8694
+ };
8695
+ const localVarHeaderParameter = {};
8696
+ let pacifyWordsId;
8697
+ let authorization;
8698
+ let xSdkDate;
8699
+ let xProjectId;
8700
+ let xAppUserId;
8701
+ if (showPacifyWordsRequest !== null && showPacifyWordsRequest !== undefined) {
8702
+ if (showPacifyWordsRequest instanceof ShowPacifyWordsRequest_1.ShowPacifyWordsRequest) {
8703
+ pacifyWordsId = showPacifyWordsRequest.pacifyWordsId;
8704
+ authorization = showPacifyWordsRequest.authorization;
8705
+ xSdkDate = showPacifyWordsRequest.xSdkDate;
8706
+ xProjectId = showPacifyWordsRequest.xProjectId;
8707
+ xAppUserId = showPacifyWordsRequest.xAppUserId;
8708
+ }
8709
+ else {
8710
+ pacifyWordsId = showPacifyWordsRequest['pacify_words_id'];
8711
+ authorization = showPacifyWordsRequest['Authorization'];
8712
+ xSdkDate = showPacifyWordsRequest['X-Sdk-Date'];
8713
+ xProjectId = showPacifyWordsRequest['X-Project-Id'];
8714
+ xAppUserId = showPacifyWordsRequest['X-App-UserId'];
8715
+ }
8716
+ }
8717
+ if (pacifyWordsId === null || pacifyWordsId === undefined) {
8718
+ throw new RequiredError('pacifyWordsId', 'Required parameter pacifyWordsId was null or undefined when calling showPacifyWords.');
8719
+ }
8720
+ if (authorization !== undefined && authorization !== null) {
8721
+ localVarHeaderParameter['Authorization'] = String(authorization);
8722
+ }
8723
+ if (xSdkDate !== undefined && xSdkDate !== null) {
8724
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
8725
+ }
8726
+ if (xProjectId !== undefined && xProjectId !== null) {
8727
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
8728
+ }
8729
+ if (xAppUserId !== undefined && xAppUserId !== null) {
8730
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
8731
+ }
8732
+ options.pathParams = { 'pacify_words_id': pacifyWordsId, };
8733
+ options.headers = localVarHeaderParameter;
8734
+ return options;
8735
+ },
8736
+ /**
8737
+ * 该接口用于查询安抚话术意图。
8738
+ *
8739
+ * Please refer to HUAWEI cloud API Explorer for details.
8740
+ */
8741
+ showPacifyWordsIntent(showPacifyWordsIntentRequest) {
8742
+ const options = {
8743
+ method: "GET",
8744
+ url: "/v1/{project_id}/digital-human-chat/pacify-words-intent",
8745
+ contentType: "application/json",
8746
+ queryParams: {},
8747
+ pathParams: {},
8748
+ headers: {}
8749
+ };
8750
+ const localVarHeaderParameter = {};
8751
+ const localVarQueryParameter = {};
8752
+ let robotId;
8753
+ let authorization;
8754
+ let xSdkDate;
8755
+ let xProjectId;
8756
+ let xAppUserId;
8757
+ if (showPacifyWordsIntentRequest !== null && showPacifyWordsIntentRequest !== undefined) {
8758
+ if (showPacifyWordsIntentRequest instanceof ShowPacifyWordsIntentRequest_1.ShowPacifyWordsIntentRequest) {
8759
+ robotId = showPacifyWordsIntentRequest.robotId;
8760
+ authorization = showPacifyWordsIntentRequest.authorization;
8761
+ xSdkDate = showPacifyWordsIntentRequest.xSdkDate;
8762
+ xProjectId = showPacifyWordsIntentRequest.xProjectId;
8763
+ xAppUserId = showPacifyWordsIntentRequest.xAppUserId;
8764
+ }
8765
+ else {
8766
+ robotId = showPacifyWordsIntentRequest['robot_id'];
8767
+ authorization = showPacifyWordsIntentRequest['Authorization'];
8768
+ xSdkDate = showPacifyWordsIntentRequest['X-Sdk-Date'];
8769
+ xProjectId = showPacifyWordsIntentRequest['X-Project-Id'];
8770
+ xAppUserId = showPacifyWordsIntentRequest['X-App-UserId'];
8771
+ }
8772
+ }
8773
+ if (robotId === null || robotId === undefined) {
8774
+ throw new RequiredError('robotId', 'Required parameter robotId was null or undefined when calling showPacifyWordsIntent.');
8775
+ }
8776
+ if (robotId !== null && robotId !== undefined) {
8777
+ localVarQueryParameter['robot_id'] = robotId;
8778
+ }
8779
+ if (authorization !== undefined && authorization !== null) {
8780
+ localVarHeaderParameter['Authorization'] = String(authorization);
8781
+ }
8782
+ if (xSdkDate !== undefined && xSdkDate !== null) {
8783
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
8784
+ }
8785
+ if (xProjectId !== undefined && xProjectId !== null) {
8786
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
8787
+ }
8788
+ if (xAppUserId !== undefined && xAppUserId !== null) {
8789
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
8790
+ }
8791
+ options.queryParams = localVarQueryParameter;
8792
+ options.headers = localVarHeaderParameter;
8793
+ return options;
8794
+ },
8795
+ /**
8796
+ * 该接口用于查询安抚话术功能开关。
8797
+ *
8798
+ * Please refer to HUAWEI cloud API Explorer for details.
8799
+ */
8800
+ showPacifyWordsSwitch(showPacifyWordsSwitchRequest) {
8801
+ const options = {
8802
+ method: "GET",
8803
+ url: "/v1/{project_id}/digital-human-chat/pacify-words-switch",
8804
+ contentType: "application/json",
8805
+ queryParams: {},
8806
+ pathParams: {},
8807
+ headers: {}
8808
+ };
8809
+ const localVarHeaderParameter = {};
8810
+ const localVarQueryParameter = {};
8811
+ let robotId;
8812
+ let language;
8813
+ let authorization;
8814
+ let xSdkDate;
8815
+ let xProjectId;
8816
+ let xAppUserId;
8817
+ if (showPacifyWordsSwitchRequest !== null && showPacifyWordsSwitchRequest !== undefined) {
8818
+ if (showPacifyWordsSwitchRequest instanceof ShowPacifyWordsSwitchRequest_1.ShowPacifyWordsSwitchRequest) {
8819
+ robotId = showPacifyWordsSwitchRequest.robotId;
8820
+ language = showPacifyWordsSwitchRequest.language;
8821
+ authorization = showPacifyWordsSwitchRequest.authorization;
8822
+ xSdkDate = showPacifyWordsSwitchRequest.xSdkDate;
8823
+ xProjectId = showPacifyWordsSwitchRequest.xProjectId;
8824
+ xAppUserId = showPacifyWordsSwitchRequest.xAppUserId;
8825
+ }
8826
+ else {
8827
+ robotId = showPacifyWordsSwitchRequest['robot_id'];
8828
+ language = showPacifyWordsSwitchRequest['language'];
8829
+ authorization = showPacifyWordsSwitchRequest['Authorization'];
8830
+ xSdkDate = showPacifyWordsSwitchRequest['X-Sdk-Date'];
8831
+ xProjectId = showPacifyWordsSwitchRequest['X-Project-Id'];
8832
+ xAppUserId = showPacifyWordsSwitchRequest['X-App-UserId'];
8833
+ }
8834
+ }
8835
+ if (robotId === null || robotId === undefined) {
8836
+ throw new RequiredError('robotId', 'Required parameter robotId was null or undefined when calling showPacifyWordsSwitch.');
8837
+ }
8838
+ if (robotId !== null && robotId !== undefined) {
8839
+ localVarQueryParameter['robot_id'] = robotId;
8840
+ }
8841
+ if (language === null || language === undefined) {
8842
+ throw new RequiredError('language', 'Required parameter language was null or undefined when calling showPacifyWordsSwitch.');
8843
+ }
8844
+ if (language !== null && language !== undefined) {
8845
+ localVarQueryParameter['language'] = language;
8846
+ }
8847
+ if (authorization !== undefined && authorization !== null) {
8848
+ localVarHeaderParameter['Authorization'] = String(authorization);
8849
+ }
8850
+ if (xSdkDate !== undefined && xSdkDate !== null) {
8851
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
8852
+ }
8853
+ if (xProjectId !== undefined && xProjectId !== null) {
8854
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
8855
+ }
8856
+ if (xAppUserId !== undefined && xAppUserId !== null) {
8857
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
8858
+ }
8859
+ options.queryParams = localVarQueryParameter;
8860
+ options.headers = localVarHeaderParameter;
8861
+ return options;
8862
+ },
8863
+ /**
8864
+ * 该接口用于查询等待触发时长。
8865
+ *
8866
+ * Please refer to HUAWEI cloud API Explorer for details.
8867
+ */
8868
+ showPacifyWordsTriggerTime(showPacifyWordsTriggerTimeRequest) {
8869
+ const options = {
8870
+ method: "GET",
8871
+ url: "/v1/{project_id}/digital-human-chat/pacify-words-time",
8872
+ contentType: "application/json",
8873
+ queryParams: {},
8874
+ pathParams: {},
8875
+ headers: {}
8876
+ };
8877
+ const localVarHeaderParameter = {};
8878
+ const localVarQueryParameter = {};
8879
+ let robotId;
8880
+ let language;
8881
+ let authorization;
8882
+ let xSdkDate;
8883
+ let xProjectId;
8884
+ let xAppUserId;
8885
+ if (showPacifyWordsTriggerTimeRequest !== null && showPacifyWordsTriggerTimeRequest !== undefined) {
8886
+ if (showPacifyWordsTriggerTimeRequest instanceof ShowPacifyWordsTriggerTimeRequest_1.ShowPacifyWordsTriggerTimeRequest) {
8887
+ robotId = showPacifyWordsTriggerTimeRequest.robotId;
8888
+ language = showPacifyWordsTriggerTimeRequest.language;
8889
+ authorization = showPacifyWordsTriggerTimeRequest.authorization;
8890
+ xSdkDate = showPacifyWordsTriggerTimeRequest.xSdkDate;
8891
+ xProjectId = showPacifyWordsTriggerTimeRequest.xProjectId;
8892
+ xAppUserId = showPacifyWordsTriggerTimeRequest.xAppUserId;
8893
+ }
8894
+ else {
8895
+ robotId = showPacifyWordsTriggerTimeRequest['robot_id'];
8896
+ language = showPacifyWordsTriggerTimeRequest['language'];
8897
+ authorization = showPacifyWordsTriggerTimeRequest['Authorization'];
8898
+ xSdkDate = showPacifyWordsTriggerTimeRequest['X-Sdk-Date'];
8899
+ xProjectId = showPacifyWordsTriggerTimeRequest['X-Project-Id'];
8900
+ xAppUserId = showPacifyWordsTriggerTimeRequest['X-App-UserId'];
8901
+ }
8902
+ }
8903
+ if (robotId === null || robotId === undefined) {
8904
+ throw new RequiredError('robotId', 'Required parameter robotId was null or undefined when calling showPacifyWordsTriggerTime.');
8905
+ }
8906
+ if (robotId !== null && robotId !== undefined) {
8907
+ localVarQueryParameter['robot_id'] = robotId;
8908
+ }
8909
+ if (language === null || language === undefined) {
8910
+ throw new RequiredError('language', 'Required parameter language was null or undefined when calling showPacifyWordsTriggerTime.');
8911
+ }
8912
+ if (language !== null && language !== undefined) {
8913
+ localVarQueryParameter['language'] = language;
8914
+ }
8915
+ if (authorization !== undefined && authorization !== null) {
8916
+ localVarHeaderParameter['Authorization'] = String(authorization);
8917
+ }
8918
+ if (xSdkDate !== undefined && xSdkDate !== null) {
8919
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
8920
+ }
8921
+ if (xProjectId !== undefined && xProjectId !== null) {
8922
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
8923
+ }
8924
+ if (xAppUserId !== undefined && xAppUserId !== null) {
8925
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
8926
+ }
8927
+ options.queryParams = localVarQueryParameter;
8928
+ options.headers = localVarHeaderParameter;
8929
+ return options;
8930
+ },
8931
+ /**
8932
+ * 该接口用于修改安抚话术。
8933
+ *
8934
+ * Please refer to HUAWEI cloud API Explorer for details.
8935
+ */
8936
+ updatePacifyWords(updatePacifyWordsRequest) {
8937
+ const options = {
8938
+ method: "PUT",
8939
+ url: "/v1/{project_id}/digital-human-chat/pacify-words/{pacify_words_id}",
8940
+ contentType: "application/json",
8941
+ queryParams: {},
8942
+ pathParams: {},
8943
+ headers: {},
8944
+ data: {}
8945
+ };
8946
+ const localVarHeaderParameter = {};
8947
+ let body;
8948
+ let pacifyWordsId;
8949
+ let authorization;
8950
+ let xSdkDate;
8951
+ let xProjectId;
8952
+ let xAppUserId;
8953
+ if (updatePacifyWordsRequest !== null && updatePacifyWordsRequest !== undefined) {
8954
+ if (updatePacifyWordsRequest instanceof UpdatePacifyWordsRequest_1.UpdatePacifyWordsRequest) {
8955
+ pacifyWordsId = updatePacifyWordsRequest.pacifyWordsId;
8956
+ body = updatePacifyWordsRequest.body;
8957
+ authorization = updatePacifyWordsRequest.authorization;
8958
+ xSdkDate = updatePacifyWordsRequest.xSdkDate;
8959
+ xProjectId = updatePacifyWordsRequest.xProjectId;
8960
+ xAppUserId = updatePacifyWordsRequest.xAppUserId;
8961
+ }
8962
+ else {
8963
+ pacifyWordsId = updatePacifyWordsRequest['pacify_words_id'];
8964
+ body = updatePacifyWordsRequest['body'];
8965
+ authorization = updatePacifyWordsRequest['Authorization'];
8966
+ xSdkDate = updatePacifyWordsRequest['X-Sdk-Date'];
8967
+ xProjectId = updatePacifyWordsRequest['X-Project-Id'];
8968
+ xAppUserId = updatePacifyWordsRequest['X-App-UserId'];
8969
+ }
8970
+ }
8971
+ if (pacifyWordsId === null || pacifyWordsId === undefined) {
8972
+ throw new RequiredError('pacifyWordsId', 'Required parameter pacifyWordsId was null or undefined when calling updatePacifyWords.');
8973
+ }
8974
+ if (body === null || body === undefined) {
8975
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
8976
+ }
8977
+ if (authorization !== undefined && authorization !== null) {
8978
+ localVarHeaderParameter['Authorization'] = String(authorization);
8979
+ }
8980
+ if (xSdkDate !== undefined && xSdkDate !== null) {
8981
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
8982
+ }
8983
+ if (xProjectId !== undefined && xProjectId !== null) {
8984
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
8985
+ }
8986
+ if (xAppUserId !== undefined && xAppUserId !== null) {
8987
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
8988
+ }
8989
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8990
+ options.data = body !== undefined ? body : {};
8991
+ options.pathParams = { 'pacify_words_id': pacifyWordsId, };
8992
+ options.headers = localVarHeaderParameter;
8993
+ return options;
8994
+ },
8995
+ /**
8996
+ * 该接口用于修改安抚话术功能开关。
8997
+ *
8998
+ * Please refer to HUAWEI cloud API Explorer for details.
8999
+ */
9000
+ updatePacifyWordsSwitch(updatePacifyWordsSwitchRequest) {
9001
+ const options = {
9002
+ method: "PUT",
9003
+ url: "/v1/{project_id}/digital-human-chat/pacify-words-switch",
9004
+ contentType: "application/json",
9005
+ queryParams: {},
9006
+ pathParams: {},
9007
+ headers: {},
9008
+ data: {}
9009
+ };
9010
+ const localVarHeaderParameter = {};
9011
+ let body;
9012
+ let authorization;
9013
+ let xSdkDate;
9014
+ let xProjectId;
9015
+ let xAppUserId;
9016
+ if (updatePacifyWordsSwitchRequest !== null && updatePacifyWordsSwitchRequest !== undefined) {
9017
+ if (updatePacifyWordsSwitchRequest instanceof UpdatePacifyWordsSwitchRequest_1.UpdatePacifyWordsSwitchRequest) {
9018
+ body = updatePacifyWordsSwitchRequest.body;
9019
+ authorization = updatePacifyWordsSwitchRequest.authorization;
9020
+ xSdkDate = updatePacifyWordsSwitchRequest.xSdkDate;
9021
+ xProjectId = updatePacifyWordsSwitchRequest.xProjectId;
9022
+ xAppUserId = updatePacifyWordsSwitchRequest.xAppUserId;
9023
+ }
9024
+ else {
9025
+ body = updatePacifyWordsSwitchRequest['body'];
9026
+ authorization = updatePacifyWordsSwitchRequest['Authorization'];
9027
+ xSdkDate = updatePacifyWordsSwitchRequest['X-Sdk-Date'];
9028
+ xProjectId = updatePacifyWordsSwitchRequest['X-Project-Id'];
9029
+ xAppUserId = updatePacifyWordsSwitchRequest['X-App-UserId'];
9030
+ }
9031
+ }
9032
+ if (body === null || body === undefined) {
9033
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
9034
+ }
9035
+ if (authorization !== undefined && authorization !== null) {
9036
+ localVarHeaderParameter['Authorization'] = String(authorization);
9037
+ }
9038
+ if (xSdkDate !== undefined && xSdkDate !== null) {
9039
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
9040
+ }
9041
+ if (xProjectId !== undefined && xProjectId !== null) {
9042
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
9043
+ }
9044
+ if (xAppUserId !== undefined && xAppUserId !== null) {
9045
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
9046
+ }
9047
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9048
+ options.data = body !== undefined ? body : {};
9049
+ options.headers = localVarHeaderParameter;
9050
+ return options;
9051
+ },
9052
+ /**
9053
+ * 该接口用于修改安抚话术等待触发时长。
9054
+ *
9055
+ * Please refer to HUAWEI cloud API Explorer for details.
9056
+ */
9057
+ updatePacifyWordsTriggerTime(updatePacifyWordsTriggerTimeRequest) {
9058
+ const options = {
9059
+ method: "PUT",
9060
+ url: "/v1/{project_id}/digital-human-chat/pacify-words-time",
9061
+ contentType: "application/json",
9062
+ queryParams: {},
9063
+ pathParams: {},
9064
+ headers: {},
9065
+ data: {}
9066
+ };
9067
+ const localVarHeaderParameter = {};
9068
+ let body;
9069
+ let authorization;
9070
+ let xSdkDate;
9071
+ let xProjectId;
9072
+ let xAppUserId;
9073
+ if (updatePacifyWordsTriggerTimeRequest !== null && updatePacifyWordsTriggerTimeRequest !== undefined) {
9074
+ if (updatePacifyWordsTriggerTimeRequest instanceof UpdatePacifyWordsTriggerTimeRequest_1.UpdatePacifyWordsTriggerTimeRequest) {
9075
+ body = updatePacifyWordsTriggerTimeRequest.body;
9076
+ authorization = updatePacifyWordsTriggerTimeRequest.authorization;
9077
+ xSdkDate = updatePacifyWordsTriggerTimeRequest.xSdkDate;
9078
+ xProjectId = updatePacifyWordsTriggerTimeRequest.xProjectId;
9079
+ xAppUserId = updatePacifyWordsTriggerTimeRequest.xAppUserId;
9080
+ }
9081
+ else {
9082
+ body = updatePacifyWordsTriggerTimeRequest['body'];
9083
+ authorization = updatePacifyWordsTriggerTimeRequest['Authorization'];
9084
+ xSdkDate = updatePacifyWordsTriggerTimeRequest['X-Sdk-Date'];
9085
+ xProjectId = updatePacifyWordsTriggerTimeRequest['X-Project-Id'];
9086
+ xAppUserId = updatePacifyWordsTriggerTimeRequest['X-App-UserId'];
9087
+ }
9088
+ }
9089
+ if (body === null || body === undefined) {
9090
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
9091
+ }
9092
+ if (authorization !== undefined && authorization !== null) {
9093
+ localVarHeaderParameter['Authorization'] = String(authorization);
9094
+ }
9095
+ if (xSdkDate !== undefined && xSdkDate !== null) {
9096
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
9097
+ }
9098
+ if (xProjectId !== undefined && xProjectId !== null) {
9099
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
9100
+ }
9101
+ if (xAppUserId !== undefined && xAppUserId !== null) {
9102
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
9103
+ }
9104
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9105
+ options.data = body !== undefined ? body : {};
9106
+ options.headers = localVarHeaderParameter;
9107
+ return options;
9108
+ },
9109
+ /**
9110
+ * 该接口用于从URL中获取图片进行照片建模任务。
9111
+ *
9112
+ * Please refer to HUAWEI cloud API Explorer for details.
9113
+ */
9114
+ createPictureModelingByUrlJob(createPictureModelingByUrlJobRequest) {
9115
+ const options = {
9116
+ method: "POST",
9117
+ url: "/v1/{project_id}/digital-human/stylized/picture-modelings-by-url",
9118
+ contentType: "application/json",
9119
+ queryParams: {},
9120
+ pathParams: {},
9121
+ headers: {},
9122
+ data: {}
9123
+ };
9124
+ const localVarHeaderParameter = {};
9125
+ let body;
9126
+ let authorization;
9127
+ let xSdkDate;
9128
+ let xProjectId;
9129
+ let xAppUserId;
9130
+ if (createPictureModelingByUrlJobRequest !== null && createPictureModelingByUrlJobRequest !== undefined) {
9131
+ if (createPictureModelingByUrlJobRequest instanceof CreatePictureModelingByUrlJobRequest_1.CreatePictureModelingByUrlJobRequest) {
9132
+ body = createPictureModelingByUrlJobRequest.body;
9133
+ authorization = createPictureModelingByUrlJobRequest.authorization;
9134
+ xSdkDate = createPictureModelingByUrlJobRequest.xSdkDate;
9135
+ xProjectId = createPictureModelingByUrlJobRequest.xProjectId;
9136
+ xAppUserId = createPictureModelingByUrlJobRequest.xAppUserId;
9137
+ }
9138
+ else {
9139
+ body = createPictureModelingByUrlJobRequest['body'];
9140
+ authorization = createPictureModelingByUrlJobRequest['Authorization'];
9141
+ xSdkDate = createPictureModelingByUrlJobRequest['X-Sdk-Date'];
9142
+ xProjectId = createPictureModelingByUrlJobRequest['X-Project-Id'];
9143
+ xAppUserId = createPictureModelingByUrlJobRequest['X-App-UserId'];
9144
+ }
9145
+ }
9146
+ if (body === null || body === undefined) {
9147
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
9148
+ }
9149
+ if (authorization !== undefined && authorization !== null) {
9150
+ localVarHeaderParameter['Authorization'] = String(authorization);
9151
+ }
9152
+ if (xSdkDate !== undefined && xSdkDate !== null) {
9153
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
9154
+ }
9155
+ if (xProjectId !== undefined && xProjectId !== null) {
9156
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
9157
+ }
9158
+ if (xAppUserId !== undefined && xAppUserId !== null) {
9159
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
9160
+ }
9161
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9162
+ options.data = body !== undefined ? body : {};
9163
+ options.headers = localVarHeaderParameter;
9164
+ return options;
9165
+ },
9166
+ /**
9167
+ * 该接口用于创建风格化照片建模任务。通过上传照片,生成风格化数字人模型。
9168
+ *
9169
+ * Please refer to HUAWEI cloud API Explorer for details.
9170
+ */
9171
+ createPictureModelingJob(createPictureModelingJobRequest) {
9172
+ var _a, _b, _c, _d;
9173
+ const options = {
9174
+ method: "POST",
9175
+ url: "/v1/{project_id}/digital-human/stylized/picture-modelings",
9176
+ contentType: "multipart/form-data",
9177
+ queryParams: {},
9178
+ pathParams: {},
9179
+ headers: {},
9180
+ data: {}
9181
+ };
9182
+ const localVarHeaderParameter = {};
9183
+ const localVarFormParams = new form_data_1.default();
9184
+ let file;
9185
+ let styleId;
9186
+ let name;
9187
+ let authorization;
9188
+ let xSdkDate;
9189
+ let xProjectId;
9190
+ let xAppUserId;
9191
+ let notifyUrl;
9192
+ if (createPictureModelingJobRequest !== null && createPictureModelingJobRequest !== undefined) {
9193
+ if (createPictureModelingJobRequest instanceof CreatePictureModelingJobRequest_1.CreatePictureModelingJobRequest) {
9194
+ file = (_a = createPictureModelingJobRequest.body) === null || _a === void 0 ? void 0 : _a.file;
8255
9195
  styleId = (_b = createPictureModelingJobRequest.body) === null || _b === void 0 ? void 0 : _b.styleId;
8256
9196
  name = (_c = createPictureModelingJobRequest.body) === null || _c === void 0 ? void 0 : _c.name;
8257
9197
  authorization = createPictureModelingJobRequest.authorization;
@@ -10769,6 +11709,118 @@ const ParamCreater = function () {
10769
11709
  options.headers = localVarHeaderParameter;
10770
11710
  return options;
10771
11711
  },
11712
+ /**
11713
+ * 该接口用于创建分身数字人视频字幕文件任务。
11714
+ *
11715
+ * Please refer to HUAWEI cloud API Explorer for details.
11716
+ */
11717
+ createSubtitleFile(createSubtitleFileRequest) {
11718
+ const options = {
11719
+ method: "POST",
11720
+ url: "/v1/{project_id}/subtitle-files",
11721
+ contentType: "application/json",
11722
+ queryParams: {},
11723
+ pathParams: {},
11724
+ headers: {},
11725
+ data: {}
11726
+ };
11727
+ const localVarHeaderParameter = {};
11728
+ let body;
11729
+ let authorization;
11730
+ let xSdkDate;
11731
+ let xProjectId;
11732
+ let xAppUserId;
11733
+ if (createSubtitleFileRequest !== null && createSubtitleFileRequest !== undefined) {
11734
+ if (createSubtitleFileRequest instanceof CreateSubtitleFileRequest_1.CreateSubtitleFileRequest) {
11735
+ body = createSubtitleFileRequest.body;
11736
+ authorization = createSubtitleFileRequest.authorization;
11737
+ xSdkDate = createSubtitleFileRequest.xSdkDate;
11738
+ xProjectId = createSubtitleFileRequest.xProjectId;
11739
+ xAppUserId = createSubtitleFileRequest.xAppUserId;
11740
+ }
11741
+ else {
11742
+ body = createSubtitleFileRequest['body'];
11743
+ authorization = createSubtitleFileRequest['Authorization'];
11744
+ xSdkDate = createSubtitleFileRequest['X-Sdk-Date'];
11745
+ xProjectId = createSubtitleFileRequest['X-Project-Id'];
11746
+ xAppUserId = createSubtitleFileRequest['X-App-UserId'];
11747
+ }
11748
+ }
11749
+ if (body === null || body === undefined) {
11750
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
11751
+ }
11752
+ if (authorization !== undefined && authorization !== null) {
11753
+ localVarHeaderParameter['Authorization'] = String(authorization);
11754
+ }
11755
+ if (xSdkDate !== undefined && xSdkDate !== null) {
11756
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
11757
+ }
11758
+ if (xProjectId !== undefined && xProjectId !== null) {
11759
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
11760
+ }
11761
+ if (xAppUserId !== undefined && xAppUserId !== null) {
11762
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
11763
+ }
11764
+ localVarHeaderParameter['Content-Type'] = 'application/json';
11765
+ options.data = body !== undefined ? body : {};
11766
+ options.headers = localVarHeaderParameter;
11767
+ return options;
11768
+ },
11769
+ /**
11770
+ * 该接口用于查询分身数字人视频字幕文件任务详情。
11771
+ *
11772
+ * Please refer to HUAWEI cloud API Explorer for details.
11773
+ */
11774
+ showSubtitleFile(showSubtitleFileRequest) {
11775
+ const options = {
11776
+ method: "GET",
11777
+ url: "/v1/{project_id}/subtitle-files/{job_id}",
11778
+ contentType: "application/json",
11779
+ queryParams: {},
11780
+ pathParams: {},
11781
+ headers: {}
11782
+ };
11783
+ const localVarHeaderParameter = {};
11784
+ let jobId;
11785
+ let authorization;
11786
+ let xSdkDate;
11787
+ let xProjectId;
11788
+ let xAppUserId;
11789
+ if (showSubtitleFileRequest !== null && showSubtitleFileRequest !== undefined) {
11790
+ if (showSubtitleFileRequest instanceof ShowSubtitleFileRequest_1.ShowSubtitleFileRequest) {
11791
+ jobId = showSubtitleFileRequest.jobId;
11792
+ authorization = showSubtitleFileRequest.authorization;
11793
+ xSdkDate = showSubtitleFileRequest.xSdkDate;
11794
+ xProjectId = showSubtitleFileRequest.xProjectId;
11795
+ xAppUserId = showSubtitleFileRequest.xAppUserId;
11796
+ }
11797
+ else {
11798
+ jobId = showSubtitleFileRequest['job_id'];
11799
+ authorization = showSubtitleFileRequest['Authorization'];
11800
+ xSdkDate = showSubtitleFileRequest['X-Sdk-Date'];
11801
+ xProjectId = showSubtitleFileRequest['X-Project-Id'];
11802
+ xAppUserId = showSubtitleFileRequest['X-App-UserId'];
11803
+ }
11804
+ }
11805
+ if (jobId === null || jobId === undefined) {
11806
+ throw new RequiredError('jobId', 'Required parameter jobId was null or undefined when calling showSubtitleFile.');
11807
+ }
11808
+ if (authorization !== undefined && authorization !== null) {
11809
+ localVarHeaderParameter['Authorization'] = String(authorization);
11810
+ }
11811
+ if (xSdkDate !== undefined && xSdkDate !== null) {
11812
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
11813
+ }
11814
+ if (xProjectId !== undefined && xProjectId !== null) {
11815
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
11816
+ }
11817
+ if (xAppUserId !== undefined && xAppUserId !== null) {
11818
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
11819
+ }
11820
+ options.pathParams = { 'job_id': jobId, };
11821
+ options.headers = localVarHeaderParameter;
11822
+ return options;
11823
+ },
10772
11824
  /**
10773
11825
  * 统计指定时间段内即将过期的包周期与一次性资源数量。
10774
11826
  *
@@ -12284,6 +13336,63 @@ const ParamCreater = function () {
12284
13336
  options.headers = localVarHeaderParameter;
12285
13337
  return options;
12286
13338
  },
13339
+ /**
13340
+ * 该接口用于对外生成音频文件
13341
+ *
13342
+ * Please refer to HUAWEI cloud API Explorer for details.
13343
+ */
13344
+ createAsyncTtsJob(createAsyncTtsJobRequest) {
13345
+ const options = {
13346
+ method: "POST",
13347
+ url: "/v1/{project_id}/ttsc/async-jobs",
13348
+ contentType: "application/json",
13349
+ queryParams: {},
13350
+ pathParams: {},
13351
+ headers: {},
13352
+ data: {}
13353
+ };
13354
+ const localVarHeaderParameter = {};
13355
+ let body;
13356
+ let authorization;
13357
+ let xSdkDate;
13358
+ let xProjectId;
13359
+ let xAppUserId;
13360
+ if (createAsyncTtsJobRequest !== null && createAsyncTtsJobRequest !== undefined) {
13361
+ if (createAsyncTtsJobRequest instanceof CreateAsyncTtsJobRequest_1.CreateAsyncTtsJobRequest) {
13362
+ body = createAsyncTtsJobRequest.body;
13363
+ authorization = createAsyncTtsJobRequest.authorization;
13364
+ xSdkDate = createAsyncTtsJobRequest.xSdkDate;
13365
+ xProjectId = createAsyncTtsJobRequest.xProjectId;
13366
+ xAppUserId = createAsyncTtsJobRequest.xAppUserId;
13367
+ }
13368
+ else {
13369
+ body = createAsyncTtsJobRequest['body'];
13370
+ authorization = createAsyncTtsJobRequest['Authorization'];
13371
+ xSdkDate = createAsyncTtsJobRequest['X-Sdk-Date'];
13372
+ xProjectId = createAsyncTtsJobRequest['X-Project-Id'];
13373
+ xAppUserId = createAsyncTtsJobRequest['X-App-UserId'];
13374
+ }
13375
+ }
13376
+ if (body === null || body === undefined) {
13377
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
13378
+ }
13379
+ if (authorization !== undefined && authorization !== null) {
13380
+ localVarHeaderParameter['Authorization'] = String(authorization);
13381
+ }
13382
+ if (xSdkDate !== undefined && xSdkDate !== null) {
13383
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
13384
+ }
13385
+ if (xProjectId !== undefined && xProjectId !== null) {
13386
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
13387
+ }
13388
+ if (xAppUserId !== undefined && xAppUserId !== null) {
13389
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
13390
+ }
13391
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13392
+ options.data = body !== undefined ? body : {};
13393
+ options.headers = localVarHeaderParameter;
13394
+ return options;
13395
+ },
12287
13396
  /**
12288
13397
  * 该接口用于创建生成播报内容的语音试听文件任务。
12289
13398
  *
@@ -12351,6 +13460,61 @@ const ParamCreater = function () {
12351
13460
  options.headers = localVarHeaderParameter;
12352
13461
  return options;
12353
13462
  },
13463
+ /**
13464
+ * 该接口用于获取TTS音频文件下载链接。
13465
+ *
13466
+ * Please refer to HUAWEI cloud API Explorer for details.
13467
+ */
13468
+ showAsyncTtsJob(showAsyncTtsJobRequest) {
13469
+ const options = {
13470
+ method: "GET",
13471
+ url: "/v1/{project_id}/ttsc/async-jobs/{job_id}",
13472
+ contentType: "application/json",
13473
+ queryParams: {},
13474
+ pathParams: {},
13475
+ headers: {}
13476
+ };
13477
+ const localVarHeaderParameter = {};
13478
+ let jobId;
13479
+ let authorization;
13480
+ let xSdkDate;
13481
+ let xProjectId;
13482
+ let xAppUserId;
13483
+ if (showAsyncTtsJobRequest !== null && showAsyncTtsJobRequest !== undefined) {
13484
+ if (showAsyncTtsJobRequest instanceof ShowAsyncTtsJobRequest_1.ShowAsyncTtsJobRequest) {
13485
+ jobId = showAsyncTtsJobRequest.jobId;
13486
+ authorization = showAsyncTtsJobRequest.authorization;
13487
+ xSdkDate = showAsyncTtsJobRequest.xSdkDate;
13488
+ xProjectId = showAsyncTtsJobRequest.xProjectId;
13489
+ xAppUserId = showAsyncTtsJobRequest.xAppUserId;
13490
+ }
13491
+ else {
13492
+ jobId = showAsyncTtsJobRequest['job_id'];
13493
+ authorization = showAsyncTtsJobRequest['Authorization'];
13494
+ xSdkDate = showAsyncTtsJobRequest['X-Sdk-Date'];
13495
+ xProjectId = showAsyncTtsJobRequest['X-Project-Id'];
13496
+ xAppUserId = showAsyncTtsJobRequest['X-App-UserId'];
13497
+ }
13498
+ }
13499
+ if (jobId === null || jobId === undefined) {
13500
+ throw new RequiredError('jobId', 'Required parameter jobId was null or undefined when calling showAsyncTtsJob.');
13501
+ }
13502
+ if (authorization !== undefined && authorization !== null) {
13503
+ localVarHeaderParameter['Authorization'] = String(authorization);
13504
+ }
13505
+ if (xSdkDate !== undefined && xSdkDate !== null) {
13506
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
13507
+ }
13508
+ if (xProjectId !== undefined && xProjectId !== null) {
13509
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
13510
+ }
13511
+ if (xAppUserId !== undefined && xAppUserId !== null) {
13512
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
13513
+ }
13514
+ options.pathParams = { 'job_id': jobId, };
13515
+ options.headers = localVarHeaderParameter;
13516
+ return options;
13517
+ },
12354
13518
  /**
12355
13519
  * 该接口用于获取TTS试听文件下载链接,返回List中包含当前已生产的试听文件。
12356
13520
  *
@@ -13214,6 +14378,7 @@ const ParamCreater = function () {
13214
14378
  let xAppUserId;
13215
14379
  let offset;
13216
14380
  let limit;
14381
+ let language;
13217
14382
  if (listWelcomeSpeechRequest !== null && listWelcomeSpeechRequest !== undefined) {
13218
14383
  if (listWelcomeSpeechRequest instanceof ListWelcomeSpeechRequest_1.ListWelcomeSpeechRequest) {
13219
14384
  robotId = listWelcomeSpeechRequest.robotId;
@@ -13223,6 +14388,7 @@ const ParamCreater = function () {
13223
14388
  xAppUserId = listWelcomeSpeechRequest.xAppUserId;
13224
14389
  offset = listWelcomeSpeechRequest.offset;
13225
14390
  limit = listWelcomeSpeechRequest.limit;
14391
+ language = listWelcomeSpeechRequest.language;
13226
14392
  }
13227
14393
  else {
13228
14394
  robotId = listWelcomeSpeechRequest['robot_id'];
@@ -13232,6 +14398,7 @@ const ParamCreater = function () {
13232
14398
  xAppUserId = listWelcomeSpeechRequest['X-App-UserId'];
13233
14399
  offset = listWelcomeSpeechRequest['offset'];
13234
14400
  limit = listWelcomeSpeechRequest['limit'];
14401
+ language = listWelcomeSpeechRequest['language'];
13235
14402
  }
13236
14403
  }
13237
14404
  if (robotId === null || robotId === undefined) {
@@ -13246,6 +14413,9 @@ const ParamCreater = function () {
13246
14413
  if (limit !== null && limit !== undefined) {
13247
14414
  localVarQueryParameter['limit'] = limit;
13248
14415
  }
14416
+ if (language !== null && language !== undefined) {
14417
+ localVarQueryParameter['language'] = language;
14418
+ }
13249
14419
  if (authorization !== undefined && authorization !== null) {
13250
14420
  localVarHeaderParameter['Authorization'] = String(authorization);
13251
14421
  }
@@ -13338,6 +14508,7 @@ const ParamCreater = function () {
13338
14508
  let xSdkDate;
13339
14509
  let xProjectId;
13340
14510
  let xAppUserId;
14511
+ let language;
13341
14512
  if (showWelcomeSpeechSwitchRequest !== null && showWelcomeSpeechSwitchRequest !== undefined) {
13342
14513
  if (showWelcomeSpeechSwitchRequest instanceof ShowWelcomeSpeechSwitchRequest_1.ShowWelcomeSpeechSwitchRequest) {
13343
14514
  robotId = showWelcomeSpeechSwitchRequest.robotId;
@@ -13345,6 +14516,7 @@ const ParamCreater = function () {
13345
14516
  xSdkDate = showWelcomeSpeechSwitchRequest.xSdkDate;
13346
14517
  xProjectId = showWelcomeSpeechSwitchRequest.xProjectId;
13347
14518
  xAppUserId = showWelcomeSpeechSwitchRequest.xAppUserId;
14519
+ language = showWelcomeSpeechSwitchRequest.language;
13348
14520
  }
13349
14521
  else {
13350
14522
  robotId = showWelcomeSpeechSwitchRequest['robot_id'];
@@ -13352,6 +14524,7 @@ const ParamCreater = function () {
13352
14524
  xSdkDate = showWelcomeSpeechSwitchRequest['X-Sdk-Date'];
13353
14525
  xProjectId = showWelcomeSpeechSwitchRequest['X-Project-Id'];
13354
14526
  xAppUserId = showWelcomeSpeechSwitchRequest['X-App-UserId'];
14527
+ language = showWelcomeSpeechSwitchRequest['language'];
13355
14528
  }
13356
14529
  }
13357
14530
  if (robotId === null || robotId === undefined) {
@@ -13360,6 +14533,9 @@ const ParamCreater = function () {
13360
14533
  if (robotId !== null && robotId !== undefined) {
13361
14534
  localVarQueryParameter['robot_id'] = robotId;
13362
14535
  }
14536
+ if (language !== null && language !== undefined) {
14537
+ localVarQueryParameter['language'] = language;
14538
+ }
13363
14539
  if (authorization !== undefined && authorization !== null) {
13364
14540
  localVarHeaderParameter['Authorization'] = String(authorization);
13365
14541
  }