@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,51 @@
1
+ import { HLSRecordConfig } from './HLSRecordConfig';
2
+ import { MP4RecordConfig } from './MP4RecordConfig';
3
+ import { RecordObsFileAddr } from './RecordObsFileAddr';
4
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
5
+ export declare class UpdateRecordRuleResponse extends SdkResponse {
6
+ private 'rule_id'?;
7
+ private 'app_id'?;
8
+ private 'obs_addr'?;
9
+ private 'record_formats'?;
10
+ private 'hls_config'?;
11
+ private 'mp4_config'?;
12
+ private 'create_time'?;
13
+ private 'update_time'?;
14
+ private 'X-request-Id'?;
15
+ constructor();
16
+ withRuleId(ruleId: string): UpdateRecordRuleResponse;
17
+ set ruleId(ruleId: string | undefined);
18
+ get ruleId(): string | undefined;
19
+ withAppId(appId: string): UpdateRecordRuleResponse;
20
+ set appId(appId: string | undefined);
21
+ get appId(): string | undefined;
22
+ withObsAddr(obsAddr: RecordObsFileAddr): UpdateRecordRuleResponse;
23
+ set obsAddr(obsAddr: RecordObsFileAddr | undefined);
24
+ get obsAddr(): RecordObsFileAddr | undefined;
25
+ withRecordFormats(recordFormats: Array<UpdateRecordRuleResponseRecordFormatsEnum>): UpdateRecordRuleResponse;
26
+ set recordFormats(recordFormats: Array<UpdateRecordRuleResponseRecordFormatsEnum> | undefined);
27
+ get recordFormats(): Array<UpdateRecordRuleResponseRecordFormatsEnum> | undefined;
28
+ withHlsConfig(hlsConfig: HLSRecordConfig): UpdateRecordRuleResponse;
29
+ set hlsConfig(hlsConfig: HLSRecordConfig | undefined);
30
+ get hlsConfig(): HLSRecordConfig | undefined;
31
+ withMp4Config(mp4Config: MP4RecordConfig): UpdateRecordRuleResponse;
32
+ set mp4Config(mp4Config: MP4RecordConfig | undefined);
33
+ get mp4Config(): MP4RecordConfig | undefined;
34
+ withCreateTime(createTime: string): UpdateRecordRuleResponse;
35
+ set createTime(createTime: string | undefined);
36
+ get createTime(): string | undefined;
37
+ withUpdateTime(updateTime: string): UpdateRecordRuleResponse;
38
+ set updateTime(updateTime: string | undefined);
39
+ get updateTime(): string | undefined;
40
+ withXRequestId(xRequestId: string): UpdateRecordRuleResponse;
41
+ set xRequestId(xRequestId: string | undefined);
42
+ get xRequestId(): string | undefined;
43
+ }
44
+ /**
45
+ * @export
46
+ * @enum {string}
47
+ */
48
+ export declare enum UpdateRecordRuleResponseRecordFormatsEnum {
49
+ HLS = "HLS",
50
+ MP4 = "MP4"
51
+ }
@@ -0,0 +1,162 @@
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.UpdateRecordRuleResponseRecordFormatsEnum = exports.UpdateRecordRuleResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var UpdateRecordRuleResponse = /** @class */ (function (_super) {
21
+ __extends(UpdateRecordRuleResponse, _super);
22
+ function UpdateRecordRuleResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ UpdateRecordRuleResponse.prototype.withRuleId = function (ruleId) {
26
+ this['rule_id'] = ruleId;
27
+ return this;
28
+ };
29
+ Object.defineProperty(UpdateRecordRuleResponse.prototype, "ruleId", {
30
+ get: function () {
31
+ return this['rule_id'];
32
+ },
33
+ set: function (ruleId) {
34
+ this['rule_id'] = ruleId;
35
+ },
36
+ enumerable: false,
37
+ configurable: true
38
+ });
39
+ UpdateRecordRuleResponse.prototype.withAppId = function (appId) {
40
+ this['app_id'] = appId;
41
+ return this;
42
+ };
43
+ Object.defineProperty(UpdateRecordRuleResponse.prototype, "appId", {
44
+ get: function () {
45
+ return this['app_id'];
46
+ },
47
+ set: function (appId) {
48
+ this['app_id'] = appId;
49
+ },
50
+ enumerable: false,
51
+ configurable: true
52
+ });
53
+ UpdateRecordRuleResponse.prototype.withObsAddr = function (obsAddr) {
54
+ this['obs_addr'] = obsAddr;
55
+ return this;
56
+ };
57
+ Object.defineProperty(UpdateRecordRuleResponse.prototype, "obsAddr", {
58
+ get: function () {
59
+ return this['obs_addr'];
60
+ },
61
+ set: function (obsAddr) {
62
+ this['obs_addr'] = obsAddr;
63
+ },
64
+ enumerable: false,
65
+ configurable: true
66
+ });
67
+ UpdateRecordRuleResponse.prototype.withRecordFormats = function (recordFormats) {
68
+ this['record_formats'] = recordFormats;
69
+ return this;
70
+ };
71
+ Object.defineProperty(UpdateRecordRuleResponse.prototype, "recordFormats", {
72
+ get: function () {
73
+ return this['record_formats'];
74
+ },
75
+ set: function (recordFormats) {
76
+ this['record_formats'] = recordFormats;
77
+ },
78
+ enumerable: false,
79
+ configurable: true
80
+ });
81
+ UpdateRecordRuleResponse.prototype.withHlsConfig = function (hlsConfig) {
82
+ this['hls_config'] = hlsConfig;
83
+ return this;
84
+ };
85
+ Object.defineProperty(UpdateRecordRuleResponse.prototype, "hlsConfig", {
86
+ get: function () {
87
+ return this['hls_config'];
88
+ },
89
+ set: function (hlsConfig) {
90
+ this['hls_config'] = hlsConfig;
91
+ },
92
+ enumerable: false,
93
+ configurable: true
94
+ });
95
+ UpdateRecordRuleResponse.prototype.withMp4Config = function (mp4Config) {
96
+ this['mp4_config'] = mp4Config;
97
+ return this;
98
+ };
99
+ Object.defineProperty(UpdateRecordRuleResponse.prototype, "mp4Config", {
100
+ get: function () {
101
+ return this['mp4_config'];
102
+ },
103
+ set: function (mp4Config) {
104
+ this['mp4_config'] = mp4Config;
105
+ },
106
+ enumerable: false,
107
+ configurable: true
108
+ });
109
+ UpdateRecordRuleResponse.prototype.withCreateTime = function (createTime) {
110
+ this['create_time'] = createTime;
111
+ return this;
112
+ };
113
+ Object.defineProperty(UpdateRecordRuleResponse.prototype, "createTime", {
114
+ get: function () {
115
+ return this['create_time'];
116
+ },
117
+ set: function (createTime) {
118
+ this['create_time'] = createTime;
119
+ },
120
+ enumerable: false,
121
+ configurable: true
122
+ });
123
+ UpdateRecordRuleResponse.prototype.withUpdateTime = function (updateTime) {
124
+ this['update_time'] = updateTime;
125
+ return this;
126
+ };
127
+ Object.defineProperty(UpdateRecordRuleResponse.prototype, "updateTime", {
128
+ get: function () {
129
+ return this['update_time'];
130
+ },
131
+ set: function (updateTime) {
132
+ this['update_time'] = updateTime;
133
+ },
134
+ enumerable: false,
135
+ configurable: true
136
+ });
137
+ UpdateRecordRuleResponse.prototype.withXRequestId = function (xRequestId) {
138
+ this['X-request-Id'] = xRequestId;
139
+ return this;
140
+ };
141
+ Object.defineProperty(UpdateRecordRuleResponse.prototype, "xRequestId", {
142
+ get: function () {
143
+ return this['X-request-Id'];
144
+ },
145
+ set: function (xRequestId) {
146
+ this['X-request-Id'] = xRequestId;
147
+ },
148
+ enumerable: false,
149
+ configurable: true
150
+ });
151
+ return UpdateRecordRuleResponse;
152
+ }(SdkResponse_1.SdkResponse));
153
+ exports.UpdateRecordRuleResponse = UpdateRecordRuleResponse;
154
+ /**
155
+ * @export
156
+ * @enum {string}
157
+ */
158
+ var UpdateRecordRuleResponseRecordFormatsEnum;
159
+ (function (UpdateRecordRuleResponseRecordFormatsEnum) {
160
+ UpdateRecordRuleResponseRecordFormatsEnum["HLS"] = "HLS";
161
+ UpdateRecordRuleResponseRecordFormatsEnum["MP4"] = "MP4";
162
+ })(UpdateRecordRuleResponseRecordFormatsEnum || (exports.UpdateRecordRuleResponseRecordFormatsEnum = UpdateRecordRuleResponseRecordFormatsEnum = {}));
@@ -0,0 +1,22 @@
1
+ import { AppAuthReq } from './AppAuthReq';
2
+ export declare class UpdateUrlAuthRequest {
3
+ private 'Authorization'?;
4
+ private 'X-Sdk-Date'?;
5
+ private 'X-Project-Id'?;
6
+ private 'app_id';
7
+ body?: AppAuthReq;
8
+ constructor(appId?: any);
9
+ withAuthorization(authorization: string): UpdateUrlAuthRequest;
10
+ set authorization(authorization: string | undefined);
11
+ get authorization(): string | undefined;
12
+ withXSdkDate(xSdkDate: string): UpdateUrlAuthRequest;
13
+ set xSdkDate(xSdkDate: string | undefined);
14
+ get xSdkDate(): string | undefined;
15
+ withXProjectId(xProjectId: string): UpdateUrlAuthRequest;
16
+ set xProjectId(xProjectId: string | undefined);
17
+ get xProjectId(): string | undefined;
18
+ withAppId(appId: string): UpdateUrlAuthRequest;
19
+ set appId(appId: string | undefined);
20
+ get appId(): string | undefined;
21
+ withBody(body: AppAuthReq): UpdateUrlAuthRequest;
22
+ }
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateUrlAuthRequest = void 0;
4
+ var UpdateUrlAuthRequest = /** @class */ (function () {
5
+ function UpdateUrlAuthRequest(appId) {
6
+ this['app_id'] = appId;
7
+ }
8
+ UpdateUrlAuthRequest.prototype.withAuthorization = function (authorization) {
9
+ this['Authorization'] = authorization;
10
+ return this;
11
+ };
12
+ Object.defineProperty(UpdateUrlAuthRequest.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
+ UpdateUrlAuthRequest.prototype.withXSdkDate = function (xSdkDate) {
23
+ this['X-Sdk-Date'] = xSdkDate;
24
+ return this;
25
+ };
26
+ Object.defineProperty(UpdateUrlAuthRequest.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
+ UpdateUrlAuthRequest.prototype.withXProjectId = function (xProjectId) {
37
+ this['X-Project-Id'] = xProjectId;
38
+ return this;
39
+ };
40
+ Object.defineProperty(UpdateUrlAuthRequest.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
+ UpdateUrlAuthRequest.prototype.withAppId = function (appId) {
51
+ this['app_id'] = appId;
52
+ return this;
53
+ };
54
+ Object.defineProperty(UpdateUrlAuthRequest.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
+ UpdateUrlAuthRequest.prototype.withBody = function (body) {
65
+ this['body'] = body;
66
+ return this;
67
+ };
68
+ return UpdateUrlAuthRequest;
69
+ }());
70
+ exports.UpdateUrlAuthRequest = UpdateUrlAuthRequest;
@@ -0,0 +1,15 @@
1
+ import { AppAuth } from './AppAuth';
2
+ import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
3
+ export declare class UpdateUrlAuthResponse extends SdkResponse {
4
+ private 'app_id'?;
5
+ authentication?: AppAuth;
6
+ private 'X-request-Id'?;
7
+ constructor();
8
+ withAppId(appId: string): UpdateUrlAuthResponse;
9
+ set appId(appId: string | undefined);
10
+ get appId(): string | undefined;
11
+ withAuthentication(authentication: AppAuth): UpdateUrlAuthResponse;
12
+ withXRequestId(xRequestId: string): UpdateUrlAuthResponse;
13
+ set xRequestId(xRequestId: string | undefined);
14
+ get xRequestId(): string | undefined;
15
+ }
@@ -0,0 +1,59 @@
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.UpdateUrlAuthResponse = void 0;
19
+ var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
20
+ var UpdateUrlAuthResponse = /** @class */ (function (_super) {
21
+ __extends(UpdateUrlAuthResponse, _super);
22
+ function UpdateUrlAuthResponse() {
23
+ return _super.call(this) || this;
24
+ }
25
+ UpdateUrlAuthResponse.prototype.withAppId = function (appId) {
26
+ this['app_id'] = appId;
27
+ return this;
28
+ };
29
+ Object.defineProperty(UpdateUrlAuthResponse.prototype, "appId", {
30
+ get: function () {
31
+ return this['app_id'];
32
+ },
33
+ set: function (appId) {
34
+ this['app_id'] = appId;
35
+ },
36
+ enumerable: false,
37
+ configurable: true
38
+ });
39
+ UpdateUrlAuthResponse.prototype.withAuthentication = function (authentication) {
40
+ this['authentication'] = authentication;
41
+ return this;
42
+ };
43
+ UpdateUrlAuthResponse.prototype.withXRequestId = function (xRequestId) {
44
+ this['X-request-Id'] = xRequestId;
45
+ return this;
46
+ };
47
+ Object.defineProperty(UpdateUrlAuthResponse.prototype, "xRequestId", {
48
+ get: function () {
49
+ return this['X-request-Id'];
50
+ },
51
+ set: function (xRequestId) {
52
+ this['X-request-Id'] = xRequestId;
53
+ },
54
+ enumerable: false,
55
+ configurable: true
56
+ });
57
+ return UpdateUrlAuthResponse;
58
+ }(SdkResponse_1.SdkResponse));
59
+ exports.UpdateUrlAuthResponse = UpdateUrlAuthResponse;
@@ -0,0 +1,82 @@
1
+ export * from './CloudRTCClient';
2
+ export * from './model/App';
3
+ export * from './model/AppAuth';
4
+ export * from './model/AppAuthReq';
5
+ export * from './model/AppAutoRecordMode';
6
+ export * from './model/AppCallbackUrl';
7
+ export * from './model/AppCallbackUrlReq';
8
+ export * from './model/AppCallbacks';
9
+ export * from './model/AppReq';
10
+ export * from './model/AppState';
11
+ export * from './model/AutoRecordModeReq';
12
+ export * from './model/CreateAppRequest';
13
+ export * from './model/CreateAppResponse';
14
+ export * from './model/CreateIndividualStreamJobRequest';
15
+ export * from './model/CreateIndividualStreamJobResponse';
16
+ export * from './model/CreateMixJobRequest';
17
+ export * from './model/CreateMixJobResponse';
18
+ export * from './model/CreateRecordRuleRequest';
19
+ export * from './model/CreateRecordRuleResponse';
20
+ export * from './model/DeleteAppRequest';
21
+ export * from './model/DeleteAppResponse';
22
+ export * from './model/DeleteRecordRuleRequest';
23
+ export * from './model/DeleteRecordRuleResponse';
24
+ export * from './model/HLSRecordConfig';
25
+ export * from './model/IndividualStreamJobReq';
26
+ export * from './model/ListAppsRequest';
27
+ export * from './model/ListAppsResponse';
28
+ export * from './model/ListRecordRulesRequest';
29
+ export * from './model/ListRecordRulesResponse';
30
+ export * from './model/MP4RecordConfig';
31
+ export * from './model/MixJobReq';
32
+ export * from './model/MixLayoutPane';
33
+ export * from './model/MixParam';
34
+ export * from './model/MixUserBackgroundImage';
35
+ export * from './model/PublishParam';
36
+ export * from './model/RecordObsFileAddr';
37
+ export * from './model/RecordParam';
38
+ export * from './model/RecordRule';
39
+ export * from './model/RecordRuleReq';
40
+ export * from './model/RemoveRoomRequest';
41
+ export * from './model/RemoveRoomResponse';
42
+ export * from './model/RemoveUsersReq';
43
+ export * from './model/RemoveUsersRequest';
44
+ export * from './model/RemoveUsersResponse';
45
+ export * from './model/ShowAppRequest';
46
+ export * from './model/ShowAppResponse';
47
+ export * from './model/ShowAutoRecordRequest';
48
+ export * from './model/ShowAutoRecordResponse';
49
+ export * from './model/ShowIndividualStreamJobRequest';
50
+ export * from './model/ShowIndividualStreamJobResponse';
51
+ export * from './model/ShowMixJobRequest';
52
+ export * from './model/ShowMixJobResponse';
53
+ export * from './model/ShowRecordCallbackRequest';
54
+ export * from './model/ShowRecordCallbackResponse';
55
+ export * from './model/ShowRecordRuleRequest';
56
+ export * from './model/ShowRecordRuleResponse';
57
+ export * from './model/ShowUrlAuthRequest';
58
+ export * from './model/ShowUrlAuthResponse';
59
+ export * from './model/StartAppRequest';
60
+ export * from './model/StartAppResponse';
61
+ export * from './model/StopAppRequest';
62
+ export * from './model/StopAppResponse';
63
+ export * from './model/StopIndividualStreamJobRequest';
64
+ export * from './model/StopIndividualStreamJobResponse';
65
+ export * from './model/StopMixJobRequest';
66
+ export * from './model/StopMixJobResponse';
67
+ export * from './model/UpdateAutoRecordRequest';
68
+ export * from './model/UpdateAutoRecordResponse';
69
+ export * from './model/UpdateIndividualJobReq';
70
+ export * from './model/UpdateIndividualStreamJobRequest';
71
+ export * from './model/UpdateIndividualStreamJobResponse';
72
+ export * from './model/UpdateMixJobReq';
73
+ export * from './model/UpdateMixJobRequest';
74
+ export * from './model/UpdateMixJobResponse';
75
+ export * from './model/UpdateMixParam';
76
+ export * from './model/UpdateRecordCallbackRequest';
77
+ export * from './model/UpdateRecordCallbackResponse';
78
+ export * from './model/UpdateRecordRuleRequest';
79
+ export * from './model/UpdateRecordRuleResponse';
80
+ export * from './model/UpdateUrlAuthRequest';
81
+ export * from './model/UpdateUrlAuthResponse';
82
+ export * from './CloudRTCRegion';
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./CloudRTCClient"), exports);
18
+ __exportStar(require("./model/App"), exports);
19
+ __exportStar(require("./model/AppAuth"), exports);
20
+ __exportStar(require("./model/AppAuthReq"), exports);
21
+ __exportStar(require("./model/AppAutoRecordMode"), exports);
22
+ __exportStar(require("./model/AppCallbackUrl"), exports);
23
+ __exportStar(require("./model/AppCallbackUrlReq"), exports);
24
+ __exportStar(require("./model/AppCallbacks"), exports);
25
+ __exportStar(require("./model/AppReq"), exports);
26
+ __exportStar(require("./model/AppState"), exports);
27
+ __exportStar(require("./model/AutoRecordModeReq"), exports);
28
+ __exportStar(require("./model/CreateAppRequest"), exports);
29
+ __exportStar(require("./model/CreateAppResponse"), exports);
30
+ __exportStar(require("./model/CreateIndividualStreamJobRequest"), exports);
31
+ __exportStar(require("./model/CreateIndividualStreamJobResponse"), exports);
32
+ __exportStar(require("./model/CreateMixJobRequest"), exports);
33
+ __exportStar(require("./model/CreateMixJobResponse"), exports);
34
+ __exportStar(require("./model/CreateRecordRuleRequest"), exports);
35
+ __exportStar(require("./model/CreateRecordRuleResponse"), exports);
36
+ __exportStar(require("./model/DeleteAppRequest"), exports);
37
+ __exportStar(require("./model/DeleteAppResponse"), exports);
38
+ __exportStar(require("./model/DeleteRecordRuleRequest"), exports);
39
+ __exportStar(require("./model/DeleteRecordRuleResponse"), exports);
40
+ __exportStar(require("./model/HLSRecordConfig"), exports);
41
+ __exportStar(require("./model/IndividualStreamJobReq"), exports);
42
+ __exportStar(require("./model/ListAppsRequest"), exports);
43
+ __exportStar(require("./model/ListAppsResponse"), exports);
44
+ __exportStar(require("./model/ListRecordRulesRequest"), exports);
45
+ __exportStar(require("./model/ListRecordRulesResponse"), exports);
46
+ __exportStar(require("./model/MP4RecordConfig"), exports);
47
+ __exportStar(require("./model/MixJobReq"), exports);
48
+ __exportStar(require("./model/MixLayoutPane"), exports);
49
+ __exportStar(require("./model/MixParam"), exports);
50
+ __exportStar(require("./model/MixUserBackgroundImage"), exports);
51
+ __exportStar(require("./model/PublishParam"), exports);
52
+ __exportStar(require("./model/RecordObsFileAddr"), exports);
53
+ __exportStar(require("./model/RecordParam"), exports);
54
+ __exportStar(require("./model/RecordRule"), exports);
55
+ __exportStar(require("./model/RecordRuleReq"), exports);
56
+ __exportStar(require("./model/RemoveRoomRequest"), exports);
57
+ __exportStar(require("./model/RemoveRoomResponse"), exports);
58
+ __exportStar(require("./model/RemoveUsersReq"), exports);
59
+ __exportStar(require("./model/RemoveUsersRequest"), exports);
60
+ __exportStar(require("./model/RemoveUsersResponse"), exports);
61
+ __exportStar(require("./model/ShowAppRequest"), exports);
62
+ __exportStar(require("./model/ShowAppResponse"), exports);
63
+ __exportStar(require("./model/ShowAutoRecordRequest"), exports);
64
+ __exportStar(require("./model/ShowAutoRecordResponse"), exports);
65
+ __exportStar(require("./model/ShowIndividualStreamJobRequest"), exports);
66
+ __exportStar(require("./model/ShowIndividualStreamJobResponse"), exports);
67
+ __exportStar(require("./model/ShowMixJobRequest"), exports);
68
+ __exportStar(require("./model/ShowMixJobResponse"), exports);
69
+ __exportStar(require("./model/ShowRecordCallbackRequest"), exports);
70
+ __exportStar(require("./model/ShowRecordCallbackResponse"), exports);
71
+ __exportStar(require("./model/ShowRecordRuleRequest"), exports);
72
+ __exportStar(require("./model/ShowRecordRuleResponse"), exports);
73
+ __exportStar(require("./model/ShowUrlAuthRequest"), exports);
74
+ __exportStar(require("./model/ShowUrlAuthResponse"), exports);
75
+ __exportStar(require("./model/StartAppRequest"), exports);
76
+ __exportStar(require("./model/StartAppResponse"), exports);
77
+ __exportStar(require("./model/StopAppRequest"), exports);
78
+ __exportStar(require("./model/StopAppResponse"), exports);
79
+ __exportStar(require("./model/StopIndividualStreamJobRequest"), exports);
80
+ __exportStar(require("./model/StopIndividualStreamJobResponse"), exports);
81
+ __exportStar(require("./model/StopMixJobRequest"), exports);
82
+ __exportStar(require("./model/StopMixJobResponse"), exports);
83
+ __exportStar(require("./model/UpdateAutoRecordRequest"), exports);
84
+ __exportStar(require("./model/UpdateAutoRecordResponse"), exports);
85
+ __exportStar(require("./model/UpdateIndividualJobReq"), exports);
86
+ __exportStar(require("./model/UpdateIndividualStreamJobRequest"), exports);
87
+ __exportStar(require("./model/UpdateIndividualStreamJobResponse"), exports);
88
+ __exportStar(require("./model/UpdateMixJobReq"), exports);
89
+ __exportStar(require("./model/UpdateMixJobRequest"), exports);
90
+ __exportStar(require("./model/UpdateMixJobResponse"), exports);
91
+ __exportStar(require("./model/UpdateMixParam"), exports);
92
+ __exportStar(require("./model/UpdateRecordCallbackRequest"), exports);
93
+ __exportStar(require("./model/UpdateRecordCallbackResponse"), exports);
94
+ __exportStar(require("./model/UpdateRecordRuleRequest"), exports);
95
+ __exportStar(require("./model/UpdateRecordRuleResponse"), exports);
96
+ __exportStar(require("./model/UpdateUrlAuthRequest"), exports);
97
+ __exportStar(require("./model/UpdateUrlAuthResponse"), exports);
98
+ __exportStar(require("./CloudRTCRegion"), exports);