@bitmovin/api-sdk 1.179.0 → 1.181.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.
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/bitmovin-api-sdk.browser.js +288 -67
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/manifests/ManifestListQueryParams.d.ts +11 -0
- package/dist/encoding/manifests/ManifestListQueryParams.js +8 -0
- package/dist/encoding/manifests/dash/DashManifestListQueryParams.d.ts +11 -0
- package/dist/encoding/manifests/dash/DashManifestListQueryParams.js +8 -0
- package/dist/encoding/manifests/hls/HlsManifestListQueryParams.d.ts +11 -0
- package/dist/encoding/manifests/hls/HlsManifestListQueryParams.js +8 -0
- package/dist/encoding/manifests/smooth/SmoothStreamingManifestListQueryParams.d.ts +11 -0
- package/dist/encoding/manifests/smooth/SmoothStreamingManifestListQueryParams.js +8 -0
- package/dist/models/AccountInformation.d.ts +5 -0
- package/dist/models/AccountInformation.js +1 -0
- package/dist/models/GenericS3Input.d.ts +13 -0
- package/dist/models/GenericS3Input.js +2 -0
- package/dist/models/GenericS3Output.d.ts +13 -0
- package/dist/models/GenericS3Output.js +2 -0
- package/dist/models/HlsManifestAdMarkerSettings.d.ts +15 -0
- package/dist/models/HlsManifestAdMarkerSettings.js +19 -0
- package/dist/models/HlsManifestAdMarkerType.d.ts +11 -0
- package/dist/models/HlsManifestAdMarkerType.js +15 -0
- package/dist/models/LiveHlsManifest.d.ts +7 -0
- package/dist/models/LiveHlsManifest.js +2 -0
- package/dist/models/S3AccessStyle.d.ts +10 -0
- package/dist/models/S3AccessStyle.js +14 -0
- package/dist/models/StreamsLiveResponse.d.ts +5 -21
- package/dist/models/StreamsLiveResponse.js +36 -14
- package/dist/models/StreamsResponse.d.ts +46 -0
- package/dist/models/{StreamsSearchResponse.js → StreamsResponse.js} +12 -7
- package/dist/models/StreamsVideoResponse.d.ts +5 -21
- package/dist/models/StreamsVideoResponse.js +39 -17
- package/dist/models/index.d.ts +4 -1
- package/dist/models/index.js +4 -1
- package/dist/streams/StreamsApi.d.ts +2 -2
- package/dist/streams/StreamsApi.js +2 -2
- package/dist/streams/search/SearchApi.d.ts +3 -3
- package/dist/streams/search/SearchApi.js +4 -4
- package/dist/streams/search/StreamsResponseListQueryParams.d.ts +107 -0
- package/dist/streams/search/StreamsResponseListQueryParams.js +85 -0
- package/package.json +1 -1
- package/dist/models/StreamsSearchResponse.d.ts +0 -39
- package/dist/streams/search/StreamsSearchResponseListQueryParams.d.ts +0 -39
- package/dist/streams/search/StreamsSearchResponseListQueryParams.js +0 -37
|
@@ -240,7 +240,7 @@ var HeaderHandler = /** @class */ (function (_super) {
|
|
|
240
240
|
var headers = {
|
|
241
241
|
'X-Api-Key': apiKey,
|
|
242
242
|
'X-Api-Client': 'bitmovin-api-sdk-javascript',
|
|
243
|
-
'X-Api-Client-Version': '1.
|
|
243
|
+
'X-Api-Client-Version': '1.181.0',
|
|
244
244
|
'Content-Type': 'application/json'
|
|
245
245
|
};
|
|
246
246
|
if (tenantOrgId) {
|
|
@@ -11,6 +11,12 @@ export interface ManifestListQueryParams {
|
|
|
11
11
|
* @memberof ManifestListQueryParams
|
|
12
12
|
*/
|
|
13
13
|
limit?: number | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof ManifestListQueryParams
|
|
18
|
+
*/
|
|
19
|
+
sort?: string | undefined;
|
|
14
20
|
}
|
|
15
21
|
export declare class ManifestListQueryParamsBuilder {
|
|
16
22
|
private internalParams;
|
|
@@ -24,5 +30,10 @@ export declare class ManifestListQueryParamsBuilder {
|
|
|
24
30
|
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
25
31
|
*/
|
|
26
32
|
limit(limit: number): this;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @param sort Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
|
|
36
|
+
*/
|
|
37
|
+
sort(sort: string): this;
|
|
27
38
|
buildQueryParams(): ManifestListQueryParams;
|
|
28
39
|
}
|
|
@@ -21,6 +21,14 @@ var ManifestListQueryParamsBuilder = /** @class */ (function () {
|
|
|
21
21
|
this.internalParams.limit = limit;
|
|
22
22
|
return this;
|
|
23
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @param sort Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
|
|
27
|
+
*/
|
|
28
|
+
ManifestListQueryParamsBuilder.prototype.sort = function (sort) {
|
|
29
|
+
this.internalParams.sort = sort;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
24
32
|
ManifestListQueryParamsBuilder.prototype.buildQueryParams = function () {
|
|
25
33
|
return this.internalParams;
|
|
26
34
|
};
|
|
@@ -11,6 +11,12 @@ export interface DashManifestListQueryParams {
|
|
|
11
11
|
* @memberof DashManifestListQueryParams
|
|
12
12
|
*/
|
|
13
13
|
limit?: number | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof DashManifestListQueryParams
|
|
18
|
+
*/
|
|
19
|
+
sort?: string | undefined;
|
|
14
20
|
/**
|
|
15
21
|
* Get the manifests that belong to that encoding id
|
|
16
22
|
* @type {string}
|
|
@@ -30,6 +36,11 @@ export declare class DashManifestListQueryParamsBuilder {
|
|
|
30
36
|
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
31
37
|
*/
|
|
32
38
|
limit(limit: number): this;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @param sort Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
|
|
42
|
+
*/
|
|
43
|
+
sort(sort: string): this;
|
|
33
44
|
/**
|
|
34
45
|
*
|
|
35
46
|
* @param encodingId Get the manifests that belong to that encoding id
|
|
@@ -21,6 +21,14 @@ var DashManifestListQueryParamsBuilder = /** @class */ (function () {
|
|
|
21
21
|
this.internalParams.limit = limit;
|
|
22
22
|
return this;
|
|
23
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @param sort Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
|
|
27
|
+
*/
|
|
28
|
+
DashManifestListQueryParamsBuilder.prototype.sort = function (sort) {
|
|
29
|
+
this.internalParams.sort = sort;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
24
32
|
/**
|
|
25
33
|
*
|
|
26
34
|
* @param encodingId Get the manifests that belong to that encoding id
|
|
@@ -11,6 +11,12 @@ export interface HlsManifestListQueryParams {
|
|
|
11
11
|
* @memberof HlsManifestListQueryParams
|
|
12
12
|
*/
|
|
13
13
|
limit?: number | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof HlsManifestListQueryParams
|
|
18
|
+
*/
|
|
19
|
+
sort?: string | undefined;
|
|
14
20
|
/**
|
|
15
21
|
* Get the manifests that belong to that encoding id
|
|
16
22
|
* @type {string}
|
|
@@ -30,6 +36,11 @@ export declare class HlsManifestListQueryParamsBuilder {
|
|
|
30
36
|
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
31
37
|
*/
|
|
32
38
|
limit(limit: number): this;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @param sort Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
|
|
42
|
+
*/
|
|
43
|
+
sort(sort: string): this;
|
|
33
44
|
/**
|
|
34
45
|
*
|
|
35
46
|
* @param encodingId Get the manifests that belong to that encoding id
|
|
@@ -21,6 +21,14 @@ var HlsManifestListQueryParamsBuilder = /** @class */ (function () {
|
|
|
21
21
|
this.internalParams.limit = limit;
|
|
22
22
|
return this;
|
|
23
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @param sort Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
|
|
27
|
+
*/
|
|
28
|
+
HlsManifestListQueryParamsBuilder.prototype.sort = function (sort) {
|
|
29
|
+
this.internalParams.sort = sort;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
24
32
|
/**
|
|
25
33
|
*
|
|
26
34
|
* @param encodingId Get the manifests that belong to that encoding id
|
|
@@ -11,6 +11,12 @@ export interface SmoothStreamingManifestListQueryParams {
|
|
|
11
11
|
* @memberof SmoothStreamingManifestListQueryParams
|
|
12
12
|
*/
|
|
13
13
|
limit?: number | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof SmoothStreamingManifestListQueryParams
|
|
18
|
+
*/
|
|
19
|
+
sort?: string | undefined;
|
|
14
20
|
/**
|
|
15
21
|
* Get the manifests that belong to that encoding id
|
|
16
22
|
* @type {string}
|
|
@@ -30,6 +36,11 @@ export declare class SmoothStreamingManifestListQueryParamsBuilder {
|
|
|
30
36
|
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
31
37
|
*/
|
|
32
38
|
limit(limit: number): this;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @param sort Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
|
|
42
|
+
*/
|
|
43
|
+
sort(sort: string): this;
|
|
33
44
|
/**
|
|
34
45
|
*
|
|
35
46
|
* @param encodingId Get the manifests that belong to that encoding id
|
|
@@ -21,6 +21,14 @@ var SmoothStreamingManifestListQueryParamsBuilder = /** @class */ (function () {
|
|
|
21
21
|
this.internalParams.limit = limit;
|
|
22
22
|
return this;
|
|
23
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @param sort Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
|
|
27
|
+
*/
|
|
28
|
+
SmoothStreamingManifestListQueryParamsBuilder.prototype.sort = function (sort) {
|
|
29
|
+
this.internalParams.sort = sort;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
24
32
|
/**
|
|
25
33
|
*
|
|
26
34
|
* @param encodingId Get the manifests that belong to that encoding id
|
|
@@ -57,6 +57,11 @@ export declare class AccountInformation extends BitmovinResource {
|
|
|
57
57
|
* @memberof AccountInformation
|
|
58
58
|
*/
|
|
59
59
|
mfaEnabled?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof AccountInformation
|
|
63
|
+
*/
|
|
64
|
+
intercomIdVerification?: string;
|
|
60
65
|
constructor(obj?: Partial<AccountInformation>);
|
|
61
66
|
}
|
|
62
67
|
export default AccountInformation;
|
|
@@ -39,6 +39,7 @@ var AccountInformation = /** @class */ (function (_super) {
|
|
|
39
39
|
_this.verified = (0, Mapper_1.map)(obj.verified);
|
|
40
40
|
_this.marketplace = (0, Mapper_1.map)(obj.marketplace);
|
|
41
41
|
_this.mfaEnabled = (0, Mapper_1.map)(obj.mfaEnabled);
|
|
42
|
+
_this.intercomIdVerification = (0, Mapper_1.map)(obj.intercomIdVerification);
|
|
42
43
|
return _this;
|
|
43
44
|
}
|
|
44
45
|
return AccountInformation;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import Input from './Input';
|
|
2
2
|
import InputType from './InputType';
|
|
3
|
+
import S3AccessStyle from './S3AccessStyle';
|
|
3
4
|
import S3SignatureVersion from './S3SignatureVersion';
|
|
4
5
|
/**
|
|
5
6
|
* @export
|
|
@@ -36,6 +37,12 @@ export declare class GenericS3Input extends Input {
|
|
|
36
37
|
* @memberof GenericS3Input
|
|
37
38
|
*/
|
|
38
39
|
ssl?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* The signing region to use
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof GenericS3Input
|
|
44
|
+
*/
|
|
45
|
+
signingRegion?: string;
|
|
39
46
|
/**
|
|
40
47
|
* Specifies the method used for authentication
|
|
41
48
|
* @type {S3SignatureVersion}
|
|
@@ -54,6 +61,12 @@ export declare class GenericS3Input extends Input {
|
|
|
54
61
|
* @memberof GenericS3Input
|
|
55
62
|
*/
|
|
56
63
|
secretKey?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Specifies the URL access style to use
|
|
66
|
+
* @type {S3AccessStyle}
|
|
67
|
+
* @memberof GenericS3Input
|
|
68
|
+
*/
|
|
69
|
+
accessStyle?: S3AccessStyle;
|
|
57
70
|
constructor(obj?: Partial<GenericS3Input>);
|
|
58
71
|
}
|
|
59
72
|
export default GenericS3Input;
|
|
@@ -40,9 +40,11 @@ var GenericS3Input = /** @class */ (function (_super) {
|
|
|
40
40
|
_this.host = (0, Mapper_1.map)(obj.host);
|
|
41
41
|
_this.port = (0, Mapper_1.map)(obj.port);
|
|
42
42
|
_this.ssl = (0, Mapper_1.map)(obj.ssl);
|
|
43
|
+
_this.signingRegion = (0, Mapper_1.map)(obj.signingRegion);
|
|
43
44
|
_this.signatureVersion = (0, Mapper_1.map)(obj.signatureVersion);
|
|
44
45
|
_this.accessKey = (0, Mapper_1.map)(obj.accessKey);
|
|
45
46
|
_this.secretKey = (0, Mapper_1.map)(obj.secretKey);
|
|
47
|
+
_this.accessStyle = (0, Mapper_1.map)(obj.accessStyle);
|
|
46
48
|
return _this;
|
|
47
49
|
}
|
|
48
50
|
return GenericS3Input;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import Output from './Output';
|
|
2
2
|
import OutputType from './OutputType';
|
|
3
|
+
import S3AccessStyle from './S3AccessStyle';
|
|
3
4
|
import S3SignatureVersion from './S3SignatureVersion';
|
|
4
5
|
/**
|
|
5
6
|
* @export
|
|
@@ -48,12 +49,24 @@ export declare class GenericS3Output extends Output {
|
|
|
48
49
|
* @memberof GenericS3Output
|
|
49
50
|
*/
|
|
50
51
|
ssl?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* The signing region to use
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof GenericS3Output
|
|
56
|
+
*/
|
|
57
|
+
signingRegion?: string;
|
|
51
58
|
/**
|
|
52
59
|
* Specifies the method used for authentication
|
|
53
60
|
* @type {S3SignatureVersion}
|
|
54
61
|
* @memberof GenericS3Output
|
|
55
62
|
*/
|
|
56
63
|
signatureVersion?: S3SignatureVersion;
|
|
64
|
+
/**
|
|
65
|
+
* Specifies the URL access style to use
|
|
66
|
+
* @type {S3AccessStyle}
|
|
67
|
+
* @memberof GenericS3Output
|
|
68
|
+
*/
|
|
69
|
+
accessStyle?: S3AccessStyle;
|
|
57
70
|
constructor(obj?: Partial<GenericS3Output>);
|
|
58
71
|
}
|
|
59
72
|
export default GenericS3Output;
|
|
@@ -42,7 +42,9 @@ var GenericS3Output = /** @class */ (function (_super) {
|
|
|
42
42
|
_this.host = (0, Mapper_1.map)(obj.host);
|
|
43
43
|
_this.port = (0, Mapper_1.map)(obj.port);
|
|
44
44
|
_this.ssl = (0, Mapper_1.map)(obj.ssl);
|
|
45
|
+
_this.signingRegion = (0, Mapper_1.map)(obj.signingRegion);
|
|
45
46
|
_this.signatureVersion = (0, Mapper_1.map)(obj.signatureVersion);
|
|
47
|
+
_this.accessStyle = (0, Mapper_1.map)(obj.accessStyle);
|
|
46
48
|
return _this;
|
|
47
49
|
}
|
|
48
50
|
return GenericS3Output;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import HlsManifestAdMarkerType from './HlsManifestAdMarkerType';
|
|
2
|
+
/**
|
|
3
|
+
* @export
|
|
4
|
+
* @class HlsManifestAdMarkerSettings
|
|
5
|
+
*/
|
|
6
|
+
export declare class HlsManifestAdMarkerSettings {
|
|
7
|
+
/**
|
|
8
|
+
* Ad marker types that will be inserted. More than one type is possible. - EXT_X_CUE_OUT_IN: Ad markers will be inserted using `#EXT-X-CUE-OUT` and `#EXT-X-CUE-IN` tags - EXT_OATCLS_SCTE35: Ad markers will be inserted using `#EXT-OATCLS-SCTE35` tags. They contain the base64 encoded raw bytes of the original SCTE-35 trigger. - EXT_X_SPLICEPOINT_SCTE35: Ad markers will be inserted using `#EXT-X-SPLICEPOINT-SCTE35` tags. They contain the base64 encoded raw bytes of the original SCTE-35 trigger.
|
|
9
|
+
* @type {HlsManifestAdMarkerType[]}
|
|
10
|
+
* @memberof HlsManifestAdMarkerSettings
|
|
11
|
+
*/
|
|
12
|
+
enabledMarkerTypes?: HlsManifestAdMarkerType[];
|
|
13
|
+
constructor(obj?: Partial<HlsManifestAdMarkerSettings>);
|
|
14
|
+
}
|
|
15
|
+
export default HlsManifestAdMarkerSettings;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HlsManifestAdMarkerSettings = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
/**
|
|
6
|
+
* @export
|
|
7
|
+
* @class HlsManifestAdMarkerSettings
|
|
8
|
+
*/
|
|
9
|
+
var HlsManifestAdMarkerSettings = /** @class */ (function () {
|
|
10
|
+
function HlsManifestAdMarkerSettings(obj) {
|
|
11
|
+
if (!obj) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
this.enabledMarkerTypes = (0, Mapper_1.mapArray)(obj.enabledMarkerTypes);
|
|
15
|
+
}
|
|
16
|
+
return HlsManifestAdMarkerSettings;
|
|
17
|
+
}());
|
|
18
|
+
exports.HlsManifestAdMarkerSettings = HlsManifestAdMarkerSettings;
|
|
19
|
+
exports.default = HlsManifestAdMarkerSettings;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HLS Manifest ad marker types
|
|
3
|
+
* @export
|
|
4
|
+
* @enum {string}
|
|
5
|
+
*/
|
|
6
|
+
export declare enum HlsManifestAdMarkerType {
|
|
7
|
+
EXT_X_CUE_OUT_IN = "EXT_X_CUE_OUT_IN",
|
|
8
|
+
EXT_OATCLS_SCTE35 = "EXT_OATCLS_SCTE35",
|
|
9
|
+
EXT_X_SPLICEPOINT_SCTE35 = "EXT_X_SPLICEPOINT_SCTE35"
|
|
10
|
+
}
|
|
11
|
+
export default HlsManifestAdMarkerType;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HlsManifestAdMarkerType = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* HLS Manifest ad marker types
|
|
6
|
+
* @export
|
|
7
|
+
* @enum {string}
|
|
8
|
+
*/
|
|
9
|
+
var HlsManifestAdMarkerType;
|
|
10
|
+
(function (HlsManifestAdMarkerType) {
|
|
11
|
+
HlsManifestAdMarkerType["EXT_X_CUE_OUT_IN"] = "EXT_X_CUE_OUT_IN";
|
|
12
|
+
HlsManifestAdMarkerType["EXT_OATCLS_SCTE35"] = "EXT_OATCLS_SCTE35";
|
|
13
|
+
HlsManifestAdMarkerType["EXT_X_SPLICEPOINT_SCTE35"] = "EXT_X_SPLICEPOINT_SCTE35";
|
|
14
|
+
})(HlsManifestAdMarkerType || (exports.HlsManifestAdMarkerType = HlsManifestAdMarkerType = {}));
|
|
15
|
+
exports.default = HlsManifestAdMarkerType;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import HlsManifestAdMarkerSettings from './HlsManifestAdMarkerSettings';
|
|
1
2
|
import ProgramDateTimeSettings from './ProgramDateTimeSettings';
|
|
2
3
|
/**
|
|
3
4
|
* @export
|
|
@@ -34,6 +35,12 @@ export declare class LiveHlsManifest {
|
|
|
34
35
|
* @memberof LiveHlsManifest
|
|
35
36
|
*/
|
|
36
37
|
programDateTimeSettings?: ProgramDateTimeSettings;
|
|
38
|
+
/**
|
|
39
|
+
* Configuration for tags related to ad markers (e.g. Scte35)
|
|
40
|
+
* @type {HlsManifestAdMarkerSettings}
|
|
41
|
+
* @memberof LiveHlsManifest
|
|
42
|
+
*/
|
|
43
|
+
adMarkerSettings?: HlsManifestAdMarkerSettings;
|
|
37
44
|
constructor(obj?: Partial<LiveHlsManifest>);
|
|
38
45
|
}
|
|
39
46
|
export default LiveHlsManifest;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LiveHlsManifest = void 0;
|
|
4
4
|
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
var HlsManifestAdMarkerSettings_1 = require("./HlsManifestAdMarkerSettings");
|
|
5
6
|
var ProgramDateTimeSettings_1 = require("./ProgramDateTimeSettings");
|
|
6
7
|
/**
|
|
7
8
|
* @export
|
|
@@ -17,6 +18,7 @@ var LiveHlsManifest = /** @class */ (function () {
|
|
|
17
18
|
this.liveEdgeOffset = (0, Mapper_1.map)(obj.liveEdgeOffset);
|
|
18
19
|
this.insertProgramDateTime = (0, Mapper_1.map)(obj.insertProgramDateTime);
|
|
19
20
|
this.programDateTimeSettings = (0, Mapper_1.map)(obj.programDateTimeSettings, ProgramDateTimeSettings_1.default);
|
|
21
|
+
this.adMarkerSettings = (0, Mapper_1.map)(obj.adMarkerSettings, HlsManifestAdMarkerSettings_1.default);
|
|
20
22
|
}
|
|
21
23
|
return LiveHlsManifest;
|
|
22
24
|
}());
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.S3AccessStyle = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Specifies whether to use path or virtual-hosted style access
|
|
6
|
+
* @export
|
|
7
|
+
* @enum {string}
|
|
8
|
+
*/
|
|
9
|
+
var S3AccessStyle;
|
|
10
|
+
(function (S3AccessStyle) {
|
|
11
|
+
S3AccessStyle["VIRTUAL_HOSTED"] = "VIRTUAL_HOSTED";
|
|
12
|
+
S3AccessStyle["PATH"] = "PATH";
|
|
13
|
+
})(S3AccessStyle || (exports.S3AccessStyle = S3AccessStyle = {}));
|
|
14
|
+
exports.default = S3AccessStyle;
|
|
@@ -1,43 +1,27 @@
|
|
|
1
1
|
import StreamsAdConfigResponse from './StreamsAdConfigResponse';
|
|
2
2
|
import StreamsContentProtectionResponse from './StreamsContentProtectionResponse';
|
|
3
3
|
import StreamsLiveLifeCycle from './StreamsLiveLifeCycle';
|
|
4
|
+
import StreamsResponse from './StreamsResponse';
|
|
4
5
|
import StreamsStyleConfigResponse from './StreamsStyleConfigResponse';
|
|
5
6
|
import StreamsTrimmingStatus from './StreamsTrimmingStatus';
|
|
7
|
+
import StreamsType from './StreamsType';
|
|
6
8
|
/**
|
|
7
9
|
* @export
|
|
8
10
|
* @class StreamsLiveResponse
|
|
9
11
|
*/
|
|
10
|
-
export declare class StreamsLiveResponse {
|
|
12
|
+
export declare class StreamsLiveResponse extends StreamsResponse {
|
|
11
13
|
/**
|
|
12
|
-
*
|
|
14
|
+
* Discriminator property for StreamsResponse
|
|
13
15
|
* @type {string}
|
|
14
16
|
* @memberof StreamsLiveResponse
|
|
15
17
|
*/
|
|
16
|
-
|
|
18
|
+
readonly type: StreamsType;
|
|
17
19
|
/**
|
|
18
20
|
* The streamKey of the stream
|
|
19
21
|
* @type {string}
|
|
20
22
|
* @memberof StreamsLiveResponse
|
|
21
23
|
*/
|
|
22
24
|
streamKey?: string;
|
|
23
|
-
/**
|
|
24
|
-
* The title of the stream
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof StreamsLiveResponse
|
|
27
|
-
*/
|
|
28
|
-
title?: string;
|
|
29
|
-
/**
|
|
30
|
-
* The description of the stream
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof StreamsLiveResponse
|
|
33
|
-
*/
|
|
34
|
-
description?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Creation timestamp, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
|
37
|
-
* @type {Date}
|
|
38
|
-
* @memberof StreamsLiveResponse
|
|
39
|
-
*/
|
|
40
|
-
createdAt?: Date;
|
|
41
25
|
/**
|
|
42
26
|
* The life cycle of the stream
|
|
43
27
|
* @type {StreamsLiveLifeCycle}
|
|
@@ -1,32 +1,54 @@
|
|
|
1
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
|
+
})();
|
|
2
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
18
|
exports.StreamsLiveResponse = void 0;
|
|
4
19
|
var Mapper_1 = require("../common/Mapper");
|
|
5
20
|
var StreamsAdConfigResponse_1 = require("./StreamsAdConfigResponse");
|
|
6
21
|
var StreamsContentProtectionResponse_1 = require("./StreamsContentProtectionResponse");
|
|
22
|
+
var StreamsResponse_1 = require("./StreamsResponse");
|
|
7
23
|
var StreamsStyleConfigResponse_1 = require("./StreamsStyleConfigResponse");
|
|
24
|
+
var StreamsType_1 = require("./StreamsType");
|
|
8
25
|
/**
|
|
9
26
|
* @export
|
|
10
27
|
* @class StreamsLiveResponse
|
|
11
28
|
*/
|
|
12
|
-
var StreamsLiveResponse = /** @class */ (function () {
|
|
29
|
+
var StreamsLiveResponse = /** @class */ (function (_super) {
|
|
30
|
+
__extends(StreamsLiveResponse, _super);
|
|
13
31
|
function StreamsLiveResponse(obj) {
|
|
32
|
+
var _this = _super.call(this, obj) || this;
|
|
33
|
+
/**
|
|
34
|
+
* Discriminator property for StreamsResponse
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof StreamsLiveResponse
|
|
37
|
+
*/
|
|
38
|
+
_this.type = StreamsType_1.default.LIVE;
|
|
14
39
|
if (!obj) {
|
|
15
|
-
return;
|
|
40
|
+
return _this;
|
|
16
41
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
|
|
26
|
-
this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
|
|
27
|
-
this.trimming = (0, Mapper_1.map)(obj.trimming);
|
|
42
|
+
_this.streamKey = (0, Mapper_1.map)(obj.streamKey);
|
|
43
|
+
_this.lifeCycle = (0, Mapper_1.map)(obj.lifeCycle);
|
|
44
|
+
_this.styleConfig = (0, Mapper_1.map)(obj.styleConfig, StreamsStyleConfigResponse_1.default);
|
|
45
|
+
_this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
|
|
46
|
+
_this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
|
|
47
|
+
_this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
|
|
48
|
+
_this.trimming = (0, Mapper_1.map)(obj.trimming);
|
|
49
|
+
return _this;
|
|
28
50
|
}
|
|
29
51
|
return StreamsLiveResponse;
|
|
30
|
-
}());
|
|
52
|
+
}(StreamsResponse_1.default));
|
|
31
53
|
exports.StreamsLiveResponse = StreamsLiveResponse;
|
|
32
54
|
exports.default = StreamsLiveResponse;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import StreamsLiveResponse from './StreamsLiveResponse';
|
|
2
|
+
import StreamsType from './StreamsType';
|
|
3
|
+
import StreamsVideoResponse from './StreamsVideoResponse';
|
|
4
|
+
export type StreamsResponseUnion = StreamsVideoResponse | StreamsLiveResponse;
|
|
5
|
+
/**
|
|
6
|
+
* @export
|
|
7
|
+
* @class StreamsResponse
|
|
8
|
+
*/
|
|
9
|
+
export declare class StreamsResponse {
|
|
10
|
+
protected static readonly _discriminatorName = "type";
|
|
11
|
+
protected static readonly _discriminatorMapping: {
|
|
12
|
+
[key in keyof typeof StreamsType]: string;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* The identifier of the stream
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof StreamsResponse
|
|
18
|
+
*/
|
|
19
|
+
id?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The title of the stream
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof StreamsResponse
|
|
24
|
+
*/
|
|
25
|
+
title?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The description of the stream
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof StreamsResponse
|
|
30
|
+
*/
|
|
31
|
+
description?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Creation timestamp, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
|
34
|
+
* @type {Date}
|
|
35
|
+
* @memberof StreamsResponse
|
|
36
|
+
*/
|
|
37
|
+
createdAt?: Date;
|
|
38
|
+
/**
|
|
39
|
+
* Type of the Stream contained in the StreamsResponse
|
|
40
|
+
* @type {StreamsType}
|
|
41
|
+
* @memberof StreamsResponse
|
|
42
|
+
*/
|
|
43
|
+
type?: StreamsType;
|
|
44
|
+
constructor(obj?: Partial<StreamsResponse>);
|
|
45
|
+
}
|
|
46
|
+
export default StreamsResponse;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.StreamsResponse = void 0;
|
|
4
4
|
var Mapper_1 = require("../common/Mapper");
|
|
5
5
|
/**
|
|
6
6
|
* @export
|
|
7
|
-
* @class
|
|
7
|
+
* @class StreamsResponse
|
|
8
8
|
*/
|
|
9
|
-
var
|
|
10
|
-
function
|
|
9
|
+
var StreamsResponse = /** @class */ (function () {
|
|
10
|
+
function StreamsResponse(obj) {
|
|
11
11
|
if (!obj) {
|
|
12
12
|
return;
|
|
13
13
|
}
|
|
@@ -17,7 +17,12 @@ var StreamsSearchResponse = /** @class */ (function () {
|
|
|
17
17
|
this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
|
|
18
18
|
this.type = (0, Mapper_1.map)(obj.type);
|
|
19
19
|
}
|
|
20
|
-
|
|
20
|
+
StreamsResponse._discriminatorName = 'type';
|
|
21
|
+
StreamsResponse._discriminatorMapping = {
|
|
22
|
+
VIDEO: 'StreamsVideoResponse',
|
|
23
|
+
LIVE: 'StreamsLiveResponse'
|
|
24
|
+
};
|
|
25
|
+
return StreamsResponse;
|
|
21
26
|
}());
|
|
22
|
-
exports.
|
|
23
|
-
exports.default =
|
|
27
|
+
exports.StreamsResponse = StreamsResponse;
|
|
28
|
+
exports.default = StreamsResponse;
|