@bitmovin/api-sdk 1.252.0 → 1.253.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 +185 -3
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/encodings/EncodingsApi.d.ts +2 -0
- package/dist/encoding/encodings/EncodingsApi.js +2 -0
- package/dist/encoding/encodings/kantarWatermark/KantarWatermarkApi.d.ts +35 -0
- package/dist/encoding/encodings/kantarWatermark/KantarWatermarkApi.js +78 -0
- package/dist/models/ClockSynchronizationMode.d.ts +10 -0
- package/dist/models/ClockSynchronizationMode.js +14 -0
- package/dist/models/IABTaxonomy.d.ts +6 -1
- package/dist/models/IABTaxonomy.js +2 -1
- package/dist/models/KantarWatermark.d.ts +52 -0
- package/dist/models/KantarWatermark.js +45 -0
- package/dist/models/LiveEncodingStatsEventDetails.d.ts +46 -3
- package/dist/models/LiveEncodingStatsEventDetails.js +8 -1
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -7218,7 +7218,7 @@ var HeaderHandler = /** @class */ (function (_super) {
|
|
|
7218
7218
|
var headers = {
|
|
7219
7219
|
'X-Api-Key': apiKey,
|
|
7220
7220
|
'X-Api-Client': 'bitmovin-api-sdk-javascript',
|
|
7221
|
-
'X-Api-Client-Version': '1.
|
|
7221
|
+
'X-Api-Client-Version': '1.253.0',
|
|
7222
7222
|
'Content-Type': 'application/json'
|
|
7223
7223
|
};
|
|
7224
7224
|
if (tenantOrgId) {
|
|
@@ -13774,6 +13774,7 @@ var TransferRetriesApi_1 = __webpack_require__(/*! ./transferRetries/TransferRet
|
|
|
13774
13774
|
var OutputPathsApi_1 = __webpack_require__(/*! ./outputPaths/OutputPathsApi */ "./encoding/encodings/outputPaths/OutputPathsApi.ts");
|
|
13775
13775
|
var CaptionsApi_1 = __webpack_require__(/*! ./captions/CaptionsApi */ "./encoding/encodings/captions/CaptionsApi.ts");
|
|
13776
13776
|
var SidecarsApi_1 = __webpack_require__(/*! ./sidecars/SidecarsApi */ "./encoding/encodings/sidecars/SidecarsApi.ts");
|
|
13777
|
+
var KantarWatermarkApi_1 = __webpack_require__(/*! ./kantarWatermark/KantarWatermarkApi */ "./encoding/encodings/kantarWatermark/KantarWatermarkApi.ts");
|
|
13777
13778
|
var KeyframesApi_1 = __webpack_require__(/*! ./keyframes/KeyframesApi */ "./encoding/encodings/keyframes/KeyframesApi.ts");
|
|
13778
13779
|
var Scte35TriggersApi_1 = __webpack_require__(/*! ./scte35Triggers/Scte35TriggersApi */ "./encoding/encodings/scte35Triggers/Scte35TriggersApi.ts");
|
|
13779
13780
|
var BitmovinResponse_1 = __webpack_require__(/*! ../../models/BitmovinResponse */ "./models/BitmovinResponse.ts");
|
|
@@ -13802,6 +13803,7 @@ var EncodingsApi = /** @class */ (function (_super) {
|
|
|
13802
13803
|
_this.outputPaths = new OutputPathsApi_1.default(configuration);
|
|
13803
13804
|
_this.captions = new CaptionsApi_1.default(configuration);
|
|
13804
13805
|
_this.sidecars = new SidecarsApi_1.default(configuration);
|
|
13806
|
+
_this.kantarWatermark = new KantarWatermarkApi_1.default(configuration);
|
|
13805
13807
|
_this.keyframes = new KeyframesApi_1.default(configuration);
|
|
13806
13808
|
_this.scte35Triggers = new Scte35TriggersApi_1.default(configuration);
|
|
13807
13809
|
return _this;
|
|
@@ -16721,6 +16723,95 @@ var TypeApi = /** @class */ (function (_super) {
|
|
|
16721
16723
|
exports["default"] = TypeApi;
|
|
16722
16724
|
|
|
16723
16725
|
|
|
16726
|
+
/***/ }),
|
|
16727
|
+
|
|
16728
|
+
/***/ "./encoding/encodings/kantarWatermark/KantarWatermarkApi.ts":
|
|
16729
|
+
/*!******************************************************************!*\
|
|
16730
|
+
!*** ./encoding/encodings/kantarWatermark/KantarWatermarkApi.ts ***!
|
|
16731
|
+
\******************************************************************/
|
|
16732
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
16733
|
+
|
|
16734
|
+
"use strict";
|
|
16735
|
+
|
|
16736
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16737
|
+
var extendStatics = function (d, b) {
|
|
16738
|
+
extendStatics = Object.setPrototypeOf ||
|
|
16739
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
16740
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
16741
|
+
return extendStatics(d, b);
|
|
16742
|
+
};
|
|
16743
|
+
return function (d, b) {
|
|
16744
|
+
if (typeof b !== "function" && b !== null)
|
|
16745
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
16746
|
+
extendStatics(d, b);
|
|
16747
|
+
function __() { this.constructor = d; }
|
|
16748
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
16749
|
+
};
|
|
16750
|
+
})();
|
|
16751
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
16752
|
+
var BaseAPI_1 = __webpack_require__(/*! ../../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
16753
|
+
var Mapper_1 = __webpack_require__(/*! ../../../common/Mapper */ "./common/Mapper.ts");
|
|
16754
|
+
var BitmovinResponse_1 = __webpack_require__(/*! ../../../models/BitmovinResponse */ "./models/BitmovinResponse.ts");
|
|
16755
|
+
var KantarWatermark_1 = __webpack_require__(/*! ../../../models/KantarWatermark */ "./models/KantarWatermark.ts");
|
|
16756
|
+
/**
|
|
16757
|
+
* KantarWatermarkApi - object-oriented interface
|
|
16758
|
+
* @export
|
|
16759
|
+
* @class KantarWatermarkApi
|
|
16760
|
+
* @extends {BaseAPI}
|
|
16761
|
+
*/
|
|
16762
|
+
var KantarWatermarkApi = /** @class */ (function (_super) {
|
|
16763
|
+
__extends(KantarWatermarkApi, _super);
|
|
16764
|
+
function KantarWatermarkApi(configuration) {
|
|
16765
|
+
return _super.call(this, configuration) || this;
|
|
16766
|
+
}
|
|
16767
|
+
/**
|
|
16768
|
+
* @summary Create or replace the Kantar Watermark for an encoding
|
|
16769
|
+
* @param {string} encodingId Id of the encoding.
|
|
16770
|
+
* @param {KantarWatermark} kantarWatermark The Kantar Watermark to be created
|
|
16771
|
+
* @throws {BitmovinError}
|
|
16772
|
+
* @memberof KantarWatermarkApi
|
|
16773
|
+
*/
|
|
16774
|
+
KantarWatermarkApi.prototype.create = function (encodingId, kantarWatermark) {
|
|
16775
|
+
var pathParamMap = {
|
|
16776
|
+
encoding_id: encodingId
|
|
16777
|
+
};
|
|
16778
|
+
return this.restClient.post('/encoding/encodings/{encoding_id}/kantar-watermark', pathParamMap, kantarWatermark).then(function (response) {
|
|
16779
|
+
return (0, Mapper_1.map)(response, KantarWatermark_1.default);
|
|
16780
|
+
});
|
|
16781
|
+
};
|
|
16782
|
+
/**
|
|
16783
|
+
* @summary Delete the Kantar Watermark for an encoding
|
|
16784
|
+
* @param {string} encodingId Id of the encoding.
|
|
16785
|
+
* @throws {BitmovinError}
|
|
16786
|
+
* @memberof KantarWatermarkApi
|
|
16787
|
+
*/
|
|
16788
|
+
KantarWatermarkApi.prototype.delete = function (encodingId) {
|
|
16789
|
+
var pathParamMap = {
|
|
16790
|
+
encoding_id: encodingId
|
|
16791
|
+
};
|
|
16792
|
+
return this.restClient.delete('/encoding/encodings/{encoding_id}/kantar-watermark', pathParamMap).then(function (response) {
|
|
16793
|
+
return (0, Mapper_1.map)(response, BitmovinResponse_1.default);
|
|
16794
|
+
});
|
|
16795
|
+
};
|
|
16796
|
+
/**
|
|
16797
|
+
* @summary Get the Kantar Watermark for an encoding
|
|
16798
|
+
* @param {string} encodingId Id of the encoding.
|
|
16799
|
+
* @throws {BitmovinError}
|
|
16800
|
+
* @memberof KantarWatermarkApi
|
|
16801
|
+
*/
|
|
16802
|
+
KantarWatermarkApi.prototype.get = function (encodingId) {
|
|
16803
|
+
var pathParamMap = {
|
|
16804
|
+
encoding_id: encodingId
|
|
16805
|
+
};
|
|
16806
|
+
return this.restClient.get('/encoding/encodings/{encoding_id}/kantar-watermark', pathParamMap).then(function (response) {
|
|
16807
|
+
return (0, Mapper_1.map)(response, KantarWatermark_1.default);
|
|
16808
|
+
});
|
|
16809
|
+
};
|
|
16810
|
+
return KantarWatermarkApi;
|
|
16811
|
+
}(BaseAPI_1.BaseAPI));
|
|
16812
|
+
exports["default"] = KantarWatermarkApi;
|
|
16813
|
+
|
|
16814
|
+
|
|
16724
16815
|
/***/ }),
|
|
16725
16816
|
|
|
16726
16817
|
/***/ "./encoding/encodings/keyframes/KeyframeListQueryParams.ts":
|
|
@@ -66053,6 +66144,31 @@ exports.ClearKeyDrm = ClearKeyDrm;
|
|
|
66053
66144
|
exports["default"] = ClearKeyDrm;
|
|
66054
66145
|
|
|
66055
66146
|
|
|
66147
|
+
/***/ }),
|
|
66148
|
+
|
|
66149
|
+
/***/ "./models/ClockSynchronizationMode.ts":
|
|
66150
|
+
/*!********************************************!*\
|
|
66151
|
+
!*** ./models/ClockSynchronizationMode.ts ***!
|
|
66152
|
+
\********************************************/
|
|
66153
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
66154
|
+
|
|
66155
|
+
"use strict";
|
|
66156
|
+
|
|
66157
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
66158
|
+
exports.ClockSynchronizationMode = void 0;
|
|
66159
|
+
/**
|
|
66160
|
+
* Mode of clock synchronization for ad insertion
|
|
66161
|
+
* @export
|
|
66162
|
+
* @enum {string}
|
|
66163
|
+
*/
|
|
66164
|
+
var ClockSynchronizationMode;
|
|
66165
|
+
(function (ClockSynchronizationMode) {
|
|
66166
|
+
ClockSynchronizationMode["SYSTEM_CLOCK"] = "SYSTEM_CLOCK";
|
|
66167
|
+
ClockSynchronizationMode["EMBEDDED"] = "EMBEDDED";
|
|
66168
|
+
})(ClockSynchronizationMode || (exports.ClockSynchronizationMode = ClockSynchronizationMode = {}));
|
|
66169
|
+
exports["default"] = ClockSynchronizationMode;
|
|
66170
|
+
|
|
66171
|
+
|
|
66056
66172
|
/***/ }),
|
|
66057
66173
|
|
|
66058
66174
|
/***/ "./models/ClosedCaptionsMediaInfo.ts":
|
|
@@ -75516,7 +75632,8 @@ var IABTaxonomy = /** @class */ (function () {
|
|
|
75516
75632
|
if (!obj) {
|
|
75517
75633
|
return;
|
|
75518
75634
|
}
|
|
75519
|
-
this.
|
|
75635
|
+
this.contentVersion = (0, Mapper_1.map)(obj.contentVersion);
|
|
75636
|
+
this.adProductVersion = (0, Mapper_1.map)(obj.adProductVersion);
|
|
75520
75637
|
this.contentTaxonomies = (0, Mapper_1.mapArray)(obj.contentTaxonomies);
|
|
75521
75638
|
this.adOpportunityTaxonomies = (0, Mapper_1.mapArray)(obj.adOpportunityTaxonomies);
|
|
75522
75639
|
this.sensitiveTopicTaxonomies = (0, Mapper_1.mapArray)(obj.sensitiveTopicTaxonomies);
|
|
@@ -76805,6 +76922,62 @@ var IvSize;
|
|
|
76805
76922
|
exports["default"] = IvSize;
|
|
76806
76923
|
|
|
76807
76924
|
|
|
76925
|
+
/***/ }),
|
|
76926
|
+
|
|
76927
|
+
/***/ "./models/KantarWatermark.ts":
|
|
76928
|
+
/*!***********************************!*\
|
|
76929
|
+
!*** ./models/KantarWatermark.ts ***!
|
|
76930
|
+
\***********************************/
|
|
76931
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
76932
|
+
|
|
76933
|
+
"use strict";
|
|
76934
|
+
|
|
76935
|
+
var __extends = (this && this.__extends) || (function () {
|
|
76936
|
+
var extendStatics = function (d, b) {
|
|
76937
|
+
extendStatics = Object.setPrototypeOf ||
|
|
76938
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
76939
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
76940
|
+
return extendStatics(d, b);
|
|
76941
|
+
};
|
|
76942
|
+
return function (d, b) {
|
|
76943
|
+
if (typeof b !== "function" && b !== null)
|
|
76944
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
76945
|
+
extendStatics(d, b);
|
|
76946
|
+
function __() { this.constructor = d; }
|
|
76947
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
76948
|
+
};
|
|
76949
|
+
})();
|
|
76950
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
76951
|
+
exports.KantarWatermark = void 0;
|
|
76952
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
76953
|
+
var BitmovinResponse_1 = __webpack_require__(/*! ./BitmovinResponse */ "./models/BitmovinResponse.ts");
|
|
76954
|
+
var EncodingOutput_1 = __webpack_require__(/*! ./EncodingOutput */ "./models/EncodingOutput.ts");
|
|
76955
|
+
/**
|
|
76956
|
+
* @export
|
|
76957
|
+
* @class KantarWatermark
|
|
76958
|
+
*/
|
|
76959
|
+
var KantarWatermark = /** @class */ (function (_super) {
|
|
76960
|
+
__extends(KantarWatermark, _super);
|
|
76961
|
+
function KantarWatermark(obj) {
|
|
76962
|
+
var _this = _super.call(this, obj) || this;
|
|
76963
|
+
if (!obj) {
|
|
76964
|
+
return _this;
|
|
76965
|
+
}
|
|
76966
|
+
_this.login = (0, Mapper_1.map)(obj.login);
|
|
76967
|
+
_this.password = (0, Mapper_1.map)(obj.password);
|
|
76968
|
+
_this.licenseId = (0, Mapper_1.map)(obj.licenseId);
|
|
76969
|
+
_this.channelName = (0, Mapper_1.map)(obj.channelName);
|
|
76970
|
+
_this.contentReference = (0, Mapper_1.map)(obj.contentReference);
|
|
76971
|
+
_this.serverUrl = (0, Mapper_1.map)(obj.serverUrl);
|
|
76972
|
+
_this.reportOutputs = (0, Mapper_1.mapArray)(obj.reportOutputs, EncodingOutput_1.default);
|
|
76973
|
+
return _this;
|
|
76974
|
+
}
|
|
76975
|
+
return KantarWatermark;
|
|
76976
|
+
}(BitmovinResponse_1.default));
|
|
76977
|
+
exports.KantarWatermark = KantarWatermark;
|
|
76978
|
+
exports["default"] = KantarWatermark;
|
|
76979
|
+
|
|
76980
|
+
|
|
76808
76981
|
/***/ }),
|
|
76809
76982
|
|
|
76810
76983
|
/***/ "./models/Keyframe.ts":
|
|
@@ -77646,7 +77819,14 @@ var LiveEncodingStatsEventDetails = /** @class */ (function () {
|
|
|
77646
77819
|
}
|
|
77647
77820
|
this.eventType = (0, Mapper_1.map)(obj.eventType);
|
|
77648
77821
|
this.message = (0, Mapper_1.map)(obj.message);
|
|
77649
|
-
this.
|
|
77822
|
+
this.source = (0, Mapper_1.map)(obj.source);
|
|
77823
|
+
this.year = (0, Mapper_1.map)(obj.year);
|
|
77824
|
+
this.month = (0, Mapper_1.map)(obj.month);
|
|
77825
|
+
this.day = (0, Mapper_1.map)(obj.day);
|
|
77826
|
+
this.hours = (0, Mapper_1.map)(obj.hours);
|
|
77827
|
+
this.minutes = (0, Mapper_1.map)(obj.minutes);
|
|
77828
|
+
this.seconds = (0, Mapper_1.map)(obj.seconds);
|
|
77829
|
+
this.microSeconds = (0, Mapper_1.map)(obj.microSeconds);
|
|
77650
77830
|
}
|
|
77651
77831
|
return LiveEncodingStatsEventDetails;
|
|
77652
77832
|
}());
|
|
@@ -91695,6 +91875,7 @@ __exportStar(__webpack_require__(/*! ./CheckOutputPermissionsResponse */ "./mode
|
|
|
91695
91875
|
__exportStar(__webpack_require__(/*! ./ChromaLocation */ "./models/ChromaLocation.ts"), exports);
|
|
91696
91876
|
__exportStar(__webpack_require__(/*! ./ChunkedTextMuxing */ "./models/ChunkedTextMuxing.ts"), exports);
|
|
91697
91877
|
__exportStar(__webpack_require__(/*! ./ClearKeyDrm */ "./models/ClearKeyDrm.ts"), exports);
|
|
91878
|
+
__exportStar(__webpack_require__(/*! ./ClockSynchronizationMode */ "./models/ClockSynchronizationMode.ts"), exports);
|
|
91698
91879
|
__exportStar(__webpack_require__(/*! ./ClosedCaptionsMediaInfo */ "./models/ClosedCaptionsMediaInfo.ts"), exports);
|
|
91699
91880
|
__exportStar(__webpack_require__(/*! ./CloudRegion */ "./models/CloudRegion.ts"), exports);
|
|
91700
91881
|
__exportStar(__webpack_require__(/*! ./CmafMuxing */ "./models/CmafMuxing.ts"), exports);
|
|
@@ -91961,6 +92142,7 @@ __exportStar(__webpack_require__(/*! ./InterlaceMode */ "./models/InterlaceMode.
|
|
|
91961
92142
|
__exportStar(__webpack_require__(/*! ./Invitation */ "./models/Invitation.ts"), exports);
|
|
91962
92143
|
__exportStar(__webpack_require__(/*! ./InvitationStatus */ "./models/InvitationStatus.ts"), exports);
|
|
91963
92144
|
__exportStar(__webpack_require__(/*! ./IvSize */ "./models/IvSize.ts"), exports);
|
|
92145
|
+
__exportStar(__webpack_require__(/*! ./KantarWatermark */ "./models/KantarWatermark.ts"), exports);
|
|
91964
92146
|
__exportStar(__webpack_require__(/*! ./Keyframe */ "./models/Keyframe.ts"), exports);
|
|
91965
92147
|
__exportStar(__webpack_require__(/*! ./Label */ "./models/Label.ts"), exports);
|
|
91966
92148
|
__exportStar(__webpack_require__(/*! ./LevelH262 */ "./models/LevelH262.ts"), exports);
|