@bitmovin/api-sdk 1.170.0 → 1.172.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/README.md +1 -1
- package/dist/bitmovin-api-sdk.browser.js +66 -4
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/models/AccountInformation.d.ts +6 -0
- package/dist/models/AccountInformation.js +1 -0
- package/dist/models/AnalyticsAttribute.d.ts +1 -0
- package/dist/models/AnalyticsAttribute.js +1 -0
- package/dist/models/Marketplace.d.ts +10 -0
- package/dist/models/Marketplace.js +14 -0
- package/dist/models/NexGuardFileMarker.d.ts +1 -1
- package/dist/models/StreamsLiveResponse.d.ts +7 -0
- package/dist/models/StreamsLiveResponse.js +1 -0
- package/dist/models/StreamsTrimmingStatus.d.ts +12 -0
- package/dist/models/StreamsTrimmingStatus.js +16 -0
- package/dist/models/StreamsVideoQuality.d.ts +1 -2
- package/dist/models/StreamsVideoQuality.js +0 -1
- package/dist/models/StreamsVideoResponse.d.ts +7 -0
- package/dist/models/StreamsVideoResponse.js +1 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
|
@@ -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.172.0',
|
|
244
244
|
'Content-Type': 'application/json'
|
|
245
245
|
};
|
|
246
246
|
if (tenantOrgId) {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import AccountApiKey from './AccountApiKey';
|
|
2
2
|
import BitmovinResource from './BitmovinResource';
|
|
3
|
+
import Marketplace from './Marketplace';
|
|
3
4
|
/**
|
|
4
5
|
* @export
|
|
5
6
|
* @class AccountInformation
|
|
@@ -46,6 +47,11 @@ export declare class AccountInformation extends BitmovinResource {
|
|
|
46
47
|
* @memberof AccountInformation
|
|
47
48
|
*/
|
|
48
49
|
verified?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* @type {Marketplace}
|
|
52
|
+
* @memberof AccountInformation
|
|
53
|
+
*/
|
|
54
|
+
marketplace?: Marketplace;
|
|
49
55
|
constructor(obj?: Partial<AccountInformation>);
|
|
50
56
|
}
|
|
51
57
|
export default AccountInformation;
|
|
@@ -37,6 +37,7 @@ var AccountInformation = /** @class */ (function (_super) {
|
|
|
37
37
|
_this.phone = (0, Mapper_1.map)(obj.phone);
|
|
38
38
|
_this.company = (0, Mapper_1.map)(obj.company);
|
|
39
39
|
_this.verified = (0, Mapper_1.map)(obj.verified);
|
|
40
|
+
_this.marketplace = (0, Mapper_1.map)(obj.marketplace);
|
|
40
41
|
return _this;
|
|
41
42
|
}
|
|
42
43
|
return AccountInformation;
|
|
@@ -61,6 +61,7 @@ export declare enum AnalyticsAttribute {
|
|
|
61
61
|
ERROR_CODE = "ERROR_CODE",
|
|
62
62
|
ERROR_MESSAGE = "ERROR_MESSAGE",
|
|
63
63
|
ERROR_RATE = "ERROR_RATE",
|
|
64
|
+
ERROR_PERCENTAGE = "ERROR_PERCENTAGE",
|
|
64
65
|
EXPERIMENT_NAME = "EXPERIMENT_NAME",
|
|
65
66
|
FUNCTION = "FUNCTION",
|
|
66
67
|
HOUR = "HOUR",
|
|
@@ -65,6 +65,7 @@ var AnalyticsAttribute;
|
|
|
65
65
|
AnalyticsAttribute["ERROR_CODE"] = "ERROR_CODE";
|
|
66
66
|
AnalyticsAttribute["ERROR_MESSAGE"] = "ERROR_MESSAGE";
|
|
67
67
|
AnalyticsAttribute["ERROR_RATE"] = "ERROR_RATE";
|
|
68
|
+
AnalyticsAttribute["ERROR_PERCENTAGE"] = "ERROR_PERCENTAGE";
|
|
68
69
|
AnalyticsAttribute["EXPERIMENT_NAME"] = "EXPERIMENT_NAME";
|
|
69
70
|
AnalyticsAttribute["FUNCTION"] = "FUNCTION";
|
|
70
71
|
AnalyticsAttribute["HOUR"] = "HOUR";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Marketplace = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Type of signup marketplace
|
|
6
|
+
* @export
|
|
7
|
+
* @enum {string}
|
|
8
|
+
*/
|
|
9
|
+
var Marketplace;
|
|
10
|
+
(function (Marketplace) {
|
|
11
|
+
Marketplace["AWS"] = "AWS";
|
|
12
|
+
Marketplace["AZURE"] = "AZURE";
|
|
13
|
+
})(Marketplace = exports.Marketplace || (exports.Marketplace = {}));
|
|
14
|
+
exports.default = Marketplace;
|
|
@@ -13,7 +13,7 @@ export declare class NexGuardFileMarker extends BitmovinResource {
|
|
|
13
13
|
*/
|
|
14
14
|
license?: string;
|
|
15
15
|
/**
|
|
16
|
-
* The type of watermarking to be used
|
|
16
|
+
* The type of watermarking to be used: * `OTT` - A/B watermarking (for video streams only) * `DUPLICATED` - Stream duplication to match A/B video streams in CDN delivery (for audio streams only)
|
|
17
17
|
* @type {NexGuardWatermarkingType}
|
|
18
18
|
* @memberof NexGuardFileMarker
|
|
19
19
|
*/
|
|
@@ -2,6 +2,7 @@ import StreamsAdConfigResponse from './StreamsAdConfigResponse';
|
|
|
2
2
|
import StreamsContentProtectionResponse from './StreamsContentProtectionResponse';
|
|
3
3
|
import StreamsLiveLifeCycle from './StreamsLiveLifeCycle';
|
|
4
4
|
import StreamsStyleConfigResponse from './StreamsStyleConfigResponse';
|
|
5
|
+
import StreamsTrimmingStatus from './StreamsTrimmingStatus';
|
|
5
6
|
/**
|
|
6
7
|
* @export
|
|
7
8
|
* @class StreamsLiveResponse
|
|
@@ -64,6 +65,12 @@ export declare class StreamsLiveResponse {
|
|
|
64
65
|
* @memberof StreamsLiveResponse
|
|
65
66
|
*/
|
|
66
67
|
contentProtection?: StreamsContentProtectionResponse;
|
|
68
|
+
/**
|
|
69
|
+
* Stream trimming information
|
|
70
|
+
* @type {StreamsTrimmingStatus}
|
|
71
|
+
* @memberof StreamsLiveResponse
|
|
72
|
+
*/
|
|
73
|
+
trimming?: StreamsTrimmingStatus;
|
|
67
74
|
constructor(obj?: Partial<StreamsLiveResponse>);
|
|
68
75
|
}
|
|
69
76
|
export default StreamsLiveResponse;
|
|
@@ -24,6 +24,7 @@ var StreamsLiveResponse = /** @class */ (function () {
|
|
|
24
24
|
this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
|
|
25
25
|
this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
|
|
26
26
|
this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
|
|
27
|
+
this.trimming = (0, Mapper_1.map)(obj.trimming);
|
|
27
28
|
}
|
|
28
29
|
return StreamsLiveResponse;
|
|
29
30
|
}());
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StreamsTrimmingStatus = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
var StreamsTrimmingStatus;
|
|
9
|
+
(function (StreamsTrimmingStatus) {
|
|
10
|
+
StreamsTrimmingStatus["UNAVAILABLE"] = "UNAVAILABLE";
|
|
11
|
+
StreamsTrimmingStatus["AVAILABLE"] = "AVAILABLE";
|
|
12
|
+
StreamsTrimmingStatus["STARTED"] = "STARTED";
|
|
13
|
+
StreamsTrimmingStatus["ERROR"] = "ERROR";
|
|
14
|
+
StreamsTrimmingStatus["FINISHED"] = "FINISHED";
|
|
15
|
+
})(StreamsTrimmingStatus = exports.StreamsTrimmingStatus || (exports.StreamsTrimmingStatus = {}));
|
|
16
|
+
exports.default = StreamsTrimmingStatus;
|
|
@@ -10,6 +10,5 @@ var StreamsVideoQuality;
|
|
|
10
10
|
StreamsVideoQuality["NONE"] = "NONE";
|
|
11
11
|
StreamsVideoQuality["PREVIEW"] = "PREVIEW";
|
|
12
12
|
StreamsVideoQuality["DEFAULT"] = "DEFAULT";
|
|
13
|
-
StreamsVideoQuality["TRIMMED"] = "TRIMMED";
|
|
14
13
|
})(StreamsVideoQuality = exports.StreamsVideoQuality || (exports.StreamsVideoQuality = {}));
|
|
15
14
|
exports.default = StreamsVideoQuality;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import StreamsAdConfigResponse from './StreamsAdConfigResponse';
|
|
2
2
|
import StreamsContentProtectionResponse from './StreamsContentProtectionResponse';
|
|
3
3
|
import StreamsStyleConfigResponse from './StreamsStyleConfigResponse';
|
|
4
|
+
import StreamsTrimmingStatus from './StreamsTrimmingStatus';
|
|
4
5
|
import StreamsVideoEncodingTask from './StreamsVideoEncodingTask';
|
|
5
6
|
import StreamsVideoStatus from './StreamsVideoStatus';
|
|
6
7
|
/**
|
|
@@ -71,6 +72,12 @@ export declare class StreamsVideoResponse {
|
|
|
71
72
|
* @memberof StreamsVideoResponse
|
|
72
73
|
*/
|
|
73
74
|
contentProtection?: StreamsContentProtectionResponse;
|
|
75
|
+
/**
|
|
76
|
+
* Stream trimming information
|
|
77
|
+
* @type {StreamsTrimmingStatus}
|
|
78
|
+
* @memberof StreamsVideoResponse
|
|
79
|
+
*/
|
|
80
|
+
trimming?: StreamsTrimmingStatus;
|
|
74
81
|
constructor(obj?: Partial<StreamsVideoResponse>);
|
|
75
82
|
}
|
|
76
83
|
export default StreamsVideoResponse;
|
|
@@ -26,6 +26,7 @@ var StreamsVideoResponse = /** @class */ (function () {
|
|
|
26
26
|
this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
|
|
27
27
|
this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
|
|
28
28
|
this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
|
|
29
|
+
this.trimming = (0, Mapper_1.map)(obj.trimming);
|
|
29
30
|
}
|
|
30
31
|
return StreamsVideoResponse;
|
|
31
32
|
}());
|
package/dist/models/index.d.ts
CHANGED
|
@@ -478,6 +478,7 @@ export * from './ManifestGenerator';
|
|
|
478
478
|
export * from './ManifestResource';
|
|
479
479
|
export * from './ManifestType';
|
|
480
480
|
export * from './ManifestTypeResponse';
|
|
481
|
+
export * from './Marketplace';
|
|
481
482
|
export * from './MarlinDrm';
|
|
482
483
|
export * from './MaxCtuSize';
|
|
483
484
|
export * from './MaxTransformUnitSize';
|
|
@@ -714,6 +715,7 @@ export * from './StreamsLiveUpdateRequest';
|
|
|
714
715
|
export * from './StreamsSearchResponse';
|
|
715
716
|
export * from './StreamsStyleConfigPlayerStyle';
|
|
716
717
|
export * from './StreamsStyleConfigResponse';
|
|
718
|
+
export * from './StreamsTrimmingStatus';
|
|
717
719
|
export * from './StreamsType';
|
|
718
720
|
export * from './StreamsVideoCreateRequest';
|
|
719
721
|
export * from './StreamsVideoEncodingStatus';
|
package/dist/models/index.js
CHANGED
|
@@ -494,6 +494,7 @@ __exportStar(require("./ManifestGenerator"), exports);
|
|
|
494
494
|
__exportStar(require("./ManifestResource"), exports);
|
|
495
495
|
__exportStar(require("./ManifestType"), exports);
|
|
496
496
|
__exportStar(require("./ManifestTypeResponse"), exports);
|
|
497
|
+
__exportStar(require("./Marketplace"), exports);
|
|
497
498
|
__exportStar(require("./MarlinDrm"), exports);
|
|
498
499
|
__exportStar(require("./MaxCtuSize"), exports);
|
|
499
500
|
__exportStar(require("./MaxTransformUnitSize"), exports);
|
|
@@ -730,6 +731,7 @@ __exportStar(require("./StreamsLiveUpdateRequest"), exports);
|
|
|
730
731
|
__exportStar(require("./StreamsSearchResponse"), exports);
|
|
731
732
|
__exportStar(require("./StreamsStyleConfigPlayerStyle"), exports);
|
|
732
733
|
__exportStar(require("./StreamsStyleConfigResponse"), exports);
|
|
734
|
+
__exportStar(require("./StreamsTrimmingStatus"), exports);
|
|
733
735
|
__exportStar(require("./StreamsType"), exports);
|
|
734
736
|
__exportStar(require("./StreamsVideoCreateRequest"), exports);
|
|
735
737
|
__exportStar(require("./StreamsVideoEncodingStatus"), exports);
|