@alicloud/live20161101 2.2.0 → 2.3.1
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.
- package/dist/client.d.ts +35 -0
- package/dist/client.js +88 -0
- package/dist/client.js.map +1 -1
- package/dist/models/AddCustomLiveStreamTranscodeRequest.d.ts +1 -0
- package/dist/models/AddCustomLiveStreamTranscodeRequest.js +2 -0
- package/dist/models/AddCustomLiveStreamTranscodeRequest.js.map +1 -1
- package/dist/models/AddLiveRecordNotifyConfigRequest.d.ts +2 -0
- package/dist/models/AddLiveRecordNotifyConfigRequest.js +4 -0
- package/dist/models/AddLiveRecordNotifyConfigRequest.js.map +1 -1
- package/dist/models/DescribeLiveRecordNotifyConfigResponseBody.d.ts +2 -0
- package/dist/models/DescribeLiveRecordNotifyConfigResponseBody.js +4 -0
- package/dist/models/DescribeLiveRecordNotifyConfigResponseBody.js.map +1 -1
- package/dist/models/DescribeLiveRecordNotifyRecordsResponseBody.d.ts +1 -0
- package/dist/models/DescribeLiveRecordNotifyRecordsResponseBody.js +2 -0
- package/dist/models/DescribeLiveRecordNotifyRecordsResponseBody.js.map +1 -1
- package/dist/models/DescribeLiveStreamTranscodeInfoResponseBody.d.ts +1 -0
- package/dist/models/DescribeLiveStreamTranscodeInfoResponseBody.js +2 -0
- package/dist/models/DescribeLiveStreamTranscodeInfoResponseBody.js.map +1 -1
- package/dist/models/PutRecordStorageLifeCycleRequest.d.ts +37 -0
- package/dist/models/PutRecordStorageLifeCycleRequest.js +65 -0
- package/dist/models/PutRecordStorageLifeCycleRequest.js.map +1 -0
- package/dist/models/PutRecordStorageLifeCycleResponse.d.ts +19 -0
- package/dist/models/PutRecordStorageLifeCycleResponse.js +69 -0
- package/dist/models/PutRecordStorageLifeCycleResponse.js.map +1 -0
- package/dist/models/PutRecordStorageLifeCycleResponseBody.d.ts +28 -0
- package/dist/models/PutRecordStorageLifeCycleResponseBody.js +62 -0
- package/dist/models/PutRecordStorageLifeCycleResponseBody.js.map +1 -0
- package/dist/models/PutRecordStorageLifeCycleShrinkRequest.d.ts +37 -0
- package/dist/models/PutRecordStorageLifeCycleShrinkRequest.js +62 -0
- package/dist/models/PutRecordStorageLifeCycleShrinkRequest.js.map +1 -0
- package/dist/models/UpdateCustomLiveStreamTranscodeRequest.d.ts +1 -0
- package/dist/models/UpdateCustomLiveStreamTranscodeRequest.js +2 -0
- package/dist/models/UpdateCustomLiveStreamTranscodeRequest.js.map +1 -1
- package/dist/models/UpdateLiveRecordNotifyConfigRequest.d.ts +2 -0
- package/dist/models/UpdateLiveRecordNotifyConfigRequest.js +4 -0
- package/dist/models/UpdateLiveRecordNotifyConfigRequest.js.map +1 -1
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +15 -7
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +100 -0
- package/src/models/AddCustomLiveStreamTranscodeRequest.ts +3 -0
- package/src/models/AddLiveRecordNotifyConfigRequest.ts +6 -0
- package/src/models/DescribeLiveRecordNotifyConfigResponseBody.ts +6 -0
- package/src/models/DescribeLiveRecordNotifyRecordsResponseBody.ts +3 -0
- package/src/models/DescribeLiveStreamTranscodeInfoResponseBody.ts +3 -0
- package/src/models/PutRecordStorageLifeCycleRequest.ts +57 -0
- package/src/models/PutRecordStorageLifeCycleResponse.ts +40 -0
- package/src/models/PutRecordStorageLifeCycleResponseBody.ts +45 -0
- package/src/models/PutRecordStorageLifeCycleShrinkRequest.ts +54 -0
- package/src/models/UpdateCustomLiveStreamTranscodeRequest.ts +3 -0
- package/src/models/UpdateLiveRecordNotifyConfigRequest.ts +6 -0
- package/src/models/model.ts +4 -0
package/src/client.ts
CHANGED
|
@@ -728,6 +728,10 @@ export default class Client extends OpenApi {
|
|
|
728
728
|
query["BitrateWithSource"] = request.bitrateWithSource;
|
|
729
729
|
}
|
|
730
730
|
|
|
731
|
+
if (!$dara.isNull(request.deInterlaced)) {
|
|
732
|
+
query["DeInterlaced"] = request.deInterlaced;
|
|
733
|
+
}
|
|
734
|
+
|
|
731
735
|
if (!$dara.isNull(request.domain)) {
|
|
732
736
|
query["Domain"] = request.domain;
|
|
733
737
|
}
|
|
@@ -2085,6 +2089,14 @@ export default class Client extends OpenApi {
|
|
|
2085
2089
|
query["NeedStatusNotify"] = request.needStatusNotify;
|
|
2086
2090
|
}
|
|
2087
2091
|
|
|
2092
|
+
if (!$dara.isNull(request.notifyAuthKey)) {
|
|
2093
|
+
query["NotifyAuthKey"] = request.notifyAuthKey;
|
|
2094
|
+
}
|
|
2095
|
+
|
|
2096
|
+
if (!$dara.isNull(request.notifyReqAuth)) {
|
|
2097
|
+
query["NotifyReqAuth"] = request.notifyReqAuth;
|
|
2098
|
+
}
|
|
2099
|
+
|
|
2088
2100
|
if (!$dara.isNull(request.notifyUrl)) {
|
|
2089
2101
|
query["NotifyUrl"] = request.notifyUrl;
|
|
2090
2102
|
}
|
|
@@ -24204,6 +24216,78 @@ export default class Client extends OpenApi {
|
|
|
24204
24216
|
return await this.publishLiveStagingConfigToProductionWithOptions(request, runtime);
|
|
24205
24217
|
}
|
|
24206
24218
|
|
|
24219
|
+
/**
|
|
24220
|
+
* 用于修改指定直播流的录制文件存储时长。
|
|
24221
|
+
*
|
|
24222
|
+
* @remarks
|
|
24223
|
+
* ## 请求说明
|
|
24224
|
+
* - 该接口允许用户为一个或多个指定的直播流设置新的录制文件存储期限。
|
|
24225
|
+
* - `Tag` 字段必须符合格式 `[0-9]+days`,表示直播结束后录制内容将被保存的天数。
|
|
24226
|
+
* - 如果对某个流的存储时间修改失败,错误信息会被记录在返回结果中。对于失败的情况,调用方应重试最多3次;如果超过重试次数仍失败,则视为最终失败。
|
|
24227
|
+
* - 为了支持未来可能的需求变化(如更长的存储周期),请确保您的系统能够处理不同的时间段值。
|
|
24228
|
+
* - 成功执行后,供应商会通过异步回调的方式通知调用方所有操作的结果。若回调失败,将按照1小时、2小时、4小时的时间间隔尝试重新发送,直至成功或达到最大重试次数。
|
|
24229
|
+
*
|
|
24230
|
+
* @param tmpReq - PutRecordStorageLifeCycleRequest
|
|
24231
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
24232
|
+
* @returns PutRecordStorageLifeCycleResponse
|
|
24233
|
+
*/
|
|
24234
|
+
async putRecordStorageLifeCycleWithOptions(tmpReq: $_model.PutRecordStorageLifeCycleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PutRecordStorageLifeCycleResponse> {
|
|
24235
|
+
tmpReq.validate();
|
|
24236
|
+
let request = new $_model.PutRecordStorageLifeCycleShrinkRequest({ });
|
|
24237
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
24238
|
+
if (!$dara.isNull(tmpReq.streamIds)) {
|
|
24239
|
+
request.streamIdsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.streamIds, "StreamIds", "json");
|
|
24240
|
+
}
|
|
24241
|
+
|
|
24242
|
+
let body : {[key: string ]: any} = { };
|
|
24243
|
+
if (!$dara.isNull(request.streamIdsShrink)) {
|
|
24244
|
+
body["StreamIds"] = request.streamIdsShrink;
|
|
24245
|
+
}
|
|
24246
|
+
|
|
24247
|
+
if (!$dara.isNull(request.tag)) {
|
|
24248
|
+
body["Tag"] = request.tag;
|
|
24249
|
+
}
|
|
24250
|
+
|
|
24251
|
+
if (!$dara.isNull(request.unixTimestamp)) {
|
|
24252
|
+
body["UnixTimestamp"] = request.unixTimestamp;
|
|
24253
|
+
}
|
|
24254
|
+
|
|
24255
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
24256
|
+
body: OpenApiUtil.parseToMap(body),
|
|
24257
|
+
});
|
|
24258
|
+
let params = new $OpenApiUtil.Params({
|
|
24259
|
+
action: "PutRecordStorageLifeCycle",
|
|
24260
|
+
version: "2016-11-01",
|
|
24261
|
+
protocol: "HTTPS",
|
|
24262
|
+
pathname: "/",
|
|
24263
|
+
method: "POST",
|
|
24264
|
+
authType: "AK",
|
|
24265
|
+
style: "RPC",
|
|
24266
|
+
reqBodyType: "formData",
|
|
24267
|
+
bodyType: "json",
|
|
24268
|
+
});
|
|
24269
|
+
return $dara.cast<$_model.PutRecordStorageLifeCycleResponse>(await this.callApi(params, req, runtime), new $_model.PutRecordStorageLifeCycleResponse({}));
|
|
24270
|
+
}
|
|
24271
|
+
|
|
24272
|
+
/**
|
|
24273
|
+
* 用于修改指定直播流的录制文件存储时长。
|
|
24274
|
+
*
|
|
24275
|
+
* @remarks
|
|
24276
|
+
* ## 请求说明
|
|
24277
|
+
* - 该接口允许用户为一个或多个指定的直播流设置新的录制文件存储期限。
|
|
24278
|
+
* - `Tag` 字段必须符合格式 `[0-9]+days`,表示直播结束后录制内容将被保存的天数。
|
|
24279
|
+
* - 如果对某个流的存储时间修改失败,错误信息会被记录在返回结果中。对于失败的情况,调用方应重试最多3次;如果超过重试次数仍失败,则视为最终失败。
|
|
24280
|
+
* - 为了支持未来可能的需求变化(如更长的存储周期),请确保您的系统能够处理不同的时间段值。
|
|
24281
|
+
* - 成功执行后,供应商会通过异步回调的方式通知调用方所有操作的结果。若回调失败,将按照1小时、2小时、4小时的时间间隔尝试重新发送,直至成功或达到最大重试次数。
|
|
24282
|
+
*
|
|
24283
|
+
* @param request - PutRecordStorageLifeCycleRequest
|
|
24284
|
+
* @returns PutRecordStorageLifeCycleResponse
|
|
24285
|
+
*/
|
|
24286
|
+
async putRecordStorageLifeCycle(request: $_model.PutRecordStorageLifeCycleRequest): Promise<$_model.PutRecordStorageLifeCycleResponse> {
|
|
24287
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
24288
|
+
return await this.putRecordStorageLifeCycleWithOptions(request, runtime);
|
|
24289
|
+
}
|
|
24290
|
+
|
|
24207
24291
|
/**
|
|
24208
24292
|
* Queries the dual-stream disaster recovery records of online streams.
|
|
24209
24293
|
*
|
|
@@ -28019,6 +28103,8 @@ export default class Client extends OpenApi {
|
|
|
28019
28103
|
}
|
|
28020
28104
|
|
|
28021
28105
|
/**
|
|
28106
|
+
* 解绑标签
|
|
28107
|
+
*
|
|
28022
28108
|
* @param request - UnTagLiveResourcesRequest
|
|
28023
28109
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
28024
28110
|
* @returns UnTagLiveResourcesResponse
|
|
@@ -28068,6 +28154,8 @@ export default class Client extends OpenApi {
|
|
|
28068
28154
|
}
|
|
28069
28155
|
|
|
28070
28156
|
/**
|
|
28157
|
+
* 解绑标签
|
|
28158
|
+
*
|
|
28071
28159
|
* @param request - UnTagLiveResourcesRequest
|
|
28072
28160
|
* @returns UnTagLiveResourcesResponse
|
|
28073
28161
|
*/
|
|
@@ -28400,6 +28488,10 @@ export default class Client extends OpenApi {
|
|
|
28400
28488
|
query["BitrateWithSource"] = request.bitrateWithSource;
|
|
28401
28489
|
}
|
|
28402
28490
|
|
|
28491
|
+
if (!$dara.isNull(request.deInterlaced)) {
|
|
28492
|
+
query["DeInterlaced"] = request.deInterlaced;
|
|
28493
|
+
}
|
|
28494
|
+
|
|
28403
28495
|
if (!$dara.isNull(request.domain)) {
|
|
28404
28496
|
query["Domain"] = request.domain;
|
|
28405
28497
|
}
|
|
@@ -29760,6 +29852,14 @@ export default class Client extends OpenApi {
|
|
|
29760
29852
|
query["NeedStatusNotify"] = request.needStatusNotify;
|
|
29761
29853
|
}
|
|
29762
29854
|
|
|
29855
|
+
if (!$dara.isNull(request.notifyAuthKey)) {
|
|
29856
|
+
query["NotifyAuthKey"] = request.notifyAuthKey;
|
|
29857
|
+
}
|
|
29858
|
+
|
|
29859
|
+
if (!$dara.isNull(request.notifyReqAuth)) {
|
|
29860
|
+
query["NotifyReqAuth"] = request.notifyReqAuth;
|
|
29861
|
+
}
|
|
29862
|
+
|
|
29763
29863
|
if (!$dara.isNull(request.notifyUrl)) {
|
|
29764
29864
|
query["NotifyUrl"] = request.notifyUrl;
|
|
29765
29865
|
}
|
|
@@ -79,6 +79,7 @@ export class AddCustomLiveStreamTranscodeRequest extends $dara.Model {
|
|
|
79
79
|
* {"UpLimit":2500,"LowerLimit":800,"Factor":1}
|
|
80
80
|
*/
|
|
81
81
|
bitrateWithSource?: string;
|
|
82
|
+
deInterlaced?: boolean;
|
|
82
83
|
/**
|
|
83
84
|
* @remarks
|
|
84
85
|
* The main streaming domain.
|
|
@@ -286,6 +287,7 @@ export class AddCustomLiveStreamTranscodeRequest extends $dara.Model {
|
|
|
286
287
|
audioProfile: 'AudioProfile',
|
|
287
288
|
audioRate: 'AudioRate',
|
|
288
289
|
bitrateWithSource: 'BitrateWithSource',
|
|
290
|
+
deInterlaced: 'DeInterlaced',
|
|
289
291
|
domain: 'Domain',
|
|
290
292
|
encryptParameters: 'EncryptParameters',
|
|
291
293
|
extWithSource: 'ExtWithSource',
|
|
@@ -317,6 +319,7 @@ export class AddCustomLiveStreamTranscodeRequest extends $dara.Model {
|
|
|
317
319
|
audioProfile: 'string',
|
|
318
320
|
audioRate: 'number',
|
|
319
321
|
bitrateWithSource: 'string',
|
|
322
|
+
deInterlaced: 'boolean',
|
|
320
323
|
domain: 'string',
|
|
321
324
|
encryptParameters: 'string',
|
|
322
325
|
extWithSource: 'string',
|
|
@@ -24,6 +24,8 @@ export class AddLiveRecordNotifyConfigRequest extends $dara.Model {
|
|
|
24
24
|
* false
|
|
25
25
|
*/
|
|
26
26
|
needStatusNotify?: boolean;
|
|
27
|
+
notifyAuthKey?: string;
|
|
28
|
+
notifyReqAuth?: boolean;
|
|
27
29
|
/**
|
|
28
30
|
* @remarks
|
|
29
31
|
* The callback URL that is used to receive notifications about recording events and status.
|
|
@@ -52,6 +54,8 @@ export class AddLiveRecordNotifyConfigRequest extends $dara.Model {
|
|
|
52
54
|
return {
|
|
53
55
|
domainName: 'DomainName',
|
|
54
56
|
needStatusNotify: 'NeedStatusNotify',
|
|
57
|
+
notifyAuthKey: 'NotifyAuthKey',
|
|
58
|
+
notifyReqAuth: 'NotifyReqAuth',
|
|
55
59
|
notifyUrl: 'NotifyUrl',
|
|
56
60
|
onDemandUrl: 'OnDemandUrl',
|
|
57
61
|
ownerId: 'OwnerId',
|
|
@@ -63,6 +67,8 @@ export class AddLiveRecordNotifyConfigRequest extends $dara.Model {
|
|
|
63
67
|
return {
|
|
64
68
|
domainName: 'string',
|
|
65
69
|
needStatusNotify: 'boolean',
|
|
70
|
+
notifyAuthKey: 'string',
|
|
71
|
+
notifyReqAuth: 'boolean',
|
|
66
72
|
notifyUrl: 'string',
|
|
67
73
|
onDemandUrl: 'string',
|
|
68
74
|
ownerId: 'number',
|
|
@@ -22,6 +22,8 @@ export class DescribeLiveRecordNotifyConfigResponseBodyLiveRecordNotifyConfig ex
|
|
|
22
22
|
* false
|
|
23
23
|
*/
|
|
24
24
|
needStatusNotify?: boolean;
|
|
25
|
+
notifyAuthKey?: string;
|
|
26
|
+
notifyReqAuth?: boolean;
|
|
25
27
|
/**
|
|
26
28
|
* @remarks
|
|
27
29
|
* The recording callback URL.
|
|
@@ -42,6 +44,8 @@ export class DescribeLiveRecordNotifyConfigResponseBodyLiveRecordNotifyConfig ex
|
|
|
42
44
|
return {
|
|
43
45
|
domainName: 'DomainName',
|
|
44
46
|
needStatusNotify: 'NeedStatusNotify',
|
|
47
|
+
notifyAuthKey: 'NotifyAuthKey',
|
|
48
|
+
notifyReqAuth: 'NotifyReqAuth',
|
|
45
49
|
notifyUrl: 'NotifyUrl',
|
|
46
50
|
onDemandUrl: 'OnDemandUrl',
|
|
47
51
|
};
|
|
@@ -51,6 +55,8 @@ export class DescribeLiveRecordNotifyConfigResponseBodyLiveRecordNotifyConfig ex
|
|
|
51
55
|
return {
|
|
52
56
|
domainName: 'string',
|
|
53
57
|
needStatusNotify: 'boolean',
|
|
58
|
+
notifyAuthKey: 'string',
|
|
59
|
+
notifyReqAuth: 'boolean',
|
|
54
60
|
notifyUrl: 'string',
|
|
55
61
|
onDemandUrl: 'string',
|
|
56
62
|
};
|
|
@@ -35,6 +35,7 @@ export class DescribeLiveRecordNotifyRecordsResponseBodyCallbackList extends $da
|
|
|
35
35
|
* July 26, 16:14{"domain":"al.xxxx.com","stream":"livestream01","pull _stream_result":true,"cdn":"al"}
|
|
36
36
|
*/
|
|
37
37
|
notifyContent?: string;
|
|
38
|
+
notifyHeader?: string;
|
|
38
39
|
notifyResponse?: string;
|
|
39
40
|
/**
|
|
40
41
|
* @remarks
|
|
@@ -93,6 +94,7 @@ export class DescribeLiveRecordNotifyRecordsResponseBodyCallbackList extends $da
|
|
|
93
94
|
description: 'Description',
|
|
94
95
|
domainName: 'DomainName',
|
|
95
96
|
notifyContent: 'NotifyContent',
|
|
97
|
+
notifyHeader: 'NotifyHeader',
|
|
96
98
|
notifyResponse: 'NotifyResponse',
|
|
97
99
|
notifyResult: 'NotifyResult',
|
|
98
100
|
notifyTime: 'NotifyTime',
|
|
@@ -108,6 +110,7 @@ export class DescribeLiveRecordNotifyRecordsResponseBodyCallbackList extends $da
|
|
|
108
110
|
description: 'string',
|
|
109
111
|
domainName: 'string',
|
|
110
112
|
notifyContent: 'string',
|
|
113
|
+
notifyHeader: 'string',
|
|
111
114
|
notifyResponse: 'string',
|
|
112
115
|
notifyResult: 'string',
|
|
113
116
|
notifyTime: 'string',
|
|
@@ -69,6 +69,7 @@ export class DescribeLiveStreamTranscodeInfoResponseBodyDomainTranscodeListDomai
|
|
|
69
69
|
* {\\"UpLimit\\":2500,\\"LowerLimit\\":800,\\"Factor\\":1}
|
|
70
70
|
*/
|
|
71
71
|
bitrateWithSource?: { [key: string]: any };
|
|
72
|
+
deInterlaced?: boolean;
|
|
72
73
|
/**
|
|
73
74
|
* @remarks
|
|
74
75
|
* Other source-based settings.
|
|
@@ -178,6 +179,7 @@ export class DescribeLiveStreamTranscodeInfoResponseBodyDomainTranscodeListDomai
|
|
|
178
179
|
audioRate: 'AudioRate',
|
|
179
180
|
bframes: 'Bframes',
|
|
180
181
|
bitrateWithSource: 'BitrateWithSource',
|
|
182
|
+
deInterlaced: 'DeInterlaced',
|
|
181
183
|
extWithSource: 'ExtWithSource',
|
|
182
184
|
FPS: 'FPS',
|
|
183
185
|
fpsWithSource: 'FpsWithSource',
|
|
@@ -201,6 +203,7 @@ export class DescribeLiveStreamTranscodeInfoResponseBodyDomainTranscodeListDomai
|
|
|
201
203
|
audioRate: 'number',
|
|
202
204
|
bframes: 'string',
|
|
203
205
|
bitrateWithSource: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
206
|
+
deInterlaced: 'boolean',
|
|
204
207
|
extWithSource: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
205
208
|
FPS: 'number',
|
|
206
209
|
fpsWithSource: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class PutRecordStorageLifeCycleRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* stream-xxx
|
|
12
|
+
*/
|
|
13
|
+
streamIds?: string[];
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 1095days
|
|
20
|
+
*/
|
|
21
|
+
tag?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* This parameter is required.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 1758621407
|
|
28
|
+
*/
|
|
29
|
+
unixTimestamp?: number;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
streamIds: 'StreamIds',
|
|
33
|
+
tag: 'Tag',
|
|
34
|
+
unixTimestamp: 'UnixTimestamp',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
streamIds: { 'type': 'array', 'itemType': 'string' },
|
|
41
|
+
tag: 'string',
|
|
42
|
+
unixTimestamp: 'number',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
if(Array.isArray(this.streamIds)) {
|
|
48
|
+
$dara.Model.validateArray(this.streamIds);
|
|
49
|
+
}
|
|
50
|
+
super.validate();
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
constructor(map?: { [key: string]: any }) {
|
|
54
|
+
super(map);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { PutRecordStorageLifeCycleResponseBody } from "./PutRecordStorageLifeCycleResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class PutRecordStorageLifeCycleResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: PutRecordStorageLifeCycleResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: PutRecordStorageLifeCycleResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class PutRecordStorageLifeCycleResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 0
|
|
9
|
+
*/
|
|
10
|
+
code?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* success
|
|
14
|
+
*/
|
|
15
|
+
msg?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8
|
|
19
|
+
*/
|
|
20
|
+
requestId?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
code: 'Code',
|
|
24
|
+
msg: 'Msg',
|
|
25
|
+
requestId: 'RequestId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
code: 'number',
|
|
32
|
+
msg: 'string',
|
|
33
|
+
requestId: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class PutRecordStorageLifeCycleShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* stream-xxx
|
|
12
|
+
*/
|
|
13
|
+
streamIdsShrink?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 1095days
|
|
20
|
+
*/
|
|
21
|
+
tag?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* This parameter is required.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 1758621407
|
|
28
|
+
*/
|
|
29
|
+
unixTimestamp?: number;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
streamIdsShrink: 'StreamIds',
|
|
33
|
+
tag: 'Tag',
|
|
34
|
+
unixTimestamp: 'UnixTimestamp',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
streamIdsShrink: 'string',
|
|
41
|
+
tag: 'string',
|
|
42
|
+
unixTimestamp: 'number',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -74,6 +74,7 @@ export class UpdateCustomLiveStreamTranscodeRequest extends $dara.Model {
|
|
|
74
74
|
* {\\"UpLimit\\":2500,\\"LowerLimit\\":800,\\"Factor\\":1}
|
|
75
75
|
*/
|
|
76
76
|
bitrateWithSource?: string;
|
|
77
|
+
deInterlaced?: boolean;
|
|
77
78
|
/**
|
|
78
79
|
* @remarks
|
|
79
80
|
* Streamer domain name, unmodifiable.
|
|
@@ -239,6 +240,7 @@ export class UpdateCustomLiveStreamTranscodeRequest extends $dara.Model {
|
|
|
239
240
|
audioProfile: 'AudioProfile',
|
|
240
241
|
audioRate: 'AudioRate',
|
|
241
242
|
bitrateWithSource: 'BitrateWithSource',
|
|
243
|
+
deInterlaced: 'DeInterlaced',
|
|
242
244
|
domain: 'Domain',
|
|
243
245
|
encryptParameters: 'EncryptParameters',
|
|
244
246
|
extWithSource: 'ExtWithSource',
|
|
@@ -267,6 +269,7 @@ export class UpdateCustomLiveStreamTranscodeRequest extends $dara.Model {
|
|
|
267
269
|
audioProfile: 'string',
|
|
268
270
|
audioRate: 'number',
|
|
269
271
|
bitrateWithSource: 'string',
|
|
272
|
+
deInterlaced: 'boolean',
|
|
270
273
|
domain: 'string',
|
|
271
274
|
encryptParameters: 'string',
|
|
272
275
|
extWithSource: 'string',
|
|
@@ -24,6 +24,8 @@ export class UpdateLiveRecordNotifyConfigRequest extends $dara.Model {
|
|
|
24
24
|
* false
|
|
25
25
|
*/
|
|
26
26
|
needStatusNotify?: boolean;
|
|
27
|
+
notifyAuthKey?: string;
|
|
28
|
+
notifyReqAuth?: boolean;
|
|
27
29
|
/**
|
|
28
30
|
* @remarks
|
|
29
31
|
* The callback URL that is used to receive notifications about recording events and status.
|
|
@@ -60,6 +62,8 @@ export class UpdateLiveRecordNotifyConfigRequest extends $dara.Model {
|
|
|
60
62
|
return {
|
|
61
63
|
domainName: 'DomainName',
|
|
62
64
|
needStatusNotify: 'NeedStatusNotify',
|
|
65
|
+
notifyAuthKey: 'NotifyAuthKey',
|
|
66
|
+
notifyReqAuth: 'NotifyReqAuth',
|
|
63
67
|
notifyUrl: 'NotifyUrl',
|
|
64
68
|
onDemandUrl: 'OnDemandUrl',
|
|
65
69
|
ownerId: 'OwnerId',
|
|
@@ -71,6 +75,8 @@ export class UpdateLiveRecordNotifyConfigRequest extends $dara.Model {
|
|
|
71
75
|
return {
|
|
72
76
|
domainName: 'string',
|
|
73
77
|
needStatusNotify: 'boolean',
|
|
78
|
+
notifyAuthKey: 'string',
|
|
79
|
+
notifyReqAuth: 'boolean',
|
|
74
80
|
notifyUrl: 'string',
|
|
75
81
|
onDemandUrl: 'string',
|
|
76
82
|
ownerId: 'number',
|
package/src/models/model.ts
CHANGED
|
@@ -1544,6 +1544,10 @@ export { PlayChoosenShowResponse } from './PlayChoosenShowResponse';
|
|
|
1544
1544
|
export { PublishLiveStagingConfigToProductionRequest } from './PublishLiveStagingConfigToProductionRequest';
|
|
1545
1545
|
export { PublishLiveStagingConfigToProductionResponseBody } from './PublishLiveStagingConfigToProductionResponseBody';
|
|
1546
1546
|
export { PublishLiveStagingConfigToProductionResponse } from './PublishLiveStagingConfigToProductionResponse';
|
|
1547
|
+
export { PutRecordStorageLifeCycleRequest } from './PutRecordStorageLifeCycleRequest';
|
|
1548
|
+
export { PutRecordStorageLifeCycleShrinkRequest } from './PutRecordStorageLifeCycleShrinkRequest';
|
|
1549
|
+
export { PutRecordStorageLifeCycleResponseBody } from './PutRecordStorageLifeCycleResponseBody';
|
|
1550
|
+
export { PutRecordStorageLifeCycleResponse } from './PutRecordStorageLifeCycleResponse';
|
|
1547
1551
|
export { QueryLiveDomainMultiStreamListRequest } from './QueryLiveDomainMultiStreamListRequest';
|
|
1548
1552
|
export { QueryLiveDomainMultiStreamListResponseBody } from './QueryLiveDomainMultiStreamListResponseBody';
|
|
1549
1553
|
export { QueryLiveDomainMultiStreamListResponse } from './QueryLiveDomainMultiStreamListResponse';
|