@bitmovin/api-sdk 1.170.0 → 1.171.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.
@@ -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.170.0',
243
+ 'X-Api-Client-Version': '1.171.0',
244
244
  'Content-Type': 'application/json'
245
245
  };
246
246
  if (tenantOrgId) {
@@ -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. Usually, OTT is the one recommended in production.
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,12 @@
1
+ /**
2
+ * @export
3
+ * @enum {string}
4
+ */
5
+ export declare enum StreamsTrimmingStatus {
6
+ UNAVAILABLE = "UNAVAILABLE",
7
+ AVAILABLE = "AVAILABLE",
8
+ STARTED = "STARTED",
9
+ ERROR = "ERROR",
10
+ FINISHED = "FINISHED"
11
+ }
12
+ export default StreamsTrimmingStatus;
@@ -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;
@@ -5,7 +5,6 @@
5
5
  export declare enum StreamsVideoQuality {
6
6
  NONE = "NONE",
7
7
  PREVIEW = "PREVIEW",
8
- DEFAULT = "DEFAULT",
9
- TRIMMED = "TRIMMED"
8
+ DEFAULT = "DEFAULT"
10
9
  }
11
10
  export default StreamsVideoQuality;
@@ -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
  }());
@@ -714,6 +714,7 @@ export * from './StreamsLiveUpdateRequest';
714
714
  export * from './StreamsSearchResponse';
715
715
  export * from './StreamsStyleConfigPlayerStyle';
716
716
  export * from './StreamsStyleConfigResponse';
717
+ export * from './StreamsTrimmingStatus';
717
718
  export * from './StreamsType';
718
719
  export * from './StreamsVideoCreateRequest';
719
720
  export * from './StreamsVideoEncodingStatus';
@@ -730,6 +730,7 @@ __exportStar(require("./StreamsLiveUpdateRequest"), exports);
730
730
  __exportStar(require("./StreamsSearchResponse"), exports);
731
731
  __exportStar(require("./StreamsStyleConfigPlayerStyle"), exports);
732
732
  __exportStar(require("./StreamsStyleConfigResponse"), exports);
733
+ __exportStar(require("./StreamsTrimmingStatus"), exports);
733
734
  __exportStar(require("./StreamsType"), exports);
734
735
  __exportStar(require("./StreamsVideoCreateRequest"), exports);
735
736
  __exportStar(require("./StreamsVideoEncodingStatus"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.170.0",
3
+ "version": "1.171.0",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [