@huaweicloud/huaweicloud-sdk-cloudrtc 3.1.43

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 (249) hide show
  1. package/LICENSE +13 -0
  2. package/README.md +1 -0
  3. package/huaweicloud-sdk-cloudrtc.d.ts +3 -0
  4. package/huaweicloud-sdk-cloudrtc.js +32 -0
  5. package/package.json +19 -0
  6. package/v1/CloudRTCClient.d.ts +469 -0
  7. package/v1/CloudRTCClient.js +1444 -0
  8. package/v1/CloudRTCRegion.d.ts +5 -0
  9. package/v1/CloudRTCRegion.js +23 -0
  10. package/v1/model/AbnormalEvent.d.ts +35 -0
  11. package/v1/model/AbnormalEvent.js +119 -0
  12. package/v1/model/AbnormalEventDimensionValue.d.ts +23 -0
  13. package/v1/model/AbnormalEventDimensionValue.js +84 -0
  14. package/v1/model/ListRtcAbnormalEventDimensionRequest.d.ts +27 -0
  15. package/v1/model/ListRtcAbnormalEventDimensionRequest.js +69 -0
  16. package/v1/model/ListRtcAbnormalEventDimensionResponse.d.ts +11 -0
  17. package/v1/model/ListRtcAbnormalEventDimensionResponse.js +45 -0
  18. package/v1/model/ListRtcAbnormalEventsRequest.d.ts +23 -0
  19. package/v1/model/ListRtcAbnormalEventsRequest.js +68 -0
  20. package/v1/model/ListRtcAbnormalEventsResponse.d.ts +13 -0
  21. package/v1/model/ListRtcAbnormalEventsResponse.js +49 -0
  22. package/v1/model/ListRtcClientQosDetailsRequest.d.ts +86 -0
  23. package/v1/model/ListRtcClientQosDetailsRequest.js +218 -0
  24. package/v1/model/ListRtcClientQosDetailsResponse.d.ts +15 -0
  25. package/v1/model/ListRtcClientQosDetailsResponse.js +59 -0
  26. package/v1/model/ListRtcHistoryQualityRequest.d.ts +27 -0
  27. package/v1/model/ListRtcHistoryQualityRequest.js +89 -0
  28. package/v1/model/ListRtcHistoryQualityResponse.d.ts +11 -0
  29. package/v1/model/ListRtcHistoryQualityResponse.js +45 -0
  30. package/v1/model/ListRtcHistoryScaleRequest.d.ts +27 -0
  31. package/v1/model/ListRtcHistoryScaleRequest.js +89 -0
  32. package/v1/model/ListRtcHistoryScaleResponse.d.ts +11 -0
  33. package/v1/model/ListRtcHistoryScaleResponse.js +45 -0
  34. package/v1/model/ListRtcHistoryUsageRequest.d.ts +27 -0
  35. package/v1/model/ListRtcHistoryUsageRequest.js +91 -0
  36. package/v1/model/ListRtcHistoryUsageResponse.d.ts +11 -0
  37. package/v1/model/ListRtcHistoryUsageResponse.js +45 -0
  38. package/v1/model/ListRtcRealtimeNetworkRequest.d.ts +35 -0
  39. package/v1/model/ListRtcRealtimeNetworkRequest.js +118 -0
  40. package/v1/model/ListRtcRealtimeNetworkResponse.d.ts +11 -0
  41. package/v1/model/ListRtcRealtimeNetworkResponse.js +45 -0
  42. package/v1/model/ListRtcRealtimeQualityRequest.d.ts +35 -0
  43. package/v1/model/ListRtcRealtimeQualityRequest.js +118 -0
  44. package/v1/model/ListRtcRealtimeQualityResponse.d.ts +11 -0
  45. package/v1/model/ListRtcRealtimeQualityResponse.js +45 -0
  46. package/v1/model/ListRtcRealtimeScaleDimensionRequest.d.ts +27 -0
  47. package/v1/model/ListRtcRealtimeScaleDimensionRequest.js +85 -0
  48. package/v1/model/ListRtcRealtimeScaleDimensionResponse.d.ts +11 -0
  49. package/v1/model/ListRtcRealtimeScaleDimensionResponse.js +45 -0
  50. package/v1/model/ListRtcRealtimeScaleRequest.d.ts +31 -0
  51. package/v1/model/ListRtcRealtimeScaleRequest.js +103 -0
  52. package/v1/model/ListRtcRealtimeScaleResponse.d.ts +11 -0
  53. package/v1/model/ListRtcRealtimeScaleResponse.js +45 -0
  54. package/v1/model/ListRtcRoomListRequest.d.ts +43 -0
  55. package/v1/model/ListRtcRoomListRequest.js +119 -0
  56. package/v1/model/ListRtcRoomListResponse.d.ts +19 -0
  57. package/v1/model/ListRtcRoomListResponse.js +67 -0
  58. package/v1/model/ListRtcUserListRequest.d.ts +53 -0
  59. package/v1/model/ListRtcUserListRequest.js +139 -0
  60. package/v1/model/ListRtcUserListResponse.d.ts +17 -0
  61. package/v1/model/ListRtcUserListResponse.js +57 -0
  62. package/v1/model/QosQualityData.d.ts +12 -0
  63. package/v1/model/QosQualityData.js +25 -0
  64. package/v1/model/RealtimeScaleDimensionValue.d.ts +9 -0
  65. package/v1/model/RealtimeScaleDimensionValue.js +27 -0
  66. package/v1/model/RtcHistoryQualityTimeValue.d.ts +61 -0
  67. package/v1/model/RtcHistoryQualityTimeValue.js +209 -0
  68. package/v1/model/RtcHistoryScaleTimeValue.d.ts +37 -0
  69. package/v1/model/RtcHistoryScaleTimeValue.js +125 -0
  70. package/v1/model/RtcHistoryUsage.d.ts +23 -0
  71. package/v1/model/RtcHistoryUsage.js +73 -0
  72. package/v1/model/RtcServerRoomInfo.d.ts +31 -0
  73. package/v1/model/RtcServerRoomInfo.js +76 -0
  74. package/v1/model/RtcUser.d.ts +52 -0
  75. package/v1/model/RtcUser.js +129 -0
  76. package/v1/model/TimeDoubleValueData.d.ts +7 -0
  77. package/v1/model/TimeDoubleValueData.js +17 -0
  78. package/v1/model/TimeFloatValueData.d.ts +7 -0
  79. package/v1/model/TimeFloatValueData.js +17 -0
  80. package/v1/model/TimeValueData.d.ts +7 -0
  81. package/v1/model/TimeValueData.js +17 -0
  82. package/v1/public-api.d.ts +38 -0
  83. package/v1/public-api.js +54 -0
  84. package/v2/CloudRTCClient.d.ts +906 -0
  85. package/v2/CloudRTCClient.js +2196 -0
  86. package/v2/CloudRTCRegion.d.ts +5 -0
  87. package/v2/CloudRTCRegion.js +23 -0
  88. package/v2/model/App.d.ts +46 -0
  89. package/v2/model/App.js +109 -0
  90. package/v2/model/AppAuth.d.ts +15 -0
  91. package/v2/model/AppAuth.js +45 -0
  92. package/v2/model/AppAuthReq.d.ts +7 -0
  93. package/v2/model/AppAuthReq.js +18 -0
  94. package/v2/model/AppAutoRecordMode.d.ts +21 -0
  95. package/v2/model/AppAutoRecordMode.js +51 -0
  96. package/v2/model/AppCallbackUrl.d.ts +25 -0
  97. package/v2/model/AppCallbackUrl.js +64 -0
  98. package/v2/model/AppCallbackUrlReq.d.ts +9 -0
  99. package/v2/model/AppCallbackUrlReq.js +28 -0
  100. package/v2/model/AppCallbacks.d.ts +12 -0
  101. package/v2/model/AppCallbacks.js +37 -0
  102. package/v2/model/AppReq.d.ts +7 -0
  103. package/v2/model/AppReq.js +24 -0
  104. package/v2/model/AppState.d.ts +19 -0
  105. package/v2/model/AppState.js +38 -0
  106. package/v2/model/AutoRecordModeReq.d.ts +17 -0
  107. package/v2/model/AutoRecordModeReq.js +37 -0
  108. package/v2/model/CreateAppRequest.d.ts +18 -0
  109. package/v2/model/CreateAppRequest.js +55 -0
  110. package/v2/model/CreateAppResponse.d.ts +12 -0
  111. package/v2/model/CreateAppResponse.js +55 -0
  112. package/v2/model/CreateIndividualStreamJobRequest.d.ts +22 -0
  113. package/v2/model/CreateIndividualStreamJobRequest.js +70 -0
  114. package/v2/model/CreateIndividualStreamJobResponse.d.ts +110 -0
  115. package/v2/model/CreateIndividualStreamJobResponse.js +300 -0
  116. package/v2/model/CreateMixJobRequest.d.ts +22 -0
  117. package/v2/model/CreateMixJobRequest.js +70 -0
  118. package/v2/model/CreateMixJobResponse.d.ts +76 -0
  119. package/v2/model/CreateMixJobResponse.js +223 -0
  120. package/v2/model/CreateRecordRuleRequest.d.ts +22 -0
  121. package/v2/model/CreateRecordRuleRequest.js +70 -0
  122. package/v2/model/CreateRecordRuleResponse.d.ts +51 -0
  123. package/v2/model/CreateRecordRuleResponse.js +162 -0
  124. package/v2/model/DeleteAppRequest.d.ts +19 -0
  125. package/v2/model/DeleteAppRequest.js +66 -0
  126. package/v2/model/DeleteAppResponse.d.ts +8 -0
  127. package/v2/model/DeleteAppResponse.js +41 -0
  128. package/v2/model/DeleteRecordRuleRequest.d.ts +23 -0
  129. package/v2/model/DeleteRecordRuleRequest.js +81 -0
  130. package/v2/model/DeleteRecordRuleResponse.d.ts +8 -0
  131. package/v2/model/DeleteRecordRuleResponse.js +41 -0
  132. package/v2/model/HLSRecordConfig.d.ts +19 -0
  133. package/v2/model/HLSRecordConfig.js +66 -0
  134. package/v2/model/IndividualStreamJobReq.d.ts +55 -0
  135. package/v2/model/IndividualStreamJobReq.js +143 -0
  136. package/v2/model/ListAppsRequest.d.ts +30 -0
  137. package/v2/model/ListAppsRequest.js +73 -0
  138. package/v2/model/ListAppsResponse.d.ts +13 -0
  139. package/v2/model/ListAppsResponse.js +49 -0
  140. package/v2/model/ListRecordRulesRequest.d.ts +23 -0
  141. package/v2/model/ListRecordRulesRequest.js +74 -0
  142. package/v2/model/ListRecordRulesResponse.d.ts +11 -0
  143. package/v2/model/ListRecordRulesResponse.js +45 -0
  144. package/v2/model/MP4RecordConfig.d.ts +15 -0
  145. package/v2/model/MP4RecordConfig.js +52 -0
  146. package/v2/model/MixJobReq.d.ts +18 -0
  147. package/v2/model/MixJobReq.js +52 -0
  148. package/v2/model/MixLayoutPane.d.ts +55 -0
  149. package/v2/model/MixLayoutPane.js +116 -0
  150. package/v2/model/MixParam.d.ts +60 -0
  151. package/v2/model/MixParam.js +157 -0
  152. package/v2/model/MixUserBackgroundImage.d.ts +11 -0
  153. package/v2/model/MixUserBackgroundImage.js +39 -0
  154. package/v2/model/PublishParam.d.ts +7 -0
  155. package/v2/model/PublishParam.js +24 -0
  156. package/v2/model/RecordObsFileAddr.d.ts +22 -0
  157. package/v2/model/RecordObsFileAddr.js +56 -0
  158. package/v2/model/RecordParam.d.ts +7 -0
  159. package/v2/model/RecordParam.js +24 -0
  160. package/v2/model/RecordRule.d.ts +46 -0
  161. package/v2/model/RecordRule.js +130 -0
  162. package/v2/model/RecordRuleReq.d.ts +30 -0
  163. package/v2/model/RecordRuleReq.js +76 -0
  164. package/v2/model/RemoveRoomRequest.d.ts +23 -0
  165. package/v2/model/RemoveRoomRequest.js +81 -0
  166. package/v2/model/RemoveRoomResponse.d.ts +8 -0
  167. package/v2/model/RemoveRoomResponse.js +41 -0
  168. package/v2/model/RemoveUsersReq.d.ts +7 -0
  169. package/v2/model/RemoveUsersReq.js +24 -0
  170. package/v2/model/RemoveUsersRequest.d.ts +26 -0
  171. package/v2/model/RemoveUsersRequest.js +85 -0
  172. package/v2/model/RemoveUsersResponse.d.ts +8 -0
  173. package/v2/model/RemoveUsersResponse.js +41 -0
  174. package/v2/model/ShowAppRequest.d.ts +19 -0
  175. package/v2/model/ShowAppRequest.js +66 -0
  176. package/v2/model/ShowAppResponse.d.ts +51 -0
  177. package/v2/model/ShowAppResponse.js +141 -0
  178. package/v2/model/ShowAutoRecordRequest.d.ts +19 -0
  179. package/v2/model/ShowAutoRecordRequest.js +66 -0
  180. package/v2/model/ShowAutoRecordResponse.d.ts +17 -0
  181. package/v2/model/ShowAutoRecordResponse.js +69 -0
  182. package/v2/model/ShowIndividualStreamJobRequest.d.ts +23 -0
  183. package/v2/model/ShowIndividualStreamJobRequest.js +81 -0
  184. package/v2/model/ShowIndividualStreamJobResponse.d.ts +110 -0
  185. package/v2/model/ShowIndividualStreamJobResponse.js +300 -0
  186. package/v2/model/ShowMixJobRequest.d.ts +23 -0
  187. package/v2/model/ShowMixJobRequest.js +81 -0
  188. package/v2/model/ShowMixJobResponse.d.ts +76 -0
  189. package/v2/model/ShowMixJobResponse.js +223 -0
  190. package/v2/model/ShowRecordCallbackRequest.d.ts +19 -0
  191. package/v2/model/ShowRecordCallbackRequest.js +66 -0
  192. package/v2/model/ShowRecordCallbackResponse.d.ts +17 -0
  193. package/v2/model/ShowRecordCallbackResponse.js +69 -0
  194. package/v2/model/ShowRecordRuleRequest.d.ts +23 -0
  195. package/v2/model/ShowRecordRuleRequest.js +81 -0
  196. package/v2/model/ShowRecordRuleResponse.d.ts +51 -0
  197. package/v2/model/ShowRecordRuleResponse.js +162 -0
  198. package/v2/model/ShowUrlAuthRequest.d.ts +19 -0
  199. package/v2/model/ShowUrlAuthRequest.js +66 -0
  200. package/v2/model/ShowUrlAuthResponse.d.ts +15 -0
  201. package/v2/model/ShowUrlAuthResponse.js +59 -0
  202. package/v2/model/StartAppRequest.d.ts +19 -0
  203. package/v2/model/StartAppRequest.js +66 -0
  204. package/v2/model/StartAppResponse.d.ts +15 -0
  205. package/v2/model/StartAppResponse.js +59 -0
  206. package/v2/model/StopAppRequest.d.ts +19 -0
  207. package/v2/model/StopAppRequest.js +66 -0
  208. package/v2/model/StopAppResponse.d.ts +15 -0
  209. package/v2/model/StopAppResponse.js +59 -0
  210. package/v2/model/StopIndividualStreamJobRequest.d.ts +23 -0
  211. package/v2/model/StopIndividualStreamJobRequest.js +81 -0
  212. package/v2/model/StopIndividualStreamJobResponse.d.ts +8 -0
  213. package/v2/model/StopIndividualStreamJobResponse.js +41 -0
  214. package/v2/model/StopMixJobRequest.d.ts +23 -0
  215. package/v2/model/StopMixJobRequest.js +81 -0
  216. package/v2/model/StopMixJobResponse.d.ts +8 -0
  217. package/v2/model/StopMixJobResponse.js +41 -0
  218. package/v2/model/UpdateAutoRecordRequest.d.ts +22 -0
  219. package/v2/model/UpdateAutoRecordRequest.js +70 -0
  220. package/v2/model/UpdateAutoRecordResponse.d.ts +17 -0
  221. package/v2/model/UpdateAutoRecordResponse.js +69 -0
  222. package/v2/model/UpdateIndividualJobReq.d.ts +13 -0
  223. package/v2/model/UpdateIndividualJobReq.js +37 -0
  224. package/v2/model/UpdateIndividualStreamJobRequest.d.ts +26 -0
  225. package/v2/model/UpdateIndividualStreamJobRequest.js +85 -0
  226. package/v2/model/UpdateIndividualStreamJobResponse.d.ts +110 -0
  227. package/v2/model/UpdateIndividualStreamJobResponse.js +300 -0
  228. package/v2/model/UpdateMixJobReq.d.ts +8 -0
  229. package/v2/model/UpdateMixJobReq.js +24 -0
  230. package/v2/model/UpdateMixJobRequest.d.ts +26 -0
  231. package/v2/model/UpdateMixJobRequest.js +85 -0
  232. package/v2/model/UpdateMixJobResponse.d.ts +76 -0
  233. package/v2/model/UpdateMixJobResponse.js +223 -0
  234. package/v2/model/UpdateMixParam.d.ts +33 -0
  235. package/v2/model/UpdateMixParam.js +107 -0
  236. package/v2/model/UpdateRecordCallbackRequest.d.ts +22 -0
  237. package/v2/model/UpdateRecordCallbackRequest.js +70 -0
  238. package/v2/model/UpdateRecordCallbackResponse.d.ts +17 -0
  239. package/v2/model/UpdateRecordCallbackResponse.js +69 -0
  240. package/v2/model/UpdateRecordRuleRequest.d.ts +26 -0
  241. package/v2/model/UpdateRecordRuleRequest.js +85 -0
  242. package/v2/model/UpdateRecordRuleResponse.d.ts +51 -0
  243. package/v2/model/UpdateRecordRuleResponse.js +162 -0
  244. package/v2/model/UpdateUrlAuthRequest.d.ts +22 -0
  245. package/v2/model/UpdateUrlAuthRequest.js +70 -0
  246. package/v2/model/UpdateUrlAuthResponse.d.ts +15 -0
  247. package/v2/model/UpdateUrlAuthResponse.js +59 -0
  248. package/v2/public-api.d.ts +82 -0
  249. package/v2/public-api.js +98 -0
@@ -0,0 +1,110 @@
1
+ import { RecordParam } from './RecordParam';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class UpdateIndividualStreamJobResponse extends SdkResponse {
4
+ private 'job_id'?;
5
+ private 'stream_name'?;
6
+ private 'app_id'?;
7
+ private 'room_id'?;
8
+ private 'user_id'?;
9
+ private 'is_record_audio'?;
10
+ private 'video_type'?;
11
+ private 'select_stream_type'?;
12
+ private 'max_idle_time'?;
13
+ private 'record_param'?;
14
+ private 'create_time'?;
15
+ private 'update_time'?;
16
+ state?: UpdateIndividualStreamJobResponseStateEnum;
17
+ private 'stop_reason'?;
18
+ description?: string;
19
+ private 'start_time'?;
20
+ private 'stop_time'?;
21
+ private 'X-request-Id'?;
22
+ constructor();
23
+ withJobId(jobId: string): UpdateIndividualStreamJobResponse;
24
+ set jobId(jobId: string | undefined);
25
+ get jobId(): string | undefined;
26
+ withStreamName(streamName: string): UpdateIndividualStreamJobResponse;
27
+ set streamName(streamName: string | undefined);
28
+ get streamName(): string | undefined;
29
+ withAppId(appId: string): UpdateIndividualStreamJobResponse;
30
+ set appId(appId: string | undefined);
31
+ get appId(): string | undefined;
32
+ withRoomId(roomId: string): UpdateIndividualStreamJobResponse;
33
+ set roomId(roomId: string | undefined);
34
+ get roomId(): string | undefined;
35
+ withUserId(userId: string): UpdateIndividualStreamJobResponse;
36
+ set userId(userId: string | undefined);
37
+ get userId(): string | undefined;
38
+ withIsRecordAudio(isRecordAudio: boolean): UpdateIndividualStreamJobResponse;
39
+ set isRecordAudio(isRecordAudio: boolean | undefined);
40
+ get isRecordAudio(): boolean | undefined;
41
+ withVideoType(videoType: UpdateIndividualStreamJobResponseVideoTypeEnum): UpdateIndividualStreamJobResponse;
42
+ set videoType(videoType: UpdateIndividualStreamJobResponseVideoTypeEnum | undefined);
43
+ get videoType(): UpdateIndividualStreamJobResponseVideoTypeEnum | undefined;
44
+ withSelectStreamType(selectStreamType: UpdateIndividualStreamJobResponseSelectStreamTypeEnum): UpdateIndividualStreamJobResponse;
45
+ set selectStreamType(selectStreamType: UpdateIndividualStreamJobResponseSelectStreamTypeEnum | undefined);
46
+ get selectStreamType(): UpdateIndividualStreamJobResponseSelectStreamTypeEnum | undefined;
47
+ withMaxIdleTime(maxIdleTime: number): UpdateIndividualStreamJobResponse;
48
+ set maxIdleTime(maxIdleTime: number | undefined);
49
+ get maxIdleTime(): number | undefined;
50
+ withRecordParam(recordParam: RecordParam): UpdateIndividualStreamJobResponse;
51
+ set recordParam(recordParam: RecordParam | undefined);
52
+ get recordParam(): RecordParam | undefined;
53
+ withCreateTime(createTime: string): UpdateIndividualStreamJobResponse;
54
+ set createTime(createTime: string | undefined);
55
+ get createTime(): string | undefined;
56
+ withUpdateTime(updateTime: string): UpdateIndividualStreamJobResponse;
57
+ set updateTime(updateTime: string | undefined);
58
+ get updateTime(): string | undefined;
59
+ withState(state: UpdateIndividualStreamJobResponseStateEnum): UpdateIndividualStreamJobResponse;
60
+ withStopReason(stopReason: UpdateIndividualStreamJobResponseStopReasonEnum): UpdateIndividualStreamJobResponse;
61
+ set stopReason(stopReason: UpdateIndividualStreamJobResponseStopReasonEnum | undefined);
62
+ get stopReason(): UpdateIndividualStreamJobResponseStopReasonEnum | undefined;
63
+ withDescription(description: string): UpdateIndividualStreamJobResponse;
64
+ withStartTime(startTime: string): UpdateIndividualStreamJobResponse;
65
+ set startTime(startTime: string | undefined);
66
+ get startTime(): string | undefined;
67
+ withStopTime(stopTime: string): UpdateIndividualStreamJobResponse;
68
+ set stopTime(stopTime: string | undefined);
69
+ get stopTime(): string | undefined;
70
+ withXRequestId(xRequestId: string): UpdateIndividualStreamJobResponse;
71
+ set xRequestId(xRequestId: string | undefined);
72
+ get xRequestId(): string | undefined;
73
+ }
74
+ /**
75
+ * @export
76
+ * @enum {string}
77
+ */
78
+ export declare enum UpdateIndividualStreamJobResponseVideoTypeEnum {
79
+ CAMERASTREAM = "CAMERASTREAM",
80
+ SCREENSTREAM = "SCREENSTREAM",
81
+ Empty = ""
82
+ }
83
+ /**
84
+ * @export
85
+ * @enum {string}
86
+ */
87
+ export declare enum UpdateIndividualStreamJobResponseSelectStreamTypeEnum {
88
+ LD = "LD",
89
+ SD = "SD",
90
+ HD = "HD",
91
+ FHD = "FHD"
92
+ }
93
+ /**
94
+ * @export
95
+ * @enum {string}
96
+ */
97
+ export declare enum UpdateIndividualStreamJobResponseStateEnum {
98
+ INIT = "INIT",
99
+ RUNNING = "RUNNING",
100
+ STOPPED = "STOPPED"
101
+ }
102
+ /**
103
+ * @export
104
+ * @enum {string}
105
+ */
106
+ export declare enum UpdateIndividualStreamJobResponseStopReasonEnum {
107
+ TENANT_STOP = "TENANT_STOP",
108
+ EXCEED_MAX_IDLE_TIME = "EXCEED_MAX_IDLE_TIME",
109
+ INTERNAL_ERROR = "INTERNAL_ERROR"
110
+ }
@@ -0,0 +1,300 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.UpdateIndividualStreamJobResponseStopReasonEnum = exports.UpdateIndividualStreamJobResponseStateEnum = exports.UpdateIndividualStreamJobResponseSelectStreamTypeEnum = exports.UpdateIndividualStreamJobResponseVideoTypeEnum = exports.UpdateIndividualStreamJobResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var UpdateIndividualStreamJobResponse = /** @class */ (function (_super) {
21
+ __extends(UpdateIndividualStreamJobResponse, _super);
22
+ function UpdateIndividualStreamJobResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ UpdateIndividualStreamJobResponse.prototype.withJobId = function (jobId) {
26
+ this['job_id'] = jobId;
27
+ return this;
28
+ };
29
+ Object.defineProperty(UpdateIndividualStreamJobResponse.prototype, "jobId", {
30
+ get: function () {
31
+ return this['job_id'];
32
+ },
33
+ set: function (jobId) {
34
+ this['job_id'] = jobId;
35
+ },
36
+ enumerable: false,
37
+ configurable: true
38
+ });
39
+ UpdateIndividualStreamJobResponse.prototype.withStreamName = function (streamName) {
40
+ this['stream_name'] = streamName;
41
+ return this;
42
+ };
43
+ Object.defineProperty(UpdateIndividualStreamJobResponse.prototype, "streamName", {
44
+ get: function () {
45
+ return this['stream_name'];
46
+ },
47
+ set: function (streamName) {
48
+ this['stream_name'] = streamName;
49
+ },
50
+ enumerable: false,
51
+ configurable: true
52
+ });
53
+ UpdateIndividualStreamJobResponse.prototype.withAppId = function (appId) {
54
+ this['app_id'] = appId;
55
+ return this;
56
+ };
57
+ Object.defineProperty(UpdateIndividualStreamJobResponse.prototype, "appId", {
58
+ get: function () {
59
+ return this['app_id'];
60
+ },
61
+ set: function (appId) {
62
+ this['app_id'] = appId;
63
+ },
64
+ enumerable: false,
65
+ configurable: true
66
+ });
67
+ UpdateIndividualStreamJobResponse.prototype.withRoomId = function (roomId) {
68
+ this['room_id'] = roomId;
69
+ return this;
70
+ };
71
+ Object.defineProperty(UpdateIndividualStreamJobResponse.prototype, "roomId", {
72
+ get: function () {
73
+ return this['room_id'];
74
+ },
75
+ set: function (roomId) {
76
+ this['room_id'] = roomId;
77
+ },
78
+ enumerable: false,
79
+ configurable: true
80
+ });
81
+ UpdateIndividualStreamJobResponse.prototype.withUserId = function (userId) {
82
+ this['user_id'] = userId;
83
+ return this;
84
+ };
85
+ Object.defineProperty(UpdateIndividualStreamJobResponse.prototype, "userId", {
86
+ get: function () {
87
+ return this['user_id'];
88
+ },
89
+ set: function (userId) {
90
+ this['user_id'] = userId;
91
+ },
92
+ enumerable: false,
93
+ configurable: true
94
+ });
95
+ UpdateIndividualStreamJobResponse.prototype.withIsRecordAudio = function (isRecordAudio) {
96
+ this['is_record_audio'] = isRecordAudio;
97
+ return this;
98
+ };
99
+ Object.defineProperty(UpdateIndividualStreamJobResponse.prototype, "isRecordAudio", {
100
+ get: function () {
101
+ return this['is_record_audio'];
102
+ },
103
+ set: function (isRecordAudio) {
104
+ this['is_record_audio'] = isRecordAudio;
105
+ },
106
+ enumerable: false,
107
+ configurable: true
108
+ });
109
+ UpdateIndividualStreamJobResponse.prototype.withVideoType = function (videoType) {
110
+ this['video_type'] = videoType;
111
+ return this;
112
+ };
113
+ Object.defineProperty(UpdateIndividualStreamJobResponse.prototype, "videoType", {
114
+ get: function () {
115
+ return this['video_type'];
116
+ },
117
+ set: function (videoType) {
118
+ this['video_type'] = videoType;
119
+ },
120
+ enumerable: false,
121
+ configurable: true
122
+ });
123
+ UpdateIndividualStreamJobResponse.prototype.withSelectStreamType = function (selectStreamType) {
124
+ this['select_stream_type'] = selectStreamType;
125
+ return this;
126
+ };
127
+ Object.defineProperty(UpdateIndividualStreamJobResponse.prototype, "selectStreamType", {
128
+ get: function () {
129
+ return this['select_stream_type'];
130
+ },
131
+ set: function (selectStreamType) {
132
+ this['select_stream_type'] = selectStreamType;
133
+ },
134
+ enumerable: false,
135
+ configurable: true
136
+ });
137
+ UpdateIndividualStreamJobResponse.prototype.withMaxIdleTime = function (maxIdleTime) {
138
+ this['max_idle_time'] = maxIdleTime;
139
+ return this;
140
+ };
141
+ Object.defineProperty(UpdateIndividualStreamJobResponse.prototype, "maxIdleTime", {
142
+ get: function () {
143
+ return this['max_idle_time'];
144
+ },
145
+ set: function (maxIdleTime) {
146
+ this['max_idle_time'] = maxIdleTime;
147
+ },
148
+ enumerable: false,
149
+ configurable: true
150
+ });
151
+ UpdateIndividualStreamJobResponse.prototype.withRecordParam = function (recordParam) {
152
+ this['record_param'] = recordParam;
153
+ return this;
154
+ };
155
+ Object.defineProperty(UpdateIndividualStreamJobResponse.prototype, "recordParam", {
156
+ get: function () {
157
+ return this['record_param'];
158
+ },
159
+ set: function (recordParam) {
160
+ this['record_param'] = recordParam;
161
+ },
162
+ enumerable: false,
163
+ configurable: true
164
+ });
165
+ UpdateIndividualStreamJobResponse.prototype.withCreateTime = function (createTime) {
166
+ this['create_time'] = createTime;
167
+ return this;
168
+ };
169
+ Object.defineProperty(UpdateIndividualStreamJobResponse.prototype, "createTime", {
170
+ get: function () {
171
+ return this['create_time'];
172
+ },
173
+ set: function (createTime) {
174
+ this['create_time'] = createTime;
175
+ },
176
+ enumerable: false,
177
+ configurable: true
178
+ });
179
+ UpdateIndividualStreamJobResponse.prototype.withUpdateTime = function (updateTime) {
180
+ this['update_time'] = updateTime;
181
+ return this;
182
+ };
183
+ Object.defineProperty(UpdateIndividualStreamJobResponse.prototype, "updateTime", {
184
+ get: function () {
185
+ return this['update_time'];
186
+ },
187
+ set: function (updateTime) {
188
+ this['update_time'] = updateTime;
189
+ },
190
+ enumerable: false,
191
+ configurable: true
192
+ });
193
+ UpdateIndividualStreamJobResponse.prototype.withState = function (state) {
194
+ this['state'] = state;
195
+ return this;
196
+ };
197
+ UpdateIndividualStreamJobResponse.prototype.withStopReason = function (stopReason) {
198
+ this['stop_reason'] = stopReason;
199
+ return this;
200
+ };
201
+ Object.defineProperty(UpdateIndividualStreamJobResponse.prototype, "stopReason", {
202
+ get: function () {
203
+ return this['stop_reason'];
204
+ },
205
+ set: function (stopReason) {
206
+ this['stop_reason'] = stopReason;
207
+ },
208
+ enumerable: false,
209
+ configurable: true
210
+ });
211
+ UpdateIndividualStreamJobResponse.prototype.withDescription = function (description) {
212
+ this['description'] = description;
213
+ return this;
214
+ };
215
+ UpdateIndividualStreamJobResponse.prototype.withStartTime = function (startTime) {
216
+ this['start_time'] = startTime;
217
+ return this;
218
+ };
219
+ Object.defineProperty(UpdateIndividualStreamJobResponse.prototype, "startTime", {
220
+ get: function () {
221
+ return this['start_time'];
222
+ },
223
+ set: function (startTime) {
224
+ this['start_time'] = startTime;
225
+ },
226
+ enumerable: false,
227
+ configurable: true
228
+ });
229
+ UpdateIndividualStreamJobResponse.prototype.withStopTime = function (stopTime) {
230
+ this['stop_time'] = stopTime;
231
+ return this;
232
+ };
233
+ Object.defineProperty(UpdateIndividualStreamJobResponse.prototype, "stopTime", {
234
+ get: function () {
235
+ return this['stop_time'];
236
+ },
237
+ set: function (stopTime) {
238
+ this['stop_time'] = stopTime;
239
+ },
240
+ enumerable: false,
241
+ configurable: true
242
+ });
243
+ UpdateIndividualStreamJobResponse.prototype.withXRequestId = function (xRequestId) {
244
+ this['X-request-Id'] = xRequestId;
245
+ return this;
246
+ };
247
+ Object.defineProperty(UpdateIndividualStreamJobResponse.prototype, "xRequestId", {
248
+ get: function () {
249
+ return this['X-request-Id'];
250
+ },
251
+ set: function (xRequestId) {
252
+ this['X-request-Id'] = xRequestId;
253
+ },
254
+ enumerable: false,
255
+ configurable: true
256
+ });
257
+ return UpdateIndividualStreamJobResponse;
258
+ }(SdkResponse_1.SdkResponse));
259
+ exports.UpdateIndividualStreamJobResponse = UpdateIndividualStreamJobResponse;
260
+ /**
261
+ * @export
262
+ * @enum {string}
263
+ */
264
+ var UpdateIndividualStreamJobResponseVideoTypeEnum;
265
+ (function (UpdateIndividualStreamJobResponseVideoTypeEnum) {
266
+ UpdateIndividualStreamJobResponseVideoTypeEnum["CAMERASTREAM"] = "CAMERASTREAM";
267
+ UpdateIndividualStreamJobResponseVideoTypeEnum["SCREENSTREAM"] = "SCREENSTREAM";
268
+ UpdateIndividualStreamJobResponseVideoTypeEnum["Empty"] = "";
269
+ })(UpdateIndividualStreamJobResponseVideoTypeEnum || (exports.UpdateIndividualStreamJobResponseVideoTypeEnum = UpdateIndividualStreamJobResponseVideoTypeEnum = {}));
270
+ /**
271
+ * @export
272
+ * @enum {string}
273
+ */
274
+ var UpdateIndividualStreamJobResponseSelectStreamTypeEnum;
275
+ (function (UpdateIndividualStreamJobResponseSelectStreamTypeEnum) {
276
+ UpdateIndividualStreamJobResponseSelectStreamTypeEnum["LD"] = "LD";
277
+ UpdateIndividualStreamJobResponseSelectStreamTypeEnum["SD"] = "SD";
278
+ UpdateIndividualStreamJobResponseSelectStreamTypeEnum["HD"] = "HD";
279
+ UpdateIndividualStreamJobResponseSelectStreamTypeEnum["FHD"] = "FHD";
280
+ })(UpdateIndividualStreamJobResponseSelectStreamTypeEnum || (exports.UpdateIndividualStreamJobResponseSelectStreamTypeEnum = UpdateIndividualStreamJobResponseSelectStreamTypeEnum = {}));
281
+ /**
282
+ * @export
283
+ * @enum {string}
284
+ */
285
+ var UpdateIndividualStreamJobResponseStateEnum;
286
+ (function (UpdateIndividualStreamJobResponseStateEnum) {
287
+ UpdateIndividualStreamJobResponseStateEnum["INIT"] = "INIT";
288
+ UpdateIndividualStreamJobResponseStateEnum["RUNNING"] = "RUNNING";
289
+ UpdateIndividualStreamJobResponseStateEnum["STOPPED"] = "STOPPED";
290
+ })(UpdateIndividualStreamJobResponseStateEnum || (exports.UpdateIndividualStreamJobResponseStateEnum = UpdateIndividualStreamJobResponseStateEnum = {}));
291
+ /**
292
+ * @export
293
+ * @enum {string}
294
+ */
295
+ var UpdateIndividualStreamJobResponseStopReasonEnum;
296
+ (function (UpdateIndividualStreamJobResponseStopReasonEnum) {
297
+ UpdateIndividualStreamJobResponseStopReasonEnum["TENANT_STOP"] = "TENANT_STOP";
298
+ UpdateIndividualStreamJobResponseStopReasonEnum["EXCEED_MAX_IDLE_TIME"] = "EXCEED_MAX_IDLE_TIME";
299
+ UpdateIndividualStreamJobResponseStopReasonEnum["INTERNAL_ERROR"] = "INTERNAL_ERROR";
300
+ })(UpdateIndividualStreamJobResponseStopReasonEnum || (exports.UpdateIndividualStreamJobResponseStopReasonEnum = UpdateIndividualStreamJobResponseStopReasonEnum = {}));
@@ -0,0 +1,8 @@
1
+ import { UpdateMixParam } from './UpdateMixParam';
2
+ export declare class UpdateMixJobReq {
3
+ private 'mix_param';
4
+ constructor(mixParam?: any);
5
+ withMixParam(mixParam: UpdateMixParam): UpdateMixJobReq;
6
+ set mixParam(mixParam: UpdateMixParam | undefined);
7
+ get mixParam(): UpdateMixParam | undefined;
8
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateMixJobReq = void 0;
4
+ var UpdateMixJobReq = /** @class */ (function () {
5
+ function UpdateMixJobReq(mixParam) {
6
+ this['mix_param'] = mixParam;
7
+ }
8
+ UpdateMixJobReq.prototype.withMixParam = function (mixParam) {
9
+ this['mix_param'] = mixParam;
10
+ return this;
11
+ };
12
+ Object.defineProperty(UpdateMixJobReq.prototype, "mixParam", {
13
+ get: function () {
14
+ return this['mix_param'];
15
+ },
16
+ set: function (mixParam) {
17
+ this['mix_param'] = mixParam;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ return UpdateMixJobReq;
23
+ }());
24
+ exports.UpdateMixJobReq = UpdateMixJobReq;
@@ -0,0 +1,26 @@
1
+ import { UpdateMixJobReq } from './UpdateMixJobReq';
2
+ export declare class UpdateMixJobRequest {
3
+ private 'Authorization'?;
4
+ private 'X-Sdk-Date'?;
5
+ private 'X-Project-Id'?;
6
+ private 'app_id';
7
+ private 'job_id';
8
+ body?: UpdateMixJobReq;
9
+ constructor(appId?: any, jobId?: any);
10
+ withAuthorization(authorization: string): UpdateMixJobRequest;
11
+ set authorization(authorization: string | undefined);
12
+ get authorization(): string | undefined;
13
+ withXSdkDate(xSdkDate: string): UpdateMixJobRequest;
14
+ set xSdkDate(xSdkDate: string | undefined);
15
+ get xSdkDate(): string | undefined;
16
+ withXProjectId(xProjectId: string): UpdateMixJobRequest;
17
+ set xProjectId(xProjectId: string | undefined);
18
+ get xProjectId(): string | undefined;
19
+ withAppId(appId: string): UpdateMixJobRequest;
20
+ set appId(appId: string | undefined);
21
+ get appId(): string | undefined;
22
+ withJobId(jobId: string): UpdateMixJobRequest;
23
+ set jobId(jobId: string | undefined);
24
+ get jobId(): string | undefined;
25
+ withBody(body: UpdateMixJobReq): UpdateMixJobRequest;
26
+ }
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateMixJobRequest = void 0;
4
+ var UpdateMixJobRequest = /** @class */ (function () {
5
+ function UpdateMixJobRequest(appId, jobId) {
6
+ this['app_id'] = appId;
7
+ this['job_id'] = jobId;
8
+ }
9
+ UpdateMixJobRequest.prototype.withAuthorization = function (authorization) {
10
+ this['Authorization'] = authorization;
11
+ return this;
12
+ };
13
+ Object.defineProperty(UpdateMixJobRequest.prototype, "authorization", {
14
+ get: function () {
15
+ return this['Authorization'];
16
+ },
17
+ set: function (authorization) {
18
+ this['Authorization'] = authorization;
19
+ },
20
+ enumerable: false,
21
+ configurable: true
22
+ });
23
+ UpdateMixJobRequest.prototype.withXSdkDate = function (xSdkDate) {
24
+ this['X-Sdk-Date'] = xSdkDate;
25
+ return this;
26
+ };
27
+ Object.defineProperty(UpdateMixJobRequest.prototype, "xSdkDate", {
28
+ get: function () {
29
+ return this['X-Sdk-Date'];
30
+ },
31
+ set: function (xSdkDate) {
32
+ this['X-Sdk-Date'] = xSdkDate;
33
+ },
34
+ enumerable: false,
35
+ configurable: true
36
+ });
37
+ UpdateMixJobRequest.prototype.withXProjectId = function (xProjectId) {
38
+ this['X-Project-Id'] = xProjectId;
39
+ return this;
40
+ };
41
+ Object.defineProperty(UpdateMixJobRequest.prototype, "xProjectId", {
42
+ get: function () {
43
+ return this['X-Project-Id'];
44
+ },
45
+ set: function (xProjectId) {
46
+ this['X-Project-Id'] = xProjectId;
47
+ },
48
+ enumerable: false,
49
+ configurable: true
50
+ });
51
+ UpdateMixJobRequest.prototype.withAppId = function (appId) {
52
+ this['app_id'] = appId;
53
+ return this;
54
+ };
55
+ Object.defineProperty(UpdateMixJobRequest.prototype, "appId", {
56
+ get: function () {
57
+ return this['app_id'];
58
+ },
59
+ set: function (appId) {
60
+ this['app_id'] = appId;
61
+ },
62
+ enumerable: false,
63
+ configurable: true
64
+ });
65
+ UpdateMixJobRequest.prototype.withJobId = function (jobId) {
66
+ this['job_id'] = jobId;
67
+ return this;
68
+ };
69
+ Object.defineProperty(UpdateMixJobRequest.prototype, "jobId", {
70
+ get: function () {
71
+ return this['job_id'];
72
+ },
73
+ set: function (jobId) {
74
+ this['job_id'] = jobId;
75
+ },
76
+ enumerable: false,
77
+ configurable: true
78
+ });
79
+ UpdateMixJobRequest.prototype.withBody = function (body) {
80
+ this['body'] = body;
81
+ return this;
82
+ };
83
+ return UpdateMixJobRequest;
84
+ }());
85
+ exports.UpdateMixJobRequest = UpdateMixJobRequest;
@@ -0,0 +1,76 @@
1
+ import { MixParam } from './MixParam';
2
+ import { RecordParam } from './RecordParam';
3
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
4
+ export declare class UpdateMixJobResponse extends SdkResponse {
5
+ private 'job_id'?;
6
+ private 'stream_name'?;
7
+ private 'app_id'?;
8
+ private 'room_id'?;
9
+ private 'mix_param'?;
10
+ private 'record_param'?;
11
+ private 'create_time'?;
12
+ private 'update_time'?;
13
+ state?: UpdateMixJobResponseStateEnum;
14
+ private 'stop_reason'?;
15
+ description?: string;
16
+ private 'start_time'?;
17
+ private 'stop_time'?;
18
+ private 'X-request-Id'?;
19
+ constructor();
20
+ withJobId(jobId: string): UpdateMixJobResponse;
21
+ set jobId(jobId: string | undefined);
22
+ get jobId(): string | undefined;
23
+ withStreamName(streamName: string): UpdateMixJobResponse;
24
+ set streamName(streamName: string | undefined);
25
+ get streamName(): string | undefined;
26
+ withAppId(appId: string): UpdateMixJobResponse;
27
+ set appId(appId: string | undefined);
28
+ get appId(): string | undefined;
29
+ withRoomId(roomId: string): UpdateMixJobResponse;
30
+ set roomId(roomId: string | undefined);
31
+ get roomId(): string | undefined;
32
+ withMixParam(mixParam: MixParam): UpdateMixJobResponse;
33
+ set mixParam(mixParam: MixParam | undefined);
34
+ get mixParam(): MixParam | undefined;
35
+ withRecordParam(recordParam: RecordParam): UpdateMixJobResponse;
36
+ set recordParam(recordParam: RecordParam | undefined);
37
+ get recordParam(): RecordParam | undefined;
38
+ withCreateTime(createTime: string): UpdateMixJobResponse;
39
+ set createTime(createTime: string | undefined);
40
+ get createTime(): string | undefined;
41
+ withUpdateTime(updateTime: string): UpdateMixJobResponse;
42
+ set updateTime(updateTime: string | undefined);
43
+ get updateTime(): string | undefined;
44
+ withState(state: UpdateMixJobResponseStateEnum): UpdateMixJobResponse;
45
+ withStopReason(stopReason: UpdateMixJobResponseStopReasonEnum): UpdateMixJobResponse;
46
+ set stopReason(stopReason: UpdateMixJobResponseStopReasonEnum | undefined);
47
+ get stopReason(): UpdateMixJobResponseStopReasonEnum | undefined;
48
+ withDescription(description: string): UpdateMixJobResponse;
49
+ withStartTime(startTime: string): UpdateMixJobResponse;
50
+ set startTime(startTime: string | undefined);
51
+ get startTime(): string | undefined;
52
+ withStopTime(stopTime: string): UpdateMixJobResponse;
53
+ set stopTime(stopTime: string | undefined);
54
+ get stopTime(): string | undefined;
55
+ withXRequestId(xRequestId: string): UpdateMixJobResponse;
56
+ set xRequestId(xRequestId: string | undefined);
57
+ get xRequestId(): string | undefined;
58
+ }
59
+ /**
60
+ * @export
61
+ * @enum {string}
62
+ */
63
+ export declare enum UpdateMixJobResponseStateEnum {
64
+ INIT = "INIT",
65
+ RUNNING = "RUNNING",
66
+ STOPPED = "STOPPED"
67
+ }
68
+ /**
69
+ * @export
70
+ * @enum {string}
71
+ */
72
+ export declare enum UpdateMixJobResponseStopReasonEnum {
73
+ TENANT_STOP = "TENANT_STOP",
74
+ EXCEED_MAX_IDLE_TIME = "EXCEED_MAX_IDLE_TIME",
75
+ INTERNAL_ERROR = "INTERNAL_ERROR"
76
+ }