@alicloud/live20161101 2.3.3 → 2.5.0

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 (33) hide show
  1. package/dist/client.d.ts +54 -0
  2. package/dist/client.js +135 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeLiveRtcRecordUsageDataRequest.d.ts +50 -0
  5. package/dist/models/DescribeLiveRtcRecordUsageDataRequest.js +66 -0
  6. package/dist/models/DescribeLiveRtcRecordUsageDataRequest.js.map +1 -0
  7. package/dist/models/DescribeLiveRtcRecordUsageDataResponse.d.ts +19 -0
  8. package/dist/models/DescribeLiveRtcRecordUsageDataResponse.js +69 -0
  9. package/dist/models/DescribeLiveRtcRecordUsageDataResponse.js.map +1 -0
  10. package/dist/models/DescribeLiveRtcRecordUsageDataResponseBody.d.ts +99 -0
  11. package/dist/models/DescribeLiveRtcRecordUsageDataResponseBody.js +106 -0
  12. package/dist/models/DescribeLiveRtcRecordUsageDataResponseBody.js.map +1 -0
  13. package/dist/models/ListLiveTagResourcesRequest.d.ts +66 -0
  14. package/dist/models/ListLiveTagResourcesRequest.js +99 -0
  15. package/dist/models/ListLiveTagResourcesRequest.js.map +1 -0
  16. package/dist/models/ListLiveTagResourcesResponse.d.ts +19 -0
  17. package/dist/models/ListLiveTagResourcesResponse.js +69 -0
  18. package/dist/models/ListLiveTagResourcesResponse.js.map +1 -0
  19. package/dist/models/ListLiveTagResourcesResponseBody.d.ts +69 -0
  20. package/dist/models/ListLiveTagResourcesResponseBody.js +112 -0
  21. package/dist/models/ListLiveTagResourcesResponseBody.js.map +1 -0
  22. package/dist/models/model.d.ts +10 -0
  23. package/dist/models/model.js +53 -33
  24. package/dist/models/model.js.map +1 -1
  25. package/package.json +1 -1
  26. package/src/client.ts +152 -0
  27. package/src/models/DescribeLiveRtcRecordUsageDataRequest.ts +71 -0
  28. package/src/models/DescribeLiveRtcRecordUsageDataResponse.ts +40 -0
  29. package/src/models/DescribeLiveRtcRecordUsageDataResponseBody.ts +151 -0
  30. package/src/models/ListLiveTagResourcesRequest.ts +111 -0
  31. package/src/models/ListLiveTagResourcesResponse.ts +40 -0
  32. package/src/models/ListLiveTagResourcesResponseBody.ts +118 -0
  33. package/src/models/model.ts +10 -0
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeLiveRtcRecordUsageDataResponseBody } from "./DescribeLiveRtcRecordUsageDataResponseBody";
4
+
5
+
6
+ export class DescribeLiveRtcRecordUsageDataResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeLiveRtcRecordUsageDataResponseBody;
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: DescribeLiveRtcRecordUsageDataResponseBody,
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,151 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeLiveRtcRecordUsageDataResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 20
9
+ */
10
+ audioDuration?: number;
11
+ /**
12
+ * @example
13
+ * 2022-10-10T20:00:00Z
14
+ */
15
+ timestamp?: string;
16
+ /**
17
+ * @example
18
+ * 150
19
+ */
20
+ totalDuration?: number;
21
+ /**
22
+ * @example
23
+ * 10
24
+ */
25
+ v1080Duration?: number;
26
+ /**
27
+ * @example
28
+ * 30
29
+ */
30
+ v480Duration?: number;
31
+ /**
32
+ * @example
33
+ * 40
34
+ */
35
+ v720Duration?: number;
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ audioDuration: 'AudioDuration',
39
+ timestamp: 'Timestamp',
40
+ totalDuration: 'TotalDuration',
41
+ v1080Duration: 'V1080Duration',
42
+ v480Duration: 'V480Duration',
43
+ v720Duration: 'V720Duration',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ audioDuration: 'number',
50
+ timestamp: 'string',
51
+ totalDuration: 'number',
52
+ v1080Duration: 'number',
53
+ v480Duration: 'number',
54
+ v720Duration: 'number',
55
+ };
56
+ }
57
+
58
+ validate() {
59
+ super.validate();
60
+ }
61
+
62
+ constructor(map?: { [key: string]: any }) {
63
+ super(map);
64
+ }
65
+ }
66
+
67
+ export class DescribeLiveRtcRecordUsageDataResponseBody extends $dara.Model {
68
+ /**
69
+ * @example
70
+ * 7fd341b3-c6fa-43e1-96b8-7295a1dd****
71
+ */
72
+ appId?: string;
73
+ /**
74
+ * @example
75
+ * 20
76
+ */
77
+ audioSummaryDuration?: number;
78
+ data?: DescribeLiveRtcRecordUsageDataResponseBodyData[];
79
+ /**
80
+ * @example
81
+ * 0
82
+ */
83
+ recordMode?: string;
84
+ /**
85
+ * @remarks
86
+ * Id of the request
87
+ *
88
+ * @example
89
+ * 16A96B9A-F2*************B92E68F4CD8
90
+ */
91
+ requestId?: string;
92
+ /**
93
+ * @example
94
+ * 150
95
+ */
96
+ totalSummaryDuration?: number;
97
+ /**
98
+ * @example
99
+ * 10
100
+ */
101
+ v1080SummaryDuration?: number;
102
+ /**
103
+ * @example
104
+ * 30
105
+ */
106
+ v480SummaryDuration?: number;
107
+ /**
108
+ * @example
109
+ * 40
110
+ */
111
+ v720SummaryDuration?: number;
112
+ static names(): { [key: string]: string } {
113
+ return {
114
+ appId: 'AppId',
115
+ audioSummaryDuration: 'AudioSummaryDuration',
116
+ data: 'Data',
117
+ recordMode: 'RecordMode',
118
+ requestId: 'RequestId',
119
+ totalSummaryDuration: 'TotalSummaryDuration',
120
+ v1080SummaryDuration: 'V1080SummaryDuration',
121
+ v480SummaryDuration: 'V480SummaryDuration',
122
+ v720SummaryDuration: 'V720SummaryDuration',
123
+ };
124
+ }
125
+
126
+ static types(): { [key: string]: any } {
127
+ return {
128
+ appId: 'string',
129
+ audioSummaryDuration: 'number',
130
+ data: { 'type': 'array', 'itemType': DescribeLiveRtcRecordUsageDataResponseBodyData },
131
+ recordMode: 'string',
132
+ requestId: 'string',
133
+ totalSummaryDuration: 'number',
134
+ v1080SummaryDuration: 'number',
135
+ v480SummaryDuration: 'number',
136
+ v720SummaryDuration: 'number',
137
+ };
138
+ }
139
+
140
+ validate() {
141
+ if(Array.isArray(this.data)) {
142
+ $dara.Model.validateArray(this.data);
143
+ }
144
+ super.validate();
145
+ }
146
+
147
+ constructor(map?: { [key: string]: any }) {
148
+ super(map);
149
+ }
150
+ }
151
+
@@ -0,0 +1,111 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListLiveTagResourcesRequestTag extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * env
9
+ */
10
+ key?: string;
11
+ /**
12
+ * @example
13
+ * dev
14
+ */
15
+ value?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ key: 'Key',
19
+ value: 'Value',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ key: 'string',
26
+ value: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class ListLiveTagResourcesRequest extends $dara.Model {
40
+ /**
41
+ * @example
42
+ * q2j8bLtBdhONLRkgaPBa6A==
43
+ */
44
+ nextToken?: string;
45
+ ownerId?: number;
46
+ /**
47
+ * @example
48
+ * cn-shanghai
49
+ */
50
+ regionId?: string;
51
+ resourceId?: string[];
52
+ /**
53
+ * @remarks
54
+ * This parameter is required.
55
+ *
56
+ * @example
57
+ * DOMAIN
58
+ */
59
+ resourceType?: string;
60
+ tag?: ListLiveTagResourcesRequestTag[];
61
+ /**
62
+ * @example
63
+ * 26842
64
+ */
65
+ tagOwnerBid?: string;
66
+ /**
67
+ * @example
68
+ * xxx1234xxx
69
+ */
70
+ tagOwnerUid?: string;
71
+ static names(): { [key: string]: string } {
72
+ return {
73
+ nextToken: 'NextToken',
74
+ ownerId: 'OwnerId',
75
+ regionId: 'RegionId',
76
+ resourceId: 'ResourceId',
77
+ resourceType: 'ResourceType',
78
+ tag: 'Tag',
79
+ tagOwnerBid: 'TagOwnerBid',
80
+ tagOwnerUid: 'TagOwnerUid',
81
+ };
82
+ }
83
+
84
+ static types(): { [key: string]: any } {
85
+ return {
86
+ nextToken: 'string',
87
+ ownerId: 'number',
88
+ regionId: 'string',
89
+ resourceId: { 'type': 'array', 'itemType': 'string' },
90
+ resourceType: 'string',
91
+ tag: { 'type': 'array', 'itemType': ListLiveTagResourcesRequestTag },
92
+ tagOwnerBid: 'string',
93
+ tagOwnerUid: 'string',
94
+ };
95
+ }
96
+
97
+ validate() {
98
+ if(Array.isArray(this.resourceId)) {
99
+ $dara.Model.validateArray(this.resourceId);
100
+ }
101
+ if(Array.isArray(this.tag)) {
102
+ $dara.Model.validateArray(this.tag);
103
+ }
104
+ super.validate();
105
+ }
106
+
107
+ constructor(map?: { [key: string]: any }) {
108
+ super(map);
109
+ }
110
+ }
111
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListLiveTagResourcesResponseBody } from "./ListLiveTagResourcesResponseBody";
4
+
5
+
6
+ export class ListLiveTagResourcesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListLiveTagResourcesResponseBody;
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: ListLiveTagResourcesResponseBody,
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,118 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListLiveTagResourcesResponseBodyTagResourcesTagResource extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * my-resource-id
9
+ */
10
+ resourceId?: string;
11
+ /**
12
+ * @example
13
+ * DOMAIN
14
+ */
15
+ resourceType?: string;
16
+ /**
17
+ * @example
18
+ * env
19
+ */
20
+ tagKey?: string;
21
+ /**
22
+ * @example
23
+ * dev
24
+ */
25
+ tagValue?: string;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ resourceId: 'ResourceId',
29
+ resourceType: 'ResourceType',
30
+ tagKey: 'TagKey',
31
+ tagValue: 'TagValue',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ resourceId: 'string',
38
+ resourceType: 'string',
39
+ tagKey: 'string',
40
+ tagValue: 'string',
41
+ };
42
+ }
43
+
44
+ validate() {
45
+ super.validate();
46
+ }
47
+
48
+ constructor(map?: { [key: string]: any }) {
49
+ super(map);
50
+ }
51
+ }
52
+
53
+ export class ListLiveTagResourcesResponseBodyTagResources extends $dara.Model {
54
+ tagResource?: ListLiveTagResourcesResponseBodyTagResourcesTagResource[];
55
+ static names(): { [key: string]: string } {
56
+ return {
57
+ tagResource: 'TagResource',
58
+ };
59
+ }
60
+
61
+ static types(): { [key: string]: any } {
62
+ return {
63
+ tagResource: { 'type': 'array', 'itemType': ListLiveTagResourcesResponseBodyTagResourcesTagResource },
64
+ };
65
+ }
66
+
67
+ validate() {
68
+ if(Array.isArray(this.tagResource)) {
69
+ $dara.Model.validateArray(this.tagResource);
70
+ }
71
+ super.validate();
72
+ }
73
+
74
+ constructor(map?: { [key: string]: any }) {
75
+ super(map);
76
+ }
77
+ }
78
+
79
+ export class ListLiveTagResourcesResponseBody extends $dara.Model {
80
+ /**
81
+ * @example
82
+ * 6a5e8f4fae643e70d1a2ff1827cd91bd
83
+ */
84
+ nextToken?: string;
85
+ /**
86
+ * @example
87
+ * ******3B-0E1A-586A-AC29-742247******
88
+ */
89
+ requestId?: string;
90
+ tagResources?: ListLiveTagResourcesResponseBodyTagResources;
91
+ static names(): { [key: string]: string } {
92
+ return {
93
+ nextToken: 'NextToken',
94
+ requestId: 'RequestId',
95
+ tagResources: 'TagResources',
96
+ };
97
+ }
98
+
99
+ static types(): { [key: string]: any } {
100
+ return {
101
+ nextToken: 'string',
102
+ requestId: 'string',
103
+ tagResources: ListLiveTagResourcesResponseBodyTagResources,
104
+ };
105
+ }
106
+
107
+ validate() {
108
+ if(this.tagResources && typeof (this.tagResources as any).validate === 'function') {
109
+ (this.tagResources as any).validate();
110
+ }
111
+ super.validate();
112
+ }
113
+
114
+ constructor(map?: { [key: string]: any }) {
115
+ super(map);
116
+ }
117
+ }
118
+
@@ -225,6 +225,7 @@ export { DescribeLiveRecordNotifyConfigResponseBodyLiveRecordNotifyConfig } from
225
225
  export { DescribeLiveRecordNotifyRecordsResponseBodyCallbackList } from './DescribeLiveRecordNotifyRecordsResponseBody';
226
226
  export { DescribeLiveRecordVodConfigsResponseBodyLiveRecordVodConfigsLiveRecordVodConfig } from './DescribeLiveRecordVodConfigsResponseBody';
227
227
  export { DescribeLiveRecordVodConfigsResponseBodyLiveRecordVodConfigs } from './DescribeLiveRecordVodConfigsResponseBody';
228
+ export { DescribeLiveRtcRecordUsageDataResponseBodyData } from './DescribeLiveRtcRecordUsageDataResponseBody';
228
229
  export { DescribeLiveShiftConfigsResponseBodyContentConfig } from './DescribeLiveShiftConfigsResponseBody';
229
230
  export { DescribeLiveShiftConfigsResponseBodyContent } from './DescribeLiveShiftConfigsResponseBody';
230
231
  export { DescribeLiveSnapshotConfigResponseBodyLiveStreamSnapshotConfigListLiveStreamSnapshotConfig } from './DescribeLiveSnapshotConfigResponseBody';
@@ -395,6 +396,9 @@ export { ListLiveRealtimeLogDeliveryDomainsResponseBodyContentDomains } from './
395
396
  export { ListLiveRealtimeLogDeliveryDomainsResponseBodyContent } from './ListLiveRealtimeLogDeliveryDomainsResponseBody';
396
397
  export { ListLiveRealtimeLogDeliveryInfosResponseBodyContentRealtimeLogDeliveryInfos } from './ListLiveRealtimeLogDeliveryInfosResponseBody';
397
398
  export { ListLiveRealtimeLogDeliveryInfosResponseBodyContent } from './ListLiveRealtimeLogDeliveryInfosResponseBody';
399
+ export { ListLiveTagResourcesRequestTag } from './ListLiveTagResourcesRequest';
400
+ export { ListLiveTagResourcesResponseBodyTagResourcesTagResource } from './ListLiveTagResourcesResponseBody';
401
+ export { ListLiveTagResourcesResponseBodyTagResources } from './ListLiveTagResourcesResponseBody';
398
402
  export { ListMessageResponseBodyResultMessageList } from './ListMessageResponseBody';
399
403
  export { ListMessageResponseBodyResult } from './ListMessageResponseBody';
400
404
  export { ListMessageAppResponseBodyResultAppList } from './ListMessageAppResponseBody';
@@ -1146,6 +1150,9 @@ export { DescribeLiveRecordNotifyRecordsResponse } from './DescribeLiveRecordNot
1146
1150
  export { DescribeLiveRecordVodConfigsRequest } from './DescribeLiveRecordVodConfigsRequest';
1147
1151
  export { DescribeLiveRecordVodConfigsResponseBody } from './DescribeLiveRecordVodConfigsResponseBody';
1148
1152
  export { DescribeLiveRecordVodConfigsResponse } from './DescribeLiveRecordVodConfigsResponse';
1153
+ export { DescribeLiveRtcRecordUsageDataRequest } from './DescribeLiveRtcRecordUsageDataRequest';
1154
+ export { DescribeLiveRtcRecordUsageDataResponseBody } from './DescribeLiveRtcRecordUsageDataResponseBody';
1155
+ export { DescribeLiveRtcRecordUsageDataResponse } from './DescribeLiveRtcRecordUsageDataResponse';
1149
1156
  export { DescribeLiveShiftConfigsRequest } from './DescribeLiveShiftConfigsRequest';
1150
1157
  export { DescribeLiveShiftConfigsResponseBody } from './DescribeLiveShiftConfigsResponseBody';
1151
1158
  export { DescribeLiveShiftConfigsResponse } from './DescribeLiveShiftConfigsResponse';
@@ -1433,6 +1440,9 @@ export { ListLiveRealtimeLogDeliveryDomainsResponse } from './ListLiveRealtimeLo
1433
1440
  export { ListLiveRealtimeLogDeliveryInfosRequest } from './ListLiveRealtimeLogDeliveryInfosRequest';
1434
1441
  export { ListLiveRealtimeLogDeliveryInfosResponseBody } from './ListLiveRealtimeLogDeliveryInfosResponseBody';
1435
1442
  export { ListLiveRealtimeLogDeliveryInfosResponse } from './ListLiveRealtimeLogDeliveryInfosResponse';
1443
+ export { ListLiveTagResourcesRequest } from './ListLiveTagResourcesRequest';
1444
+ export { ListLiveTagResourcesResponseBody } from './ListLiveTagResourcesResponseBody';
1445
+ export { ListLiveTagResourcesResponse } from './ListLiveTagResourcesResponse';
1436
1446
  export { ListMessageRequest } from './ListMessageRequest';
1437
1447
  export { ListMessageResponseBody } from './ListMessageResponseBody';
1438
1448
  export { ListMessageResponse } from './ListMessageResponse';