@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,125 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RtcHistoryScaleTimeValue = void 0;
4
+ var RtcHistoryScaleTimeValue = /** @class */ (function () {
5
+ function RtcHistoryScaleTimeValue() {
6
+ }
7
+ RtcHistoryScaleTimeValue.prototype.withDate = function (date) {
8
+ this['date'] = date;
9
+ return this;
10
+ };
11
+ RtcHistoryScaleTimeValue.prototype.withUserCount = function (userCount) {
12
+ this['user_count'] = userCount;
13
+ return this;
14
+ };
15
+ Object.defineProperty(RtcHistoryScaleTimeValue.prototype, "userCount", {
16
+ get: function () {
17
+ return this['user_count'];
18
+ },
19
+ set: function (userCount) {
20
+ this['user_count'] = userCount;
21
+ },
22
+ enumerable: false,
23
+ configurable: true
24
+ });
25
+ RtcHistoryScaleTimeValue.prototype.withSessionCount = function (sessionCount) {
26
+ this['session_count'] = sessionCount;
27
+ return this;
28
+ };
29
+ Object.defineProperty(RtcHistoryScaleTimeValue.prototype, "sessionCount", {
30
+ get: function () {
31
+ return this['session_count'];
32
+ },
33
+ set: function (sessionCount) {
34
+ this['session_count'] = sessionCount;
35
+ },
36
+ enumerable: false,
37
+ configurable: true
38
+ });
39
+ RtcHistoryScaleTimeValue.prototype.withRoomCount = function (roomCount) {
40
+ this['room_count'] = roomCount;
41
+ return this;
42
+ };
43
+ Object.defineProperty(RtcHistoryScaleTimeValue.prototype, "roomCount", {
44
+ get: function () {
45
+ return this['room_count'];
46
+ },
47
+ set: function (roomCount) {
48
+ this['room_count'] = roomCount;
49
+ },
50
+ enumerable: false,
51
+ configurable: true
52
+ });
53
+ RtcHistoryScaleTimeValue.prototype.withMaxOnlineUserCount = function (maxOnlineUserCount) {
54
+ this['max_online_user_count'] = maxOnlineUserCount;
55
+ return this;
56
+ };
57
+ Object.defineProperty(RtcHistoryScaleTimeValue.prototype, "maxOnlineUserCount", {
58
+ get: function () {
59
+ return this['max_online_user_count'];
60
+ },
61
+ set: function (maxOnlineUserCount) {
62
+ this['max_online_user_count'] = maxOnlineUserCount;
63
+ },
64
+ enumerable: false,
65
+ configurable: true
66
+ });
67
+ RtcHistoryScaleTimeValue.prototype.withMaxOnlineRoomCount = function (maxOnlineRoomCount) {
68
+ this['max_online_room_count'] = maxOnlineRoomCount;
69
+ return this;
70
+ };
71
+ Object.defineProperty(RtcHistoryScaleTimeValue.prototype, "maxOnlineRoomCount", {
72
+ get: function () {
73
+ return this['max_online_room_count'];
74
+ },
75
+ set: function (maxOnlineRoomCount) {
76
+ this['max_online_room_count'] = maxOnlineRoomCount;
77
+ },
78
+ enumerable: false,
79
+ configurable: true
80
+ });
81
+ RtcHistoryScaleTimeValue.prototype.withCommunicationDuration = function (communicationDuration) {
82
+ this['communication_duration'] = communicationDuration;
83
+ return this;
84
+ };
85
+ Object.defineProperty(RtcHistoryScaleTimeValue.prototype, "communicationDuration", {
86
+ get: function () {
87
+ return this['communication_duration'];
88
+ },
89
+ set: function (communicationDuration) {
90
+ this['communication_duration'] = communicationDuration;
91
+ },
92
+ enumerable: false,
93
+ configurable: true
94
+ });
95
+ RtcHistoryScaleTimeValue.prototype.withVideoCommunicationDuration = function (videoCommunicationDuration) {
96
+ this['video_communication_duration'] = videoCommunicationDuration;
97
+ return this;
98
+ };
99
+ Object.defineProperty(RtcHistoryScaleTimeValue.prototype, "videoCommunicationDuration", {
100
+ get: function () {
101
+ return this['video_communication_duration'];
102
+ },
103
+ set: function (videoCommunicationDuration) {
104
+ this['video_communication_duration'] = videoCommunicationDuration;
105
+ },
106
+ enumerable: false,
107
+ configurable: true
108
+ });
109
+ RtcHistoryScaleTimeValue.prototype.withAudioCommunicationDuration = function (audioCommunicationDuration) {
110
+ this['audio_communication_duration'] = audioCommunicationDuration;
111
+ return this;
112
+ };
113
+ Object.defineProperty(RtcHistoryScaleTimeValue.prototype, "audioCommunicationDuration", {
114
+ get: function () {
115
+ return this['audio_communication_duration'];
116
+ },
117
+ set: function (audioCommunicationDuration) {
118
+ this['audio_communication_duration'] = audioCommunicationDuration;
119
+ },
120
+ enumerable: false,
121
+ configurable: true
122
+ });
123
+ return RtcHistoryScaleTimeValue;
124
+ }());
125
+ exports.RtcHistoryScaleTimeValue = RtcHistoryScaleTimeValue;
@@ -0,0 +1,23 @@
1
+ export declare class RtcHistoryUsage {
2
+ date?: string;
3
+ private 'video_sd'?;
4
+ private 'video_hd'?;
5
+ private 'video_hdp'?;
6
+ audio?: number;
7
+ private 'total_duration'?;
8
+ constructor();
9
+ withDate(date: string): RtcHistoryUsage;
10
+ withVideoSd(videoSd: number): RtcHistoryUsage;
11
+ set videoSd(videoSd: number | undefined);
12
+ get videoSd(): number | undefined;
13
+ withVideoHd(videoHd: number): RtcHistoryUsage;
14
+ set videoHd(videoHd: number | undefined);
15
+ get videoHd(): number | undefined;
16
+ withVideoHdp(videoHdp: number): RtcHistoryUsage;
17
+ set videoHdp(videoHdp: number | undefined);
18
+ get videoHdp(): number | undefined;
19
+ withAudio(audio: number): RtcHistoryUsage;
20
+ withTotalDuration(totalDuration: number): RtcHistoryUsage;
21
+ set totalDuration(totalDuration: number | undefined);
22
+ get totalDuration(): number | undefined;
23
+ }
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RtcHistoryUsage = void 0;
4
+ var RtcHistoryUsage = /** @class */ (function () {
5
+ function RtcHistoryUsage() {
6
+ }
7
+ RtcHistoryUsage.prototype.withDate = function (date) {
8
+ this['date'] = date;
9
+ return this;
10
+ };
11
+ RtcHistoryUsage.prototype.withVideoSd = function (videoSd) {
12
+ this['video_sd'] = videoSd;
13
+ return this;
14
+ };
15
+ Object.defineProperty(RtcHistoryUsage.prototype, "videoSd", {
16
+ get: function () {
17
+ return this['video_sd'];
18
+ },
19
+ set: function (videoSd) {
20
+ this['video_sd'] = videoSd;
21
+ },
22
+ enumerable: false,
23
+ configurable: true
24
+ });
25
+ RtcHistoryUsage.prototype.withVideoHd = function (videoHd) {
26
+ this['video_hd'] = videoHd;
27
+ return this;
28
+ };
29
+ Object.defineProperty(RtcHistoryUsage.prototype, "videoHd", {
30
+ get: function () {
31
+ return this['video_hd'];
32
+ },
33
+ set: function (videoHd) {
34
+ this['video_hd'] = videoHd;
35
+ },
36
+ enumerable: false,
37
+ configurable: true
38
+ });
39
+ RtcHistoryUsage.prototype.withVideoHdp = function (videoHdp) {
40
+ this['video_hdp'] = videoHdp;
41
+ return this;
42
+ };
43
+ Object.defineProperty(RtcHistoryUsage.prototype, "videoHdp", {
44
+ get: function () {
45
+ return this['video_hdp'];
46
+ },
47
+ set: function (videoHdp) {
48
+ this['video_hdp'] = videoHdp;
49
+ },
50
+ enumerable: false,
51
+ configurable: true
52
+ });
53
+ RtcHistoryUsage.prototype.withAudio = function (audio) {
54
+ this['audio'] = audio;
55
+ return this;
56
+ };
57
+ RtcHistoryUsage.prototype.withTotalDuration = function (totalDuration) {
58
+ this['total_duration'] = totalDuration;
59
+ return this;
60
+ };
61
+ Object.defineProperty(RtcHistoryUsage.prototype, "totalDuration", {
62
+ get: function () {
63
+ return this['total_duration'];
64
+ },
65
+ set: function (totalDuration) {
66
+ this['total_duration'] = totalDuration;
67
+ },
68
+ enumerable: false,
69
+ configurable: true
70
+ });
71
+ return RtcHistoryUsage;
72
+ }());
73
+ exports.RtcHistoryUsage = RtcHistoryUsage;
@@ -0,0 +1,31 @@
1
+ export declare class RtcServerRoomInfo {
2
+ domain?: string;
3
+ app?: string;
4
+ private 'room_id'?;
5
+ state?: RtcServerRoomInfoStateEnum;
6
+ duration?: number;
7
+ private 'start_time'?;
8
+ private 'end_time'?;
9
+ constructor();
10
+ withDomain(domain: string): RtcServerRoomInfo;
11
+ withApp(app: string): RtcServerRoomInfo;
12
+ withRoomId(roomId: string): RtcServerRoomInfo;
13
+ set roomId(roomId: string | undefined);
14
+ get roomId(): string | undefined;
15
+ withState(state: RtcServerRoomInfoStateEnum): RtcServerRoomInfo;
16
+ withDuration(duration: number): RtcServerRoomInfo;
17
+ withStartTime(startTime: string): RtcServerRoomInfo;
18
+ set startTime(startTime: string | undefined);
19
+ get startTime(): string | undefined;
20
+ withEndTime(endTime: string): RtcServerRoomInfo;
21
+ set endTime(endTime: string | undefined);
22
+ get endTime(): string | undefined;
23
+ }
24
+ /**
25
+ * @export
26
+ * @enum {string}
27
+ */
28
+ export declare enum RtcServerRoomInfoStateEnum {
29
+ RUNNING = "RUNNING",
30
+ CLOSED = "CLOSED"
31
+ }
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RtcServerRoomInfoStateEnum = exports.RtcServerRoomInfo = void 0;
4
+ var RtcServerRoomInfo = /** @class */ (function () {
5
+ function RtcServerRoomInfo() {
6
+ }
7
+ RtcServerRoomInfo.prototype.withDomain = function (domain) {
8
+ this['domain'] = domain;
9
+ return this;
10
+ };
11
+ RtcServerRoomInfo.prototype.withApp = function (app) {
12
+ this['app'] = app;
13
+ return this;
14
+ };
15
+ RtcServerRoomInfo.prototype.withRoomId = function (roomId) {
16
+ this['room_id'] = roomId;
17
+ return this;
18
+ };
19
+ Object.defineProperty(RtcServerRoomInfo.prototype, "roomId", {
20
+ get: function () {
21
+ return this['room_id'];
22
+ },
23
+ set: function (roomId) {
24
+ this['room_id'] = roomId;
25
+ },
26
+ enumerable: false,
27
+ configurable: true
28
+ });
29
+ RtcServerRoomInfo.prototype.withState = function (state) {
30
+ this['state'] = state;
31
+ return this;
32
+ };
33
+ RtcServerRoomInfo.prototype.withDuration = function (duration) {
34
+ this['duration'] = duration;
35
+ return this;
36
+ };
37
+ RtcServerRoomInfo.prototype.withStartTime = function (startTime) {
38
+ this['start_time'] = startTime;
39
+ return this;
40
+ };
41
+ Object.defineProperty(RtcServerRoomInfo.prototype, "startTime", {
42
+ get: function () {
43
+ return this['start_time'];
44
+ },
45
+ set: function (startTime) {
46
+ this['start_time'] = startTime;
47
+ },
48
+ enumerable: false,
49
+ configurable: true
50
+ });
51
+ RtcServerRoomInfo.prototype.withEndTime = function (endTime) {
52
+ this['end_time'] = endTime;
53
+ return this;
54
+ };
55
+ Object.defineProperty(RtcServerRoomInfo.prototype, "endTime", {
56
+ get: function () {
57
+ return this['end_time'];
58
+ },
59
+ set: function (endTime) {
60
+ this['end_time'] = endTime;
61
+ },
62
+ enumerable: false,
63
+ configurable: true
64
+ });
65
+ return RtcServerRoomInfo;
66
+ }());
67
+ exports.RtcServerRoomInfo = RtcServerRoomInfo;
68
+ /**
69
+ * @export
70
+ * @enum {string}
71
+ */
72
+ var RtcServerRoomInfoStateEnum;
73
+ (function (RtcServerRoomInfoStateEnum) {
74
+ RtcServerRoomInfoStateEnum["RUNNING"] = "RUNNING";
75
+ RtcServerRoomInfoStateEnum["CLOSED"] = "CLOSED";
76
+ })(RtcServerRoomInfoStateEnum || (exports.RtcServerRoomInfoStateEnum = RtcServerRoomInfoStateEnum = {}));
@@ -0,0 +1,52 @@
1
+ export declare class RtcUser {
2
+ domain?: string;
3
+ app?: string;
4
+ private 'room_id'?;
5
+ uid?: string;
6
+ session?: string;
7
+ state?: RtcUserStateEnum;
8
+ private 'nick_name'?;
9
+ ip?: string;
10
+ region?: string;
11
+ isp?: string;
12
+ private 'device_model'?;
13
+ platform?: string;
14
+ sdk?: string;
15
+ private 'join_time'?;
16
+ private 'leave_time'?;
17
+ constructor();
18
+ withDomain(domain: string): RtcUser;
19
+ withApp(app: string): RtcUser;
20
+ withRoomId(roomId: string): RtcUser;
21
+ set roomId(roomId: string | undefined);
22
+ get roomId(): string | undefined;
23
+ withUid(uid: string): RtcUser;
24
+ withSession(session: string): RtcUser;
25
+ withState(state: RtcUserStateEnum): RtcUser;
26
+ withNickName(nickName: string): RtcUser;
27
+ set nickName(nickName: string | undefined);
28
+ get nickName(): string | undefined;
29
+ withIp(ip: string): RtcUser;
30
+ withRegion(region: string): RtcUser;
31
+ withIsp(isp: string): RtcUser;
32
+ withDeviceModel(deviceModel: string): RtcUser;
33
+ set deviceModel(deviceModel: string | undefined);
34
+ get deviceModel(): string | undefined;
35
+ withPlatform(platform: string): RtcUser;
36
+ withSdk(sdk: string): RtcUser;
37
+ withJoinTime(joinTime: string): RtcUser;
38
+ set joinTime(joinTime: string | undefined);
39
+ get joinTime(): string | undefined;
40
+ withLeaveTime(leaveTime: string): RtcUser;
41
+ set leaveTime(leaveTime: string | undefined);
42
+ get leaveTime(): string | undefined;
43
+ }
44
+ /**
45
+ * @export
46
+ * @enum {string}
47
+ */
48
+ export declare enum RtcUserStateEnum {
49
+ FAIL = "FAIL",
50
+ ONLINE = "ONLINE",
51
+ OFFLINE = "OFFLINE"
52
+ }
@@ -0,0 +1,129 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RtcUserStateEnum = exports.RtcUser = void 0;
4
+ var RtcUser = /** @class */ (function () {
5
+ function RtcUser() {
6
+ }
7
+ RtcUser.prototype.withDomain = function (domain) {
8
+ this['domain'] = domain;
9
+ return this;
10
+ };
11
+ RtcUser.prototype.withApp = function (app) {
12
+ this['app'] = app;
13
+ return this;
14
+ };
15
+ RtcUser.prototype.withRoomId = function (roomId) {
16
+ this['room_id'] = roomId;
17
+ return this;
18
+ };
19
+ Object.defineProperty(RtcUser.prototype, "roomId", {
20
+ get: function () {
21
+ return this['room_id'];
22
+ },
23
+ set: function (roomId) {
24
+ this['room_id'] = roomId;
25
+ },
26
+ enumerable: false,
27
+ configurable: true
28
+ });
29
+ RtcUser.prototype.withUid = function (uid) {
30
+ this['uid'] = uid;
31
+ return this;
32
+ };
33
+ RtcUser.prototype.withSession = function (session) {
34
+ this['session'] = session;
35
+ return this;
36
+ };
37
+ RtcUser.prototype.withState = function (state) {
38
+ this['state'] = state;
39
+ return this;
40
+ };
41
+ RtcUser.prototype.withNickName = function (nickName) {
42
+ this['nick_name'] = nickName;
43
+ return this;
44
+ };
45
+ Object.defineProperty(RtcUser.prototype, "nickName", {
46
+ get: function () {
47
+ return this['nick_name'];
48
+ },
49
+ set: function (nickName) {
50
+ this['nick_name'] = nickName;
51
+ },
52
+ enumerable: false,
53
+ configurable: true
54
+ });
55
+ RtcUser.prototype.withIp = function (ip) {
56
+ this['ip'] = ip;
57
+ return this;
58
+ };
59
+ RtcUser.prototype.withRegion = function (region) {
60
+ this['region'] = region;
61
+ return this;
62
+ };
63
+ RtcUser.prototype.withIsp = function (isp) {
64
+ this['isp'] = isp;
65
+ return this;
66
+ };
67
+ RtcUser.prototype.withDeviceModel = function (deviceModel) {
68
+ this['device_model'] = deviceModel;
69
+ return this;
70
+ };
71
+ Object.defineProperty(RtcUser.prototype, "deviceModel", {
72
+ get: function () {
73
+ return this['device_model'];
74
+ },
75
+ set: function (deviceModel) {
76
+ this['device_model'] = deviceModel;
77
+ },
78
+ enumerable: false,
79
+ configurable: true
80
+ });
81
+ RtcUser.prototype.withPlatform = function (platform) {
82
+ this['platform'] = platform;
83
+ return this;
84
+ };
85
+ RtcUser.prototype.withSdk = function (sdk) {
86
+ this['sdk'] = sdk;
87
+ return this;
88
+ };
89
+ RtcUser.prototype.withJoinTime = function (joinTime) {
90
+ this['join_time'] = joinTime;
91
+ return this;
92
+ };
93
+ Object.defineProperty(RtcUser.prototype, "joinTime", {
94
+ get: function () {
95
+ return this['join_time'];
96
+ },
97
+ set: function (joinTime) {
98
+ this['join_time'] = joinTime;
99
+ },
100
+ enumerable: false,
101
+ configurable: true
102
+ });
103
+ RtcUser.prototype.withLeaveTime = function (leaveTime) {
104
+ this['leave_time'] = leaveTime;
105
+ return this;
106
+ };
107
+ Object.defineProperty(RtcUser.prototype, "leaveTime", {
108
+ get: function () {
109
+ return this['leave_time'];
110
+ },
111
+ set: function (leaveTime) {
112
+ this['leave_time'] = leaveTime;
113
+ },
114
+ enumerable: false,
115
+ configurable: true
116
+ });
117
+ return RtcUser;
118
+ }());
119
+ exports.RtcUser = RtcUser;
120
+ /**
121
+ * @export
122
+ * @enum {string}
123
+ */
124
+ var RtcUserStateEnum;
125
+ (function (RtcUserStateEnum) {
126
+ RtcUserStateEnum["FAIL"] = "FAIL";
127
+ RtcUserStateEnum["ONLINE"] = "ONLINE";
128
+ RtcUserStateEnum["OFFLINE"] = "OFFLINE";
129
+ })(RtcUserStateEnum || (exports.RtcUserStateEnum = RtcUserStateEnum = {}));
@@ -0,0 +1,7 @@
1
+ export declare class TimeDoubleValueData {
2
+ time?: string;
3
+ value?: number;
4
+ constructor();
5
+ withTime(time: string): TimeDoubleValueData;
6
+ withValue(value: number): TimeDoubleValueData;
7
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TimeDoubleValueData = void 0;
4
+ var TimeDoubleValueData = /** @class */ (function () {
5
+ function TimeDoubleValueData() {
6
+ }
7
+ TimeDoubleValueData.prototype.withTime = function (time) {
8
+ this['time'] = time;
9
+ return this;
10
+ };
11
+ TimeDoubleValueData.prototype.withValue = function (value) {
12
+ this['value'] = value;
13
+ return this;
14
+ };
15
+ return TimeDoubleValueData;
16
+ }());
17
+ exports.TimeDoubleValueData = TimeDoubleValueData;
@@ -0,0 +1,7 @@
1
+ export declare class TimeFloatValueData {
2
+ time?: string;
3
+ value?: number;
4
+ constructor();
5
+ withTime(time: string): TimeFloatValueData;
6
+ withValue(value: number): TimeFloatValueData;
7
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TimeFloatValueData = void 0;
4
+ var TimeFloatValueData = /** @class */ (function () {
5
+ function TimeFloatValueData() {
6
+ }
7
+ TimeFloatValueData.prototype.withTime = function (time) {
8
+ this['time'] = time;
9
+ return this;
10
+ };
11
+ TimeFloatValueData.prototype.withValue = function (value) {
12
+ this['value'] = value;
13
+ return this;
14
+ };
15
+ return TimeFloatValueData;
16
+ }());
17
+ exports.TimeFloatValueData = TimeFloatValueData;
@@ -0,0 +1,7 @@
1
+ export declare class TimeValueData {
2
+ time?: string;
3
+ value?: number;
4
+ constructor();
5
+ withTime(time: string): TimeValueData;
6
+ withValue(value: number): TimeValueData;
7
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TimeValueData = void 0;
4
+ var TimeValueData = /** @class */ (function () {
5
+ function TimeValueData() {
6
+ }
7
+ TimeValueData.prototype.withTime = function (time) {
8
+ this['time'] = time;
9
+ return this;
10
+ };
11
+ TimeValueData.prototype.withValue = function (value) {
12
+ this['value'] = value;
13
+ return this;
14
+ };
15
+ return TimeValueData;
16
+ }());
17
+ exports.TimeValueData = TimeValueData;
@@ -0,0 +1,38 @@
1
+ export * from './CloudRTCClient';
2
+ export * from './model/AbnormalEvent';
3
+ export * from './model/AbnormalEventDimensionValue';
4
+ export * from './model/ListRtcAbnormalEventDimensionRequest';
5
+ export * from './model/ListRtcAbnormalEventDimensionResponse';
6
+ export * from './model/ListRtcAbnormalEventsRequest';
7
+ export * from './model/ListRtcAbnormalEventsResponse';
8
+ export * from './model/ListRtcClientQosDetailsRequest';
9
+ export * from './model/ListRtcClientQosDetailsResponse';
10
+ export * from './model/ListRtcHistoryQualityRequest';
11
+ export * from './model/ListRtcHistoryQualityResponse';
12
+ export * from './model/ListRtcHistoryScaleRequest';
13
+ export * from './model/ListRtcHistoryScaleResponse';
14
+ export * from './model/ListRtcHistoryUsageRequest';
15
+ export * from './model/ListRtcHistoryUsageResponse';
16
+ export * from './model/ListRtcRealtimeNetworkRequest';
17
+ export * from './model/ListRtcRealtimeNetworkResponse';
18
+ export * from './model/ListRtcRealtimeQualityRequest';
19
+ export * from './model/ListRtcRealtimeQualityResponse';
20
+ export * from './model/ListRtcRealtimeScaleDimensionRequest';
21
+ export * from './model/ListRtcRealtimeScaleDimensionResponse';
22
+ export * from './model/ListRtcRealtimeScaleRequest';
23
+ export * from './model/ListRtcRealtimeScaleResponse';
24
+ export * from './model/ListRtcRoomListRequest';
25
+ export * from './model/ListRtcRoomListResponse';
26
+ export * from './model/ListRtcUserListRequest';
27
+ export * from './model/ListRtcUserListResponse';
28
+ export * from './model/QosQualityData';
29
+ export * from './model/RealtimeScaleDimensionValue';
30
+ export * from './model/RtcHistoryQualityTimeValue';
31
+ export * from './model/RtcHistoryScaleTimeValue';
32
+ export * from './model/RtcHistoryUsage';
33
+ export * from './model/RtcServerRoomInfo';
34
+ export * from './model/RtcUser';
35
+ export * from './model/TimeDoubleValueData';
36
+ export * from './model/TimeFloatValueData';
37
+ export * from './model/TimeValueData';
38
+ export * from './CloudRTCRegion';