@huaweicloud/huaweicloud-sdk-metastudio 3.1.174 → 3.1.175

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 (265) hide show
  1. package/package.json +2 -2
  2. package/v1/MetaStudioClient.d.ts +691 -2
  3. package/v1/MetaStudioClient.d.ts.map +1 -1
  4. package/v1/MetaStudioClient.js +1874 -81
  5. package/v1/MetaStudioClient.js.map +1 -1
  6. package/v1/model/AttachmentUploadingAddress.d.ts +12 -0
  7. package/v1/model/AttachmentUploadingAddress.d.ts.map +1 -0
  8. package/v1/model/AttachmentUploadingAddress.js +29 -0
  9. package/v1/model/AttachmentUploadingAddress.js.map +1 -0
  10. package/v1/model/CommitShortJobRequest.d.ts +24 -0
  11. package/v1/model/CommitShortJobRequest.d.ts.map +1 -0
  12. package/v1/model/CommitShortJobRequest.js +60 -0
  13. package/v1/model/CommitShortJobRequest.js.map +1 -0
  14. package/v1/model/CommitShortJobResponse.d.ts +5 -0
  15. package/v1/model/CommitShortJobResponse.d.ts.map +1 -0
  16. package/v1/model/CommitShortJobResponse.js +11 -0
  17. package/v1/model/CommitShortJobResponse.js.map +1 -0
  18. package/v1/model/CreateAudioRecordConfigReq.d.ts +16 -0
  19. package/v1/model/CreateAudioRecordConfigReq.d.ts.map +1 -0
  20. package/v1/model/CreateAudioRecordConfigReq.js +42 -0
  21. package/v1/model/CreateAudioRecordConfigReq.js.map +1 -0
  22. package/v1/model/CreateAudioRecordConfigRequest.d.ts +23 -0
  23. package/v1/model/CreateAudioRecordConfigRequest.d.ts.map +1 -0
  24. package/v1/model/CreateAudioRecordConfigRequest.js +53 -0
  25. package/v1/model/CreateAudioRecordConfigRequest.js.map +1 -0
  26. package/v1/model/CreateAudioRecordConfigResponse.d.ts +33 -0
  27. package/v1/model/CreateAudioRecordConfigResponse.d.ts.map +1 -0
  28. package/v1/model/CreateAudioRecordConfigResponse.js +81 -0
  29. package/v1/model/CreateAudioRecordConfigResponse.js.map +1 -0
  30. package/v1/model/CreateInteractionRuleReq.d.ts +20 -0
  31. package/v1/model/CreateInteractionRuleReq.d.ts.map +1 -0
  32. package/v1/model/CreateInteractionRuleReq.js +43 -0
  33. package/v1/model/CreateInteractionRuleReq.js.map +1 -0
  34. package/v1/model/CreateInteractionRuleRequest.d.ts +27 -0
  35. package/v1/model/CreateInteractionRuleRequest.d.ts.map +1 -0
  36. package/v1/model/CreateInteractionRuleRequest.js +64 -0
  37. package/v1/model/CreateInteractionRuleRequest.js.map +1 -0
  38. package/v1/model/CreateInteractionRuleResponse.d.ts +48 -0
  39. package/v1/model/CreateInteractionRuleResponse.d.ts.map +1 -0
  40. package/v1/model/CreateInteractionRuleResponse.js +109 -0
  41. package/v1/model/CreateInteractionRuleResponse.js.map +1 -0
  42. package/v1/model/CreateShortJobReq.d.ts +11 -0
  43. package/v1/model/CreateShortJobReq.d.ts.map +1 -0
  44. package/v1/model/CreateShortJobReq.js +24 -0
  45. package/v1/model/CreateShortJobReq.js.map +1 -0
  46. package/v1/model/CreateShortJobRequest.d.ts +23 -0
  47. package/v1/model/CreateShortJobRequest.d.ts.map +1 -0
  48. package/v1/model/CreateShortJobRequest.js +53 -0
  49. package/v1/model/CreateShortJobRequest.js.map +1 -0
  50. package/v1/model/CreateShortJobResponse.d.ts +13 -0
  51. package/v1/model/CreateShortJobResponse.d.ts.map +1 -0
  52. package/v1/model/CreateShortJobResponse.js +31 -0
  53. package/v1/model/CreateShortJobResponse.js.map +1 -0
  54. package/v1/model/CreateSmartChatRoomReq.d.ts +4 -0
  55. package/v1/model/CreateSmartChatRoomReq.d.ts.map +1 -1
  56. package/v1/model/CreateSmartChatRoomReq.js +10 -0
  57. package/v1/model/CreateSmartChatRoomReq.js.map +1 -1
  58. package/v1/model/CreateSmartChatRoomRequestBody.d.ts +4 -0
  59. package/v1/model/CreateSmartChatRoomRequestBody.d.ts.map +1 -1
  60. package/v1/model/CreateSmartChatRoomRequestBody.js +10 -0
  61. package/v1/model/CreateSmartChatRoomRequestBody.js.map +1 -1
  62. package/v1/model/CreateTrainingThirdPartyJobRequest.d.ts +11 -0
  63. package/v1/model/CreateTrainingThirdPartyJobRequest.d.ts.map +1 -0
  64. package/v1/model/CreateTrainingThirdPartyJobRequest.js +23 -0
  65. package/v1/model/CreateTrainingThirdPartyJobRequest.js.map +1 -0
  66. package/v1/model/CreateTrainingThirdPartyJobResponse.d.ts +22 -0
  67. package/v1/model/CreateTrainingThirdPartyJobResponse.d.ts.map +1 -0
  68. package/v1/model/CreateTrainingThirdPartyJobResponse.js +51 -0
  69. package/v1/model/CreateTrainingThirdPartyJobResponse.js.map +1 -0
  70. package/v1/model/DeleteAudioRecordConfigRequest.d.ts +20 -0
  71. package/v1/model/DeleteAudioRecordConfigRequest.d.ts.map +1 -0
  72. package/v1/model/DeleteAudioRecordConfigRequest.js +49 -0
  73. package/v1/model/DeleteAudioRecordConfigRequest.js.map +1 -0
  74. package/v1/model/DeleteAudioRecordConfigResponse.d.ts +9 -0
  75. package/v1/model/DeleteAudioRecordConfigResponse.d.ts.map +1 -0
  76. package/v1/model/DeleteAudioRecordConfigResponse.js +21 -0
  77. package/v1/model/DeleteAudioRecordConfigResponse.js.map +1 -0
  78. package/v1/model/DeleteInteractionRuleRequest.d.ts +28 -0
  79. package/v1/model/DeleteInteractionRuleRequest.d.ts.map +1 -0
  80. package/v1/model/DeleteInteractionRuleRequest.js +71 -0
  81. package/v1/model/DeleteInteractionRuleRequest.js.map +1 -0
  82. package/v1/model/DeleteInteractionRuleResponse.d.ts +9 -0
  83. package/v1/model/DeleteInteractionRuleResponse.d.ts.map +1 -0
  84. package/v1/model/DeleteInteractionRuleResponse.js +21 -0
  85. package/v1/model/DeleteInteractionRuleResponse.js.map +1 -0
  86. package/v1/model/DigitalAssetSummary.d.ts +4 -0
  87. package/v1/model/DigitalAssetSummary.d.ts.map +1 -1
  88. package/v1/model/DigitalAssetSummary.js +10 -0
  89. package/v1/model/DigitalAssetSummary.js.map +1 -1
  90. package/v1/model/InsertCommandItem.d.ts +31 -0
  91. package/v1/model/InsertCommandItem.d.ts.map +1 -0
  92. package/v1/model/InsertCommandItem.js +50 -0
  93. package/v1/model/InsertCommandItem.js.map +1 -0
  94. package/v1/model/InteractionRuleGroupSummary.d.ts +20 -0
  95. package/v1/model/InteractionRuleGroupSummary.d.ts.map +1 -0
  96. package/v1/model/InteractionRuleGroupSummary.js +49 -0
  97. package/v1/model/InteractionRuleGroupSummary.js.map +1 -0
  98. package/v1/model/ListInsertCommandsRequest.d.ts +32 -0
  99. package/v1/model/ListInsertCommandsRequest.d.ts.map +1 -0
  100. package/v1/model/ListInsertCommandsRequest.js +79 -0
  101. package/v1/model/ListInsertCommandsRequest.js.map +1 -0
  102. package/v1/model/ListInsertCommandsResponse.d.ts +16 -0
  103. package/v1/model/ListInsertCommandsResponse.d.ts.map +1 -0
  104. package/v1/model/ListInsertCommandsResponse.js +35 -0
  105. package/v1/model/ListInsertCommandsResponse.js.map +1 -0
  106. package/v1/model/ListInteractionRuleGroupsSummaryRequest.d.ts +36 -0
  107. package/v1/model/ListInteractionRuleGroupsSummaryRequest.d.ts.map +1 -0
  108. package/v1/model/ListInteractionRuleGroupsSummaryRequest.js +87 -0
  109. package/v1/model/ListInteractionRuleGroupsSummaryRequest.js.map +1 -0
  110. package/v1/model/ListInteractionRuleGroupsSummaryResponse.d.ts +16 -0
  111. package/v1/model/ListInteractionRuleGroupsSummaryResponse.d.ts.map +1 -0
  112. package/v1/model/ListInteractionRuleGroupsSummaryResponse.js +35 -0
  113. package/v1/model/ListInteractionRuleGroupsSummaryResponse.js.map +1 -0
  114. package/v1/model/LiveNotifyConfigReq.d.ts +20 -0
  115. package/v1/model/LiveNotifyConfigReq.d.ts.map +1 -0
  116. package/v1/model/LiveNotifyConfigReq.js +33 -0
  117. package/v1/model/LiveNotifyConfigReq.js.map +1 -0
  118. package/v1/model/NotifyEventEnum.d.ts +4 -0
  119. package/v1/model/NotifyEventEnum.d.ts.map +1 -0
  120. package/v1/model/NotifyEventEnum.js +9 -0
  121. package/v1/model/NotifyEventEnum.js.map +1 -0
  122. package/v1/model/ResourceAvailableNums.d.ts +20 -0
  123. package/v1/model/ResourceAvailableNums.d.ts.map +1 -0
  124. package/v1/model/ResourceAvailableNums.js +45 -0
  125. package/v1/model/ResourceAvailableNums.js.map +1 -0
  126. package/v1/model/ShortJobType.d.ts +4 -0
  127. package/v1/model/ShortJobType.d.ts.map +1 -0
  128. package/v1/model/ShortJobType.js +9 -0
  129. package/v1/model/ShortJobType.js.map +1 -0
  130. package/v1/model/ShowAudioRecordConfigRequest.d.ts +20 -0
  131. package/v1/model/ShowAudioRecordConfigRequest.d.ts.map +1 -0
  132. package/v1/model/ShowAudioRecordConfigRequest.js +49 -0
  133. package/v1/model/ShowAudioRecordConfigRequest.js.map +1 -0
  134. package/v1/model/ShowAudioRecordConfigResponse.d.ts +33 -0
  135. package/v1/model/ShowAudioRecordConfigResponse.d.ts.map +1 -0
  136. package/v1/model/ShowAudioRecordConfigResponse.js +81 -0
  137. package/v1/model/ShowAudioRecordConfigResponse.js.map +1 -0
  138. package/v1/model/ShowEncryptFileRequest.d.ts +16 -0
  139. package/v1/model/ShowEncryptFileRequest.d.ts.map +1 -0
  140. package/v1/model/ShowEncryptFileRequest.js +42 -0
  141. package/v1/model/ShowEncryptFileRequest.js.map +1 -0
  142. package/v1/model/ShowEncryptFileResponse.d.ts +5 -0
  143. package/v1/model/ShowEncryptFileResponse.d.ts.map +1 -0
  144. package/v1/model/ShowEncryptFileResponse.js +11 -0
  145. package/v1/model/ShowEncryptFileResponse.js.map +1 -0
  146. package/v1/model/ShowInteractionRuleGroupRequest.d.ts +24 -0
  147. package/v1/model/ShowInteractionRuleGroupRequest.d.ts.map +1 -0
  148. package/v1/model/ShowInteractionRuleGroupRequest.js +60 -0
  149. package/v1/model/ShowInteractionRuleGroupRequest.js.map +1 -0
  150. package/v1/model/ShowInteractionRuleGroupResponse.d.ts +30 -0
  151. package/v1/model/ShowInteractionRuleGroupResponse.d.ts.map +1 -0
  152. package/v1/model/ShowInteractionRuleGroupResponse.js +71 -0
  153. package/v1/model/ShowInteractionRuleGroupResponse.js.map +1 -0
  154. package/v1/model/ShowLivePlatformAccessTypeRequest.d.ts +22 -0
  155. package/v1/model/ShowLivePlatformAccessTypeRequest.d.ts.map +1 -0
  156. package/v1/model/ShowLivePlatformAccessTypeRequest.js +53 -0
  157. package/v1/model/ShowLivePlatformAccessTypeRequest.js.map +1 -0
  158. package/v1/model/ShowLivePlatformAccessTypeResponse.d.ts +14 -0
  159. package/v1/model/ShowLivePlatformAccessTypeResponse.d.ts.map +1 -0
  160. package/v1/model/ShowLivePlatformAccessTypeResponse.js +31 -0
  161. package/v1/model/ShowLivePlatformAccessTypeResponse.js.map +1 -0
  162. package/v1/model/ShowLiveWarningInfoRequest.d.ts +24 -0
  163. package/v1/model/ShowLiveWarningInfoRequest.d.ts.map +1 -0
  164. package/v1/model/ShowLiveWarningInfoRequest.js +60 -0
  165. package/v1/model/ShowLiveWarningInfoRequest.js.map +1 -0
  166. package/v1/model/ShowLiveWarningInfoResponse.d.ts +18 -0
  167. package/v1/model/ShowLiveWarningInfoResponse.d.ts.map +1 -0
  168. package/v1/model/ShowLiveWarningInfoResponse.js +41 -0
  169. package/v1/model/ShowLiveWarningInfoResponse.js.map +1 -0
  170. package/v1/model/ShowShortJobRequest.d.ts +24 -0
  171. package/v1/model/ShowShortJobRequest.d.ts.map +1 -0
  172. package/v1/model/ShowShortJobRequest.js +60 -0
  173. package/v1/model/ShowShortJobRequest.js.map +1 -0
  174. package/v1/model/ShowShortJobResponse.d.ts +38 -0
  175. package/v1/model/ShowShortJobResponse.d.ts.map +1 -0
  176. package/v1/model/ShowShortJobResponse.js +85 -0
  177. package/v1/model/ShowShortJobResponse.js.map +1 -0
  178. package/v1/model/ShowSmartChatRoomResponse.d.ts +4 -0
  179. package/v1/model/ShowSmartChatRoomResponse.d.ts.map +1 -1
  180. package/v1/model/ShowSmartChatRoomResponse.js +10 -0
  181. package/v1/model/ShowSmartChatRoomResponse.js.map +1 -1
  182. package/v1/model/ShowSummaryUsageDataRequest.d.ts +42 -0
  183. package/v1/model/ShowSummaryUsageDataRequest.d.ts.map +1 -0
  184. package/v1/model/ShowSummaryUsageDataRequest.js +92 -0
  185. package/v1/model/ShowSummaryUsageDataRequest.js.map +1 -0
  186. package/v1/model/ShowSummaryUsageDataResponse.d.ts +33 -0
  187. package/v1/model/ShowSummaryUsageDataResponse.d.ts.map +1 -0
  188. package/v1/model/ShowSummaryUsageDataResponse.js +68 -0
  189. package/v1/model/ShowSummaryUsageDataResponse.js.map +1 -0
  190. package/v1/model/ShowUsageDataRequest.d.ts +54 -0
  191. package/v1/model/ShowUsageDataRequest.d.ts.map +1 -0
  192. package/v1/model/ShowUsageDataRequest.js +122 -0
  193. package/v1/model/ShowUsageDataRequest.js.map +1 -0
  194. package/v1/model/ShowUsageDataResponse.d.ts +16 -0
  195. package/v1/model/ShowUsageDataResponse.d.ts.map +1 -0
  196. package/v1/model/ShowUsageDataResponse.js +35 -0
  197. package/v1/model/ShowUsageDataResponse.js.map +1 -0
  198. package/v1/model/ShowUserReviewAttachmentUploadingAddressRequest.d.ts +16 -0
  199. package/v1/model/ShowUserReviewAttachmentUploadingAddressRequest.d.ts.map +1 -0
  200. package/v1/model/ShowUserReviewAttachmentUploadingAddressRequest.js +40 -0
  201. package/v1/model/ShowUserReviewAttachmentUploadingAddressRequest.js.map +1 -0
  202. package/v1/model/ShowUserReviewAttachmentUploadingAddressResponse.d.ts +8 -0
  203. package/v1/model/ShowUserReviewAttachmentUploadingAddressResponse.d.ts.map +1 -0
  204. package/v1/model/ShowUserReviewAttachmentUploadingAddressResponse.js +15 -0
  205. package/v1/model/ShowUserReviewAttachmentUploadingAddressResponse.js.map +1 -0
  206. package/v1/model/ShowVoiceTrainingQuotasRequest.d.ts +16 -0
  207. package/v1/model/ShowVoiceTrainingQuotasRequest.d.ts.map +1 -0
  208. package/v1/model/ShowVoiceTrainingQuotasRequest.js +37 -0
  209. package/v1/model/ShowVoiceTrainingQuotasRequest.js.map +1 -0
  210. package/v1/model/ShowVoiceTrainingQuotasResponse.d.ts +15 -0
  211. package/v1/model/ShowVoiceTrainingQuotasResponse.d.ts.map +1 -0
  212. package/v1/model/ShowVoiceTrainingQuotasResponse.js +29 -0
  213. package/v1/model/ShowVoiceTrainingQuotasResponse.js.map +1 -0
  214. package/v1/model/SubtitleFileDetail.d.ts +5 -0
  215. package/v1/model/SubtitleFileDetail.d.ts.map +1 -1
  216. package/v1/model/SubtitleFileDetail.js +10 -0
  217. package/v1/model/SubtitleFileDetail.js.map +1 -1
  218. package/v1/model/TimeResourceUsageInfo.d.ts +11 -0
  219. package/v1/model/TimeResourceUsageInfo.d.ts.map +1 -0
  220. package/v1/model/TimeResourceUsageInfo.js +23 -0
  221. package/v1/model/TimeResourceUsageInfo.js.map +1 -0
  222. package/v1/model/UpdateAudioRecordConfigReq.d.ts +16 -0
  223. package/v1/model/UpdateAudioRecordConfigReq.d.ts.map +1 -0
  224. package/v1/model/UpdateAudioRecordConfigReq.js +39 -0
  225. package/v1/model/UpdateAudioRecordConfigReq.js.map +1 -0
  226. package/v1/model/UpdateAudioRecordConfigRequest.d.ts +23 -0
  227. package/v1/model/UpdateAudioRecordConfigRequest.d.ts.map +1 -0
  228. package/v1/model/UpdateAudioRecordConfigRequest.js +53 -0
  229. package/v1/model/UpdateAudioRecordConfigRequest.js.map +1 -0
  230. package/v1/model/UpdateAudioRecordConfigResponse.d.ts +33 -0
  231. package/v1/model/UpdateAudioRecordConfigResponse.d.ts.map +1 -0
  232. package/v1/model/UpdateAudioRecordConfigResponse.js +81 -0
  233. package/v1/model/UpdateAudioRecordConfigResponse.js.map +1 -0
  234. package/v1/model/UpdateInteractionRuleRequest.d.ts +31 -0
  235. package/v1/model/UpdateInteractionRuleRequest.d.ts.map +1 -0
  236. package/v1/model/UpdateInteractionRuleRequest.js +75 -0
  237. package/v1/model/UpdateInteractionRuleRequest.js.map +1 -0
  238. package/v1/model/UpdateInteractionRuleResponse.d.ts +48 -0
  239. package/v1/model/UpdateInteractionRuleResponse.d.ts.map +1 -0
  240. package/v1/model/UpdateInteractionRuleResponse.js +109 -0
  241. package/v1/model/UpdateInteractionRuleResponse.js.map +1 -0
  242. package/v1/model/UpdateSmartChatRoomResponse.d.ts +4 -0
  243. package/v1/model/UpdateSmartChatRoomResponse.d.ts.map +1 -1
  244. package/v1/model/UpdateSmartChatRoomResponse.js +10 -0
  245. package/v1/model/UpdateSmartChatRoomResponse.js.map +1 -1
  246. package/v1/model/UpdateSmartLiveUserConfigReq.d.ts +19 -0
  247. package/v1/model/UpdateSmartLiveUserConfigReq.d.ts.map +1 -0
  248. package/v1/model/UpdateSmartLiveUserConfigReq.js +39 -0
  249. package/v1/model/UpdateSmartLiveUserConfigReq.js.map +1 -0
  250. package/v1/model/UpdateSmartLiveUserConfigRequest.d.ts +19 -0
  251. package/v1/model/UpdateSmartLiveUserConfigRequest.d.ts.map +1 -0
  252. package/v1/model/UpdateSmartLiveUserConfigRequest.js +43 -0
  253. package/v1/model/UpdateSmartLiveUserConfigRequest.js.map +1 -0
  254. package/v1/model/UpdateSmartLiveUserConfigResponse.d.ts +9 -0
  255. package/v1/model/UpdateSmartLiveUserConfigResponse.d.ts.map +1 -0
  256. package/v1/model/UpdateSmartLiveUserConfigResponse.js +21 -0
  257. package/v1/model/UpdateSmartLiveUserConfigResponse.js.map +1 -0
  258. package/v1/model/VoiceTrainingResource.d.ts +77 -0
  259. package/v1/model/VoiceTrainingResource.d.ts.map +1 -0
  260. package/v1/model/VoiceTrainingResource.js +140 -0
  261. package/v1/model/VoiceTrainingResource.js.map +1 -0
  262. package/v1/public-api.d.ts +58 -0
  263. package/v1/public-api.d.ts.map +1 -1
  264. package/v1/public-api.js +58 -0
  265. package/v1/public-api.js.map +1 -1
@@ -13,6 +13,7 @@ const Cancel2DDigitalHumanVideoRequest_1 = require("./model/Cancel2DDigitalHuman
13
13
  const CancelPhotoDigitalHumanVideoRequest_1 = require("./model/CancelPhotoDigitalHumanVideoRequest");
14
14
  const CheckRecallKnowledgeLibraryRequest_1 = require("./model/CheckRecallKnowledgeLibraryRequest");
15
15
  const CheckVoiceAssetRequest_1 = require("./model/CheckVoiceAssetRequest");
16
+ const CommitShortJobRequest_1 = require("./model/CommitShortJobRequest");
16
17
  const CommitVoiceTrainingJobRequest_1 = require("./model/CommitVoiceTrainingJobRequest");
17
18
  const ConfirmFileUploadRequest_1 = require("./model/ConfirmFileUploadRequest");
18
19
  const ConfirmSmarLiveRoomRequest_1 = require("./model/ConfirmSmarLiveRoomRequest");
@@ -25,6 +26,7 @@ const CreateActiveCodeRequest_1 = require("./model/CreateActiveCodeRequest");
25
26
  const CreateAgencyWithRoleTypeRequest_1 = require("./model/CreateAgencyWithRoleTypeRequest");
26
27
  const CreateAssetByReplicationInfoRequest_1 = require("./model/CreateAssetByReplicationInfoRequest");
27
28
  const CreateAsyncTtsJobRequest_1 = require("./model/CreateAsyncTtsJobRequest");
29
+ const CreateAudioRecordConfigRequest_1 = require("./model/CreateAudioRecordConfigRequest");
28
30
  const CreateBatchKnowledgeQuestionRequest_1 = require("./model/CreateBatchKnowledgeQuestionRequest");
29
31
  const CreateDialogReportConfigRequest_1 = require("./model/CreateDialogReportConfigRequest");
30
32
  const CreateDialogUrlRequest_1 = require("./model/CreateDialogUrlRequest");
@@ -39,6 +41,7 @@ const CreateInstructionLibraryRequest_1 = require("./model/CreateInstructionLibr
39
41
  const CreateInstructionRequest_1 = require("./model/CreateInstructionRequest");
40
42
  const CreateIntentAndQuestionRequest_1 = require("./model/CreateIntentAndQuestionRequest");
41
43
  const CreateInteractionRuleGroupRequest_1 = require("./model/CreateInteractionRuleGroupRequest");
44
+ const CreateInteractionRuleRequest_1 = require("./model/CreateInteractionRuleRequest");
42
45
  const CreateInteractiveChatRequest_1 = require("./model/CreateInteractiveChatRequest");
43
46
  const CreateKnowledgeIntentRequest_1 = require("./model/CreateKnowledgeIntentRequest");
44
47
  const CreateKnowledgeLibraryRequest_1 = require("./model/CreateKnowledgeLibraryRequest");
@@ -60,12 +63,14 @@ const CreateProductRequest_1 = require("./model/CreateProductRequest");
60
63
  const CreateQuestionAnswerRequest_1 = require("./model/CreateQuestionAnswerRequest");
61
64
  const CreateRobotRequest_1 = require("./model/CreateRobotRequest");
62
65
  const CreateRoleRequest_1 = require("./model/CreateRoleRequest");
66
+ const CreateShortJobRequest_1 = require("./model/CreateShortJobRequest");
63
67
  const CreateSmartChatRoomRequest_1 = require("./model/CreateSmartChatRoomRequest");
64
68
  const CreateSmartLiveRoomRequest_1 = require("./model/CreateSmartLiveRoomRequest");
65
69
  const CreateSubtitleFileRequest_1 = require("./model/CreateSubtitleFileRequest");
66
70
  const CreateTrainingAdvanceJobRequest_1 = require("./model/CreateTrainingAdvanceJobRequest");
67
71
  const CreateTrainingBasicJobRequest_1 = require("./model/CreateTrainingBasicJobRequest");
68
72
  const CreateTrainingMiddleJobRequest_1 = require("./model/CreateTrainingMiddleJobRequest");
73
+ const CreateTrainingThirdPartyJobRequest_1 = require("./model/CreateTrainingThirdPartyJobRequest");
69
74
  const CreateTtsAuditionRequest_1 = require("./model/CreateTtsAuditionRequest");
70
75
  const CreateTtsaRequest_1 = require("./model/CreateTtsaRequest");
71
76
  const CreateTtscVocabularyConfigsRequest_1 = require("./model/CreateTtscVocabularyConfigsRequest");
@@ -77,6 +82,7 @@ const Delete2dModelTrainingJobRequest_1 = require("./model/Delete2dModelTraining
77
82
  const DeleteActiveCodeRequest_1 = require("./model/DeleteActiveCodeRequest");
78
83
  const DeleteAgencyWithRoleTypeRequest_1 = require("./model/DeleteAgencyWithRoleTypeRequest");
79
84
  const DeleteAssetRequest_1 = require("./model/DeleteAssetRequest");
85
+ const DeleteAudioRecordConfigRequest_1 = require("./model/DeleteAudioRecordConfigRequest");
80
86
  const DeleteDialogReportConfigRequest_1 = require("./model/DeleteDialogReportConfigRequest");
81
87
  const DeleteDigitalHumanBusinessCardRequest_1 = require("./model/DeleteDigitalHumanBusinessCardRequest");
82
88
  const DeleteDocumentRequest_1 = require("./model/DeleteDocumentRequest");
@@ -86,6 +92,7 @@ const DeleteHotWordsRequest_1 = require("./model/DeleteHotWordsRequest");
86
92
  const DeleteInstructionLibraryRequest_1 = require("./model/DeleteInstructionLibraryRequest");
87
93
  const DeleteInstructionRequest_1 = require("./model/DeleteInstructionRequest");
88
94
  const DeleteInteractionRuleGroupRequest_1 = require("./model/DeleteInteractionRuleGroupRequest");
95
+ const DeleteInteractionRuleRequest_1 = require("./model/DeleteInteractionRuleRequest");
89
96
  const DeleteKnowledgeIntentRequest_1 = require("./model/DeleteKnowledgeIntentRequest");
90
97
  const DeleteKnowledgeLibraryRequest_1 = require("./model/DeleteKnowledgeLibraryRequest");
91
98
  const DeleteKnowledgeQuestionRequest_1 = require("./model/DeleteKnowledgeQuestionRequest");
@@ -127,9 +134,11 @@ const ListDocumentSegmentRequest_1 = require("./model/ListDocumentSegmentRequest
127
134
  const ListFacialAnimationsDataRequest_1 = require("./model/ListFacialAnimationsDataRequest");
128
135
  const ListHotQuestionRequest_1 = require("./model/ListHotQuestionRequest");
129
136
  const ListHotWordsRequest_1 = require("./model/ListHotWordsRequest");
137
+ const ListInsertCommandsRequest_1 = require("./model/ListInsertCommandsRequest");
130
138
  const ListInstructionLibraryRequest_1 = require("./model/ListInstructionLibraryRequest");
131
139
  const ListInstructionRequest_1 = require("./model/ListInstructionRequest");
132
140
  const ListInteractionRuleGroupsRequest_1 = require("./model/ListInteractionRuleGroupsRequest");
141
+ const ListInteractionRuleGroupsSummaryRequest_1 = require("./model/ListInteractionRuleGroupsSummaryRequest");
133
142
  const ListJobOperationLogRequest_1 = require("./model/ListJobOperationLogRequest");
134
143
  const ListKnowledgeIntentRequest_1 = require("./model/ListKnowledgeIntentRequest");
135
144
  const ListKnowledgeLibraryRequest_1 = require("./model/ListKnowledgeLibraryRequest");
@@ -180,21 +189,26 @@ const ShowAgencyRequest_1 = require("./model/ShowAgencyRequest");
180
189
  const ShowAssetReplicationInfoRequest_1 = require("./model/ShowAssetReplicationInfoRequest");
181
190
  const ShowAssetRequest_1 = require("./model/ShowAssetRequest");
182
191
  const ShowAsyncTtsJobRequest_1 = require("./model/ShowAsyncTtsJobRequest");
192
+ const ShowAudioRecordConfigRequest_1 = require("./model/ShowAudioRecordConfigRequest");
183
193
  const ShowDialogReportConfigRequest_1 = require("./model/ShowDialogReportConfigRequest");
184
194
  const ShowDigitalHumanBusinessCardRequest_1 = require("./model/ShowDigitalHumanBusinessCardRequest");
185
195
  const ShowDocumentInfoRequest_1 = require("./model/ShowDocumentInfoRequest");
196
+ const ShowEncryptFileRequest_1 = require("./model/ShowEncryptFileRequest");
186
197
  const ShowHotQuestionRequest_1 = require("./model/ShowHotQuestionRequest");
187
198
  const ShowHotWordsRequest_1 = require("./model/ShowHotWordsRequest");
188
199
  const ShowHotWordsSwitchRequest_1 = require("./model/ShowHotWordsSwitchRequest");
189
200
  const ShowInstructionLibraryRequest_1 = require("./model/ShowInstructionLibraryRequest");
190
201
  const ShowInstructionRequest_1 = require("./model/ShowInstructionRequest");
202
+ const ShowInteractionRuleGroupRequest_1 = require("./model/ShowInteractionRuleGroupRequest");
191
203
  const ShowJobAuditResultRequest_1 = require("./model/ShowJobAuditResultRequest");
192
204
  const ShowJobUploadingAddressRequest_1 = require("./model/ShowJobUploadingAddressRequest");
193
205
  const ShowKnowledgeIntentRequest_1 = require("./model/ShowKnowledgeIntentRequest");
194
206
  const ShowKnowledgeLibraryRequest_1 = require("./model/ShowKnowledgeLibraryRequest");
195
207
  const ShowKnowledgeQuestionRequest_1 = require("./model/ShowKnowledgeQuestionRequest");
196
208
  const ShowKnowledgeSkillRequest_1 = require("./model/ShowKnowledgeSkillRequest");
209
+ const ShowLivePlatformAccessTypeRequest_1 = require("./model/ShowLivePlatformAccessTypeRequest");
197
210
  const ShowLivePlatformRequest_1 = require("./model/ShowLivePlatformRequest");
211
+ const ShowLiveWarningInfoRequest_1 = require("./model/ShowLiveWarningInfoRequest");
198
212
  const ShowLlmConfigRequest_1 = require("./model/ShowLlmConfigRequest");
199
213
  const ShowMcpServerRequest_1 = require("./model/ShowMcpServerRequest");
200
214
  const ShowPacifyWordsIntentRequest_1 = require("./model/ShowPacifyWordsIntentRequest");
@@ -211,20 +225,25 @@ const ShowQuestionAnswerRequest_1 = require("./model/ShowQuestionAnswerRequest")
211
225
  const ShowResourceUsageRequest_1 = require("./model/ShowResourceUsageRequest");
212
226
  const ShowRobotRequest_1 = require("./model/ShowRobotRequest");
213
227
  const ShowRoleRequest_1 = require("./model/ShowRoleRequest");
228
+ const ShowShortJobRequest_1 = require("./model/ShowShortJobRequest");
214
229
  const ShowSmartChatJobRequest_1 = require("./model/ShowSmartChatJobRequest");
215
230
  const ShowSmartChatRoomRequest_1 = require("./model/ShowSmartChatRoomRequest");
216
231
  const ShowSmartLiveRequest_1 = require("./model/ShowSmartLiveRequest");
217
232
  const ShowSmartLiveRoomRequest_1 = require("./model/ShowSmartLiveRoomRequest");
218
233
  const ShowSubtitleFileRequest_1 = require("./model/ShowSubtitleFileRequest");
234
+ const ShowSummaryUsageDataRequest_1 = require("./model/ShowSummaryUsageDataRequest");
219
235
  const ShowTaskRequest_1 = require("./model/ShowTaskRequest");
220
236
  const ShowTrainingSegmentInfoRequest_1 = require("./model/ShowTrainingSegmentInfoRequest");
221
237
  const ShowTtsAuditionFileRequest_1 = require("./model/ShowTtsAuditionFileRequest");
222
238
  const ShowTtsJobRequest_1 = require("./model/ShowTtsJobRequest");
223
239
  const ShowTtsPhoneticSymbolRequest_1 = require("./model/ShowTtsPhoneticSymbolRequest");
240
+ const ShowUsageDataRequest_1 = require("./model/ShowUsageDataRequest");
241
+ const ShowUserReviewAttachmentUploadingAddressRequest_1 = require("./model/ShowUserReviewAttachmentUploadingAddressRequest");
224
242
  const ShowVideoMotionCaptureJobRequest_1 = require("./model/ShowVideoMotionCaptureJobRequest");
225
243
  const ShowVideoScriptRequest_1 = require("./model/ShowVideoScriptRequest");
226
244
  const ShowVocabularySwitchConfigsRequest_1 = require("./model/ShowVocabularySwitchConfigsRequest");
227
245
  const ShowVoiceTrainingJobRequest_1 = require("./model/ShowVoiceTrainingJobRequest");
246
+ const ShowVoiceTrainingQuotasRequest_1 = require("./model/ShowVoiceTrainingQuotasRequest");
228
247
  const ShowWelcomeSpeechRequest_1 = require("./model/ShowWelcomeSpeechRequest");
229
248
  const ShowWelcomeSpeechSwitchRequest_1 = require("./model/ShowWelcomeSpeechSwitchRequest");
230
249
  const SignAgreementRequest_1 = require("./model/SignAgreementRequest");
@@ -237,6 +256,7 @@ const StopSmartLiveRequest_1 = require("./model/StopSmartLiveRequest");
237
256
  const StopVideoMotionCaptureJobRequest_1 = require("./model/StopVideoMotionCaptureJobRequest");
238
257
  const Update2dModelTrainingJobRequest_1 = require("./model/Update2dModelTrainingJobRequest");
239
258
  const UpdateActiveCodeRequest_1 = require("./model/UpdateActiveCodeRequest");
259
+ const UpdateAudioRecordConfigRequest_1 = require("./model/UpdateAudioRecordConfigRequest");
240
260
  const UpdateBatchKnowledgeQuestionRequest_1 = require("./model/UpdateBatchKnowledgeQuestionRequest");
241
261
  const UpdateDialogReportConfigRequest_1 = require("./model/UpdateDialogReportConfigRequest");
242
262
  const UpdateDigitalAssetRequest_1 = require("./model/UpdateDigitalAssetRequest");
@@ -250,6 +270,7 @@ const UpdateHotWordsSwitchRequest_1 = require("./model/UpdateHotWordsSwitchReque
250
270
  const UpdateInstructionLibraryRequest_1 = require("./model/UpdateInstructionLibraryRequest");
251
271
  const UpdateInstructionRequest_1 = require("./model/UpdateInstructionRequest");
252
272
  const UpdateInteractionRuleGroupRequest_1 = require("./model/UpdateInteractionRuleGroupRequest");
273
+ const UpdateInteractionRuleRequest_1 = require("./model/UpdateInteractionRuleRequest");
253
274
  const UpdateKnowledgeIntentRequest_1 = require("./model/UpdateKnowledgeIntentRequest");
254
275
  const UpdateKnowledgeLibraryRequest_1 = require("./model/UpdateKnowledgeLibraryRequest");
255
276
  const UpdateKnowledgeQuestionRequest_1 = require("./model/UpdateKnowledgeQuestionRequest");
@@ -267,6 +288,7 @@ const UpdateRobotRequest_1 = require("./model/UpdateRobotRequest");
267
288
  const UpdateRoleRequest_1 = require("./model/UpdateRoleRequest");
268
289
  const UpdateSmartChatRoomRequest_1 = require("./model/UpdateSmartChatRoomRequest");
269
290
  const UpdateSmartLiveRoomRequest_1 = require("./model/UpdateSmartLiveRoomRequest");
291
+ const UpdateSmartLiveUserConfigRequest_1 = require("./model/UpdateSmartLiveUserConfigRequest");
270
292
  const UpdateTtscVocabularyGroupsRequest_1 = require("./model/UpdateTtscVocabularyGroupsRequest");
271
293
  const UpdateVideoScriptRequest_1 = require("./model/UpdateVideoScriptRequest");
272
294
  const UpdateWelcomeSpeechRequest_1 = require("./model/UpdateWelcomeSpeechRequest");
@@ -455,6 +477,84 @@ class MetaStudioClient {
455
477
  options['responseHeaders'] = ['X-Request-Id'];
456
478
  return this.hcClient.sendRequest(options);
457
479
  }
480
+ /**
481
+ * 该接口用于创建语音录制配置。
482
+ *
483
+ * Please refer to HUAWEI cloud API Explorer for details.
484
+ *
485
+ * @summary 创建语音录制配置
486
+ * @param {CreateAudioRecordConfigReq} createAudioRecordConfigRequestBody 创建语音录制配置请求。
487
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
488
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
489
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
490
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
491
+ * @param {*} [options] Override http request option.
492
+ * @throws {RequiredError}
493
+ */
494
+ createAudioRecordConfig(createAudioRecordConfigRequest) {
495
+ const options = (0, exports.ParamCreater)().createAudioRecordConfig(createAudioRecordConfigRequest);
496
+ // @ts-ignore
497
+ options['responseHeaders'] = ['X-Request-Id'];
498
+ return this.hcClient.sendRequest(options);
499
+ }
500
+ /**
501
+ * 该接口用于删除语音录制配置。
502
+ *
503
+ * Please refer to HUAWEI cloud API Explorer for details.
504
+ *
505
+ * @summary 删除语音录制配置
506
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
507
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
508
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
509
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
510
+ * @param {*} [options] Override http request option.
511
+ * @throws {RequiredError}
512
+ */
513
+ deleteAudioRecordConfig(deleteAudioRecordConfigRequest) {
514
+ const options = (0, exports.ParamCreater)().deleteAudioRecordConfig(deleteAudioRecordConfigRequest);
515
+ // @ts-ignore
516
+ options['responseHeaders'] = ['X-Request-Id'];
517
+ return this.hcClient.sendRequest(options);
518
+ }
519
+ /**
520
+ * 该接口用于查询语音录制配置。
521
+ *
522
+ * Please refer to HUAWEI cloud API Explorer for details.
523
+ *
524
+ * @summary 查询语音录制配置
525
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
526
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
527
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
528
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
529
+ * @param {*} [options] Override http request option.
530
+ * @throws {RequiredError}
531
+ */
532
+ showAudioRecordConfig(showAudioRecordConfigRequest) {
533
+ const options = (0, exports.ParamCreater)().showAudioRecordConfig(showAudioRecordConfigRequest);
534
+ // @ts-ignore
535
+ options['responseHeaders'] = ['X-Request-Id'];
536
+ return this.hcClient.sendRequest(options);
537
+ }
538
+ /**
539
+ * 该接口用于修改语音录制配置。
540
+ *
541
+ * Please refer to HUAWEI cloud API Explorer for details.
542
+ *
543
+ * @summary 修改语音录制配置
544
+ * @param {UpdateAudioRecordConfigReq} updateAudioRecordConfigRequestBody 修改语音录制配置请求。
545
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
546
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
547
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
548
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
549
+ * @param {*} [options] Override http request option.
550
+ * @throws {RequiredError}
551
+ */
552
+ updateAudioRecordConfig(updateAudioRecordConfigRequest) {
553
+ const options = (0, exports.ParamCreater)().updateAudioRecordConfig(updateAudioRecordConfigRequest);
554
+ // @ts-ignore
555
+ options['responseHeaders'] = ['X-Request-Id'];
556
+ return this.hcClient.sendRequest(options);
557
+ }
458
558
  /**
459
559
  * 删除导入导出任务
460
560
  *
@@ -594,6 +694,56 @@ class MetaStudioClient {
594
694
  options['responseHeaders'] = [''];
595
695
  return this.hcClient.sendRequest(options);
596
696
  }
697
+ /**
698
+ * 获取周期内用户的资源使用情况概览
699
+ *
700
+ * Please refer to HUAWEI cloud API Explorer for details.
701
+ *
702
+ * @summary 查询用户数据概览
703
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
704
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
705
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
706
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
707
+ * @param {string} [userId] 用户id(仅开启了子账号隔离功能的主账号携带才生效)
708
+ * @param {string} [resourceType] 资源类型 * video_time_2d_model:分身数字人视频制作 * video_time_flexus_2d_model:分身数字人视频制作flexus版
709
+ * @param {string} [businessType] 业务类型 * LIVE_2D:分身数字人视频直播 * VIDEO_2D:分身数字人视频制作
710
+ * @param {'MIN' | 'HOUR'} [unit] 使用量的单位。 * MIN:分钟 * HOUR:小时
711
+ * @param {*} [options] Override http request option.
712
+ * @throws {RequiredError}
713
+ */
714
+ showSummaryUsageData(showSummaryUsageDataRequest) {
715
+ const options = (0, exports.ParamCreater)().showSummaryUsageData(showSummaryUsageDataRequest);
716
+ // @ts-ignore
717
+ options['responseHeaders'] = ['X-Request-Id'];
718
+ return this.hcClient.sendRequest(options);
719
+ }
720
+ /**
721
+ * 获取周期内用户的资源使用情况
722
+ *
723
+ * Please refer to HUAWEI cloud API Explorer for details.
724
+ *
725
+ * @summary 查询用户数据详情
726
+ * @param {string} startTime 查询时间段开始时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"
727
+ * @param {string} endTime 查询时间段结束时间,格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"
728
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
729
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
730
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
731
+ * @param {number} [limit] 每页显示的条目数量。
732
+ * @param {number} [offset] 偏移量,表示从此偏移量开始查询。
733
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
734
+ * @param {string} [userId] 用户id(仅开启了子账号隔离功能的主账号携带才生效)
735
+ * @param {string} [resourceType] 资源类型 * video_time_2d_model:分身数字人视频制作 * video_time_flexus_2d_model:分身数字人视频制作flexus版
736
+ * @param {string} [businessType] 业务类型 * LIVE_2D:分身数字人视频直播 * VIDEO_2D:分身数字人视频制作
737
+ * @param {'MIN' | 'HOUR'} [unit] 使用量的单位。 * MIN:分钟 * HOUR:小时
738
+ * @param {*} [options] Override http request option.
739
+ * @throws {RequiredError}
740
+ */
741
+ showUsageData(showUsageDataRequest) {
742
+ const options = (0, exports.ParamCreater)().showUsageData(showUsageDataRequest);
743
+ // @ts-ignore
744
+ options['responseHeaders'] = ['X-Request-Id'];
745
+ return this.hcClient.sendRequest(options);
746
+ }
597
747
  /**
598
748
  * 该接口用于创建对话链接。
599
749
  *
@@ -2072,6 +2222,27 @@ class MetaStudioClient {
2072
2222
  options['responseHeaders'] = ['X-Request-Id'];
2073
2223
  return this.hcClient.sendRequest(options);
2074
2224
  }
2225
+ /**
2226
+ * 该接口用于互动规则库增加规则。
2227
+ *
2228
+ * Please refer to HUAWEI cloud API Explorer for details.
2229
+ *
2230
+ * @summary 互动规则库增加规则
2231
+ * @param {string} groupId 互动规则库ID。
2232
+ * @param {CreateInteractionRuleReq} createInteractionRuleRequestBody 创建智能直播间互动规则。
2233
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
2234
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
2235
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
2236
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
2237
+ * @param {*} [options] Override http request option.
2238
+ * @throws {RequiredError}
2239
+ */
2240
+ createInteractionRule(createInteractionRuleRequest) {
2241
+ const options = (0, exports.ParamCreater)().createInteractionRule(createInteractionRuleRequest);
2242
+ // @ts-ignore
2243
+ options['responseHeaders'] = ['X-Request-Id'];
2244
+ return this.hcClient.sendRequest(options);
2245
+ }
2075
2246
  /**
2076
2247
  * 该接口用于创建智能直播间互动规则库。
2077
2248
  *
@@ -2092,6 +2263,27 @@ class MetaStudioClient {
2092
2263
  options['responseHeaders'] = ['X-Request-Id'];
2093
2264
  return this.hcClient.sendRequest(options);
2094
2265
  }
2266
+ /**
2267
+ * 该接口用于互动规则库修改删除规则。
2268
+ *
2269
+ * Please refer to HUAWEI cloud API Explorer for details.
2270
+ *
2271
+ * @summary 互动规则库删除某条规则
2272
+ * @param {string} groupId 互动规则库ID。
2273
+ * @param {string} ruleId 互动规则ID。
2274
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
2275
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
2276
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
2277
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
2278
+ * @param {*} [options] Override http request option.
2279
+ * @throws {RequiredError}
2280
+ */
2281
+ deleteInteractionRule(deleteInteractionRuleRequest) {
2282
+ const options = (0, exports.ParamCreater)().deleteInteractionRule(deleteInteractionRuleRequest);
2283
+ // @ts-ignore
2284
+ options['responseHeaders'] = ['X-Request-Id'];
2285
+ return this.hcClient.sendRequest(options);
2286
+ }
2095
2287
  /**
2096
2288
  * 该接口用于删除智能直播间互动规则库。
2097
2289
  *
@@ -2136,6 +2328,72 @@ class MetaStudioClient {
2136
2328
  options['responseHeaders'] = ['X-Request-Id'];
2137
2329
  return this.hcClient.sendRequest(options);
2138
2330
  }
2331
+ /**
2332
+ * 该接口用于智能直播间互动规则库概要列表。
2333
+ *
2334
+ * Please refer to HUAWEI cloud API Explorer for details.
2335
+ *
2336
+ * @summary 查询智能直播间互动规则库概要列表
2337
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
2338
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
2339
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
2340
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
2341
+ * @param {number} [offset] 偏移量,表示从此偏移量开始查询。
2342
+ * @param {number} [limit] 每页显示的条目数量。
2343
+ * @param {string} [createSince] 过滤创建时间>=输入时间的记录。
2344
+ * @param {string} [createUntil] 过滤创建时间<=输入时间的记录。
2345
+ * @param {string} [groupName] 规则库名称
2346
+ * @param {*} [options] Override http request option.
2347
+ * @throws {RequiredError}
2348
+ */
2349
+ listInteractionRuleGroupsSummary(listInteractionRuleGroupsSummaryRequest) {
2350
+ const options = (0, exports.ParamCreater)().listInteractionRuleGroupsSummary(listInteractionRuleGroupsSummaryRequest);
2351
+ // @ts-ignore
2352
+ options['responseHeaders'] = ['X-Request-Id'];
2353
+ return this.hcClient.sendRequest(options);
2354
+ }
2355
+ /**
2356
+ * 该接口用于查询智能直播间互动规则库详情。
2357
+ *
2358
+ * Please refer to HUAWEI cloud API Explorer for details.
2359
+ *
2360
+ * @summary 查询智能直播间互动规则库详情
2361
+ * @param {string} groupId 互动规则库ID。
2362
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
2363
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
2364
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
2365
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
2366
+ * @param {*} [options] Override http request option.
2367
+ * @throws {RequiredError}
2368
+ */
2369
+ showInteractionRuleGroup(showInteractionRuleGroupRequest) {
2370
+ const options = (0, exports.ParamCreater)().showInteractionRuleGroup(showInteractionRuleGroupRequest);
2371
+ // @ts-ignore
2372
+ options['responseHeaders'] = ['X-Request-Id'];
2373
+ return this.hcClient.sendRequest(options);
2374
+ }
2375
+ /**
2376
+ * 该接口用于互动规则库修改某条规则。
2377
+ *
2378
+ * Please refer to HUAWEI cloud API Explorer for details.
2379
+ *
2380
+ * @summary 互动规则库修改某条规则
2381
+ * @param {string} groupId 互动规则库ID。
2382
+ * @param {string} ruleId 互动规则ID。
2383
+ * @param {CreateInteractionRuleReq} updateInteractionRuleRequestBody 创建智能直播间互动规则。
2384
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
2385
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
2386
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
2387
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
2388
+ * @param {*} [options] Override http request option.
2389
+ * @throws {RequiredError}
2390
+ */
2391
+ updateInteractionRule(updateInteractionRuleRequest) {
2392
+ const options = (0, exports.ParamCreater)().updateInteractionRule(updateInteractionRuleRequest);
2393
+ // @ts-ignore
2394
+ options['responseHeaders'] = ['X-Request-Id'];
2395
+ return this.hcClient.sendRequest(options);
2396
+ }
2139
2397
  /**
2140
2398
  * 该接口用于更新智能直播间互动规则库。
2141
2399
  *
@@ -2177,6 +2435,24 @@ class MetaStudioClient {
2177
2435
  options['responseHeaders'] = ['X-Request-Id'];
2178
2436
  return this.hcClient.sendRequest(options);
2179
2437
  }
2438
+ /**
2439
+ * 下载加密文件
2440
+ *
2441
+ * Please refer to HUAWEI cloud API Explorer for details.
2442
+ *
2443
+ * @summary 下载加密文件
2444
+ * @param {string} tenantId 租户id
2445
+ * @param {string} jobId 任务id
2446
+ * @param {string} onceToken 一次性token
2447
+ * @param {*} [options] Override http request option.
2448
+ * @throws {RequiredError}
2449
+ */
2450
+ showEncryptFile(showEncryptFileRequest) {
2451
+ const options = (0, exports.ParamCreater)().showEncryptFile(showEncryptFileRequest);
2452
+ // @ts-ignore
2453
+ options['responseHeaders'] = [''];
2454
+ return this.hcClient.sendRequest(options);
2455
+ }
2180
2456
  /**
2181
2457
  * 该接口用于创建知识库意图和问法。一个意图包含一个主题,一个答案,若干个问法等。接口使用限制详见[API使用限制](metastudio_02_0000.xml)。
2182
2458
  *
@@ -2764,7 +3040,7 @@ class MetaStudioClient {
2764
3040
  * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
2765
3041
  * @param {number} [offset] 偏移量,表示从此偏移量开始查询。
2766
3042
  * @param {number} [limit] 每页显示的条目数量。
2767
- * @param {string} [accessType] 平台对接类型。
3043
+ * @param {string} [accessType] 平台对接类型。| * MEITUAN_OFFICIAL:对接美团直播平台官方接口 * MSS_STANDARD:对接MetaStudio定义的标准接口
2768
3044
  * @param {*} [options] Override http request option.
2769
3045
  * @throws {RequiredError}
2770
3046
  */
@@ -2794,6 +3070,26 @@ class MetaStudioClient {
2794
3070
  options['responseHeaders'] = ['X-Request-Id'];
2795
3071
  return this.hcClient.sendRequest(options);
2796
3072
  }
3073
+ /**
3074
+ * 该接口用于直播平台对接方式。
3075
+ *
3076
+ * Please refer to HUAWEI cloud API Explorer for details.
3077
+ *
3078
+ * @summary 查询直播平台对接方式
3079
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
3080
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
3081
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
3082
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
3083
+ * @param {boolean} [used] 是否已使用
3084
+ * @param {*} [options] Override http request option.
3085
+ * @throws {RequiredError}
3086
+ */
3087
+ showLivePlatformAccessType(showLivePlatformAccessTypeRequest) {
3088
+ const options = (0, exports.ParamCreater)().showLivePlatformAccessType(showLivePlatformAccessTypeRequest);
3089
+ // @ts-ignore
3090
+ options['responseHeaders'] = ['X-Request-Id'];
3091
+ return this.hcClient.sendRequest(options);
3092
+ }
2797
3093
  /**
2798
3094
  * 该接口用于更新第三方直播平台信息。
2799
3095
  *
@@ -3734,6 +4030,25 @@ class MetaStudioClient {
3734
4030
  options['responseHeaders'] = ['X-Request-Id'];
3735
4031
  return this.hcClient.sendRequest(options);
3736
4032
  }
4033
+ /**
4034
+ * 查询声音训练资源。
4035
+ *
4036
+ * Please refer to HUAWEI cloud API Explorer for details.
4037
+ *
4038
+ * @summary 查询声音训练资源
4039
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
4040
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
4041
+ * @param {number} [offset] 偏移量,表示从此偏移量开始查询。
4042
+ * @param {number} [limit] 每页显示的条目数量。
4043
+ * @param {*} [options] Override http request option.
4044
+ * @throws {RequiredError}
4045
+ */
4046
+ showVoiceTrainingQuotas(showVoiceTrainingQuotasRequest) {
4047
+ const options = (0, exports.ParamCreater)().showVoiceTrainingQuotas(showVoiceTrainingQuotasRequest);
4048
+ // @ts-ignore
4049
+ options['responseHeaders'] = [''];
4050
+ return this.hcClient.sendRequest(options);
4051
+ }
3737
4052
  /**
3738
4053
  * 该接口用于创建应用。
3739
4054
  *
@@ -4067,6 +4382,25 @@ class MetaStudioClient {
4067
4382
  options['responseHeaders'] = ['X-Request-Id'];
4068
4383
  return this.hcClient.sendRequest(options);
4069
4384
  }
4385
+ /**
4386
+ * 该接口用于租户设置直播租户级配置。
4387
+ *
4388
+ * Please refer to HUAWEI cloud API Explorer for details.
4389
+ *
4390
+ * @summary 租户设置直播租户级配置
4391
+ * @param {UpdateSmartLiveUserConfigReq} updateSmartLiveUserConfigRequestBody 设置租户级直播配置。
4392
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
4393
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
4394
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
4395
+ * @param {*} [options] Override http request option.
4396
+ * @throws {RequiredError}
4397
+ */
4398
+ updateSmartLiveUserConfig(updateSmartLiveUserConfigRequest) {
4399
+ const options = (0, exports.ParamCreater)().updateSmartLiveUserConfig(updateSmartLiveUserConfigRequest);
4400
+ // @ts-ignore
4401
+ options['responseHeaders'] = ['X-Request-Id'];
4402
+ return this.hcClient.sendRequest(options);
4403
+ }
4070
4404
  /**
4071
4405
  * 该接口用于批量确认命令列表
4072
4406
  *
@@ -4111,6 +4445,29 @@ class MetaStudioClient {
4111
4445
  options['responseHeaders'] = ['X-Request-Id'];
4112
4446
  return this.hcClient.sendRequest(options);
4113
4447
  }
4448
+ /**
4449
+ * 该接口用于查询数字人直播插入命令列表。
4450
+ *
4451
+ * Please refer to HUAWEI cloud API Explorer for details.
4452
+ *
4453
+ * @summary 查询数字人直播插入命令列表
4454
+ * @param {string} roomId 直播间ID。
4455
+ * @param {string} jobId 任务ID。
4456
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
4457
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
4458
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
4459
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
4460
+ * @param {number} [offset] 偏移量,表示从此偏移量开始查询。
4461
+ * @param {number} [limit] 每页显示的条目数量。
4462
+ * @param {*} [options] Override http request option.
4463
+ * @throws {RequiredError}
4464
+ */
4465
+ listInsertCommands(listInsertCommandsRequest) {
4466
+ const options = (0, exports.ParamCreater)().listInsertCommands(listInsertCommandsRequest);
4467
+ // @ts-ignore
4468
+ options['responseHeaders'] = ['X-Request-Id'];
4469
+ return this.hcClient.sendRequest(options);
4470
+ }
4114
4471
  /**
4115
4472
  * 该接口用于查询某个智能直播间的直播任务列表。
4116
4473
  *
@@ -4391,11 +4748,11 @@ class MetaStudioClient {
4391
4748
  return this.hcClient.sendRequest(options);
4392
4749
  }
4393
4750
  /**
4394
- * 该接口用于查询智能直播间剧本详情。
4751
+ * 该接口用查询直播建配置风险信息。
4395
4752
  *
4396
4753
  * Please refer to HUAWEI cloud API Explorer for details.
4397
4754
  *
4398
- * @summary 查询智能直播间剧本详情
4755
+ * @summary 查询直播建配置风险信息
4399
4756
  * @param {string} roomId 直播间ID。
4400
4757
  * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
4401
4758
  * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
@@ -4404,14 +4761,34 @@ class MetaStudioClient {
4404
4761
  * @param {*} [options] Override http request option.
4405
4762
  * @throws {RequiredError}
4406
4763
  */
4407
- showSmartLiveRoom(showSmartLiveRoomRequest) {
4408
- const options = (0, exports.ParamCreater)().showSmartLiveRoom(showSmartLiveRoomRequest);
4764
+ showLiveWarningInfo(showLiveWarningInfoRequest) {
4765
+ const options = (0, exports.ParamCreater)().showLiveWarningInfo(showLiveWarningInfoRequest);
4409
4766
  // @ts-ignore
4410
4767
  options['responseHeaders'] = ['X-Request-Id'];
4411
4768
  return this.hcClient.sendRequest(options);
4412
4769
  }
4413
4770
  /**
4414
- * 该接口用于智能直播间信息。
4771
+ * 该接口用于查询智能直播间剧本详情。
4772
+ *
4773
+ * Please refer to HUAWEI cloud API Explorer for details.
4774
+ *
4775
+ * @summary 查询智能直播间剧本详情
4776
+ * @param {string} roomId 直播间ID。
4777
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
4778
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
4779
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
4780
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
4781
+ * @param {*} [options] Override http request option.
4782
+ * @throws {RequiredError}
4783
+ */
4784
+ showSmartLiveRoom(showSmartLiveRoomRequest) {
4785
+ const options = (0, exports.ParamCreater)().showSmartLiveRoom(showSmartLiveRoomRequest);
4786
+ // @ts-ignore
4787
+ options['responseHeaders'] = ['X-Request-Id'];
4788
+ return this.hcClient.sendRequest(options);
4789
+ }
4790
+ /**
4791
+ * 该接口用于智能直播间信息。
4415
4792
  *
4416
4793
  * Please refer to HUAWEI cloud API Explorer for details.
4417
4794
  *
@@ -4609,6 +4986,26 @@ class MetaStudioClient {
4609
4986
  options['responseHeaders'] = ['X-Request-Id'];
4610
4987
  return this.hcClient.sendRequest(options);
4611
4988
  }
4989
+ /**
4990
+ * 提交短任务,执行改接口后,任务会正式开始执行。
4991
+ *
4992
+ * Please refer to HUAWEI cloud API Explorer for details.
4993
+ *
4994
+ * @summary 提交短任务
4995
+ * @param {string} jobId 任务id。
4996
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
4997
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
4998
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
4999
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
5000
+ * @param {*} [options] Override http request option.
5001
+ * @throws {RequiredError}
5002
+ */
5003
+ commitShortJob(commitShortJobRequest) {
5004
+ const options = (0, exports.ParamCreater)().commitShortJob(commitShortJobRequest);
5005
+ // @ts-ignore
5006
+ options['responseHeaders'] = [''];
5007
+ return this.hcClient.sendRequest(options);
5008
+ }
4612
5009
  /**
4613
5010
  * 提交训练任务,执行该接口后,任务会进入审核状态,审核完成后会等待训练。
4614
5011
  *
@@ -4647,6 +5044,27 @@ class MetaStudioClient {
4647
5044
  options['responseHeaders'] = [''];
4648
5045
  return this.hcClient.sendRequest(options);
4649
5046
  }
5047
+ /**
5048
+ * 用户创建短任务(音频质量检测等),该接口会返回一个obs上传地址,用于上传语音文件。
5049
+ * 文件上传后,调用“提交短任务”接口,启动短任务。
5050
+ *
5051
+ * Please refer to HUAWEI cloud API Explorer for details.
5052
+ *
5053
+ * @summary 创建短任务
5054
+ * @param {CreateShortJobReq} createShortJobRequestBody 创建任务请求。
5055
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
5056
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
5057
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
5058
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
5059
+ * @param {*} [options] Override http request option.
5060
+ * @throws {RequiredError}
5061
+ */
5062
+ createShortJob(createShortJobRequest) {
5063
+ const options = (0, exports.ParamCreater)().createShortJob(createShortJobRequest);
5064
+ // @ts-ignore
5065
+ options['responseHeaders'] = [''];
5066
+ return this.hcClient.sendRequest(options);
5067
+ }
4650
5068
  /**
4651
5069
  * 用户创建语音训练高级版任务,该接口会返回一个obs上传地址,用于上传语音文件。
4652
5070
  *
@@ -4720,6 +5138,27 @@ class MetaStudioClient {
4720
5138
  options['responseHeaders'] = [''];
4721
5139
  return this.hcClient.sendRequest(options);
4722
5140
  }
5141
+ /**
5142
+ * 用户创建第三方平台语音训练任务,该接口会返回一个obs上传地址,用于上传语音文件。
5143
+ * 仅支持zip包方式上传语音文件:
5144
+ * * 语音文件打包成zip上传:上传的训练数据为一个zip格式压缩文件,其中包含一段wav格式的长音频文件。
5145
+ *
5146
+ * > * 文件上传后,调用“提交语音训练任务”接口,启动审核和训练。
5147
+ *
5148
+ * Please refer to HUAWEI cloud API Explorer for details.
5149
+ *
5150
+ * @summary 创建第三方平台语音训练任务
5151
+ * @param {CreateTrainingJobReq} createTrainingThirdPartyJobRequestBody 创建任务请求。
5152
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
5153
+ * @param {*} [options] Override http request option.
5154
+ * @throws {RequiredError}
5155
+ */
5156
+ createTrainingThirdPartyJob(createTrainingThirdPartyJobRequest) {
5157
+ const options = (0, exports.ParamCreater)().createTrainingThirdPartyJob(createTrainingThirdPartyJobRequest);
5158
+ // @ts-ignore
5159
+ options['responseHeaders'] = [''];
5160
+ return this.hcClient.sendRequest(options);
5161
+ }
4723
5162
  /**
4724
5163
  * 删除语音训练任务
4725
5164
  *
@@ -4771,7 +5210,7 @@ class MetaStudioClient {
4771
5210
  * @param {string} [updateUntil] 过滤更新时间<=输入时间的记录。
4772
5211
  * @param {string} [updateSince] 过滤更新时间>=输入时间的记录。
4773
5212
  * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
4774
- * @param {string} [state] 任务状态,默认所有状态。 可多个状态查询,使用英文逗号分隔。 如state=FAILED,WAITING
5213
+ * @param {string} [state] 任务状态,默认所有状态。 可多个状态查询,使用英文逗号分隔。 如state=FAILED,WAITING 任务状态包括: * CREATING: 创建中 * SYSTEM_AUDITING: 系统审核中 * AUDITING: 人工审核中 * WAITING_SPLIT: 等待切割 * SPLITTING: 切割中 * SPLIT_FAILED: 切割失败 * ANNOTATING: 标注中 * WAITING: 等待训练 * PROCESSING: 任务训练中 * RESULT_REVIEW: 审核结果 * AUDIT_FAILED: 审核失败,等待用户重传数据 * UPLOADING: 上传中 * FAILED: 失败 * SUCCEED: 成功
4775
5214
  * @param {string} [jobId] 任务id。
4776
5215
  * @param {string} [voiceName] 声音名称。
4777
5216
  * @param {string} [tag] 任务标签。
@@ -4839,6 +5278,26 @@ class MetaStudioClient {
4839
5278
  options['responseHeaders'] = [''];
4840
5279
  return this.hcClient.sendRequest(options);
4841
5280
  }
5281
+ /**
5282
+ * 查询短任务详情
5283
+ *
5284
+ * Please refer to HUAWEI cloud API Explorer for details.
5285
+ *
5286
+ * @summary 查询短任务详情
5287
+ * @param {string} jobId 任务id。
5288
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
5289
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
5290
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
5291
+ * @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
5292
+ * @param {*} [options] Override http request option.
5293
+ * @throws {RequiredError}
5294
+ */
5295
+ showShortJob(showShortJobRequest) {
5296
+ const options = (0, exports.ParamCreater)().showShortJob(showShortJobRequest);
5297
+ // @ts-ignore
5298
+ options['responseHeaders'] = [''];
5299
+ return this.hcClient.sendRequest(options);
5300
+ }
4842
5301
  /**
4843
5302
  * 查询用户配置的个性化音频时长
4844
5303
  *
@@ -4870,6 +5329,24 @@ class MetaStudioClient {
4870
5329
  options['responseHeaders'] = [''];
4871
5330
  return this.hcClient.sendRequest(options);
4872
5331
  }
5332
+ /**
5333
+ * 用户获取附件上传url
5334
+ *
5335
+ * Please refer to HUAWEI cloud API Explorer for details.
5336
+ *
5337
+ * @summary 用户获取附件上传url
5338
+ * @param {string} jobId 任务id
5339
+ * @param {number} [startNumber] 起始序号
5340
+ * @param {number} [endNumber] 结束序号
5341
+ * @param {*} [options] Override http request option.
5342
+ * @throws {RequiredError}
5343
+ */
5344
+ showUserReviewAttachmentUploadingAddress(showUserReviewAttachmentUploadingAddressRequest) {
5345
+ const options = (0, exports.ParamCreater)().showUserReviewAttachmentUploadingAddress(showUserReviewAttachmentUploadingAddressRequest);
5346
+ // @ts-ignore
5347
+ options['responseHeaders'] = [''];
5348
+ return this.hcClient.sendRequest(options);
5349
+ }
4873
5350
  /**
4874
5351
  * 查询语音训练任务详情
4875
5352
  *
@@ -5636,6 +6113,7 @@ class MetaStudioClient {
5636
6113
  }
5637
6114
  /**
5638
6115
  * 该接口用于复制视频制作剧本。
6116
+ * > - 复制的剧本不包含预览字幕信息。
5639
6117
  *
5640
6118
  * Please refer to HUAWEI cloud API Explorer for details.
5641
6119
  *
@@ -6367,6 +6845,216 @@ const ParamCreater = function () {
6367
6845
  options.headers = localVarHeaderParameter;
6368
6846
  return options;
6369
6847
  },
6848
+ /**
6849
+ * 该接口用于创建语音录制配置。
6850
+ *
6851
+ * Please refer to HUAWEI cloud API Explorer for details.
6852
+ */
6853
+ createAudioRecordConfig(createAudioRecordConfigRequest) {
6854
+ const options = {
6855
+ method: "POST",
6856
+ url: "/v1/{project_id}/digital-human-chat/audio-record-config",
6857
+ contentType: "application/json",
6858
+ queryParams: {},
6859
+ pathParams: {},
6860
+ headers: {},
6861
+ data: {}
6862
+ };
6863
+ const localVarHeaderParameter = {};
6864
+ let body;
6865
+ let authorization;
6866
+ let xSdkDate;
6867
+ let xProjectId;
6868
+ let xAppUserId;
6869
+ if (createAudioRecordConfigRequest !== null && createAudioRecordConfigRequest !== undefined) {
6870
+ if (createAudioRecordConfigRequest instanceof CreateAudioRecordConfigRequest_1.CreateAudioRecordConfigRequest) {
6871
+ body = createAudioRecordConfigRequest.body;
6872
+ authorization = createAudioRecordConfigRequest.authorization;
6873
+ xSdkDate = createAudioRecordConfigRequest.xSdkDate;
6874
+ xProjectId = createAudioRecordConfigRequest.xProjectId;
6875
+ xAppUserId = createAudioRecordConfigRequest.xAppUserId;
6876
+ }
6877
+ else {
6878
+ body = createAudioRecordConfigRequest['body'];
6879
+ authorization = createAudioRecordConfigRequest['Authorization'];
6880
+ xSdkDate = createAudioRecordConfigRequest['X-Sdk-Date'];
6881
+ xProjectId = createAudioRecordConfigRequest['X-Project-Id'];
6882
+ xAppUserId = createAudioRecordConfigRequest['X-App-UserId'];
6883
+ }
6884
+ }
6885
+ if (body === null || body === undefined) {
6886
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
6887
+ }
6888
+ if (authorization !== undefined && authorization !== null) {
6889
+ localVarHeaderParameter['Authorization'] = String(authorization);
6890
+ }
6891
+ if (xSdkDate !== undefined && xSdkDate !== null) {
6892
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
6893
+ }
6894
+ if (xProjectId !== undefined && xProjectId !== null) {
6895
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
6896
+ }
6897
+ if (xAppUserId !== undefined && xAppUserId !== null) {
6898
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
6899
+ }
6900
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6901
+ options.data = body !== undefined ? body : {};
6902
+ options.headers = localVarHeaderParameter;
6903
+ return options;
6904
+ },
6905
+ /**
6906
+ * 该接口用于删除语音录制配置。
6907
+ *
6908
+ * Please refer to HUAWEI cloud API Explorer for details.
6909
+ */
6910
+ deleteAudioRecordConfig(deleteAudioRecordConfigRequest) {
6911
+ const options = {
6912
+ method: "DELETE",
6913
+ url: "/v1/{project_id}/digital-human-chat/audio-record-config",
6914
+ contentType: "application/json",
6915
+ queryParams: {},
6916
+ pathParams: {},
6917
+ headers: {}
6918
+ };
6919
+ const localVarHeaderParameter = {};
6920
+ let authorization;
6921
+ let xSdkDate;
6922
+ let xProjectId;
6923
+ let xAppUserId;
6924
+ if (deleteAudioRecordConfigRequest !== null && deleteAudioRecordConfigRequest !== undefined) {
6925
+ if (deleteAudioRecordConfigRequest instanceof DeleteAudioRecordConfigRequest_1.DeleteAudioRecordConfigRequest) {
6926
+ authorization = deleteAudioRecordConfigRequest.authorization;
6927
+ xSdkDate = deleteAudioRecordConfigRequest.xSdkDate;
6928
+ xProjectId = deleteAudioRecordConfigRequest.xProjectId;
6929
+ xAppUserId = deleteAudioRecordConfigRequest.xAppUserId;
6930
+ }
6931
+ else {
6932
+ authorization = deleteAudioRecordConfigRequest['Authorization'];
6933
+ xSdkDate = deleteAudioRecordConfigRequest['X-Sdk-Date'];
6934
+ xProjectId = deleteAudioRecordConfigRequest['X-Project-Id'];
6935
+ xAppUserId = deleteAudioRecordConfigRequest['X-App-UserId'];
6936
+ }
6937
+ }
6938
+ if (authorization !== undefined && authorization !== null) {
6939
+ localVarHeaderParameter['Authorization'] = String(authorization);
6940
+ }
6941
+ if (xSdkDate !== undefined && xSdkDate !== null) {
6942
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
6943
+ }
6944
+ if (xProjectId !== undefined && xProjectId !== null) {
6945
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
6946
+ }
6947
+ if (xAppUserId !== undefined && xAppUserId !== null) {
6948
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
6949
+ }
6950
+ options.headers = localVarHeaderParameter;
6951
+ return options;
6952
+ },
6953
+ /**
6954
+ * 该接口用于查询语音录制配置。
6955
+ *
6956
+ * Please refer to HUAWEI cloud API Explorer for details.
6957
+ */
6958
+ showAudioRecordConfig(showAudioRecordConfigRequest) {
6959
+ const options = {
6960
+ method: "GET",
6961
+ url: "/v1/{project_id}/digital-human-chat/audio-record-config",
6962
+ contentType: "application/json",
6963
+ queryParams: {},
6964
+ pathParams: {},
6965
+ headers: {}
6966
+ };
6967
+ const localVarHeaderParameter = {};
6968
+ let authorization;
6969
+ let xSdkDate;
6970
+ let xProjectId;
6971
+ let xAppUserId;
6972
+ if (showAudioRecordConfigRequest !== null && showAudioRecordConfigRequest !== undefined) {
6973
+ if (showAudioRecordConfigRequest instanceof ShowAudioRecordConfigRequest_1.ShowAudioRecordConfigRequest) {
6974
+ authorization = showAudioRecordConfigRequest.authorization;
6975
+ xSdkDate = showAudioRecordConfigRequest.xSdkDate;
6976
+ xProjectId = showAudioRecordConfigRequest.xProjectId;
6977
+ xAppUserId = showAudioRecordConfigRequest.xAppUserId;
6978
+ }
6979
+ else {
6980
+ authorization = showAudioRecordConfigRequest['Authorization'];
6981
+ xSdkDate = showAudioRecordConfigRequest['X-Sdk-Date'];
6982
+ xProjectId = showAudioRecordConfigRequest['X-Project-Id'];
6983
+ xAppUserId = showAudioRecordConfigRequest['X-App-UserId'];
6984
+ }
6985
+ }
6986
+ if (authorization !== undefined && authorization !== null) {
6987
+ localVarHeaderParameter['Authorization'] = String(authorization);
6988
+ }
6989
+ if (xSdkDate !== undefined && xSdkDate !== null) {
6990
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
6991
+ }
6992
+ if (xProjectId !== undefined && xProjectId !== null) {
6993
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
6994
+ }
6995
+ if (xAppUserId !== undefined && xAppUserId !== null) {
6996
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
6997
+ }
6998
+ options.headers = localVarHeaderParameter;
6999
+ return options;
7000
+ },
7001
+ /**
7002
+ * 该接口用于修改语音录制配置。
7003
+ *
7004
+ * Please refer to HUAWEI cloud API Explorer for details.
7005
+ */
7006
+ updateAudioRecordConfig(updateAudioRecordConfigRequest) {
7007
+ const options = {
7008
+ method: "PUT",
7009
+ url: "/v1/{project_id}/digital-human-chat/audio-record-config",
7010
+ contentType: "application/json",
7011
+ queryParams: {},
7012
+ pathParams: {},
7013
+ headers: {},
7014
+ data: {}
7015
+ };
7016
+ const localVarHeaderParameter = {};
7017
+ let body;
7018
+ let authorization;
7019
+ let xSdkDate;
7020
+ let xProjectId;
7021
+ let xAppUserId;
7022
+ if (updateAudioRecordConfigRequest !== null && updateAudioRecordConfigRequest !== undefined) {
7023
+ if (updateAudioRecordConfigRequest instanceof UpdateAudioRecordConfigRequest_1.UpdateAudioRecordConfigRequest) {
7024
+ body = updateAudioRecordConfigRequest.body;
7025
+ authorization = updateAudioRecordConfigRequest.authorization;
7026
+ xSdkDate = updateAudioRecordConfigRequest.xSdkDate;
7027
+ xProjectId = updateAudioRecordConfigRequest.xProjectId;
7028
+ xAppUserId = updateAudioRecordConfigRequest.xAppUserId;
7029
+ }
7030
+ else {
7031
+ body = updateAudioRecordConfigRequest['body'];
7032
+ authorization = updateAudioRecordConfigRequest['Authorization'];
7033
+ xSdkDate = updateAudioRecordConfigRequest['X-Sdk-Date'];
7034
+ xProjectId = updateAudioRecordConfigRequest['X-Project-Id'];
7035
+ xAppUserId = updateAudioRecordConfigRequest['X-App-UserId'];
7036
+ }
7037
+ }
7038
+ if (body === null || body === undefined) {
7039
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
7040
+ }
7041
+ if (authorization !== undefined && authorization !== null) {
7042
+ localVarHeaderParameter['Authorization'] = String(authorization);
7043
+ }
7044
+ if (xSdkDate !== undefined && xSdkDate !== null) {
7045
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
7046
+ }
7047
+ if (xProjectId !== undefined && xProjectId !== null) {
7048
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
7049
+ }
7050
+ if (xAppUserId !== undefined && xAppUserId !== null) {
7051
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
7052
+ }
7053
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7054
+ options.data = body !== undefined ? body : {};
7055
+ options.headers = localVarHeaderParameter;
7056
+ return options;
7057
+ },
6370
7058
  /**
6371
7059
  * 删除导入导出任务
6372
7060
  *
@@ -6758,22 +7446,200 @@ const ParamCreater = function () {
6758
7446
  return options;
6759
7447
  },
6760
7448
  /**
6761
- * 该接口用于创建对话链接。
7449
+ * 获取周期内用户的资源使用情况概览
6762
7450
  *
6763
7451
  * Please refer to HUAWEI cloud API Explorer for details.
6764
7452
  */
6765
- createDialogUrl(createDialogUrlRequest) {
7453
+ showSummaryUsageData(showSummaryUsageDataRequest) {
6766
7454
  const options = {
6767
- method: "POST",
6768
- url: "/v1/{project_id}/digital-human-chat/create-dialog-url",
7455
+ method: "GET",
7456
+ url: "/v1/{project_id}/data-analysis-summary",
6769
7457
  contentType: "application/json",
6770
7458
  queryParams: {},
6771
7459
  pathParams: {},
6772
- headers: {},
6773
- data: {}
7460
+ headers: {}
6774
7461
  };
6775
7462
  const localVarHeaderParameter = {};
6776
- let body;
7463
+ const localVarQueryParameter = {};
7464
+ let authorization;
7465
+ let xSdkDate;
7466
+ let xProjectId;
7467
+ let xAppUserId;
7468
+ let userId;
7469
+ let resourceType;
7470
+ let businessType;
7471
+ let unit;
7472
+ if (showSummaryUsageDataRequest !== null && showSummaryUsageDataRequest !== undefined) {
7473
+ if (showSummaryUsageDataRequest instanceof ShowSummaryUsageDataRequest_1.ShowSummaryUsageDataRequest) {
7474
+ authorization = showSummaryUsageDataRequest.authorization;
7475
+ xSdkDate = showSummaryUsageDataRequest.xSdkDate;
7476
+ xProjectId = showSummaryUsageDataRequest.xProjectId;
7477
+ xAppUserId = showSummaryUsageDataRequest.xAppUserId;
7478
+ userId = showSummaryUsageDataRequest.userId;
7479
+ resourceType = showSummaryUsageDataRequest.resourceType;
7480
+ businessType = showSummaryUsageDataRequest.businessType;
7481
+ unit = showSummaryUsageDataRequest.unit;
7482
+ }
7483
+ else {
7484
+ authorization = showSummaryUsageDataRequest['Authorization'];
7485
+ xSdkDate = showSummaryUsageDataRequest['X-Sdk-Date'];
7486
+ xProjectId = showSummaryUsageDataRequest['X-Project-Id'];
7487
+ xAppUserId = showSummaryUsageDataRequest['X-App-UserId'];
7488
+ userId = showSummaryUsageDataRequest['user_id'];
7489
+ resourceType = showSummaryUsageDataRequest['resource_type'];
7490
+ businessType = showSummaryUsageDataRequest['business_type'];
7491
+ unit = showSummaryUsageDataRequest['unit'];
7492
+ }
7493
+ }
7494
+ if (userId !== null && userId !== undefined) {
7495
+ localVarQueryParameter['user_id'] = userId;
7496
+ }
7497
+ if (resourceType !== null && resourceType !== undefined) {
7498
+ localVarQueryParameter['resource_type'] = resourceType;
7499
+ }
7500
+ if (businessType !== null && businessType !== undefined) {
7501
+ localVarQueryParameter['business_type'] = businessType;
7502
+ }
7503
+ if (unit !== null && unit !== undefined) {
7504
+ localVarQueryParameter['unit'] = unit;
7505
+ }
7506
+ if (authorization !== undefined && authorization !== null) {
7507
+ localVarHeaderParameter['Authorization'] = String(authorization);
7508
+ }
7509
+ if (xSdkDate !== undefined && xSdkDate !== null) {
7510
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
7511
+ }
7512
+ if (xProjectId !== undefined && xProjectId !== null) {
7513
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
7514
+ }
7515
+ if (xAppUserId !== undefined && xAppUserId !== null) {
7516
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
7517
+ }
7518
+ options.queryParams = localVarQueryParameter;
7519
+ options.headers = localVarHeaderParameter;
7520
+ return options;
7521
+ },
7522
+ /**
7523
+ * 获取周期内用户的资源使用情况
7524
+ *
7525
+ * Please refer to HUAWEI cloud API Explorer for details.
7526
+ */
7527
+ showUsageData(showUsageDataRequest) {
7528
+ const options = {
7529
+ method: "GET",
7530
+ url: "/v1/{project_id}/data-analysis",
7531
+ contentType: "application/json",
7532
+ queryParams: {},
7533
+ pathParams: {},
7534
+ headers: {}
7535
+ };
7536
+ const localVarHeaderParameter = {};
7537
+ const localVarQueryParameter = {};
7538
+ let startTime;
7539
+ let endTime;
7540
+ let authorization;
7541
+ let xSdkDate;
7542
+ let xProjectId;
7543
+ let limit;
7544
+ let offset;
7545
+ let xAppUserId;
7546
+ let userId;
7547
+ let resourceType;
7548
+ let businessType;
7549
+ let unit;
7550
+ if (showUsageDataRequest !== null && showUsageDataRequest !== undefined) {
7551
+ if (showUsageDataRequest instanceof ShowUsageDataRequest_1.ShowUsageDataRequest) {
7552
+ startTime = showUsageDataRequest.startTime;
7553
+ endTime = showUsageDataRequest.endTime;
7554
+ authorization = showUsageDataRequest.authorization;
7555
+ xSdkDate = showUsageDataRequest.xSdkDate;
7556
+ xProjectId = showUsageDataRequest.xProjectId;
7557
+ limit = showUsageDataRequest.limit;
7558
+ offset = showUsageDataRequest.offset;
7559
+ xAppUserId = showUsageDataRequest.xAppUserId;
7560
+ userId = showUsageDataRequest.userId;
7561
+ resourceType = showUsageDataRequest.resourceType;
7562
+ businessType = showUsageDataRequest.businessType;
7563
+ unit = showUsageDataRequest.unit;
7564
+ }
7565
+ else {
7566
+ startTime = showUsageDataRequest['start_time'];
7567
+ endTime = showUsageDataRequest['end_time'];
7568
+ authorization = showUsageDataRequest['Authorization'];
7569
+ xSdkDate = showUsageDataRequest['X-Sdk-Date'];
7570
+ xProjectId = showUsageDataRequest['X-Project-Id'];
7571
+ limit = showUsageDataRequest['limit'];
7572
+ offset = showUsageDataRequest['offset'];
7573
+ xAppUserId = showUsageDataRequest['X-App-UserId'];
7574
+ userId = showUsageDataRequest['user_id'];
7575
+ resourceType = showUsageDataRequest['resource_type'];
7576
+ businessType = showUsageDataRequest['business_type'];
7577
+ unit = showUsageDataRequest['unit'];
7578
+ }
7579
+ }
7580
+ if (startTime === null || startTime === undefined) {
7581
+ throw new RequiredError('startTime', 'Required parameter startTime was null or undefined when calling showUsageData.');
7582
+ }
7583
+ if (startTime !== null && startTime !== undefined) {
7584
+ localVarQueryParameter['start_time'] = startTime;
7585
+ }
7586
+ if (endTime === null || endTime === undefined) {
7587
+ throw new RequiredError('endTime', 'Required parameter endTime was null or undefined when calling showUsageData.');
7588
+ }
7589
+ if (endTime !== null && endTime !== undefined) {
7590
+ localVarQueryParameter['end_time'] = endTime;
7591
+ }
7592
+ if (limit !== null && limit !== undefined) {
7593
+ localVarQueryParameter['limit'] = limit;
7594
+ }
7595
+ if (offset !== null && offset !== undefined) {
7596
+ localVarQueryParameter['offset'] = offset;
7597
+ }
7598
+ if (userId !== null && userId !== undefined) {
7599
+ localVarQueryParameter['user_id'] = userId;
7600
+ }
7601
+ if (resourceType !== null && resourceType !== undefined) {
7602
+ localVarQueryParameter['resource_type'] = resourceType;
7603
+ }
7604
+ if (businessType !== null && businessType !== undefined) {
7605
+ localVarQueryParameter['business_type'] = businessType;
7606
+ }
7607
+ if (unit !== null && unit !== undefined) {
7608
+ localVarQueryParameter['unit'] = unit;
7609
+ }
7610
+ if (authorization !== undefined && authorization !== null) {
7611
+ localVarHeaderParameter['Authorization'] = String(authorization);
7612
+ }
7613
+ if (xSdkDate !== undefined && xSdkDate !== null) {
7614
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
7615
+ }
7616
+ if (xProjectId !== undefined && xProjectId !== null) {
7617
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
7618
+ }
7619
+ if (xAppUserId !== undefined && xAppUserId !== null) {
7620
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
7621
+ }
7622
+ options.queryParams = localVarQueryParameter;
7623
+ options.headers = localVarHeaderParameter;
7624
+ return options;
7625
+ },
7626
+ /**
7627
+ * 该接口用于创建对话链接。
7628
+ *
7629
+ * Please refer to HUAWEI cloud API Explorer for details.
7630
+ */
7631
+ createDialogUrl(createDialogUrlRequest) {
7632
+ const options = {
7633
+ method: "POST",
7634
+ url: "/v1/{project_id}/digital-human-chat/create-dialog-url",
7635
+ contentType: "application/json",
7636
+ queryParams: {},
7637
+ pathParams: {},
7638
+ headers: {},
7639
+ data: {}
7640
+ };
7641
+ const localVarHeaderParameter = {};
7642
+ let body;
6777
7643
  let authorization;
6778
7644
  let xSdkDate;
6779
7645
  let xProjectId;
@@ -11187,6 +12053,70 @@ const ParamCreater = function () {
11187
12053
  options.headers = localVarHeaderParameter;
11188
12054
  return options;
11189
12055
  },
12056
+ /**
12057
+ * 该接口用于互动规则库增加规则。
12058
+ *
12059
+ * Please refer to HUAWEI cloud API Explorer for details.
12060
+ */
12061
+ createInteractionRule(createInteractionRuleRequest) {
12062
+ const options = {
12063
+ method: "POST",
12064
+ url: "/v1/{project_id}/smart-live-interaction-rule-groups/{group_id}/rules",
12065
+ contentType: "application/json",
12066
+ queryParams: {},
12067
+ pathParams: {},
12068
+ headers: {},
12069
+ data: {}
12070
+ };
12071
+ const localVarHeaderParameter = {};
12072
+ let body;
12073
+ let groupId;
12074
+ let authorization;
12075
+ let xSdkDate;
12076
+ let xProjectId;
12077
+ let xAppUserId;
12078
+ if (createInteractionRuleRequest !== null && createInteractionRuleRequest !== undefined) {
12079
+ if (createInteractionRuleRequest instanceof CreateInteractionRuleRequest_1.CreateInteractionRuleRequest) {
12080
+ groupId = createInteractionRuleRequest.groupId;
12081
+ body = createInteractionRuleRequest.body;
12082
+ authorization = createInteractionRuleRequest.authorization;
12083
+ xSdkDate = createInteractionRuleRequest.xSdkDate;
12084
+ xProjectId = createInteractionRuleRequest.xProjectId;
12085
+ xAppUserId = createInteractionRuleRequest.xAppUserId;
12086
+ }
12087
+ else {
12088
+ groupId = createInteractionRuleRequest['group_id'];
12089
+ body = createInteractionRuleRequest['body'];
12090
+ authorization = createInteractionRuleRequest['Authorization'];
12091
+ xSdkDate = createInteractionRuleRequest['X-Sdk-Date'];
12092
+ xProjectId = createInteractionRuleRequest['X-Project-Id'];
12093
+ xAppUserId = createInteractionRuleRequest['X-App-UserId'];
12094
+ }
12095
+ }
12096
+ if (groupId === null || groupId === undefined) {
12097
+ throw new RequiredError('groupId', 'Required parameter groupId was null or undefined when calling createInteractionRule.');
12098
+ }
12099
+ if (body === null || body === undefined) {
12100
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
12101
+ }
12102
+ if (authorization !== undefined && authorization !== null) {
12103
+ localVarHeaderParameter['Authorization'] = String(authorization);
12104
+ }
12105
+ if (xSdkDate !== undefined && xSdkDate !== null) {
12106
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
12107
+ }
12108
+ if (xProjectId !== undefined && xProjectId !== null) {
12109
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
12110
+ }
12111
+ if (xAppUserId !== undefined && xAppUserId !== null) {
12112
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
12113
+ }
12114
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12115
+ options.data = body !== undefined ? body : {};
12116
+ options.pathParams = { 'group_id': groupId, };
12117
+ options.headers = localVarHeaderParameter;
12118
+ return options;
12119
+ },
11190
12120
  /**
11191
12121
  * 该接口用于创建智能直播间互动规则库。
11192
12122
  *
@@ -11244,6 +12174,67 @@ const ParamCreater = function () {
11244
12174
  options.headers = localVarHeaderParameter;
11245
12175
  return options;
11246
12176
  },
12177
+ /**
12178
+ * 该接口用于互动规则库修改删除规则。
12179
+ *
12180
+ * Please refer to HUAWEI cloud API Explorer for details.
12181
+ */
12182
+ deleteInteractionRule(deleteInteractionRuleRequest) {
12183
+ const options = {
12184
+ method: "DELETE",
12185
+ url: "/v1/{project_id}/smart-live-interaction-rule-groups/{group_id}/rules/{rule_id}",
12186
+ contentType: "application/json",
12187
+ queryParams: {},
12188
+ pathParams: {},
12189
+ headers: {}
12190
+ };
12191
+ const localVarHeaderParameter = {};
12192
+ let groupId;
12193
+ let ruleId;
12194
+ let authorization;
12195
+ let xSdkDate;
12196
+ let xProjectId;
12197
+ let xAppUserId;
12198
+ if (deleteInteractionRuleRequest !== null && deleteInteractionRuleRequest !== undefined) {
12199
+ if (deleteInteractionRuleRequest instanceof DeleteInteractionRuleRequest_1.DeleteInteractionRuleRequest) {
12200
+ groupId = deleteInteractionRuleRequest.groupId;
12201
+ ruleId = deleteInteractionRuleRequest.ruleId;
12202
+ authorization = deleteInteractionRuleRequest.authorization;
12203
+ xSdkDate = deleteInteractionRuleRequest.xSdkDate;
12204
+ xProjectId = deleteInteractionRuleRequest.xProjectId;
12205
+ xAppUserId = deleteInteractionRuleRequest.xAppUserId;
12206
+ }
12207
+ else {
12208
+ groupId = deleteInteractionRuleRequest['group_id'];
12209
+ ruleId = deleteInteractionRuleRequest['rule_id'];
12210
+ authorization = deleteInteractionRuleRequest['Authorization'];
12211
+ xSdkDate = deleteInteractionRuleRequest['X-Sdk-Date'];
12212
+ xProjectId = deleteInteractionRuleRequest['X-Project-Id'];
12213
+ xAppUserId = deleteInteractionRuleRequest['X-App-UserId'];
12214
+ }
12215
+ }
12216
+ if (groupId === null || groupId === undefined) {
12217
+ throw new RequiredError('groupId', 'Required parameter groupId was null or undefined when calling deleteInteractionRule.');
12218
+ }
12219
+ if (ruleId === null || ruleId === undefined) {
12220
+ throw new RequiredError('ruleId', 'Required parameter ruleId was null or undefined when calling deleteInteractionRule.');
12221
+ }
12222
+ if (authorization !== undefined && authorization !== null) {
12223
+ localVarHeaderParameter['Authorization'] = String(authorization);
12224
+ }
12225
+ if (xSdkDate !== undefined && xSdkDate !== null) {
12226
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
12227
+ }
12228
+ if (xProjectId !== undefined && xProjectId !== null) {
12229
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
12230
+ }
12231
+ if (xAppUserId !== undefined && xAppUserId !== null) {
12232
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
12233
+ }
12234
+ options.pathParams = { 'group_id': groupId, 'rule_id': ruleId, };
12235
+ options.headers = localVarHeaderParameter;
12236
+ return options;
12237
+ },
11247
12238
  /**
11248
12239
  * 该接口用于删除智能直播间互动规则库。
11249
12240
  *
@@ -11380,50 +12371,68 @@ const ParamCreater = function () {
11380
12371
  return options;
11381
12372
  },
11382
12373
  /**
11383
- * 该接口用于更新智能直播间互动规则库。
12374
+ * 该接口用于智能直播间互动规则库概要列表。
11384
12375
  *
11385
12376
  * Please refer to HUAWEI cloud API Explorer for details.
11386
12377
  */
11387
- updateInteractionRuleGroup(updateInteractionRuleGroupRequest) {
12378
+ listInteractionRuleGroupsSummary(listInteractionRuleGroupsSummaryRequest) {
11388
12379
  const options = {
11389
- method: "PUT",
11390
- url: "/v1/{project_id}/smart-live-interaction-rule-groups/{group_id}",
12380
+ method: "GET",
12381
+ url: "/v1/{project_id}/smart-live-interaction-rule-groups-summary",
11391
12382
  contentType: "application/json",
11392
12383
  queryParams: {},
11393
12384
  pathParams: {},
11394
- headers: {},
11395
- data: {}
12385
+ headers: {}
11396
12386
  };
11397
12387
  const localVarHeaderParameter = {};
11398
- let body;
11399
- let groupId;
12388
+ const localVarQueryParameter = {};
11400
12389
  let authorization;
11401
12390
  let xSdkDate;
11402
12391
  let xProjectId;
11403
12392
  let xAppUserId;
11404
- if (updateInteractionRuleGroupRequest !== null && updateInteractionRuleGroupRequest !== undefined) {
11405
- if (updateInteractionRuleGroupRequest instanceof UpdateInteractionRuleGroupRequest_1.UpdateInteractionRuleGroupRequest) {
11406
- groupId = updateInteractionRuleGroupRequest.groupId;
11407
- body = updateInteractionRuleGroupRequest.body;
11408
- authorization = updateInteractionRuleGroupRequest.authorization;
11409
- xSdkDate = updateInteractionRuleGroupRequest.xSdkDate;
11410
- xProjectId = updateInteractionRuleGroupRequest.xProjectId;
11411
- xAppUserId = updateInteractionRuleGroupRequest.xAppUserId;
11412
- }
11413
- else {
11414
- groupId = updateInteractionRuleGroupRequest['group_id'];
11415
- body = updateInteractionRuleGroupRequest['body'];
11416
- authorization = updateInteractionRuleGroupRequest['Authorization'];
11417
- xSdkDate = updateInteractionRuleGroupRequest['X-Sdk-Date'];
11418
- xProjectId = updateInteractionRuleGroupRequest['X-Project-Id'];
11419
- xAppUserId = updateInteractionRuleGroupRequest['X-App-UserId'];
12393
+ let offset;
12394
+ let limit;
12395
+ let createSince;
12396
+ let createUntil;
12397
+ let groupName;
12398
+ if (listInteractionRuleGroupsSummaryRequest !== null && listInteractionRuleGroupsSummaryRequest !== undefined) {
12399
+ if (listInteractionRuleGroupsSummaryRequest instanceof ListInteractionRuleGroupsSummaryRequest_1.ListInteractionRuleGroupsSummaryRequest) {
12400
+ authorization = listInteractionRuleGroupsSummaryRequest.authorization;
12401
+ xSdkDate = listInteractionRuleGroupsSummaryRequest.xSdkDate;
12402
+ xProjectId = listInteractionRuleGroupsSummaryRequest.xProjectId;
12403
+ xAppUserId = listInteractionRuleGroupsSummaryRequest.xAppUserId;
12404
+ offset = listInteractionRuleGroupsSummaryRequest.offset;
12405
+ limit = listInteractionRuleGroupsSummaryRequest.limit;
12406
+ createSince = listInteractionRuleGroupsSummaryRequest.createSince;
12407
+ createUntil = listInteractionRuleGroupsSummaryRequest.createUntil;
12408
+ groupName = listInteractionRuleGroupsSummaryRequest.groupName;
12409
+ }
12410
+ else {
12411
+ authorization = listInteractionRuleGroupsSummaryRequest['Authorization'];
12412
+ xSdkDate = listInteractionRuleGroupsSummaryRequest['X-Sdk-Date'];
12413
+ xProjectId = listInteractionRuleGroupsSummaryRequest['X-Project-Id'];
12414
+ xAppUserId = listInteractionRuleGroupsSummaryRequest['X-App-UserId'];
12415
+ offset = listInteractionRuleGroupsSummaryRequest['offset'];
12416
+ limit = listInteractionRuleGroupsSummaryRequest['limit'];
12417
+ createSince = listInteractionRuleGroupsSummaryRequest['create_since'];
12418
+ createUntil = listInteractionRuleGroupsSummaryRequest['create_until'];
12419
+ groupName = listInteractionRuleGroupsSummaryRequest['group_name'];
11420
12420
  }
11421
12421
  }
11422
- if (groupId === null || groupId === undefined) {
11423
- throw new RequiredError('groupId', 'Required parameter groupId was null or undefined when calling updateInteractionRuleGroup.');
12422
+ if (offset !== null && offset !== undefined) {
12423
+ localVarQueryParameter['offset'] = offset;
11424
12424
  }
11425
- if (body === null || body === undefined) {
11426
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
12425
+ if (limit !== null && limit !== undefined) {
12426
+ localVarQueryParameter['limit'] = limit;
12427
+ }
12428
+ if (createSince !== null && createSince !== undefined) {
12429
+ localVarQueryParameter['create_since'] = createSince;
12430
+ }
12431
+ if (createUntil !== null && createUntil !== undefined) {
12432
+ localVarQueryParameter['create_until'] = createUntil;
12433
+ }
12434
+ if (groupName !== null && groupName !== undefined) {
12435
+ localVarQueryParameter['group_name'] = groupName;
11427
12436
  }
11428
12437
  if (authorization !== undefined && authorization !== null) {
11429
12438
  localVarHeaderParameter['Authorization'] = String(authorization);
@@ -11437,38 +12446,225 @@ const ParamCreater = function () {
11437
12446
  if (xAppUserId !== undefined && xAppUserId !== null) {
11438
12447
  localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
11439
12448
  }
11440
- localVarHeaderParameter['Content-Type'] = 'application/json';
11441
- options.data = body !== undefined ? body : {};
11442
- options.pathParams = { 'group_id': groupId, };
12449
+ options.queryParams = localVarQueryParameter;
11443
12450
  options.headers = localVarHeaderParameter;
11444
12451
  return options;
11445
12452
  },
11446
12453
  /**
11447
- * 该接口用于交互助手对话。
12454
+ * 该接口用于查询智能直播间互动规则库详情。
11448
12455
  *
11449
12456
  * Please refer to HUAWEI cloud API Explorer for details.
11450
12457
  */
11451
- createInteractiveChat(createInteractiveChatRequest) {
12458
+ showInteractionRuleGroup(showInteractionRuleGroupRequest) {
11452
12459
  const options = {
11453
- method: "POST",
11454
- url: "/v1/{project_id}/wise-brain-manager/chat",
12460
+ method: "GET",
12461
+ url: "/v1/{project_id}/smart-live-interaction-rule-groups/{group_id}",
11455
12462
  contentType: "application/json",
11456
12463
  queryParams: {},
11457
12464
  pathParams: {},
11458
- headers: {},
11459
- data: {}
12465
+ headers: {}
11460
12466
  };
11461
12467
  const localVarHeaderParameter = {};
11462
- let body;
12468
+ let groupId;
11463
12469
  let authorization;
11464
12470
  let xSdkDate;
11465
12471
  let xProjectId;
11466
12472
  let xAppUserId;
11467
- if (createInteractiveChatRequest !== null && createInteractiveChatRequest !== undefined) {
11468
- if (createInteractiveChatRequest instanceof CreateInteractiveChatRequest_1.CreateInteractiveChatRequest) {
11469
- body = createInteractiveChatRequest.body;
11470
- authorization = createInteractiveChatRequest.authorization;
11471
- xSdkDate = createInteractiveChatRequest.xSdkDate;
12473
+ if (showInteractionRuleGroupRequest !== null && showInteractionRuleGroupRequest !== undefined) {
12474
+ if (showInteractionRuleGroupRequest instanceof ShowInteractionRuleGroupRequest_1.ShowInteractionRuleGroupRequest) {
12475
+ groupId = showInteractionRuleGroupRequest.groupId;
12476
+ authorization = showInteractionRuleGroupRequest.authorization;
12477
+ xSdkDate = showInteractionRuleGroupRequest.xSdkDate;
12478
+ xProjectId = showInteractionRuleGroupRequest.xProjectId;
12479
+ xAppUserId = showInteractionRuleGroupRequest.xAppUserId;
12480
+ }
12481
+ else {
12482
+ groupId = showInteractionRuleGroupRequest['group_id'];
12483
+ authorization = showInteractionRuleGroupRequest['Authorization'];
12484
+ xSdkDate = showInteractionRuleGroupRequest['X-Sdk-Date'];
12485
+ xProjectId = showInteractionRuleGroupRequest['X-Project-Id'];
12486
+ xAppUserId = showInteractionRuleGroupRequest['X-App-UserId'];
12487
+ }
12488
+ }
12489
+ if (groupId === null || groupId === undefined) {
12490
+ throw new RequiredError('groupId', 'Required parameter groupId was null or undefined when calling showInteractionRuleGroup.');
12491
+ }
12492
+ if (authorization !== undefined && authorization !== null) {
12493
+ localVarHeaderParameter['Authorization'] = String(authorization);
12494
+ }
12495
+ if (xSdkDate !== undefined && xSdkDate !== null) {
12496
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
12497
+ }
12498
+ if (xProjectId !== undefined && xProjectId !== null) {
12499
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
12500
+ }
12501
+ if (xAppUserId !== undefined && xAppUserId !== null) {
12502
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
12503
+ }
12504
+ options.pathParams = { 'group_id': groupId, };
12505
+ options.headers = localVarHeaderParameter;
12506
+ return options;
12507
+ },
12508
+ /**
12509
+ * 该接口用于互动规则库修改某条规则。
12510
+ *
12511
+ * Please refer to HUAWEI cloud API Explorer for details.
12512
+ */
12513
+ updateInteractionRule(updateInteractionRuleRequest) {
12514
+ const options = {
12515
+ method: "PUT",
12516
+ url: "/v1/{project_id}/smart-live-interaction-rule-groups/{group_id}/rules/{rule_id}",
12517
+ contentType: "application/json",
12518
+ queryParams: {},
12519
+ pathParams: {},
12520
+ headers: {},
12521
+ data: {}
12522
+ };
12523
+ const localVarHeaderParameter = {};
12524
+ let body;
12525
+ let groupId;
12526
+ let ruleId;
12527
+ let authorization;
12528
+ let xSdkDate;
12529
+ let xProjectId;
12530
+ let xAppUserId;
12531
+ if (updateInteractionRuleRequest !== null && updateInteractionRuleRequest !== undefined) {
12532
+ if (updateInteractionRuleRequest instanceof UpdateInteractionRuleRequest_1.UpdateInteractionRuleRequest) {
12533
+ groupId = updateInteractionRuleRequest.groupId;
12534
+ ruleId = updateInteractionRuleRequest.ruleId;
12535
+ body = updateInteractionRuleRequest.body;
12536
+ authorization = updateInteractionRuleRequest.authorization;
12537
+ xSdkDate = updateInteractionRuleRequest.xSdkDate;
12538
+ xProjectId = updateInteractionRuleRequest.xProjectId;
12539
+ xAppUserId = updateInteractionRuleRequest.xAppUserId;
12540
+ }
12541
+ else {
12542
+ groupId = updateInteractionRuleRequest['group_id'];
12543
+ ruleId = updateInteractionRuleRequest['rule_id'];
12544
+ body = updateInteractionRuleRequest['body'];
12545
+ authorization = updateInteractionRuleRequest['Authorization'];
12546
+ xSdkDate = updateInteractionRuleRequest['X-Sdk-Date'];
12547
+ xProjectId = updateInteractionRuleRequest['X-Project-Id'];
12548
+ xAppUserId = updateInteractionRuleRequest['X-App-UserId'];
12549
+ }
12550
+ }
12551
+ if (groupId === null || groupId === undefined) {
12552
+ throw new RequiredError('groupId', 'Required parameter groupId was null or undefined when calling updateInteractionRule.');
12553
+ }
12554
+ if (ruleId === null || ruleId === undefined) {
12555
+ throw new RequiredError('ruleId', 'Required parameter ruleId was null or undefined when calling updateInteractionRule.');
12556
+ }
12557
+ if (body === null || body === undefined) {
12558
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
12559
+ }
12560
+ if (authorization !== undefined && authorization !== null) {
12561
+ localVarHeaderParameter['Authorization'] = String(authorization);
12562
+ }
12563
+ if (xSdkDate !== undefined && xSdkDate !== null) {
12564
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
12565
+ }
12566
+ if (xProjectId !== undefined && xProjectId !== null) {
12567
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
12568
+ }
12569
+ if (xAppUserId !== undefined && xAppUserId !== null) {
12570
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
12571
+ }
12572
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12573
+ options.data = body !== undefined ? body : {};
12574
+ options.pathParams = { 'group_id': groupId, 'rule_id': ruleId, };
12575
+ options.headers = localVarHeaderParameter;
12576
+ return options;
12577
+ },
12578
+ /**
12579
+ * 该接口用于更新智能直播间互动规则库。
12580
+ *
12581
+ * Please refer to HUAWEI cloud API Explorer for details.
12582
+ */
12583
+ updateInteractionRuleGroup(updateInteractionRuleGroupRequest) {
12584
+ const options = {
12585
+ method: "PUT",
12586
+ url: "/v1/{project_id}/smart-live-interaction-rule-groups/{group_id}",
12587
+ contentType: "application/json",
12588
+ queryParams: {},
12589
+ pathParams: {},
12590
+ headers: {},
12591
+ data: {}
12592
+ };
12593
+ const localVarHeaderParameter = {};
12594
+ let body;
12595
+ let groupId;
12596
+ let authorization;
12597
+ let xSdkDate;
12598
+ let xProjectId;
12599
+ let xAppUserId;
12600
+ if (updateInteractionRuleGroupRequest !== null && updateInteractionRuleGroupRequest !== undefined) {
12601
+ if (updateInteractionRuleGroupRequest instanceof UpdateInteractionRuleGroupRequest_1.UpdateInteractionRuleGroupRequest) {
12602
+ groupId = updateInteractionRuleGroupRequest.groupId;
12603
+ body = updateInteractionRuleGroupRequest.body;
12604
+ authorization = updateInteractionRuleGroupRequest.authorization;
12605
+ xSdkDate = updateInteractionRuleGroupRequest.xSdkDate;
12606
+ xProjectId = updateInteractionRuleGroupRequest.xProjectId;
12607
+ xAppUserId = updateInteractionRuleGroupRequest.xAppUserId;
12608
+ }
12609
+ else {
12610
+ groupId = updateInteractionRuleGroupRequest['group_id'];
12611
+ body = updateInteractionRuleGroupRequest['body'];
12612
+ authorization = updateInteractionRuleGroupRequest['Authorization'];
12613
+ xSdkDate = updateInteractionRuleGroupRequest['X-Sdk-Date'];
12614
+ xProjectId = updateInteractionRuleGroupRequest['X-Project-Id'];
12615
+ xAppUserId = updateInteractionRuleGroupRequest['X-App-UserId'];
12616
+ }
12617
+ }
12618
+ if (groupId === null || groupId === undefined) {
12619
+ throw new RequiredError('groupId', 'Required parameter groupId was null or undefined when calling updateInteractionRuleGroup.');
12620
+ }
12621
+ if (body === null || body === undefined) {
12622
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
12623
+ }
12624
+ if (authorization !== undefined && authorization !== null) {
12625
+ localVarHeaderParameter['Authorization'] = String(authorization);
12626
+ }
12627
+ if (xSdkDate !== undefined && xSdkDate !== null) {
12628
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
12629
+ }
12630
+ if (xProjectId !== undefined && xProjectId !== null) {
12631
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
12632
+ }
12633
+ if (xAppUserId !== undefined && xAppUserId !== null) {
12634
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
12635
+ }
12636
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12637
+ options.data = body !== undefined ? body : {};
12638
+ options.pathParams = { 'group_id': groupId, };
12639
+ options.headers = localVarHeaderParameter;
12640
+ return options;
12641
+ },
12642
+ /**
12643
+ * 该接口用于交互助手对话。
12644
+ *
12645
+ * Please refer to HUAWEI cloud API Explorer for details.
12646
+ */
12647
+ createInteractiveChat(createInteractiveChatRequest) {
12648
+ const options = {
12649
+ method: "POST",
12650
+ url: "/v1/{project_id}/wise-brain-manager/chat",
12651
+ contentType: "application/json",
12652
+ queryParams: {},
12653
+ pathParams: {},
12654
+ headers: {},
12655
+ data: {}
12656
+ };
12657
+ const localVarHeaderParameter = {};
12658
+ let body;
12659
+ let authorization;
12660
+ let xSdkDate;
12661
+ let xProjectId;
12662
+ let xAppUserId;
12663
+ if (createInteractiveChatRequest !== null && createInteractiveChatRequest !== undefined) {
12664
+ if (createInteractiveChatRequest instanceof CreateInteractiveChatRequest_1.CreateInteractiveChatRequest) {
12665
+ body = createInteractiveChatRequest.body;
12666
+ authorization = createInteractiveChatRequest.authorization;
12667
+ xSdkDate = createInteractiveChatRequest.xSdkDate;
11472
12668
  xProjectId = createInteractiveChatRequest.xProjectId;
11473
12669
  xAppUserId = createInteractiveChatRequest.xAppUserId;
11474
12670
  }
@@ -11500,6 +12696,59 @@ const ParamCreater = function () {
11500
12696
  options.headers = localVarHeaderParameter;
11501
12697
  return options;
11502
12698
  },
12699
+ /**
12700
+ * 下载加密文件
12701
+ *
12702
+ * Please refer to HUAWEI cloud API Explorer for details.
12703
+ */
12704
+ showEncryptFile(showEncryptFileRequest) {
12705
+ const options = {
12706
+ method: "GET",
12707
+ url: "/v1/voice-training-manage/common/encrypt-file-download",
12708
+ contentType: "application/json",
12709
+ queryParams: {},
12710
+ pathParams: {},
12711
+ headers: {}
12712
+ };
12713
+ const localVarHeaderParameter = {};
12714
+ const localVarQueryParameter = {};
12715
+ let tenantId;
12716
+ let jobId;
12717
+ let onceToken;
12718
+ if (showEncryptFileRequest !== null && showEncryptFileRequest !== undefined) {
12719
+ if (showEncryptFileRequest instanceof ShowEncryptFileRequest_1.ShowEncryptFileRequest) {
12720
+ tenantId = showEncryptFileRequest.tenantId;
12721
+ jobId = showEncryptFileRequest.jobId;
12722
+ onceToken = showEncryptFileRequest.onceToken;
12723
+ }
12724
+ else {
12725
+ tenantId = showEncryptFileRequest['tenant_id'];
12726
+ jobId = showEncryptFileRequest['job_id'];
12727
+ onceToken = showEncryptFileRequest['once_token'];
12728
+ }
12729
+ }
12730
+ if (tenantId === null || tenantId === undefined) {
12731
+ throw new RequiredError('tenantId', 'Required parameter tenantId was null or undefined when calling showEncryptFile.');
12732
+ }
12733
+ if (tenantId !== null && tenantId !== undefined) {
12734
+ localVarQueryParameter['tenant_id'] = tenantId;
12735
+ }
12736
+ if (jobId === null || jobId === undefined) {
12737
+ throw new RequiredError('jobId', 'Required parameter jobId was null or undefined when calling showEncryptFile.');
12738
+ }
12739
+ if (jobId !== null && jobId !== undefined) {
12740
+ localVarQueryParameter['job_id'] = jobId;
12741
+ }
12742
+ if (onceToken === null || onceToken === undefined) {
12743
+ throw new RequiredError('onceToken', 'Required parameter onceToken was null or undefined when calling showEncryptFile.');
12744
+ }
12745
+ if (onceToken !== null && onceToken !== undefined) {
12746
+ localVarQueryParameter['once_token'] = onceToken;
12747
+ }
12748
+ options.queryParams = localVarQueryParameter;
12749
+ options.headers = localVarHeaderParameter;
12750
+ return options;
12751
+ },
11503
12752
  /**
11504
12753
  * 该接口用于创建知识库意图和问法。一个意图包含一个主题,一个答案,若干个问法等。接口使用限制详见[API使用限制](metastudio_02_0000.xml)。
11505
12754
  *
@@ -13310,6 +14559,62 @@ const ParamCreater = function () {
13310
14559
  options.headers = localVarHeaderParameter;
13311
14560
  return options;
13312
14561
  },
14562
+ /**
14563
+ * 该接口用于直播平台对接方式。
14564
+ *
14565
+ * Please refer to HUAWEI cloud API Explorer for details.
14566
+ */
14567
+ showLivePlatformAccessType(showLivePlatformAccessTypeRequest) {
14568
+ const options = {
14569
+ method: "GET",
14570
+ url: "/v1/{project_id}/live-platforms/access-types",
14571
+ contentType: "application/json",
14572
+ queryParams: {},
14573
+ pathParams: {},
14574
+ headers: {}
14575
+ };
14576
+ const localVarHeaderParameter = {};
14577
+ const localVarQueryParameter = {};
14578
+ let authorization;
14579
+ let xSdkDate;
14580
+ let xProjectId;
14581
+ let xAppUserId;
14582
+ let used;
14583
+ if (showLivePlatformAccessTypeRequest !== null && showLivePlatformAccessTypeRequest !== undefined) {
14584
+ if (showLivePlatformAccessTypeRequest instanceof ShowLivePlatformAccessTypeRequest_1.ShowLivePlatformAccessTypeRequest) {
14585
+ authorization = showLivePlatformAccessTypeRequest.authorization;
14586
+ xSdkDate = showLivePlatformAccessTypeRequest.xSdkDate;
14587
+ xProjectId = showLivePlatformAccessTypeRequest.xProjectId;
14588
+ xAppUserId = showLivePlatformAccessTypeRequest.xAppUserId;
14589
+ used = showLivePlatformAccessTypeRequest.used;
14590
+ }
14591
+ else {
14592
+ authorization = showLivePlatformAccessTypeRequest['Authorization'];
14593
+ xSdkDate = showLivePlatformAccessTypeRequest['X-Sdk-Date'];
14594
+ xProjectId = showLivePlatformAccessTypeRequest['X-Project-Id'];
14595
+ xAppUserId = showLivePlatformAccessTypeRequest['X-App-UserId'];
14596
+ used = showLivePlatformAccessTypeRequest['used'];
14597
+ }
14598
+ }
14599
+ if (used !== null && used !== undefined) {
14600
+ localVarQueryParameter['used'] = used;
14601
+ }
14602
+ if (authorization !== undefined && authorization !== null) {
14603
+ localVarHeaderParameter['Authorization'] = String(authorization);
14604
+ }
14605
+ if (xSdkDate !== undefined && xSdkDate !== null) {
14606
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
14607
+ }
14608
+ if (xProjectId !== undefined && xProjectId !== null) {
14609
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
14610
+ }
14611
+ if (xAppUserId !== undefined && xAppUserId !== null) {
14612
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
14613
+ }
14614
+ options.queryParams = localVarQueryParameter;
14615
+ options.headers = localVarHeaderParameter;
14616
+ return options;
14617
+ },
13313
14618
  /**
13314
14619
  * 该接口用于更新第三方直播平台信息。
13315
14620
  *
@@ -16115,46 +17420,96 @@ const ParamCreater = function () {
16115
17420
  return options;
16116
17421
  },
16117
17422
  /**
16118
- * 该接口用于创建应用。
17423
+ * 查询声音训练资源。
16119
17424
  *
16120
17425
  * Please refer to HUAWEI cloud API Explorer for details.
16121
17426
  */
16122
- createRobot(createRobotRequest) {
17427
+ showVoiceTrainingQuotas(showVoiceTrainingQuotasRequest) {
16123
17428
  const options = {
16124
- method: "POST",
16125
- url: "/v1/{project_id}/digital-human-chat/robot",
17429
+ method: "GET",
17430
+ url: "/v1/{project_id}/voice-training-manage/quotas",
16126
17431
  contentType: "application/json",
16127
17432
  queryParams: {},
16128
17433
  pathParams: {},
16129
- headers: {},
16130
- data: {}
17434
+ headers: {}
16131
17435
  };
16132
17436
  const localVarHeaderParameter = {};
16133
- let body;
17437
+ const localVarQueryParameter = {};
16134
17438
  let authorization;
16135
17439
  let xSdkDate;
16136
- let xProjectId;
16137
- let xAppUserId;
16138
- if (createRobotRequest !== null && createRobotRequest !== undefined) {
16139
- if (createRobotRequest instanceof CreateRobotRequest_1.CreateRobotRequest) {
16140
- body = createRobotRequest.body;
16141
- authorization = createRobotRequest.authorization;
16142
- xSdkDate = createRobotRequest.xSdkDate;
16143
- xProjectId = createRobotRequest.xProjectId;
16144
- xAppUserId = createRobotRequest.xAppUserId;
17440
+ let offset;
17441
+ let limit;
17442
+ if (showVoiceTrainingQuotasRequest !== null && showVoiceTrainingQuotasRequest !== undefined) {
17443
+ if (showVoiceTrainingQuotasRequest instanceof ShowVoiceTrainingQuotasRequest_1.ShowVoiceTrainingQuotasRequest) {
17444
+ authorization = showVoiceTrainingQuotasRequest.authorization;
17445
+ xSdkDate = showVoiceTrainingQuotasRequest.xSdkDate;
17446
+ offset = showVoiceTrainingQuotasRequest.offset;
17447
+ limit = showVoiceTrainingQuotasRequest.limit;
16145
17448
  }
16146
17449
  else {
16147
- body = createRobotRequest['body'];
16148
- authorization = createRobotRequest['Authorization'];
16149
- xSdkDate = createRobotRequest['X-Sdk-Date'];
16150
- xProjectId = createRobotRequest['X-Project-Id'];
16151
- xAppUserId = createRobotRequest['X-App-UserId'];
17450
+ authorization = showVoiceTrainingQuotasRequest['Authorization'];
17451
+ xSdkDate = showVoiceTrainingQuotasRequest['X-Sdk-Date'];
17452
+ offset = showVoiceTrainingQuotasRequest['offset'];
17453
+ limit = showVoiceTrainingQuotasRequest['limit'];
16152
17454
  }
16153
17455
  }
16154
- if (body === null || body === undefined) {
16155
- throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
17456
+ if (offset !== null && offset !== undefined) {
17457
+ localVarQueryParameter['offset'] = offset;
16156
17458
  }
16157
- if (authorization !== undefined && authorization !== null) {
17459
+ if (limit !== null && limit !== undefined) {
17460
+ localVarQueryParameter['limit'] = limit;
17461
+ }
17462
+ if (authorization !== undefined && authorization !== null) {
17463
+ localVarHeaderParameter['Authorization'] = String(authorization);
17464
+ }
17465
+ if (xSdkDate !== undefined && xSdkDate !== null) {
17466
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
17467
+ }
17468
+ options.queryParams = localVarQueryParameter;
17469
+ options.headers = localVarHeaderParameter;
17470
+ return options;
17471
+ },
17472
+ /**
17473
+ * 该接口用于创建应用。
17474
+ *
17475
+ * Please refer to HUAWEI cloud API Explorer for details.
17476
+ */
17477
+ createRobot(createRobotRequest) {
17478
+ const options = {
17479
+ method: "POST",
17480
+ url: "/v1/{project_id}/digital-human-chat/robot",
17481
+ contentType: "application/json",
17482
+ queryParams: {},
17483
+ pathParams: {},
17484
+ headers: {},
17485
+ data: {}
17486
+ };
17487
+ const localVarHeaderParameter = {};
17488
+ let body;
17489
+ let authorization;
17490
+ let xSdkDate;
17491
+ let xProjectId;
17492
+ let xAppUserId;
17493
+ if (createRobotRequest !== null && createRobotRequest !== undefined) {
17494
+ if (createRobotRequest instanceof CreateRobotRequest_1.CreateRobotRequest) {
17495
+ body = createRobotRequest.body;
17496
+ authorization = createRobotRequest.authorization;
17497
+ xSdkDate = createRobotRequest.xSdkDate;
17498
+ xProjectId = createRobotRequest.xProjectId;
17499
+ xAppUserId = createRobotRequest.xAppUserId;
17500
+ }
17501
+ else {
17502
+ body = createRobotRequest['body'];
17503
+ authorization = createRobotRequest['Authorization'];
17504
+ xSdkDate = createRobotRequest['X-Sdk-Date'];
17505
+ xProjectId = createRobotRequest['X-Project-Id'];
17506
+ xAppUserId = createRobotRequest['X-App-UserId'];
17507
+ }
17508
+ }
17509
+ if (body === null || body === undefined) {
17510
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
17511
+ }
17512
+ if (authorization !== undefined && authorization !== null) {
16158
17513
  localVarHeaderParameter['Authorization'] = String(authorization);
16159
17514
  }
16160
17515
  if (xSdkDate !== undefined && xSdkDate !== null) {
@@ -17096,6 +18451,57 @@ const ParamCreater = function () {
17096
18451
  options.headers = localVarHeaderParameter;
17097
18452
  return options;
17098
18453
  },
18454
+ /**
18455
+ * 该接口用于租户设置直播租户级配置。
18456
+ *
18457
+ * Please refer to HUAWEI cloud API Explorer for details.
18458
+ */
18459
+ updateSmartLiveUserConfig(updateSmartLiveUserConfigRequest) {
18460
+ const options = {
18461
+ method: "PUT",
18462
+ url: "/v1/{project_id}/smart-live-configs/user-config",
18463
+ contentType: "application/json",
18464
+ queryParams: {},
18465
+ pathParams: {},
18466
+ headers: {},
18467
+ data: {}
18468
+ };
18469
+ const localVarHeaderParameter = {};
18470
+ let body;
18471
+ let authorization;
18472
+ let xSdkDate;
18473
+ let xProjectId;
18474
+ if (updateSmartLiveUserConfigRequest !== null && updateSmartLiveUserConfigRequest !== undefined) {
18475
+ if (updateSmartLiveUserConfigRequest instanceof UpdateSmartLiveUserConfigRequest_1.UpdateSmartLiveUserConfigRequest) {
18476
+ body = updateSmartLiveUserConfigRequest.body;
18477
+ authorization = updateSmartLiveUserConfigRequest.authorization;
18478
+ xSdkDate = updateSmartLiveUserConfigRequest.xSdkDate;
18479
+ xProjectId = updateSmartLiveUserConfigRequest.xProjectId;
18480
+ }
18481
+ else {
18482
+ body = updateSmartLiveUserConfigRequest['body'];
18483
+ authorization = updateSmartLiveUserConfigRequest['Authorization'];
18484
+ xSdkDate = updateSmartLiveUserConfigRequest['X-Sdk-Date'];
18485
+ xProjectId = updateSmartLiveUserConfigRequest['X-Project-Id'];
18486
+ }
18487
+ }
18488
+ if (body === null || body === undefined) {
18489
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
18490
+ }
18491
+ if (authorization !== undefined && authorization !== null) {
18492
+ localVarHeaderParameter['Authorization'] = String(authorization);
18493
+ }
18494
+ if (xSdkDate !== undefined && xSdkDate !== null) {
18495
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
18496
+ }
18497
+ if (xProjectId !== undefined && xProjectId !== null) {
18498
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
18499
+ }
18500
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18501
+ options.data = body !== undefined ? body : {};
18502
+ options.headers = localVarHeaderParameter;
18503
+ return options;
18504
+ },
17099
18505
  /**
17100
18506
  * 该接口用于批量确认命令列表
17101
18507
  *
@@ -17236,6 +18642,81 @@ const ParamCreater = function () {
17236
18642
  options.headers = localVarHeaderParameter;
17237
18643
  return options;
17238
18644
  },
18645
+ /**
18646
+ * 该接口用于查询数字人直播插入命令列表。
18647
+ *
18648
+ * Please refer to HUAWEI cloud API Explorer for details.
18649
+ */
18650
+ listInsertCommands(listInsertCommandsRequest) {
18651
+ const options = {
18652
+ method: "GET",
18653
+ url: "/v1/{project_id}/smart-live-rooms/{room_id}/smart-live-jobs/{job_id}/command/insert-commands",
18654
+ contentType: "application/json",
18655
+ queryParams: {},
18656
+ pathParams: {},
18657
+ headers: {}
18658
+ };
18659
+ const localVarHeaderParameter = {};
18660
+ const localVarQueryParameter = {};
18661
+ let roomId;
18662
+ let jobId;
18663
+ let authorization;
18664
+ let xSdkDate;
18665
+ let xProjectId;
18666
+ let xAppUserId;
18667
+ let offset;
18668
+ let limit;
18669
+ if (listInsertCommandsRequest !== null && listInsertCommandsRequest !== undefined) {
18670
+ if (listInsertCommandsRequest instanceof ListInsertCommandsRequest_1.ListInsertCommandsRequest) {
18671
+ roomId = listInsertCommandsRequest.roomId;
18672
+ jobId = listInsertCommandsRequest.jobId;
18673
+ authorization = listInsertCommandsRequest.authorization;
18674
+ xSdkDate = listInsertCommandsRequest.xSdkDate;
18675
+ xProjectId = listInsertCommandsRequest.xProjectId;
18676
+ xAppUserId = listInsertCommandsRequest.xAppUserId;
18677
+ offset = listInsertCommandsRequest.offset;
18678
+ limit = listInsertCommandsRequest.limit;
18679
+ }
18680
+ else {
18681
+ roomId = listInsertCommandsRequest['room_id'];
18682
+ jobId = listInsertCommandsRequest['job_id'];
18683
+ authorization = listInsertCommandsRequest['Authorization'];
18684
+ xSdkDate = listInsertCommandsRequest['X-Sdk-Date'];
18685
+ xProjectId = listInsertCommandsRequest['X-Project-Id'];
18686
+ xAppUserId = listInsertCommandsRequest['X-App-UserId'];
18687
+ offset = listInsertCommandsRequest['offset'];
18688
+ limit = listInsertCommandsRequest['limit'];
18689
+ }
18690
+ }
18691
+ if (roomId === null || roomId === undefined) {
18692
+ throw new RequiredError('roomId', 'Required parameter roomId was null or undefined when calling listInsertCommands.');
18693
+ }
18694
+ if (jobId === null || jobId === undefined) {
18695
+ throw new RequiredError('jobId', 'Required parameter jobId was null or undefined when calling listInsertCommands.');
18696
+ }
18697
+ if (offset !== null && offset !== undefined) {
18698
+ localVarQueryParameter['offset'] = offset;
18699
+ }
18700
+ if (limit !== null && limit !== undefined) {
18701
+ localVarQueryParameter['limit'] = limit;
18702
+ }
18703
+ if (authorization !== undefined && authorization !== null) {
18704
+ localVarHeaderParameter['Authorization'] = String(authorization);
18705
+ }
18706
+ if (xSdkDate !== undefined && xSdkDate !== null) {
18707
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
18708
+ }
18709
+ if (xProjectId !== undefined && xProjectId !== null) {
18710
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
18711
+ }
18712
+ if (xAppUserId !== undefined && xAppUserId !== null) {
18713
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
18714
+ }
18715
+ options.queryParams = localVarQueryParameter;
18716
+ options.pathParams = { 'room_id': roomId, 'job_id': jobId, };
18717
+ options.headers = localVarHeaderParameter;
18718
+ return options;
18719
+ },
17239
18720
  /**
17240
18721
  * 该接口用于查询某个智能直播间的直播任务列表。
17241
18722
  *
@@ -18149,6 +19630,61 @@ const ParamCreater = function () {
18149
19630
  options.headers = localVarHeaderParameter;
18150
19631
  return options;
18151
19632
  },
19633
+ /**
19634
+ * 该接口用查询直播建配置风险信息。
19635
+ *
19636
+ * Please refer to HUAWEI cloud API Explorer for details.
19637
+ */
19638
+ showLiveWarningInfo(showLiveWarningInfoRequest) {
19639
+ const options = {
19640
+ method: "GET",
19641
+ url: "/v1/{project_id}/smart-live-rooms/{room_id}/live-warning-info",
19642
+ contentType: "application/json",
19643
+ queryParams: {},
19644
+ pathParams: {},
19645
+ headers: {}
19646
+ };
19647
+ const localVarHeaderParameter = {};
19648
+ let roomId;
19649
+ let authorization;
19650
+ let xSdkDate;
19651
+ let xProjectId;
19652
+ let xAppUserId;
19653
+ if (showLiveWarningInfoRequest !== null && showLiveWarningInfoRequest !== undefined) {
19654
+ if (showLiveWarningInfoRequest instanceof ShowLiveWarningInfoRequest_1.ShowLiveWarningInfoRequest) {
19655
+ roomId = showLiveWarningInfoRequest.roomId;
19656
+ authorization = showLiveWarningInfoRequest.authorization;
19657
+ xSdkDate = showLiveWarningInfoRequest.xSdkDate;
19658
+ xProjectId = showLiveWarningInfoRequest.xProjectId;
19659
+ xAppUserId = showLiveWarningInfoRequest.xAppUserId;
19660
+ }
19661
+ else {
19662
+ roomId = showLiveWarningInfoRequest['room_id'];
19663
+ authorization = showLiveWarningInfoRequest['Authorization'];
19664
+ xSdkDate = showLiveWarningInfoRequest['X-Sdk-Date'];
19665
+ xProjectId = showLiveWarningInfoRequest['X-Project-Id'];
19666
+ xAppUserId = showLiveWarningInfoRequest['X-App-UserId'];
19667
+ }
19668
+ }
19669
+ if (roomId === null || roomId === undefined) {
19670
+ throw new RequiredError('roomId', 'Required parameter roomId was null or undefined when calling showLiveWarningInfo.');
19671
+ }
19672
+ if (authorization !== undefined && authorization !== null) {
19673
+ localVarHeaderParameter['Authorization'] = String(authorization);
19674
+ }
19675
+ if (xSdkDate !== undefined && xSdkDate !== null) {
19676
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
19677
+ }
19678
+ if (xProjectId !== undefined && xProjectId !== null) {
19679
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
19680
+ }
19681
+ if (xAppUserId !== undefined && xAppUserId !== null) {
19682
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
19683
+ }
19684
+ options.pathParams = { 'room_id': roomId, };
19685
+ options.headers = localVarHeaderParameter;
19686
+ return options;
19687
+ },
18152
19688
  /**
18153
19689
  * 该接口用于查询智能直播间剧本详情。
18154
19690
  *
@@ -18806,6 +20342,61 @@ const ParamCreater = function () {
18806
20342
  options.headers = localVarHeaderParameter;
18807
20343
  return options;
18808
20344
  },
20345
+ /**
20346
+ * 提交短任务,执行改接口后,任务会正式开始执行。
20347
+ *
20348
+ * Please refer to HUAWEI cloud API Explorer for details.
20349
+ */
20350
+ commitShortJob(commitShortJobRequest) {
20351
+ const options = {
20352
+ method: "POST",
20353
+ url: "/v1/{project_id}/voice-training-manage/user/short-jobs/{job_id}",
20354
+ contentType: "application/json",
20355
+ queryParams: {},
20356
+ pathParams: {},
20357
+ headers: {}
20358
+ };
20359
+ const localVarHeaderParameter = {};
20360
+ let jobId;
20361
+ let authorization;
20362
+ let xSdkDate;
20363
+ let xProjectId;
20364
+ let xAppUserId;
20365
+ if (commitShortJobRequest !== null && commitShortJobRequest !== undefined) {
20366
+ if (commitShortJobRequest instanceof CommitShortJobRequest_1.CommitShortJobRequest) {
20367
+ jobId = commitShortJobRequest.jobId;
20368
+ authorization = commitShortJobRequest.authorization;
20369
+ xSdkDate = commitShortJobRequest.xSdkDate;
20370
+ xProjectId = commitShortJobRequest.xProjectId;
20371
+ xAppUserId = commitShortJobRequest.xAppUserId;
20372
+ }
20373
+ else {
20374
+ jobId = commitShortJobRequest['job_id'];
20375
+ authorization = commitShortJobRequest['Authorization'];
20376
+ xSdkDate = commitShortJobRequest['X-Sdk-Date'];
20377
+ xProjectId = commitShortJobRequest['X-Project-Id'];
20378
+ xAppUserId = commitShortJobRequest['X-App-UserId'];
20379
+ }
20380
+ }
20381
+ if (jobId === null || jobId === undefined) {
20382
+ throw new RequiredError('jobId', 'Required parameter jobId was null or undefined when calling commitShortJob.');
20383
+ }
20384
+ if (authorization !== undefined && authorization !== null) {
20385
+ localVarHeaderParameter['Authorization'] = String(authorization);
20386
+ }
20387
+ if (xSdkDate !== undefined && xSdkDate !== null) {
20388
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
20389
+ }
20390
+ if (xProjectId !== undefined && xProjectId !== null) {
20391
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
20392
+ }
20393
+ if (xAppUserId !== undefined && xAppUserId !== null) {
20394
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
20395
+ }
20396
+ options.pathParams = { 'job_id': jobId, };
20397
+ options.headers = localVarHeaderParameter;
20398
+ return options;
20399
+ },
18809
20400
  /**
18810
20401
  * 提交训练任务,执行该接口后,任务会进入审核状态,审核完成后会等待训练。
18811
20402
  *
@@ -18911,6 +20502,64 @@ const ParamCreater = function () {
18911
20502
  options.headers = localVarHeaderParameter;
18912
20503
  return options;
18913
20504
  },
20505
+ /**
20506
+ * 用户创建短任务(音频质量检测等),该接口会返回一个obs上传地址,用于上传语音文件。
20507
+ * 文件上传后,调用“提交短任务”接口,启动短任务。
20508
+ *
20509
+ * Please refer to HUAWEI cloud API Explorer for details.
20510
+ */
20511
+ createShortJob(createShortJobRequest) {
20512
+ const options = {
20513
+ method: "POST",
20514
+ url: "/v1/{project_id}/voice-training-manage/user/short-jobs",
20515
+ contentType: "application/json",
20516
+ queryParams: {},
20517
+ pathParams: {},
20518
+ headers: {},
20519
+ data: {}
20520
+ };
20521
+ const localVarHeaderParameter = {};
20522
+ let body;
20523
+ let authorization;
20524
+ let xSdkDate;
20525
+ let xProjectId;
20526
+ let xAppUserId;
20527
+ if (createShortJobRequest !== null && createShortJobRequest !== undefined) {
20528
+ if (createShortJobRequest instanceof CreateShortJobRequest_1.CreateShortJobRequest) {
20529
+ body = createShortJobRequest.body;
20530
+ authorization = createShortJobRequest.authorization;
20531
+ xSdkDate = createShortJobRequest.xSdkDate;
20532
+ xProjectId = createShortJobRequest.xProjectId;
20533
+ xAppUserId = createShortJobRequest.xAppUserId;
20534
+ }
20535
+ else {
20536
+ body = createShortJobRequest['body'];
20537
+ authorization = createShortJobRequest['Authorization'];
20538
+ xSdkDate = createShortJobRequest['X-Sdk-Date'];
20539
+ xProjectId = createShortJobRequest['X-Project-Id'];
20540
+ xAppUserId = createShortJobRequest['X-App-UserId'];
20541
+ }
20542
+ }
20543
+ if (body === null || body === undefined) {
20544
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
20545
+ }
20546
+ if (authorization !== undefined && authorization !== null) {
20547
+ localVarHeaderParameter['Authorization'] = String(authorization);
20548
+ }
20549
+ if (xSdkDate !== undefined && xSdkDate !== null) {
20550
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
20551
+ }
20552
+ if (xProjectId !== undefined && xProjectId !== null) {
20553
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
20554
+ }
20555
+ if (xAppUserId !== undefined && xAppUserId !== null) {
20556
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
20557
+ }
20558
+ localVarHeaderParameter['Content-Type'] = 'application/json';
20559
+ options.data = body !== undefined ? body : {};
20560
+ options.headers = localVarHeaderParameter;
20561
+ return options;
20562
+ },
18914
20563
  /**
18915
20564
  * 用户创建语音训练高级版任务,该接口会返回一个obs上传地址,用于上传语音文件。
18916
20565
  *
@@ -19080,6 +20729,49 @@ const ParamCreater = function () {
19080
20729
  options.headers = localVarHeaderParameter;
19081
20730
  return options;
19082
20731
  },
20732
+ /**
20733
+ * 用户创建第三方平台语音训练任务,该接口会返回一个obs上传地址,用于上传语音文件。
20734
+ * 仅支持zip包方式上传语音文件:
20735
+ * * 语音文件打包成zip上传:上传的训练数据为一个zip格式压缩文件,其中包含一段wav格式的长音频文件。
20736
+ *
20737
+ * > * 文件上传后,调用“提交语音训练任务”接口,启动审核和训练。
20738
+ *
20739
+ * Please refer to HUAWEI cloud API Explorer for details.
20740
+ */
20741
+ createTrainingThirdPartyJob(createTrainingThirdPartyJobRequest) {
20742
+ const options = {
20743
+ method: "POST",
20744
+ url: "/v1/{project_id}/voice-training-manage/user/third-party-jobs",
20745
+ contentType: "application/json",
20746
+ queryParams: {},
20747
+ pathParams: {},
20748
+ headers: {},
20749
+ data: {}
20750
+ };
20751
+ const localVarHeaderParameter = {};
20752
+ let body;
20753
+ let xAppUserId;
20754
+ if (createTrainingThirdPartyJobRequest !== null && createTrainingThirdPartyJobRequest !== undefined) {
20755
+ if (createTrainingThirdPartyJobRequest instanceof CreateTrainingThirdPartyJobRequest_1.CreateTrainingThirdPartyJobRequest) {
20756
+ body = createTrainingThirdPartyJobRequest.body;
20757
+ xAppUserId = createTrainingThirdPartyJobRequest.xAppUserId;
20758
+ }
20759
+ else {
20760
+ body = createTrainingThirdPartyJobRequest['body'];
20761
+ xAppUserId = createTrainingThirdPartyJobRequest['X-App-UserId'];
20762
+ }
20763
+ }
20764
+ if (body === null || body === undefined) {
20765
+ throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
20766
+ }
20767
+ if (xAppUserId !== undefined && xAppUserId !== null) {
20768
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
20769
+ }
20770
+ localVarHeaderParameter['Content-Type'] = 'application/json';
20771
+ options.data = body !== undefined ? body : {};
20772
+ options.headers = localVarHeaderParameter;
20773
+ return options;
20774
+ },
19083
20775
  /**
19084
20776
  * 删除语音训练任务
19085
20777
  *
@@ -19404,6 +21096,61 @@ const ParamCreater = function () {
19404
21096
  options.headers = localVarHeaderParameter;
19405
21097
  return options;
19406
21098
  },
21099
+ /**
21100
+ * 查询短任务详情
21101
+ *
21102
+ * Please refer to HUAWEI cloud API Explorer for details.
21103
+ */
21104
+ showShortJob(showShortJobRequest) {
21105
+ const options = {
21106
+ method: "GET",
21107
+ url: "/v1/{project_id}/voice-training-manage/user/short-jobs/{job_id}",
21108
+ contentType: "application/json",
21109
+ queryParams: {},
21110
+ pathParams: {},
21111
+ headers: {}
21112
+ };
21113
+ const localVarHeaderParameter = {};
21114
+ let jobId;
21115
+ let authorization;
21116
+ let xSdkDate;
21117
+ let xProjectId;
21118
+ let xAppUserId;
21119
+ if (showShortJobRequest !== null && showShortJobRequest !== undefined) {
21120
+ if (showShortJobRequest instanceof ShowShortJobRequest_1.ShowShortJobRequest) {
21121
+ jobId = showShortJobRequest.jobId;
21122
+ authorization = showShortJobRequest.authorization;
21123
+ xSdkDate = showShortJobRequest.xSdkDate;
21124
+ xProjectId = showShortJobRequest.xProjectId;
21125
+ xAppUserId = showShortJobRequest.xAppUserId;
21126
+ }
21127
+ else {
21128
+ jobId = showShortJobRequest['job_id'];
21129
+ authorization = showShortJobRequest['Authorization'];
21130
+ xSdkDate = showShortJobRequest['X-Sdk-Date'];
21131
+ xProjectId = showShortJobRequest['X-Project-Id'];
21132
+ xAppUserId = showShortJobRequest['X-App-UserId'];
21133
+ }
21134
+ }
21135
+ if (jobId === null || jobId === undefined) {
21136
+ throw new RequiredError('jobId', 'Required parameter jobId was null or undefined when calling showShortJob.');
21137
+ }
21138
+ if (authorization !== undefined && authorization !== null) {
21139
+ localVarHeaderParameter['Authorization'] = String(authorization);
21140
+ }
21141
+ if (xSdkDate !== undefined && xSdkDate !== null) {
21142
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
21143
+ }
21144
+ if (xProjectId !== undefined && xProjectId !== null) {
21145
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
21146
+ }
21147
+ if (xAppUserId !== undefined && xAppUserId !== null) {
21148
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
21149
+ }
21150
+ options.pathParams = { 'job_id': jobId, };
21151
+ options.headers = localVarHeaderParameter;
21152
+ return options;
21153
+ },
19407
21154
  /**
19408
21155
  * 查询用户配置的个性化音频时长
19409
21156
  *
@@ -19457,6 +21204,51 @@ const ParamCreater = function () {
19457
21204
  options.headers = localVarHeaderParameter;
19458
21205
  return options;
19459
21206
  },
21207
+ /**
21208
+ * 用户获取附件上传url
21209
+ *
21210
+ * Please refer to HUAWEI cloud API Explorer for details.
21211
+ */
21212
+ showUserReviewAttachmentUploadingAddress(showUserReviewAttachmentUploadingAddressRequest) {
21213
+ const options = {
21214
+ method: "GET",
21215
+ url: "/v1/{project_id}/voice-training-manage/user/jobs/{job_id}/review-attachment-uploading-address-url",
21216
+ contentType: "application/json",
21217
+ queryParams: {},
21218
+ pathParams: {},
21219
+ headers: {}
21220
+ };
21221
+ const localVarHeaderParameter = {};
21222
+ const localVarQueryParameter = {};
21223
+ let jobId;
21224
+ let startNumber;
21225
+ let endNumber;
21226
+ if (showUserReviewAttachmentUploadingAddressRequest !== null && showUserReviewAttachmentUploadingAddressRequest !== undefined) {
21227
+ if (showUserReviewAttachmentUploadingAddressRequest instanceof ShowUserReviewAttachmentUploadingAddressRequest_1.ShowUserReviewAttachmentUploadingAddressRequest) {
21228
+ jobId = showUserReviewAttachmentUploadingAddressRequest.jobId;
21229
+ startNumber = showUserReviewAttachmentUploadingAddressRequest.startNumber;
21230
+ endNumber = showUserReviewAttachmentUploadingAddressRequest.endNumber;
21231
+ }
21232
+ else {
21233
+ jobId = showUserReviewAttachmentUploadingAddressRequest['job_id'];
21234
+ startNumber = showUserReviewAttachmentUploadingAddressRequest['start_number'];
21235
+ endNumber = showUserReviewAttachmentUploadingAddressRequest['end_number'];
21236
+ }
21237
+ }
21238
+ if (jobId === null || jobId === undefined) {
21239
+ throw new RequiredError('jobId', 'Required parameter jobId was null or undefined when calling showUserReviewAttachmentUploadingAddress.');
21240
+ }
21241
+ if (startNumber !== null && startNumber !== undefined) {
21242
+ localVarQueryParameter['start_number'] = startNumber;
21243
+ }
21244
+ if (endNumber !== null && endNumber !== undefined) {
21245
+ localVarQueryParameter['end_number'] = endNumber;
21246
+ }
21247
+ options.queryParams = localVarQueryParameter;
21248
+ options.pathParams = { 'job_id': jobId, };
21249
+ options.headers = localVarHeaderParameter;
21250
+ return options;
21251
+ },
19460
21252
  /**
19461
21253
  * 查询语音训练任务详情
19462
21254
  *
@@ -21770,6 +23562,7 @@ const ParamCreater = function () {
21770
23562
  },
21771
23563
  /**
21772
23564
  * 该接口用于复制视频制作剧本。
23565
+ * > - 复制的剧本不包含预览字幕信息。
21773
23566
  *
21774
23567
  * Please refer to HUAWEI cloud API Explorer for details.
21775
23568
  */