@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,143 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IndividualStreamJobReqSelectStreamTypeEnum = exports.IndividualStreamJobReqVideoTypeEnum = exports.IndividualStreamJobReq = void 0;
4
+ var IndividualStreamJobReq = /** @class */ (function () {
5
+ function IndividualStreamJobReq(roomId, userId) {
6
+ this['room_id'] = roomId;
7
+ this['user_id'] = userId;
8
+ }
9
+ IndividualStreamJobReq.prototype.withRoomId = function (roomId) {
10
+ this['room_id'] = roomId;
11
+ return this;
12
+ };
13
+ Object.defineProperty(IndividualStreamJobReq.prototype, "roomId", {
14
+ get: function () {
15
+ return this['room_id'];
16
+ },
17
+ set: function (roomId) {
18
+ this['room_id'] = roomId;
19
+ },
20
+ enumerable: false,
21
+ configurable: true
22
+ });
23
+ IndividualStreamJobReq.prototype.withUserId = function (userId) {
24
+ this['user_id'] = userId;
25
+ return this;
26
+ };
27
+ Object.defineProperty(IndividualStreamJobReq.prototype, "userId", {
28
+ get: function () {
29
+ return this['user_id'];
30
+ },
31
+ set: function (userId) {
32
+ this['user_id'] = userId;
33
+ },
34
+ enumerable: false,
35
+ configurable: true
36
+ });
37
+ IndividualStreamJobReq.prototype.withIsRecordAudio = function (isRecordAudio) {
38
+ this['is_record_audio'] = isRecordAudio;
39
+ return this;
40
+ };
41
+ Object.defineProperty(IndividualStreamJobReq.prototype, "isRecordAudio", {
42
+ get: function () {
43
+ return this['is_record_audio'];
44
+ },
45
+ set: function (isRecordAudio) {
46
+ this['is_record_audio'] = isRecordAudio;
47
+ },
48
+ enumerable: false,
49
+ configurable: true
50
+ });
51
+ IndividualStreamJobReq.prototype.withVideoType = function (videoType) {
52
+ this['video_type'] = videoType;
53
+ return this;
54
+ };
55
+ Object.defineProperty(IndividualStreamJobReq.prototype, "videoType", {
56
+ get: function () {
57
+ return this['video_type'];
58
+ },
59
+ set: function (videoType) {
60
+ this['video_type'] = videoType;
61
+ },
62
+ enumerable: false,
63
+ configurable: true
64
+ });
65
+ IndividualStreamJobReq.prototype.withSelectStreamType = function (selectStreamType) {
66
+ this['select_stream_type'] = selectStreamType;
67
+ return this;
68
+ };
69
+ Object.defineProperty(IndividualStreamJobReq.prototype, "selectStreamType", {
70
+ get: function () {
71
+ return this['select_stream_type'];
72
+ },
73
+ set: function (selectStreamType) {
74
+ this['select_stream_type'] = selectStreamType;
75
+ },
76
+ enumerable: false,
77
+ configurable: true
78
+ });
79
+ IndividualStreamJobReq.prototype.withMaxIdleTime = function (maxIdleTime) {
80
+ this['max_idle_time'] = maxIdleTime;
81
+ return this;
82
+ };
83
+ Object.defineProperty(IndividualStreamJobReq.prototype, "maxIdleTime", {
84
+ get: function () {
85
+ return this['max_idle_time'];
86
+ },
87
+ set: function (maxIdleTime) {
88
+ this['max_idle_time'] = maxIdleTime;
89
+ },
90
+ enumerable: false,
91
+ configurable: true
92
+ });
93
+ IndividualStreamJobReq.prototype.withPublishParam = function (publishParam) {
94
+ this['publish_param'] = publishParam;
95
+ return this;
96
+ };
97
+ Object.defineProperty(IndividualStreamJobReq.prototype, "publishParam", {
98
+ get: function () {
99
+ return this['publish_param'];
100
+ },
101
+ set: function (publishParam) {
102
+ this['publish_param'] = publishParam;
103
+ },
104
+ enumerable: false,
105
+ configurable: true
106
+ });
107
+ IndividualStreamJobReq.prototype.withRecordParam = function (recordParam) {
108
+ this['record_param'] = recordParam;
109
+ return this;
110
+ };
111
+ Object.defineProperty(IndividualStreamJobReq.prototype, "recordParam", {
112
+ get: function () {
113
+ return this['record_param'];
114
+ },
115
+ set: function (recordParam) {
116
+ this['record_param'] = recordParam;
117
+ },
118
+ enumerable: false,
119
+ configurable: true
120
+ });
121
+ return IndividualStreamJobReq;
122
+ }());
123
+ exports.IndividualStreamJobReq = IndividualStreamJobReq;
124
+ /**
125
+ * @export
126
+ * @enum {string}
127
+ */
128
+ var IndividualStreamJobReqVideoTypeEnum;
129
+ (function (IndividualStreamJobReqVideoTypeEnum) {
130
+ IndividualStreamJobReqVideoTypeEnum["CAMERASTREAM"] = "CAMERASTREAM";
131
+ IndividualStreamJobReqVideoTypeEnum["SCREENSTREAM"] = "SCREENSTREAM";
132
+ })(IndividualStreamJobReqVideoTypeEnum || (exports.IndividualStreamJobReqVideoTypeEnum = IndividualStreamJobReqVideoTypeEnum = {}));
133
+ /**
134
+ * @export
135
+ * @enum {string}
136
+ */
137
+ var IndividualStreamJobReqSelectStreamTypeEnum;
138
+ (function (IndividualStreamJobReqSelectStreamTypeEnum) {
139
+ IndividualStreamJobReqSelectStreamTypeEnum["LD"] = "LD";
140
+ IndividualStreamJobReqSelectStreamTypeEnum["SD"] = "SD";
141
+ IndividualStreamJobReqSelectStreamTypeEnum["HD"] = "HD";
142
+ IndividualStreamJobReqSelectStreamTypeEnum["FHD"] = "FHD";
143
+ })(IndividualStreamJobReqSelectStreamTypeEnum || (exports.IndividualStreamJobReqSelectStreamTypeEnum = IndividualStreamJobReqSelectStreamTypeEnum = {}));
@@ -0,0 +1,30 @@
1
+ export declare class ListAppsRequest {
2
+ private 'Authorization'?;
3
+ private 'X-Sdk-Date'?;
4
+ private 'X-Project-Id'?;
5
+ state?: ListAppsRequestStateEnum;
6
+ offset?: number;
7
+ limit?: number;
8
+ constructor();
9
+ withAuthorization(authorization: string): ListAppsRequest;
10
+ set authorization(authorization: string | undefined);
11
+ get authorization(): string | undefined;
12
+ withXSdkDate(xSdkDate: string): ListAppsRequest;
13
+ set xSdkDate(xSdkDate: string | undefined);
14
+ get xSdkDate(): string | undefined;
15
+ withXProjectId(xProjectId: string): ListAppsRequest;
16
+ set xProjectId(xProjectId: string | undefined);
17
+ get xProjectId(): string | undefined;
18
+ withState(state: ListAppsRequestStateEnum): ListAppsRequest;
19
+ withOffset(offset: number): ListAppsRequest;
20
+ withLimit(limit: number): ListAppsRequest;
21
+ }
22
+ /**
23
+ * @export
24
+ * @enum {string}
25
+ */
26
+ export declare enum ListAppsRequestStateEnum {
27
+ ACTIVATION = "ACTIVATION",
28
+ DEACTIVATION = "DEACTIVATION",
29
+ ARREARS = "ARREARS"
30
+ }
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListAppsRequestStateEnum = exports.ListAppsRequest = void 0;
4
+ var ListAppsRequest = /** @class */ (function () {
5
+ function ListAppsRequest() {
6
+ }
7
+ ListAppsRequest.prototype.withAuthorization = function (authorization) {
8
+ this['Authorization'] = authorization;
9
+ return this;
10
+ };
11
+ Object.defineProperty(ListAppsRequest.prototype, "authorization", {
12
+ get: function () {
13
+ return this['Authorization'];
14
+ },
15
+ set: function (authorization) {
16
+ this['Authorization'] = authorization;
17
+ },
18
+ enumerable: false,
19
+ configurable: true
20
+ });
21
+ ListAppsRequest.prototype.withXSdkDate = function (xSdkDate) {
22
+ this['X-Sdk-Date'] = xSdkDate;
23
+ return this;
24
+ };
25
+ Object.defineProperty(ListAppsRequest.prototype, "xSdkDate", {
26
+ get: function () {
27
+ return this['X-Sdk-Date'];
28
+ },
29
+ set: function (xSdkDate) {
30
+ this['X-Sdk-Date'] = xSdkDate;
31
+ },
32
+ enumerable: false,
33
+ configurable: true
34
+ });
35
+ ListAppsRequest.prototype.withXProjectId = function (xProjectId) {
36
+ this['X-Project-Id'] = xProjectId;
37
+ return this;
38
+ };
39
+ Object.defineProperty(ListAppsRequest.prototype, "xProjectId", {
40
+ get: function () {
41
+ return this['X-Project-Id'];
42
+ },
43
+ set: function (xProjectId) {
44
+ this['X-Project-Id'] = xProjectId;
45
+ },
46
+ enumerable: false,
47
+ configurable: true
48
+ });
49
+ ListAppsRequest.prototype.withState = function (state) {
50
+ this['state'] = state;
51
+ return this;
52
+ };
53
+ ListAppsRequest.prototype.withOffset = function (offset) {
54
+ this['offset'] = offset;
55
+ return this;
56
+ };
57
+ ListAppsRequest.prototype.withLimit = function (limit) {
58
+ this['limit'] = limit;
59
+ return this;
60
+ };
61
+ return ListAppsRequest;
62
+ }());
63
+ exports.ListAppsRequest = ListAppsRequest;
64
+ /**
65
+ * @export
66
+ * @enum {string}
67
+ */
68
+ var ListAppsRequestStateEnum;
69
+ (function (ListAppsRequestStateEnum) {
70
+ ListAppsRequestStateEnum["ACTIVATION"] = "ACTIVATION";
71
+ ListAppsRequestStateEnum["DEACTIVATION"] = "DEACTIVATION";
72
+ ListAppsRequestStateEnum["ARREARS"] = "ARREARS";
73
+ })(ListAppsRequestStateEnum || (exports.ListAppsRequestStateEnum = ListAppsRequestStateEnum = {}));
@@ -0,0 +1,13 @@
1
+ import { App } from './App';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class ListAppsResponse extends SdkResponse {
4
+ count?: number;
5
+ apps?: Array<App>;
6
+ private 'X-request-Id'?;
7
+ constructor();
8
+ withCount(count: number): ListAppsResponse;
9
+ withApps(apps: Array<App>): ListAppsResponse;
10
+ withXRequestId(xRequestId: string): ListAppsResponse;
11
+ set xRequestId(xRequestId: string | undefined);
12
+ get xRequestId(): string | undefined;
13
+ }
@@ -0,0 +1,49 @@
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.ListAppsResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var ListAppsResponse = /** @class */ (function (_super) {
21
+ __extends(ListAppsResponse, _super);
22
+ function ListAppsResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ ListAppsResponse.prototype.withCount = function (count) {
26
+ this['count'] = count;
27
+ return this;
28
+ };
29
+ ListAppsResponse.prototype.withApps = function (apps) {
30
+ this['apps'] = apps;
31
+ return this;
32
+ };
33
+ ListAppsResponse.prototype.withXRequestId = function (xRequestId) {
34
+ this['X-request-Id'] = xRequestId;
35
+ return this;
36
+ };
37
+ Object.defineProperty(ListAppsResponse.prototype, "xRequestId", {
38
+ get: function () {
39
+ return this['X-request-Id'];
40
+ },
41
+ set: function (xRequestId) {
42
+ this['X-request-Id'] = xRequestId;
43
+ },
44
+ enumerable: false,
45
+ configurable: true
46
+ });
47
+ return ListAppsResponse;
48
+ }(SdkResponse_1.SdkResponse));
49
+ exports.ListAppsResponse = ListAppsResponse;
@@ -0,0 +1,23 @@
1
+ export declare class ListRecordRulesRequest {
2
+ private 'Authorization'?;
3
+ private 'X-Sdk-Date'?;
4
+ private 'X-Project-Id'?;
5
+ private 'app_id';
6
+ offset?: number;
7
+ limit?: number;
8
+ constructor(appId?: any);
9
+ withAuthorization(authorization: string): ListRecordRulesRequest;
10
+ set authorization(authorization: string | undefined);
11
+ get authorization(): string | undefined;
12
+ withXSdkDate(xSdkDate: string): ListRecordRulesRequest;
13
+ set xSdkDate(xSdkDate: string | undefined);
14
+ get xSdkDate(): string | undefined;
15
+ withXProjectId(xProjectId: string): ListRecordRulesRequest;
16
+ set xProjectId(xProjectId: string | undefined);
17
+ get xProjectId(): string | undefined;
18
+ withAppId(appId: string): ListRecordRulesRequest;
19
+ set appId(appId: string | undefined);
20
+ get appId(): string | undefined;
21
+ withOffset(offset: number): ListRecordRulesRequest;
22
+ withLimit(limit: number): ListRecordRulesRequest;
23
+ }
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListRecordRulesRequest = void 0;
4
+ var ListRecordRulesRequest = /** @class */ (function () {
5
+ function ListRecordRulesRequest(appId) {
6
+ this['app_id'] = appId;
7
+ }
8
+ ListRecordRulesRequest.prototype.withAuthorization = function (authorization) {
9
+ this['Authorization'] = authorization;
10
+ return this;
11
+ };
12
+ Object.defineProperty(ListRecordRulesRequest.prototype, "authorization", {
13
+ get: function () {
14
+ return this['Authorization'];
15
+ },
16
+ set: function (authorization) {
17
+ this['Authorization'] = authorization;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ ListRecordRulesRequest.prototype.withXSdkDate = function (xSdkDate) {
23
+ this['X-Sdk-Date'] = xSdkDate;
24
+ return this;
25
+ };
26
+ Object.defineProperty(ListRecordRulesRequest.prototype, "xSdkDate", {
27
+ get: function () {
28
+ return this['X-Sdk-Date'];
29
+ },
30
+ set: function (xSdkDate) {
31
+ this['X-Sdk-Date'] = xSdkDate;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ ListRecordRulesRequest.prototype.withXProjectId = function (xProjectId) {
37
+ this['X-Project-Id'] = xProjectId;
38
+ return this;
39
+ };
40
+ Object.defineProperty(ListRecordRulesRequest.prototype, "xProjectId", {
41
+ get: function () {
42
+ return this['X-Project-Id'];
43
+ },
44
+ set: function (xProjectId) {
45
+ this['X-Project-Id'] = xProjectId;
46
+ },
47
+ enumerable: false,
48
+ configurable: true
49
+ });
50
+ ListRecordRulesRequest.prototype.withAppId = function (appId) {
51
+ this['app_id'] = appId;
52
+ return this;
53
+ };
54
+ Object.defineProperty(ListRecordRulesRequest.prototype, "appId", {
55
+ get: function () {
56
+ return this['app_id'];
57
+ },
58
+ set: function (appId) {
59
+ this['app_id'] = appId;
60
+ },
61
+ enumerable: false,
62
+ configurable: true
63
+ });
64
+ ListRecordRulesRequest.prototype.withOffset = function (offset) {
65
+ this['offset'] = offset;
66
+ return this;
67
+ };
68
+ ListRecordRulesRequest.prototype.withLimit = function (limit) {
69
+ this['limit'] = limit;
70
+ return this;
71
+ };
72
+ return ListRecordRulesRequest;
73
+ }());
74
+ exports.ListRecordRulesRequest = ListRecordRulesRequest;
@@ -0,0 +1,11 @@
1
+ import { RecordRule } from './RecordRule';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class ListRecordRulesResponse extends SdkResponse {
4
+ rules?: Array<RecordRule>;
5
+ private 'X-request-Id'?;
6
+ constructor();
7
+ withRules(rules: Array<RecordRule>): ListRecordRulesResponse;
8
+ withXRequestId(xRequestId: string): ListRecordRulesResponse;
9
+ set xRequestId(xRequestId: string | undefined);
10
+ get xRequestId(): string | undefined;
11
+ }
@@ -0,0 +1,45 @@
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.ListRecordRulesResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var ListRecordRulesResponse = /** @class */ (function (_super) {
21
+ __extends(ListRecordRulesResponse, _super);
22
+ function ListRecordRulesResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ ListRecordRulesResponse.prototype.withRules = function (rules) {
26
+ this['rules'] = rules;
27
+ return this;
28
+ };
29
+ ListRecordRulesResponse.prototype.withXRequestId = function (xRequestId) {
30
+ this['X-request-Id'] = xRequestId;
31
+ return this;
32
+ };
33
+ Object.defineProperty(ListRecordRulesResponse.prototype, "xRequestId", {
34
+ get: function () {
35
+ return this['X-request-Id'];
36
+ },
37
+ set: function (xRequestId) {
38
+ this['X-request-Id'] = xRequestId;
39
+ },
40
+ enumerable: false,
41
+ configurable: true
42
+ });
43
+ return ListRecordRulesResponse;
44
+ }(SdkResponse_1.SdkResponse));
45
+ exports.ListRecordRulesResponse = ListRecordRulesResponse;
@@ -0,0 +1,15 @@
1
+ export declare class MP4RecordConfig {
2
+ private 'record_cycle';
3
+ private 'record_prefix'?;
4
+ private 'record_max_duration_to_merge_file'?;
5
+ constructor(recordCycle?: any);
6
+ withRecordCycle(recordCycle: number): MP4RecordConfig;
7
+ set recordCycle(recordCycle: number | undefined);
8
+ get recordCycle(): number | undefined;
9
+ withRecordPrefix(recordPrefix: string): MP4RecordConfig;
10
+ set recordPrefix(recordPrefix: string | undefined);
11
+ get recordPrefix(): string | undefined;
12
+ withRecordMaxDurationToMergeFile(recordMaxDurationToMergeFile: number): MP4RecordConfig;
13
+ set recordMaxDurationToMergeFile(recordMaxDurationToMergeFile: number | undefined);
14
+ get recordMaxDurationToMergeFile(): number | undefined;
15
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MP4RecordConfig = void 0;
4
+ var MP4RecordConfig = /** @class */ (function () {
5
+ function MP4RecordConfig(recordCycle) {
6
+ this['record_cycle'] = recordCycle;
7
+ }
8
+ MP4RecordConfig.prototype.withRecordCycle = function (recordCycle) {
9
+ this['record_cycle'] = recordCycle;
10
+ return this;
11
+ };
12
+ Object.defineProperty(MP4RecordConfig.prototype, "recordCycle", {
13
+ get: function () {
14
+ return this['record_cycle'];
15
+ },
16
+ set: function (recordCycle) {
17
+ this['record_cycle'] = recordCycle;
18
+ },
19
+ enumerable: false,
20
+ configurable: true
21
+ });
22
+ MP4RecordConfig.prototype.withRecordPrefix = function (recordPrefix) {
23
+ this['record_prefix'] = recordPrefix;
24
+ return this;
25
+ };
26
+ Object.defineProperty(MP4RecordConfig.prototype, "recordPrefix", {
27
+ get: function () {
28
+ return this['record_prefix'];
29
+ },
30
+ set: function (recordPrefix) {
31
+ this['record_prefix'] = recordPrefix;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ MP4RecordConfig.prototype.withRecordMaxDurationToMergeFile = function (recordMaxDurationToMergeFile) {
37
+ this['record_max_duration_to_merge_file'] = recordMaxDurationToMergeFile;
38
+ return this;
39
+ };
40
+ Object.defineProperty(MP4RecordConfig.prototype, "recordMaxDurationToMergeFile", {
41
+ get: function () {
42
+ return this['record_max_duration_to_merge_file'];
43
+ },
44
+ set: function (recordMaxDurationToMergeFile) {
45
+ this['record_max_duration_to_merge_file'] = recordMaxDurationToMergeFile;
46
+ },
47
+ enumerable: false,
48
+ configurable: true
49
+ });
50
+ return MP4RecordConfig;
51
+ }());
52
+ exports.MP4RecordConfig = MP4RecordConfig;
@@ -0,0 +1,18 @@
1
+ import { MixParam } from './MixParam';
2
+ import { PublishParam } from './PublishParam';
3
+ import { RecordParam } from './RecordParam';
4
+ export declare class MixJobReq {
5
+ private 'mix_param';
6
+ private 'publish_param'?;
7
+ private 'record_param'?;
8
+ constructor(mixParam?: any);
9
+ withMixParam(mixParam: MixParam): MixJobReq;
10
+ set mixParam(mixParam: MixParam | undefined);
11
+ get mixParam(): MixParam | undefined;
12
+ withPublishParam(publishParam: PublishParam): MixJobReq;
13
+ set publishParam(publishParam: PublishParam | undefined);
14
+ get publishParam(): PublishParam | undefined;
15
+ withRecordParam(recordParam: RecordParam): MixJobReq;
16
+ set recordParam(recordParam: RecordParam | undefined);
17
+ get recordParam(): RecordParam | undefined;
18
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MixJobReq = void 0;
4
+ var MixJobReq = /** @class */ (function () {
5
+ function MixJobReq(mixParam) {
6
+ this['mix_param'] = mixParam;
7
+ }
8
+ MixJobReq.prototype.withMixParam = function (mixParam) {
9
+ this['mix_param'] = mixParam;
10
+ return this;
11
+ };
12
+ Object.defineProperty(MixJobReq.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
+ MixJobReq.prototype.withPublishParam = function (publishParam) {
23
+ this['publish_param'] = publishParam;
24
+ return this;
25
+ };
26
+ Object.defineProperty(MixJobReq.prototype, "publishParam", {
27
+ get: function () {
28
+ return this['publish_param'];
29
+ },
30
+ set: function (publishParam) {
31
+ this['publish_param'] = publishParam;
32
+ },
33
+ enumerable: false,
34
+ configurable: true
35
+ });
36
+ MixJobReq.prototype.withRecordParam = function (recordParam) {
37
+ this['record_param'] = recordParam;
38
+ return this;
39
+ };
40
+ Object.defineProperty(MixJobReq.prototype, "recordParam", {
41
+ get: function () {
42
+ return this['record_param'];
43
+ },
44
+ set: function (recordParam) {
45
+ this['record_param'] = recordParam;
46
+ },
47
+ enumerable: false,
48
+ configurable: true
49
+ });
50
+ return MixJobReq;
51
+ }());
52
+ exports.MixJobReq = MixJobReq;
@@ -0,0 +1,55 @@
1
+ export declare class MixLayoutPane {
2
+ id?: number;
3
+ private 'user_id'?;
4
+ private 'video_type'?;
5
+ x?: number;
6
+ y?: number;
7
+ width?: number;
8
+ height?: number;
9
+ zorder?: number;
10
+ private 'crop_mode'?;
11
+ private 'filling_policy'?;
12
+ constructor();
13
+ withId(id: number): MixLayoutPane;
14
+ withUserId(userId: string): MixLayoutPane;
15
+ set userId(userId: string | undefined);
16
+ get userId(): string | undefined;
17
+ withVideoType(videoType: MixLayoutPaneVideoTypeEnum): MixLayoutPane;
18
+ set videoType(videoType: MixLayoutPaneVideoTypeEnum | undefined);
19
+ get videoType(): MixLayoutPaneVideoTypeEnum | undefined;
20
+ withX(x: number): MixLayoutPane;
21
+ withY(y: number): MixLayoutPane;
22
+ withWidth(width: number): MixLayoutPane;
23
+ withHeight(height: number): MixLayoutPane;
24
+ withZorder(zorder: number): MixLayoutPane;
25
+ withCropMode(cropMode: MixLayoutPaneCropModeEnum): MixLayoutPane;
26
+ set cropMode(cropMode: MixLayoutPaneCropModeEnum | undefined);
27
+ get cropMode(): MixLayoutPaneCropModeEnum | undefined;
28
+ withFillingPolicy(fillingPolicy: MixLayoutPaneFillingPolicyEnum): MixLayoutPane;
29
+ set fillingPolicy(fillingPolicy: MixLayoutPaneFillingPolicyEnum | undefined);
30
+ get fillingPolicy(): MixLayoutPaneFillingPolicyEnum | undefined;
31
+ }
32
+ /**
33
+ * @export
34
+ * @enum {string}
35
+ */
36
+ export declare enum MixLayoutPaneVideoTypeEnum {
37
+ CAMERASTREAM = "CAMERASTREAM",
38
+ SCREENSTREAM = "SCREENSTREAM"
39
+ }
40
+ /**
41
+ * @export
42
+ * @enum {string}
43
+ */
44
+ export declare enum MixLayoutPaneCropModeEnum {
45
+ KEEP_RATIO_PADDING = "KEEP_RATIO_PADDING",
46
+ KEEP_RATIO_CROP = "KEEP_RATIO_CROP"
47
+ }
48
+ /**
49
+ * @export
50
+ * @enum {string}
51
+ */
52
+ export declare enum MixLayoutPaneFillingPolicyEnum {
53
+ FIXED_USER = "FIXED_USER",
54
+ SHARED_SCREEN = "SHARED_SCREEN"
55
+ }