@huaweicloud/huaweicloud-sdk-metastudio 3.1.76 → 3.1.77

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 (161) hide show
  1. package/package.json +2 -2
  2. package/v1/MetaStudioClient.d.ts +101 -30
  3. package/v1/MetaStudioClient.d.ts.map +1 -1
  4. package/v1/MetaStudioClient.js +260 -30
  5. package/v1/MetaStudioClient.js.map +1 -1
  6. package/v1/MetaStudioRegion.d.ts +1 -0
  7. package/v1/MetaStudioRegion.d.ts.map +1 -1
  8. package/v1/MetaStudioRegion.js +3 -1
  9. package/v1/MetaStudioRegion.js.map +1 -1
  10. package/v1/model/CopyVideoScriptsRequest.d.ts +24 -0
  11. package/v1/model/CopyVideoScriptsRequest.d.ts.map +1 -0
  12. package/v1/model/CopyVideoScriptsRequest.js +60 -0
  13. package/v1/model/CopyVideoScriptsRequest.js.map +1 -0
  14. package/v1/model/CopyVideoScriptsResponse.d.ts +13 -0
  15. package/v1/model/CopyVideoScriptsResponse.d.ts.map +1 -0
  16. package/v1/model/CopyVideoScriptsResponse.js +31 -0
  17. package/v1/model/CopyVideoScriptsResponse.js.map +1 -0
  18. package/v1/model/CreateDigitalAssetRequestBody.d.ts +5 -4
  19. package/v1/model/CreateDigitalAssetRequestBody.d.ts.map +1 -1
  20. package/v1/model/CreateDigitalAssetRequestBody.js +10 -10
  21. package/v1/model/CreateDigitalAssetRequestBody.js.map +1 -1
  22. package/v1/model/CreateRobotReq.d.ts +8 -0
  23. package/v1/model/CreateRobotReq.d.ts.map +1 -1
  24. package/v1/model/CreateRobotReq.js +14 -0
  25. package/v1/model/CreateRobotReq.js.map +1 -1
  26. package/v1/model/CreateSmartLiveRoomReq.d.ts +12 -0
  27. package/v1/model/CreateSmartLiveRoomReq.d.ts.map +1 -1
  28. package/v1/model/CreateSmartLiveRoomReq.js +20 -1
  29. package/v1/model/CreateSmartLiveRoomReq.js.map +1 -1
  30. package/v1/model/DigitalAssetInfo.d.ts +4 -4
  31. package/v1/model/DigitalAssetInfo.d.ts.map +1 -1
  32. package/v1/model/DigitalAssetInfo.js +10 -10
  33. package/v1/model/DigitalAssetInfo.js.map +1 -1
  34. package/v1/model/DigitalAssetSummary.d.ts +4 -0
  35. package/v1/model/DigitalAssetSummary.d.ts.map +1 -1
  36. package/v1/model/DigitalAssetSummary.js +10 -0
  37. package/v1/model/DigitalAssetSummary.js.map +1 -1
  38. package/v1/model/DigitalHumanVideo.d.ts +12 -0
  39. package/v1/model/DigitalHumanVideo.d.ts.map +1 -1
  40. package/v1/model/DigitalHumanVideo.js +20 -1
  41. package/v1/model/DigitalHumanVideo.js.map +1 -1
  42. package/v1/model/ExternalVoiceAssetMeta.d.ts +20 -0
  43. package/v1/model/ExternalVoiceAssetMeta.d.ts.map +1 -0
  44. package/v1/model/ExternalVoiceAssetMeta.js +34 -0
  45. package/v1/model/ExternalVoiceAssetMeta.js.map +1 -0
  46. package/v1/model/HumanModel2DAssetMeta.d.ts +2 -1
  47. package/v1/model/HumanModel2DAssetMeta.d.ts.map +1 -1
  48. package/v1/model/HumanModel2DAssetMeta.js +1 -0
  49. package/v1/model/HumanModel2DAssetMeta.js.map +1 -1
  50. package/v1/model/LanguageEnum.d.ts +4 -0
  51. package/v1/model/LanguageEnum.d.ts.map +1 -0
  52. package/v1/model/LanguageEnum.js +9 -0
  53. package/v1/model/LanguageEnum.js.map +1 -0
  54. package/v1/model/LayerConfig.d.ts +4 -0
  55. package/v1/model/LayerConfig.d.ts.map +1 -1
  56. package/v1/model/LayerConfig.js +10 -0
  57. package/v1/model/LayerConfig.js.map +1 -1
  58. package/v1/model/ListAssetsRequest.d.ts +18 -0
  59. package/v1/model/ListAssetsRequest.d.ts.map +1 -1
  60. package/v1/model/ListAssetsRequest.js +34 -1
  61. package/v1/model/ListAssetsRequest.js.map +1 -1
  62. package/v1/model/ListSmartLiveJobsRequest.d.ts +46 -0
  63. package/v1/model/ListSmartLiveJobsRequest.d.ts.map +1 -0
  64. package/v1/model/ListSmartLiveJobsRequest.js +111 -0
  65. package/v1/model/ListSmartLiveJobsRequest.js.map +1 -0
  66. package/v1/model/ListSmartLiveJobsResponse.d.ts +16 -0
  67. package/v1/model/ListSmartLiveJobsResponse.d.ts.map +1 -0
  68. package/v1/model/ListSmartLiveJobsResponse.js +35 -0
  69. package/v1/model/ListSmartLiveJobsResponse.js.map +1 -0
  70. package/v1/model/ListSmartLiveRoomsRequest.d.ts +4 -0
  71. package/v1/model/ListSmartLiveRoomsRequest.d.ts.map +1 -1
  72. package/v1/model/ListSmartLiveRoomsRequest.js +10 -0
  73. package/v1/model/ListSmartLiveRoomsRequest.js.map +1 -1
  74. package/v1/model/LiveAudioConfig.d.ts +4 -0
  75. package/v1/model/LiveAudioConfig.d.ts.map +1 -1
  76. package/v1/model/LiveAudioConfig.js +10 -0
  77. package/v1/model/LiveAudioConfig.js.map +1 -1
  78. package/v1/model/MobvoiVoiceAssetMeta.d.ts +6 -0
  79. package/v1/model/MobvoiVoiceAssetMeta.d.ts.map +1 -0
  80. package/v1/model/MobvoiVoiceAssetMeta.js +14 -0
  81. package/v1/model/MobvoiVoiceAssetMeta.js.map +1 -0
  82. package/v1/model/PlayPolicy.d.ts +2 -1
  83. package/v1/model/PlayPolicy.d.ts.map +1 -1
  84. package/v1/model/PlayPolicy.js +1 -0
  85. package/v1/model/PlayPolicy.js.map +1 -1
  86. package/v1/model/RobotInfo.d.ts +15 -0
  87. package/v1/model/RobotInfo.d.ts.map +1 -1
  88. package/v1/model/RobotInfo.js +34 -0
  89. package/v1/model/RobotInfo.js.map +1 -1
  90. package/v1/model/Show2DDigitalHumanVideoResponse.d.ts +12 -0
  91. package/v1/model/Show2DDigitalHumanVideoResponse.d.ts.map +1 -1
  92. package/v1/model/Show2DDigitalHumanVideoResponse.js +20 -1
  93. package/v1/model/Show2DDigitalHumanVideoResponse.js.map +1 -1
  94. package/v1/model/ShowAssetResponse.d.ts +4 -4
  95. package/v1/model/ShowAssetResponse.d.ts.map +1 -1
  96. package/v1/model/ShowAssetResponse.js +10 -10
  97. package/v1/model/ShowAssetResponse.js.map +1 -1
  98. package/v1/model/ShowPhotoDigitalHumanVideoResponse.d.ts +12 -0
  99. package/v1/model/ShowPhotoDigitalHumanVideoResponse.d.ts.map +1 -1
  100. package/v1/model/ShowPhotoDigitalHumanVideoResponse.js +20 -1
  101. package/v1/model/ShowPhotoDigitalHumanVideoResponse.js.map +1 -1
  102. package/v1/model/ShowRobotResponse.d.ts +15 -0
  103. package/v1/model/ShowRobotResponse.d.ts.map +1 -1
  104. package/v1/model/ShowRobotResponse.js +34 -0
  105. package/v1/model/ShowRobotResponse.js.map +1 -1
  106. package/v1/model/ShowSmartLiveResponse.d.ts +12 -0
  107. package/v1/model/ShowSmartLiveResponse.d.ts.map +1 -1
  108. package/v1/model/ShowSmartLiveResponse.js +30 -0
  109. package/v1/model/ShowSmartLiveResponse.js.map +1 -1
  110. package/v1/model/ShowSmartLiveRoomResponse.d.ts +12 -0
  111. package/v1/model/ShowSmartLiveRoomResponse.d.ts.map +1 -1
  112. package/v1/model/ShowSmartLiveRoomResponse.js +20 -1
  113. package/v1/model/ShowSmartLiveRoomResponse.js.map +1 -1
  114. package/v1/model/SmartLayerConfig.d.ts +4 -0
  115. package/v1/model/SmartLayerConfig.d.ts.map +1 -1
  116. package/v1/model/SmartLayerConfig.js +10 -0
  117. package/v1/model/SmartLayerConfig.js.map +1 -1
  118. package/v1/model/SmartLiveJob.d.ts +12 -0
  119. package/v1/model/SmartLiveJob.d.ts.map +1 -1
  120. package/v1/model/SmartLiveJob.js +30 -0
  121. package/v1/model/SmartLiveJob.js.map +1 -1
  122. package/v1/model/SmartLiveRoomBaseInfo.d.ts +9 -0
  123. package/v1/model/SmartLiveRoomBaseInfo.d.ts.map +1 -1
  124. package/v1/model/SmartLiveRoomBaseInfo.js +20 -0
  125. package/v1/model/SmartLiveRoomBaseInfo.js.map +1 -1
  126. package/v1/model/StartSmartLiveReq.d.ts +12 -0
  127. package/v1/model/StartSmartLiveReq.d.ts.map +1 -1
  128. package/v1/model/StartSmartLiveReq.js +20 -1
  129. package/v1/model/StartSmartLiveReq.js.map +1 -1
  130. package/v1/model/ThirdPartyModelConfig.d.ts +24 -0
  131. package/v1/model/ThirdPartyModelConfig.d.ts.map +1 -0
  132. package/v1/model/ThirdPartyModelConfig.js +59 -0
  133. package/v1/model/ThirdPartyModelConfig.js.map +1 -0
  134. package/v1/model/UpdateDigitalAssetRequestBody.d.ts +5 -4
  135. package/v1/model/UpdateDigitalAssetRequestBody.d.ts.map +1 -1
  136. package/v1/model/UpdateDigitalAssetRequestBody.js +10 -10
  137. package/v1/model/UpdateDigitalAssetRequestBody.js.map +1 -1
  138. package/v1/model/UpdateDigitalAssetResponse.d.ts +4 -4
  139. package/v1/model/UpdateDigitalAssetResponse.d.ts.map +1 -1
  140. package/v1/model/UpdateDigitalAssetResponse.js +10 -10
  141. package/v1/model/UpdateDigitalAssetResponse.js.map +1 -1
  142. package/v1/model/UpdateRobotReq.d.ts +8 -0
  143. package/v1/model/UpdateRobotReq.d.ts.map +1 -1
  144. package/v1/model/UpdateRobotReq.js +14 -0
  145. package/v1/model/UpdateRobotReq.js.map +1 -1
  146. package/v1/model/UpdateSmartLiveRoomResponse.d.ts +12 -0
  147. package/v1/model/UpdateSmartLiveRoomResponse.d.ts.map +1 -1
  148. package/v1/model/UpdateSmartLiveRoomResponse.js +20 -1
  149. package/v1/model/UpdateSmartLiveRoomResponse.js.map +1 -1
  150. package/v1/model/VideoLayerConfig.d.ts +4 -0
  151. package/v1/model/VideoLayerConfig.d.ts.map +1 -1
  152. package/v1/model/VideoLayerConfig.js +10 -0
  153. package/v1/model/VideoLayerConfig.js.map +1 -1
  154. package/v1/model/VoiceModelAssetMeta.d.ts +7 -0
  155. package/v1/model/VoiceModelAssetMeta.d.ts.map +1 -1
  156. package/v1/model/VoiceModelAssetMeta.js +14 -0
  157. package/v1/model/VoiceModelAssetMeta.js.map +1 -1
  158. package/v1/public-api.d.ts +8 -0
  159. package/v1/public-api.d.ts.map +1 -1
  160. package/v1/public-api.js +8 -0
  161. package/v1/public-api.js.map +1 -1
@@ -12,6 +12,7 @@ const CheckTextLanguageRequest_1 = require("./model/CheckTextLanguageRequest");
12
12
  const CommitVoiceTrainingJobRequest_1 = require("./model/CommitVoiceTrainingJobRequest");
13
13
  const ConfirmFileUploadRequest_1 = require("./model/ConfirmFileUploadRequest");
14
14
  const ConfirmTrainingSegmentRequest_1 = require("./model/ConfirmTrainingSegmentRequest");
15
+ const CopyVideoScriptsRequest_1 = require("./model/CopyVideoScriptsRequest");
15
16
  const Create2DDigitalHumanVideoRequest_1 = require("./model/Create2DDigitalHumanVideoRequest");
16
17
  const Create2dModelTrainingJobRequest_1 = require("./model/Create2dModelTrainingJobRequest");
17
18
  const CreateDialogUrlRequest_1 = require("./model/CreateDialogUrlRequest");
@@ -58,6 +59,7 @@ const ListInteractionRuleGroupsRequest_1 = require("./model/ListInteractionRuleG
58
59
  const ListPictureModelingJobsRequest_1 = require("./model/ListPictureModelingJobsRequest");
59
60
  const ListRobotRequest_1 = require("./model/ListRobotRequest");
60
61
  const ListSmartChatRoomsRequest_1 = require("./model/ListSmartChatRoomsRequest");
62
+ const ListSmartLiveJobsRequest_1 = require("./model/ListSmartLiveJobsRequest");
61
63
  const ListSmartLiveRequest_1 = require("./model/ListSmartLiveRequest");
62
64
  const ListSmartLiveRoomsRequest_1 = require("./model/ListSmartLiveRoomsRequest");
63
65
  const ListStylesRequest_1 = require("./model/ListStylesRequest");
@@ -118,9 +120,9 @@ class MetaStudioClient {
118
120
  * @summary 创建对话链接
119
121
  * @param {CreateDialogUrlReq} createDialogUrlRequestBody 创建对话链接请求。
120
122
  * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
121
- * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
123
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
122
124
  * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
123
- * @param {string} [xAppUserId] 第三方用户ID。 > * 不允许输入中文。
125
+ * @param {string} [xAppUserId] 开发者应用作为资产权属的可选字段。
124
126
  * @param {*} [options] Override http request option.
125
127
  * @throws {RequiredError}
126
128
  */
@@ -136,12 +138,12 @@ class MetaStudioClient {
136
138
  * Please refer to HUAWEI cloud API Explorer for details.
137
139
  *
138
140
  * @summary 查询数字人智能交互任务
139
- * @param {string} roomId 直播间ID。
141
+ * @param {string} roomId 直播间ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)
140
142
  * @param {string} jobId 任务ID。
141
143
  * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
142
- * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
144
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
143
145
  * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
144
- * @param {string} [xAppUserId] 第三方用户ID。 > * 不允许输入中文。
146
+ * @param {string} [xAppUserId] 开发者应用作为资产权属的可选字段。
145
147
  * @param {*} [options] Override http request option.
146
148
  * @throws {RequiredError}
147
149
  */
@@ -157,12 +159,12 @@ class MetaStudioClient {
157
159
  * Please refer to HUAWEI cloud API Explorer for details.
158
160
  *
159
161
  * @summary 启动数字人智能交互任务
160
- * @param {string} roomId 直播间ID。
161
- * @param {string} robotId 机器人ID。
162
+ * @param {string} roomId 直播间ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)
163
+ * @param {string} robotId 应用ID,获取方法请参考[[创建应用](https://support.huaweicloud.com/api-metastudio/CreateRobot.html)](tag:hc,hk)[“创建应用”](tag:cmcc)
162
164
  * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
163
- * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
165
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
164
166
  * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
165
- * @param {string} [xAppUserId] 第三方用户ID。 > * 不允许输入中文。
167
+ * @param {string} [xAppUserId] 开发者应用作为资产权属的可选字段。
166
168
  * @param {*} [options] Override http request option.
167
169
  * @throws {RequiredError}
168
170
  */
@@ -178,12 +180,12 @@ class MetaStudioClient {
178
180
  * Please refer to HUAWEI cloud API Explorer for details.
179
181
  *
180
182
  * @summary 结束数字人智能交互任务
181
- * @param {string} roomId 直播间ID。
183
+ * @param {string} roomId 直播间ID,获取方法请参考[[创建智能交互对话直播间](https://support.huaweicloud.com/api-metastudio/CreateSmartChatRoom.html)](tag:hc,hk)[“创建智能交互对话直播间”](tag:cmcc)
182
184
  * @param {string} jobId 任务ID。
183
185
  * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
184
- * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
186
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
185
187
  * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
186
- * @param {string} [xAppUserId] 第三方用户ID。 > * 不允许输入中文。
188
+ * @param {string} [xAppUserId] 开发者应用作为资产权属的可选字段。
187
189
  * @param {*} [options] Override http request option.
188
190
  * @throws {RequiredError}
189
191
  */
@@ -216,7 +218,7 @@ class MetaStudioClient {
216
218
  return this.hcClient.sendRequest(options);
217
219
  }
218
220
  /**
219
- * 该接口用于删除资产库中的媒体资产。第一次调用删除接口,将指定资产放入回收站;第二次调用删除接口,将指定资产彻底删除。
221
+ * 该接口用于删除资产库中的媒体资产。调用该接口删除媒体资产时,媒体资产会放入回收站中,不会彻底删除。如需彻底删除资产,需增加“mode=force”参数配置。
220
222
  *
221
223
  * Please refer to HUAWEI cloud API Explorer for details.
222
224
  *
@@ -279,6 +281,9 @@ class MetaStudioClient {
279
281
  * @param {string} [language] 语言。多选使用英文逗号分隔。
280
282
  * @param {string} [systemProperty] 系统属性。 key和value间用\":\"分隔,多个key之间用\",\"分隔。 如system_property=BACKGROUND_IMG:Yes,RENDER_ENGINE:MetaEngine。 不同Key对应Value取值如下: 公共资产属性: * BACKGROUND_IMG:视频制作的2D背景图片,可取值Yes * CREATED_BY_PLATFORM:是否平台生成,可取值Yes 分身数字人资产属性: * MATERIAL_IMG:素材图片,用作前景。可取值Yes * MATERIAL_VIDEO:素材视频,用作前景。可取值Yes * TO_BE_TRANSLATED_VIDEO: 视频翻译的源视频。可取值Yes 3D数字人资产属性: * STYLE_ID:风格Id * RENDER_ENGINE:引擎类型,可取值UE或MetaEngine * BACKGROUND_SCENE:视频制作的2D背景场景,可取值Horizontal(横屏)或者Vertical(竖屏)
281
283
  * @param {boolean} [actionEditable] 动作是否可编辑。仅在分身数字人模型查询时有效。
284
+ * @param {boolean} [isMovable] 分身数字人是否资产走动。仅在分身数字人模型查询时有效。
285
+ * @param {string} [voiceProvider] 可取值HUAWEI_METASTUDIO, MOBVOI。 HUAWEI_METASTUDIO:MetaStudio自研音色 MOBVOI:出门问问音色
286
+ * @param {'SHARER' | 'SHAREE'} [role] 角色。 SHARER:共享方,SHAREE:被共享方
282
287
  * @param {*} [options] Override http request option.
283
288
  * @throws {RequiredError}
284
289
  */
@@ -704,15 +709,15 @@ class MetaStudioClient {
704
709
  return this.hcClient.sendRequest(options);
705
710
  }
706
711
  /**
707
- * 该接口用于创建一次性鉴权码。
712
+ * 该接口用于创建一次性鉴权码,有效期5分钟,鉴权码只能使用一次,每次使用后需要重新获取。
708
713
  *
709
714
  * Please refer to HUAWEI cloud API Explorer for details.
710
715
  *
711
716
  * @summary 创建一次性鉴权码
712
717
  * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
713
- * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
718
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
714
719
  * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
715
- * @param {string} [xAppUserId] 第三方用户ID。 > * 不允许输入中文。
720
+ * @param {string} [xAppUserId] 开发者应用作为资产权属的可选字段。
716
721
  * @param {*} [options] Override http request option.
717
722
  * @throws {RequiredError}
718
723
  */
@@ -819,9 +824,9 @@ class MetaStudioClient {
819
824
  * @summary 创建应用
820
825
  * @param {CreateRobotReq} createRobotRequestBody 创建应用请求。
821
826
  * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
822
- * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
827
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
823
828
  * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
824
- * @param {string} [xAppUserId] 第三方用户ID。 > * 不允许输入中文。
829
+ * @param {string} [xAppUserId] 开发者应用作为资产权属的可选字段。
825
830
  * @param {*} [options] Override http request option.
826
831
  * @throws {RequiredError}
827
832
  */
@@ -839,9 +844,9 @@ class MetaStudioClient {
839
844
  * @summary 删除应用
840
845
  * @param {Array<string>} deleteRobotRequestBody 应用ID列表
841
846
  * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
842
- * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\&#39;T\&#39;HHMMSS\&#39;Z\&#39;)。
847
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
843
848
  * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
844
- * @param {string} [xAppUserId] 第三方用户ID。 &gt; * 不允许输入中文。
849
+ * @param {string} [xAppUserId] 开发者应用作为资产权属的可选字段。
845
850
  * @param {*} [options] Override http request option.
846
851
  * @throws {RequiredError}
847
852
  */
@@ -858,9 +863,9 @@ class MetaStudioClient {
858
863
  *
859
864
  * @summary 查询应用列表
860
865
  * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
861
- * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\&#39;T\&#39;HHMMSS\&#39;Z\&#39;)。
866
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
862
867
  * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
863
- * @param {string} [xAppUserId] 第三方用户ID。 &gt; * 不允许输入中文。
868
+ * @param {string} [xAppUserId] 开发者应用作为资产权属的可选字段。
864
869
  * @param {number} [offset] 偏移量,表示从此偏移量开始查询。
865
870
  * @param {number} [limit] 每页显示的条目数量。
866
871
  * @param {*} [options] Override http request option.
@@ -880,9 +885,9 @@ class MetaStudioClient {
880
885
  * @summary 查询应用详情
881
886
  * @param {string} robotId 应用ID。
882
887
  * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
883
- * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\&#39;T\&#39;HHMMSS\&#39;Z\&#39;)。
888
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
884
889
  * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
885
- * @param {string} [xAppUserId] 第三方用户ID。 &gt; * 不允许输入中文。
890
+ * @param {string} [xAppUserId] 开发者应用作为资产权属的可选字段。
886
891
  * @param {*} [options] Override http request option.
887
892
  * @throws {RequiredError}
888
893
  */
@@ -901,9 +906,9 @@ class MetaStudioClient {
901
906
  * @param {string} robotId 应用ID。
902
907
  * @param {UpdateRobotReq} updateRobotRequestBody 修改应用请求。
903
908
  * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
904
- * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\&#39;T\&#39;HHMMSS\&#39;Z\&#39;)。
909
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
905
910
  * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
906
- * @param {string} [xAppUserId] 第三方用户ID。 &gt; * 不允许输入中文。
911
+ * @param {string} [xAppUserId] 开发者应用作为资产权属的可选字段。
907
912
  * @param {*} [options] Override http request option.
908
913
  * @throws {RequiredError}
909
914
  */
@@ -1068,6 +1073,33 @@ class MetaStudioClient {
1068
1073
  options['responseHeaders'] = ['X-Request-Id'];
1069
1074
  return this.hcClient.sendRequest(options);
1070
1075
  }
1076
+ /**
1077
+ * 该接口用于查询数字人智能直播任务列表。
1078
+ *
1079
+ * Please refer to HUAWEI cloud API Explorer for details.
1080
+ *
1081
+ * @summary 查询数字人智能直播任务列表
1082
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
1083
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\&#39;T\&#39;HHMMSS\&#39;Z\&#39;)。
1084
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
1085
+ * @param {string} [xAppUserId] 第三方用户ID。 &gt; * 不允许输入中文。
1086
+ * @param {number} [offset] 偏移量,表示从此偏移量开始查询。
1087
+ * @param {number} [limit] 每页显示的条目数量。
1088
+ * @param {string} [state] 任务状态,默认所有状态。 可多个状态查询,使用英文逗号分隔。 如state&#x3D;CREATING,PUBLISHED
1089
+ * @param {string} [sortKey] 排序字段,目前只支持create_time。
1090
+ * @param {string} [sortDir] 排序方式。 * asc:升序 * desc:降序 默认asc升序。
1091
+ * @param {string} [createSince] 过滤创建时间&gt;&#x3D;输入时间的记录。
1092
+ * @param {string} [createUntil] 过滤创建时间&lt;&#x3D;输入时间的记录。
1093
+ * @param {string} [roomName] 按直播间名称模糊查询。
1094
+ * @param {*} [options] Override http request option.
1095
+ * @throws {RequiredError}
1096
+ */
1097
+ listSmartLiveJobs(listSmartLiveJobsRequest) {
1098
+ const options = (0, exports.ParamCreater)().listSmartLiveJobs(listSmartLiveJobsRequest);
1099
+ // @ts-ignore
1100
+ options['responseHeaders'] = ['X-Request-Id'];
1101
+ return this.hcClient.sendRequest(options);
1102
+ }
1071
1103
  /**
1072
1104
  * 该接口用于上报直播间事件。
1073
1105
  *
@@ -1295,6 +1327,7 @@ class MetaStudioClient {
1295
1327
  * @param {string} [startTime] 最近直播任务起始时间。格式遵循:RFC 3339 如\&quot;2021-01-10T08:43:17Z\&quot;。
1296
1328
  * @param {string} [endTime] 最近直播任务结束时间。格式遵循:RFC 3339 如\&quot;2021-01-10T10:43:17Z\&quot;。
1297
1329
  * @param {string} [roomType] 按直播间类型查询。直播间类型。 * NORMAL: 普通直播间,直播间一直存在,可以反复开播 * TEMP: 临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE: 直播间模板。
1330
+ * @param {string} [templateOwnType] 按照自己拥有的和别人分享以及公共的模板进行查询 * OWNED 自己拥有且暂未共享的 * SHARED_TO_OHTERS 分享给别人的 * SHARED_FROM_OHTERS 别人分享给我的 * PUBLIC 公共模板
1298
1331
  * @param {*} [options] Override http request option.
1299
1332
  * @throws {RequiredError}
1300
1333
  */
@@ -1840,7 +1873,7 @@ class MetaStudioClient {
1840
1873
  return this.hcClient.sendRequest(options);
1841
1874
  }
1842
1875
  /**
1843
- * 该接口用于创建生成播报内容的语音试听文件任务。
1876
+ * 该接口用于创建生成播报内容的语音试听文件任务。第三方音色试听需要收费,收费标准参考:https://marketplace.huaweicloud.com/product/OFFI919400645308506112#productid&#x3D;OFFI919400645308506112
1844
1877
  *
1845
1878
  * Please refer to HUAWEI cloud API Explorer for details.
1846
1879
  *
@@ -1984,6 +2017,26 @@ class MetaStudioClient {
1984
2017
  options['responseHeaders'] = ['X-Request-Id'];
1985
2018
  return this.hcClient.sendRequest(options);
1986
2019
  }
2020
+ /**
2021
+ * 该接口用于复制视频制作剧本。
2022
+ *
2023
+ * Please refer to HUAWEI cloud API Explorer for details.
2024
+ *
2025
+ * @summary 复制视频制作剧本
2026
+ * @param {string} scriptId 剧本ID。
2027
+ * @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
2028
+ * @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\&#39;T\&#39;HHMMSS\&#39;Z\&#39;)。
2029
+ * @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
2030
+ * @param {string} [xAppUserId] 第三方用户ID。 &gt; * 不允许输入中文。
2031
+ * @param {*} [options] Override http request option.
2032
+ * @throws {RequiredError}
2033
+ */
2034
+ copyVideoScripts(copyVideoScriptsRequest) {
2035
+ const options = (0, exports.ParamCreater)().copyVideoScripts(copyVideoScriptsRequest);
2036
+ // @ts-ignore
2037
+ options['responseHeaders'] = ['X-Request-Id'];
2038
+ return this.hcClient.sendRequest(options);
2039
+ }
1987
2040
  /**
1988
2041
  * 该接口用于创建视频制作剧本。
1989
2042
  *
@@ -2393,7 +2446,7 @@ const ParamCreater = function () {
2393
2446
  return options;
2394
2447
  },
2395
2448
  /**
2396
- * 该接口用于删除资产库中的媒体资产。第一次调用删除接口,将指定资产放入回收站;第二次调用删除接口,将指定资产彻底删除。
2449
+ * 该接口用于删除资产库中的媒体资产。调用该接口删除媒体资产时,媒体资产会放入回收站中,不会彻底删除。如需彻底删除资产,需增加“mode&#x3D;force”参数配置。
2397
2450
  *
2398
2451
  * Please refer to HUAWEI cloud API Explorer for details.
2399
2452
  */
@@ -2530,6 +2583,9 @@ const ParamCreater = function () {
2530
2583
  let language;
2531
2584
  let systemProperty;
2532
2585
  let actionEditable;
2586
+ let isMovable;
2587
+ let voiceProvider;
2588
+ let role;
2533
2589
  if (listAssetsRequest !== null && listAssetsRequest !== undefined) {
2534
2590
  if (listAssetsRequest instanceof ListAssetsRequest_1.ListAssetsRequest) {
2535
2591
  authorization = listAssetsRequest.authorization;
@@ -2552,6 +2608,9 @@ const ParamCreater = function () {
2552
2608
  language = listAssetsRequest.language;
2553
2609
  systemProperty = listAssetsRequest.systemProperty;
2554
2610
  actionEditable = listAssetsRequest.actionEditable;
2611
+ isMovable = listAssetsRequest.isMovable;
2612
+ voiceProvider = listAssetsRequest.voiceProvider;
2613
+ role = listAssetsRequest.role;
2555
2614
  }
2556
2615
  else {
2557
2616
  authorization = listAssetsRequest['Authorization'];
@@ -2574,6 +2633,9 @@ const ParamCreater = function () {
2574
2633
  language = listAssetsRequest['language'];
2575
2634
  systemProperty = listAssetsRequest['system_property'];
2576
2635
  actionEditable = listAssetsRequest['action_editable'];
2636
+ isMovable = listAssetsRequest['is_movable'];
2637
+ voiceProvider = listAssetsRequest['voice_provider'];
2638
+ role = listAssetsRequest['role'];
2577
2639
  }
2578
2640
  }
2579
2641
  if (limit !== null && limit !== undefined) {
@@ -2627,6 +2689,15 @@ const ParamCreater = function () {
2627
2689
  if (actionEditable !== null && actionEditable !== undefined) {
2628
2690
  localVarQueryParameter['action_editable'] = actionEditable;
2629
2691
  }
2692
+ if (isMovable !== null && isMovable !== undefined) {
2693
+ localVarQueryParameter['is_movable'] = isMovable;
2694
+ }
2695
+ if (voiceProvider !== null && voiceProvider !== undefined) {
2696
+ localVarQueryParameter['voice_provider'] = voiceProvider;
2697
+ }
2698
+ if (role !== null && role !== undefined) {
2699
+ localVarQueryParameter['role'] = role;
2700
+ }
2630
2701
  if (authorization !== undefined && authorization !== null) {
2631
2702
  localVarHeaderParameter['Authorization'] = String(authorization);
2632
2703
  }
@@ -3856,7 +3927,7 @@ const ParamCreater = function () {
3856
3927
  return options;
3857
3928
  },
3858
3929
  /**
3859
- * 该接口用于创建一次性鉴权码。
3930
+ * 该接口用于创建一次性鉴权码,有效期5分钟,鉴权码只能使用一次,每次使用后需要重新获取。
3860
3931
  *
3861
3932
  * Please refer to HUAWEI cloud API Explorer for details.
3862
3933
  */
@@ -4975,6 +5046,104 @@ const ParamCreater = function () {
4975
5046
  options.headers = localVarHeaderParameter;
4976
5047
  return options;
4977
5048
  },
5049
+ /**
5050
+ * 该接口用于查询数字人智能直播任务列表。
5051
+ *
5052
+ * Please refer to HUAWEI cloud API Explorer for details.
5053
+ */
5054
+ listSmartLiveJobs(listSmartLiveJobsRequest) {
5055
+ const options = {
5056
+ method: "GET",
5057
+ url: "/v1/{project_id}/smart-live-jobs",
5058
+ contentType: "application/json",
5059
+ queryParams: {},
5060
+ pathParams: {},
5061
+ headers: {}
5062
+ };
5063
+ const localVarHeaderParameter = {};
5064
+ const localVarQueryParameter = {};
5065
+ let authorization;
5066
+ let xSdkDate;
5067
+ let xProjectId;
5068
+ let xAppUserId;
5069
+ let offset;
5070
+ let limit;
5071
+ let state;
5072
+ let sortKey;
5073
+ let sortDir;
5074
+ let createSince;
5075
+ let createUntil;
5076
+ let roomName;
5077
+ if (listSmartLiveJobsRequest !== null && listSmartLiveJobsRequest !== undefined) {
5078
+ if (listSmartLiveJobsRequest instanceof ListSmartLiveJobsRequest_1.ListSmartLiveJobsRequest) {
5079
+ authorization = listSmartLiveJobsRequest.authorization;
5080
+ xSdkDate = listSmartLiveJobsRequest.xSdkDate;
5081
+ xProjectId = listSmartLiveJobsRequest.xProjectId;
5082
+ xAppUserId = listSmartLiveJobsRequest.xAppUserId;
5083
+ offset = listSmartLiveJobsRequest.offset;
5084
+ limit = listSmartLiveJobsRequest.limit;
5085
+ state = listSmartLiveJobsRequest.state;
5086
+ sortKey = listSmartLiveJobsRequest.sortKey;
5087
+ sortDir = listSmartLiveJobsRequest.sortDir;
5088
+ createSince = listSmartLiveJobsRequest.createSince;
5089
+ createUntil = listSmartLiveJobsRequest.createUntil;
5090
+ roomName = listSmartLiveJobsRequest.roomName;
5091
+ }
5092
+ else {
5093
+ authorization = listSmartLiveJobsRequest['Authorization'];
5094
+ xSdkDate = listSmartLiveJobsRequest['X-Sdk-Date'];
5095
+ xProjectId = listSmartLiveJobsRequest['X-Project-Id'];
5096
+ xAppUserId = listSmartLiveJobsRequest['X-App-UserId'];
5097
+ offset = listSmartLiveJobsRequest['offset'];
5098
+ limit = listSmartLiveJobsRequest['limit'];
5099
+ state = listSmartLiveJobsRequest['state'];
5100
+ sortKey = listSmartLiveJobsRequest['sort_key'];
5101
+ sortDir = listSmartLiveJobsRequest['sort_dir'];
5102
+ createSince = listSmartLiveJobsRequest['create_since'];
5103
+ createUntil = listSmartLiveJobsRequest['create_until'];
5104
+ roomName = listSmartLiveJobsRequest['room_name'];
5105
+ }
5106
+ }
5107
+ if (offset !== null && offset !== undefined) {
5108
+ localVarQueryParameter['offset'] = offset;
5109
+ }
5110
+ if (limit !== null && limit !== undefined) {
5111
+ localVarQueryParameter['limit'] = limit;
5112
+ }
5113
+ if (state !== null && state !== undefined) {
5114
+ localVarQueryParameter['state'] = state;
5115
+ }
5116
+ if (sortKey !== null && sortKey !== undefined) {
5117
+ localVarQueryParameter['sort_key'] = sortKey;
5118
+ }
5119
+ if (sortDir !== null && sortDir !== undefined) {
5120
+ localVarQueryParameter['sort_dir'] = sortDir;
5121
+ }
5122
+ if (createSince !== null && createSince !== undefined) {
5123
+ localVarQueryParameter['create_since'] = createSince;
5124
+ }
5125
+ if (createUntil !== null && createUntil !== undefined) {
5126
+ localVarQueryParameter['create_until'] = createUntil;
5127
+ }
5128
+ if (roomName !== null && roomName !== undefined) {
5129
+ localVarQueryParameter['room_name'] = roomName;
5130
+ }
5131
+ if (authorization !== undefined && authorization !== null) {
5132
+ localVarHeaderParameter['Authorization'] = String(authorization);
5133
+ }
5134
+ if (xSdkDate !== undefined && xSdkDate !== null) {
5135
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
5136
+ }
5137
+ if (xProjectId !== undefined && xProjectId !== null) {
5138
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
5139
+ }
5140
+ if (xAppUserId !== undefined && xAppUserId !== null) {
5141
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
5142
+ }
5143
+ options.queryParams = localVarQueryParameter;
5144
+ options.headers = localVarHeaderParameter;
5145
+ return options;
5146
+ },
4978
5147
  /**
4979
5148
  * 该接口用于上报直播间事件。
4980
5149
  *
@@ -5617,6 +5786,7 @@ const ParamCreater = function () {
5617
5786
  let startTime;
5618
5787
  let endTime;
5619
5788
  let roomType;
5789
+ let templateOwnType;
5620
5790
  if (listSmartLiveRoomsRequest !== null && listSmartLiveRoomsRequest !== undefined) {
5621
5791
  if (listSmartLiveRoomsRequest instanceof ListSmartLiveRoomsRequest_1.ListSmartLiveRoomsRequest) {
5622
5792
  authorization = listSmartLiveRoomsRequest.authorization;
@@ -5632,6 +5802,7 @@ const ParamCreater = function () {
5632
5802
  startTime = listSmartLiveRoomsRequest.startTime;
5633
5803
  endTime = listSmartLiveRoomsRequest.endTime;
5634
5804
  roomType = listSmartLiveRoomsRequest.roomType;
5805
+ templateOwnType = listSmartLiveRoomsRequest.templateOwnType;
5635
5806
  }
5636
5807
  else {
5637
5808
  authorization = listSmartLiveRoomsRequest['Authorization'];
@@ -5647,6 +5818,7 @@ const ParamCreater = function () {
5647
5818
  startTime = listSmartLiveRoomsRequest['start_time'];
5648
5819
  endTime = listSmartLiveRoomsRequest['end_time'];
5649
5820
  roomType = listSmartLiveRoomsRequest['room_type'];
5821
+ templateOwnType = listSmartLiveRoomsRequest['template_own_type'];
5650
5822
  }
5651
5823
  }
5652
5824
  if (offset !== null && offset !== undefined) {
@@ -5676,6 +5848,9 @@ const ParamCreater = function () {
5676
5848
  if (roomType !== null && roomType !== undefined) {
5677
5849
  localVarQueryParameter['room_type'] = roomType;
5678
5850
  }
5851
+ if (templateOwnType !== null && templateOwnType !== undefined) {
5852
+ localVarQueryParameter['template_own_type'] = templateOwnType;
5853
+ }
5679
5854
  if (authorization !== undefined && authorization !== null) {
5680
5855
  localVarHeaderParameter['Authorization'] = String(authorization);
5681
5856
  }
@@ -7171,7 +7346,7 @@ const ParamCreater = function () {
7171
7346
  return options;
7172
7347
  },
7173
7348
  /**
7174
- * 该接口用于创建生成播报内容的语音试听文件任务。
7349
+ * 该接口用于创建生成播报内容的语音试听文件任务。第三方音色试听需要收费,收费标准参考:https://marketplace.huaweicloud.com/product/OFFI919400645308506112#productid&#x3D;OFFI919400645308506112
7175
7350
  *
7176
7351
  * Please refer to HUAWEI cloud API Explorer for details.
7177
7352
  */
@@ -7593,6 +7768,61 @@ const ParamCreater = function () {
7593
7768
  options.headers = localVarHeaderParameter;
7594
7769
  return options;
7595
7770
  },
7771
+ /**
7772
+ * 该接口用于复制视频制作剧本。
7773
+ *
7774
+ * Please refer to HUAWEI cloud API Explorer for details.
7775
+ */
7776
+ copyVideoScripts(copyVideoScriptsRequest) {
7777
+ const options = {
7778
+ method: "POST",
7779
+ url: "/v1/{project_id}/digital-human-video-scripts/{script_id}/copy",
7780
+ contentType: "application/json",
7781
+ queryParams: {},
7782
+ pathParams: {},
7783
+ headers: {}
7784
+ };
7785
+ const localVarHeaderParameter = {};
7786
+ let scriptId;
7787
+ let authorization;
7788
+ let xSdkDate;
7789
+ let xProjectId;
7790
+ let xAppUserId;
7791
+ if (copyVideoScriptsRequest !== null && copyVideoScriptsRequest !== undefined) {
7792
+ if (copyVideoScriptsRequest instanceof CopyVideoScriptsRequest_1.CopyVideoScriptsRequest) {
7793
+ scriptId = copyVideoScriptsRequest.scriptId;
7794
+ authorization = copyVideoScriptsRequest.authorization;
7795
+ xSdkDate = copyVideoScriptsRequest.xSdkDate;
7796
+ xProjectId = copyVideoScriptsRequest.xProjectId;
7797
+ xAppUserId = copyVideoScriptsRequest.xAppUserId;
7798
+ }
7799
+ else {
7800
+ scriptId = copyVideoScriptsRequest['script_id'];
7801
+ authorization = copyVideoScriptsRequest['Authorization'];
7802
+ xSdkDate = copyVideoScriptsRequest['X-Sdk-Date'];
7803
+ xProjectId = copyVideoScriptsRequest['X-Project-Id'];
7804
+ xAppUserId = copyVideoScriptsRequest['X-App-UserId'];
7805
+ }
7806
+ }
7807
+ if (scriptId === null || scriptId === undefined) {
7808
+ throw new RequiredError('scriptId', 'Required parameter scriptId was null or undefined when calling copyVideoScripts.');
7809
+ }
7810
+ if (authorization !== undefined && authorization !== null) {
7811
+ localVarHeaderParameter['Authorization'] = String(authorization);
7812
+ }
7813
+ if (xSdkDate !== undefined && xSdkDate !== null) {
7814
+ localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
7815
+ }
7816
+ if (xProjectId !== undefined && xProjectId !== null) {
7817
+ localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
7818
+ }
7819
+ if (xAppUserId !== undefined && xAppUserId !== null) {
7820
+ localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
7821
+ }
7822
+ options.pathParams = { 'script_id': scriptId, };
7823
+ options.headers = localVarHeaderParameter;
7824
+ return options;
7825
+ },
7596
7826
  /**
7597
7827
  * 该接口用于创建视频制作剧本。
7598
7828
  *