@bitmovin/api-sdk 1.194.0 → 1.196.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 +489 -2
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/encodings/live/LiveApi.d.ts +2 -0
- package/dist/encoding/encodings/live/LiveApi.js +2 -0
- package/dist/encoding/encodings/live/resetLiveManifestTimeshift/ResetLiveManifestTimeshiftApi.d.ts +20 -0
- package/dist/encoding/encodings/live/resetLiveManifestTimeshift/ResetLiveManifestTimeshiftApi.js +49 -0
- package/dist/encoding/filters/FiltersApi.d.ts +2 -0
- package/dist/encoding/filters/FiltersApi.js +2 -0
- package/dist/encoding/filters/azureSpeechToCaptions/AzureSpeechToCaptionsApi.d.ts +45 -0
- package/dist/encoding/filters/azureSpeechToCaptions/AzureSpeechToCaptionsApi.js +97 -0
- package/dist/encoding/filters/azureSpeechToCaptions/AzureSpeechToCaptionsFilterListQueryParams.d.ts +39 -0
- package/dist/encoding/filters/azureSpeechToCaptions/AzureSpeechToCaptionsFilterListQueryParams.js +37 -0
- package/dist/encoding/filters/azureSpeechToCaptions/customdata/CustomdataApi.d.ts +19 -0
- package/dist/encoding/filters/azureSpeechToCaptions/customdata/CustomdataApi.js +48 -0
- package/dist/models/AzureSpeechServicesCredentials.d.ts +14 -0
- package/dist/models/AzureSpeechServicesCredentials.js +19 -0
- package/dist/models/AzureSpeechToCaptionsFilter.d.ts +22 -0
- package/dist/models/AzureSpeechToCaptionsFilter.js +46 -0
- package/dist/models/AzureSpeechToCaptionsProfanity.d.ts +10 -0
- package/dist/models/AzureSpeechToCaptionsProfanity.js +14 -0
- package/dist/models/AzureSpeechToCaptionsSettings.d.ts +64 -0
- package/dist/models/AzureSpeechToCaptionsSettings.js +28 -0
- package/dist/models/ChunkedTextMuxing.d.ts +1 -1
- package/dist/models/CmafMuxing.d.ts +1 -1
- package/dist/models/DashSegmentedRepresentation.d.ts +2 -2
- package/dist/models/Filter.d.ts +2 -1
- package/dist/models/Filter.js +2 -1
- package/dist/models/FilterType.d.ts +2 -1
- package/dist/models/FilterType.js +1 -0
- package/dist/models/Fmp4Muxing.d.ts +1 -1
- package/dist/models/PackedAudioMuxing.d.ts +1 -1
- package/dist/models/ResetLiveManifestTimeShift.d.ts +21 -0
- package/dist/models/ResetLiveManifestTimeShift.js +39 -0
- package/dist/models/TsMuxing.d.ts +1 -1
- package/dist/models/WebmMuxing.d.ts +1 -1
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6093,7 +6093,7 @@ var HeaderHandler = /** @class */ (function (_super) {
|
|
|
6093
6093
|
var headers = {
|
|
6094
6094
|
'X-Api-Key': apiKey,
|
|
6095
6095
|
'X-Api-Client': 'bitmovin-api-sdk-javascript',
|
|
6096
|
-
'X-Api-Client-Version': '1.
|
|
6096
|
+
'X-Api-Client-Version': '1.196.0',
|
|
6097
6097
|
'Content-Type': 'application/json'
|
|
6098
6098
|
};
|
|
6099
6099
|
if (tenantOrgId) {
|
|
@@ -15779,6 +15779,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
15779
15779
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
15780
15780
|
var BaseAPI_1 = __webpack_require__(/*! ../../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
15781
15781
|
var Mapper_1 = __webpack_require__(/*! ../../../common/Mapper */ "./common/Mapper.ts");
|
|
15782
|
+
var ResetLiveManifestTimeshiftApi_1 = __webpack_require__(/*! ./resetLiveManifestTimeshift/ResetLiveManifestTimeshiftApi */ "./encoding/encodings/live/resetLiveManifestTimeshift/ResetLiveManifestTimeshiftApi.ts");
|
|
15782
15783
|
var HdApi_1 = __webpack_require__(/*! ./hd/HdApi */ "./encoding/encodings/live/hd/HdApi.ts");
|
|
15783
15784
|
var InsertableContentApi_1 = __webpack_require__(/*! ./insertableContent/InsertableContentApi */ "./encoding/encodings/live/insertableContent/InsertableContentApi.ts");
|
|
15784
15785
|
var Scte35CueApi_1 = __webpack_require__(/*! ./scte35Cue/Scte35CueApi */ "./encoding/encodings/live/scte35Cue/Scte35CueApi.ts");
|
|
@@ -15795,6 +15796,7 @@ var LiveApi = /** @class */ (function (_super) {
|
|
|
15795
15796
|
__extends(LiveApi, _super);
|
|
15796
15797
|
function LiveApi(configuration) {
|
|
15797
15798
|
var _this = _super.call(this, configuration) || this;
|
|
15799
|
+
_this.resetLiveManifestTimeshift = new ResetLiveManifestTimeshiftApi_1.default(configuration);
|
|
15798
15800
|
_this.hd = new HdApi_1.default(configuration);
|
|
15799
15801
|
_this.insertableContent = new InsertableContentApi_1.default(configuration);
|
|
15800
15802
|
_this.scte35Cue = new Scte35CueApi_1.default(configuration);
|
|
@@ -16329,6 +16331,66 @@ var StopApi = /** @class */ (function (_super) {
|
|
|
16329
16331
|
exports["default"] = StopApi;
|
|
16330
16332
|
|
|
16331
16333
|
|
|
16334
|
+
/***/ }),
|
|
16335
|
+
|
|
16336
|
+
/***/ "./encoding/encodings/live/resetLiveManifestTimeshift/ResetLiveManifestTimeshiftApi.ts":
|
|
16337
|
+
/*!*********************************************************************************************!*\
|
|
16338
|
+
!*** ./encoding/encodings/live/resetLiveManifestTimeshift/ResetLiveManifestTimeshiftApi.ts ***!
|
|
16339
|
+
\*********************************************************************************************/
|
|
16340
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
16341
|
+
|
|
16342
|
+
"use strict";
|
|
16343
|
+
|
|
16344
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16345
|
+
var extendStatics = function (d, b) {
|
|
16346
|
+
extendStatics = Object.setPrototypeOf ||
|
|
16347
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
16348
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
16349
|
+
return extendStatics(d, b);
|
|
16350
|
+
};
|
|
16351
|
+
return function (d, b) {
|
|
16352
|
+
if (typeof b !== "function" && b !== null)
|
|
16353
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
16354
|
+
extendStatics(d, b);
|
|
16355
|
+
function __() { this.constructor = d; }
|
|
16356
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
16357
|
+
};
|
|
16358
|
+
})();
|
|
16359
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
16360
|
+
var BaseAPI_1 = __webpack_require__(/*! ../../../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
16361
|
+
var Mapper_1 = __webpack_require__(/*! ../../../../common/Mapper */ "./common/Mapper.ts");
|
|
16362
|
+
var ResetLiveManifestTimeShift_1 = __webpack_require__(/*! ../../../../models/ResetLiveManifestTimeShift */ "./models/ResetLiveManifestTimeShift.ts");
|
|
16363
|
+
/**
|
|
16364
|
+
* ResetLiveManifestTimeshiftApi - object-oriented interface
|
|
16365
|
+
* @export
|
|
16366
|
+
* @class ResetLiveManifestTimeshiftApi
|
|
16367
|
+
* @extends {BaseAPI}
|
|
16368
|
+
*/
|
|
16369
|
+
var ResetLiveManifestTimeshiftApi = /** @class */ (function (_super) {
|
|
16370
|
+
__extends(ResetLiveManifestTimeshiftApi, _super);
|
|
16371
|
+
function ResetLiveManifestTimeshiftApi(configuration) {
|
|
16372
|
+
return _super.call(this, configuration) || this;
|
|
16373
|
+
}
|
|
16374
|
+
/**
|
|
16375
|
+
* @summary Reset Live manifest time-shift
|
|
16376
|
+
* @param {string} encodingId Id of the encoding.
|
|
16377
|
+
* @param {ResetLiveManifestTimeShift} resetLiveManifestTimeShift Removes older segments from live manifests. This resets or reduces the time-shift (DVR) window. The `residualPeriod` value determines how many seconds will remain in the time-shift window. The original time-shift window does not change. Newer segments will be added and not removed from the manifest until the original time-shift duration is reached again. Currently, only HLS live manifests are supported.
|
|
16378
|
+
* @throws {BitmovinError}
|
|
16379
|
+
* @memberof ResetLiveManifestTimeshiftApi
|
|
16380
|
+
*/
|
|
16381
|
+
ResetLiveManifestTimeshiftApi.prototype.create = function (encodingId, resetLiveManifestTimeShift) {
|
|
16382
|
+
var pathParamMap = {
|
|
16383
|
+
encoding_id: encodingId
|
|
16384
|
+
};
|
|
16385
|
+
return this.restClient.post('/encoding/encodings/{encoding_id}/live/reset-live-manifest-timeshift', pathParamMap, resetLiveManifestTimeShift).then(function (response) {
|
|
16386
|
+
return (0, Mapper_1.map)(response, ResetLiveManifestTimeShift_1.default);
|
|
16387
|
+
});
|
|
16388
|
+
};
|
|
16389
|
+
return ResetLiveManifestTimeshiftApi;
|
|
16390
|
+
}(BaseAPI_1.BaseAPI));
|
|
16391
|
+
exports["default"] = ResetLiveManifestTimeshiftApi;
|
|
16392
|
+
|
|
16393
|
+
|
|
16332
16394
|
/***/ }),
|
|
16333
16395
|
|
|
16334
16396
|
/***/ "./encoding/encodings/live/scte35Cue/Scte35CueApi.ts":
|
|
@@ -31210,6 +31272,7 @@ var TypeApi_1 = __webpack_require__(/*! ./type/TypeApi */ "./encoding/filters/ty
|
|
|
31210
31272
|
var ConformApi_1 = __webpack_require__(/*! ./conform/ConformApi */ "./encoding/filters/conform/ConformApi.ts");
|
|
31211
31273
|
var WatermarkApi_1 = __webpack_require__(/*! ./watermark/WatermarkApi */ "./encoding/filters/watermark/WatermarkApi.ts");
|
|
31212
31274
|
var AudioVolumeApi_1 = __webpack_require__(/*! ./audioVolume/AudioVolumeApi */ "./encoding/filters/audioVolume/AudioVolumeApi.ts");
|
|
31275
|
+
var AzureSpeechToCaptionsApi_1 = __webpack_require__(/*! ./azureSpeechToCaptions/AzureSpeechToCaptionsApi */ "./encoding/filters/azureSpeechToCaptions/AzureSpeechToCaptionsApi.ts");
|
|
31213
31276
|
var EnhancedWatermarkApi_1 = __webpack_require__(/*! ./enhancedWatermark/EnhancedWatermarkApi */ "./encoding/filters/enhancedWatermark/EnhancedWatermarkApi.ts");
|
|
31214
31277
|
var CropApi_1 = __webpack_require__(/*! ./crop/CropApi */ "./encoding/filters/crop/CropApi.ts");
|
|
31215
31278
|
var RotateApi_1 = __webpack_require__(/*! ./rotate/RotateApi */ "./encoding/filters/rotate/RotateApi.ts");
|
|
@@ -31239,6 +31302,7 @@ var FiltersApi = /** @class */ (function (_super) {
|
|
|
31239
31302
|
_this.conform = new ConformApi_1.default(configuration);
|
|
31240
31303
|
_this.watermark = new WatermarkApi_1.default(configuration);
|
|
31241
31304
|
_this.audioVolume = new AudioVolumeApi_1.default(configuration);
|
|
31305
|
+
_this.azureSpeechToCaptions = new AzureSpeechToCaptionsApi_1.default(configuration);
|
|
31242
31306
|
_this.enhancedWatermark = new EnhancedWatermarkApi_1.default(configuration);
|
|
31243
31307
|
_this.crop = new CropApi_1.default(configuration);
|
|
31244
31308
|
_this.rotate = new RotateApi_1.default(configuration);
|
|
@@ -31720,6 +31784,221 @@ var CustomdataApi = /** @class */ (function (_super) {
|
|
|
31720
31784
|
exports["default"] = CustomdataApi;
|
|
31721
31785
|
|
|
31722
31786
|
|
|
31787
|
+
/***/ }),
|
|
31788
|
+
|
|
31789
|
+
/***/ "./encoding/filters/azureSpeechToCaptions/AzureSpeechToCaptionsApi.ts":
|
|
31790
|
+
/*!****************************************************************************!*\
|
|
31791
|
+
!*** ./encoding/filters/azureSpeechToCaptions/AzureSpeechToCaptionsApi.ts ***!
|
|
31792
|
+
\****************************************************************************/
|
|
31793
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
31794
|
+
|
|
31795
|
+
"use strict";
|
|
31796
|
+
|
|
31797
|
+
var __extends = (this && this.__extends) || (function () {
|
|
31798
|
+
var extendStatics = function (d, b) {
|
|
31799
|
+
extendStatics = Object.setPrototypeOf ||
|
|
31800
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
31801
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
31802
|
+
return extendStatics(d, b);
|
|
31803
|
+
};
|
|
31804
|
+
return function (d, b) {
|
|
31805
|
+
if (typeof b !== "function" && b !== null)
|
|
31806
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
31807
|
+
extendStatics(d, b);
|
|
31808
|
+
function __() { this.constructor = d; }
|
|
31809
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
31810
|
+
};
|
|
31811
|
+
})();
|
|
31812
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
31813
|
+
var BaseAPI_1 = __webpack_require__(/*! ../../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
31814
|
+
var Mapper_1 = __webpack_require__(/*! ../../../common/Mapper */ "./common/Mapper.ts");
|
|
31815
|
+
var CustomdataApi_1 = __webpack_require__(/*! ./customdata/CustomdataApi */ "./encoding/filters/azureSpeechToCaptions/customdata/CustomdataApi.ts");
|
|
31816
|
+
var AzureSpeechToCaptionsFilter_1 = __webpack_require__(/*! ../../../models/AzureSpeechToCaptionsFilter */ "./models/AzureSpeechToCaptionsFilter.ts");
|
|
31817
|
+
var BitmovinResponse_1 = __webpack_require__(/*! ../../../models/BitmovinResponse */ "./models/BitmovinResponse.ts");
|
|
31818
|
+
var PaginationResponse_1 = __webpack_require__(/*! ../../../models/PaginationResponse */ "./models/PaginationResponse.ts");
|
|
31819
|
+
var AzureSpeechToCaptionsFilterListQueryParams_1 = __webpack_require__(/*! ./AzureSpeechToCaptionsFilterListQueryParams */ "./encoding/filters/azureSpeechToCaptions/AzureSpeechToCaptionsFilterListQueryParams.ts");
|
|
31820
|
+
/**
|
|
31821
|
+
* AzureSpeechToCaptionsApi - object-oriented interface
|
|
31822
|
+
* @export
|
|
31823
|
+
* @class AzureSpeechToCaptionsApi
|
|
31824
|
+
* @extends {BaseAPI}
|
|
31825
|
+
*/
|
|
31826
|
+
var AzureSpeechToCaptionsApi = /** @class */ (function (_super) {
|
|
31827
|
+
__extends(AzureSpeechToCaptionsApi, _super);
|
|
31828
|
+
function AzureSpeechToCaptionsApi(configuration) {
|
|
31829
|
+
var _this = _super.call(this, configuration) || this;
|
|
31830
|
+
_this.customdata = new CustomdataApi_1.default(configuration);
|
|
31831
|
+
return _this;
|
|
31832
|
+
}
|
|
31833
|
+
/**
|
|
31834
|
+
* @summary Create Azure Speech to captions Filter
|
|
31835
|
+
* @param {AzureSpeechToCaptionsFilter} azureSpeechToCaptionsFilter The Azure Speech to captions Filter to be created
|
|
31836
|
+
* @throws {BitmovinError}
|
|
31837
|
+
* @memberof AzureSpeechToCaptionsApi
|
|
31838
|
+
*/
|
|
31839
|
+
AzureSpeechToCaptionsApi.prototype.create = function (azureSpeechToCaptionsFilter) {
|
|
31840
|
+
return this.restClient.post('/encoding/filters/azure-speech-to-captions', {}, azureSpeechToCaptionsFilter).then(function (response) {
|
|
31841
|
+
return (0, Mapper_1.map)(response, AzureSpeechToCaptionsFilter_1.default);
|
|
31842
|
+
});
|
|
31843
|
+
};
|
|
31844
|
+
/**
|
|
31845
|
+
* @summary Delete Azure Speech to captions Filter
|
|
31846
|
+
* @param {string} filterId Id of the Azure Speech to captions Filter.
|
|
31847
|
+
* @throws {BitmovinError}
|
|
31848
|
+
* @memberof AzureSpeechToCaptionsApi
|
|
31849
|
+
*/
|
|
31850
|
+
AzureSpeechToCaptionsApi.prototype.delete = function (filterId) {
|
|
31851
|
+
var pathParamMap = {
|
|
31852
|
+
filter_id: filterId
|
|
31853
|
+
};
|
|
31854
|
+
return this.restClient.delete('/encoding/filters/azure-speech-to-captions/{filter_id}', pathParamMap).then(function (response) {
|
|
31855
|
+
return (0, Mapper_1.map)(response, BitmovinResponse_1.default);
|
|
31856
|
+
});
|
|
31857
|
+
};
|
|
31858
|
+
/**
|
|
31859
|
+
* @summary Azure Speech to captions Filter details
|
|
31860
|
+
* @param {string} filterId Id of the Azure Speech to captions Filter.
|
|
31861
|
+
* @throws {BitmovinError}
|
|
31862
|
+
* @memberof AzureSpeechToCaptionsApi
|
|
31863
|
+
*/
|
|
31864
|
+
AzureSpeechToCaptionsApi.prototype.get = function (filterId) {
|
|
31865
|
+
var pathParamMap = {
|
|
31866
|
+
filter_id: filterId
|
|
31867
|
+
};
|
|
31868
|
+
return this.restClient.get('/encoding/filters/azure-speech-to-captions/{filter_id}', pathParamMap).then(function (response) {
|
|
31869
|
+
return (0, Mapper_1.map)(response, AzureSpeechToCaptionsFilter_1.default);
|
|
31870
|
+
});
|
|
31871
|
+
};
|
|
31872
|
+
/**
|
|
31873
|
+
* @summary List Azure Speech to captions Filters
|
|
31874
|
+
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
31875
|
+
* @throws {BitmovinError}
|
|
31876
|
+
* @memberof AzureSpeechToCaptionsApi
|
|
31877
|
+
*/
|
|
31878
|
+
AzureSpeechToCaptionsApi.prototype.list = function (queryParameters) {
|
|
31879
|
+
var queryParams = {};
|
|
31880
|
+
if (typeof queryParameters === 'function') {
|
|
31881
|
+
queryParams = queryParameters(new AzureSpeechToCaptionsFilterListQueryParams_1.AzureSpeechToCaptionsFilterListQueryParamsBuilder()).buildQueryParams();
|
|
31882
|
+
}
|
|
31883
|
+
else if (queryParameters) {
|
|
31884
|
+
queryParams = queryParameters;
|
|
31885
|
+
}
|
|
31886
|
+
return this.restClient.get('/encoding/filters/azure-speech-to-captions', {}, queryParams).then(function (response) {
|
|
31887
|
+
return new PaginationResponse_1.default(response, AzureSpeechToCaptionsFilter_1.default);
|
|
31888
|
+
});
|
|
31889
|
+
};
|
|
31890
|
+
return AzureSpeechToCaptionsApi;
|
|
31891
|
+
}(BaseAPI_1.BaseAPI));
|
|
31892
|
+
exports["default"] = AzureSpeechToCaptionsApi;
|
|
31893
|
+
|
|
31894
|
+
|
|
31895
|
+
/***/ }),
|
|
31896
|
+
|
|
31897
|
+
/***/ "./encoding/filters/azureSpeechToCaptions/AzureSpeechToCaptionsFilterListQueryParams.ts":
|
|
31898
|
+
/*!**********************************************************************************************!*\
|
|
31899
|
+
!*** ./encoding/filters/azureSpeechToCaptions/AzureSpeechToCaptionsFilterListQueryParams.ts ***!
|
|
31900
|
+
\**********************************************************************************************/
|
|
31901
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
31902
|
+
|
|
31903
|
+
"use strict";
|
|
31904
|
+
|
|
31905
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
31906
|
+
exports.AzureSpeechToCaptionsFilterListQueryParamsBuilder = void 0;
|
|
31907
|
+
var AzureSpeechToCaptionsFilterListQueryParamsBuilder = /** @class */ (function () {
|
|
31908
|
+
function AzureSpeechToCaptionsFilterListQueryParamsBuilder() {
|
|
31909
|
+
this.internalParams = {};
|
|
31910
|
+
}
|
|
31911
|
+
/**
|
|
31912
|
+
*
|
|
31913
|
+
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
31914
|
+
*/
|
|
31915
|
+
AzureSpeechToCaptionsFilterListQueryParamsBuilder.prototype.offset = function (offset) {
|
|
31916
|
+
this.internalParams.offset = offset;
|
|
31917
|
+
return this;
|
|
31918
|
+
};
|
|
31919
|
+
/**
|
|
31920
|
+
*
|
|
31921
|
+
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
31922
|
+
*/
|
|
31923
|
+
AzureSpeechToCaptionsFilterListQueryParamsBuilder.prototype.limit = function (limit) {
|
|
31924
|
+
this.internalParams.limit = limit;
|
|
31925
|
+
return this;
|
|
31926
|
+
};
|
|
31927
|
+
/**
|
|
31928
|
+
*
|
|
31929
|
+
* @param name Filter filters by name
|
|
31930
|
+
*/
|
|
31931
|
+
AzureSpeechToCaptionsFilterListQueryParamsBuilder.prototype.name = function (name) {
|
|
31932
|
+
this.internalParams.name = name;
|
|
31933
|
+
return this;
|
|
31934
|
+
};
|
|
31935
|
+
AzureSpeechToCaptionsFilterListQueryParamsBuilder.prototype.buildQueryParams = function () {
|
|
31936
|
+
return this.internalParams;
|
|
31937
|
+
};
|
|
31938
|
+
return AzureSpeechToCaptionsFilterListQueryParamsBuilder;
|
|
31939
|
+
}());
|
|
31940
|
+
exports.AzureSpeechToCaptionsFilterListQueryParamsBuilder = AzureSpeechToCaptionsFilterListQueryParamsBuilder;
|
|
31941
|
+
|
|
31942
|
+
|
|
31943
|
+
/***/ }),
|
|
31944
|
+
|
|
31945
|
+
/***/ "./encoding/filters/azureSpeechToCaptions/customdata/CustomdataApi.ts":
|
|
31946
|
+
/*!****************************************************************************!*\
|
|
31947
|
+
!*** ./encoding/filters/azureSpeechToCaptions/customdata/CustomdataApi.ts ***!
|
|
31948
|
+
\****************************************************************************/
|
|
31949
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
31950
|
+
|
|
31951
|
+
"use strict";
|
|
31952
|
+
|
|
31953
|
+
var __extends = (this && this.__extends) || (function () {
|
|
31954
|
+
var extendStatics = function (d, b) {
|
|
31955
|
+
extendStatics = Object.setPrototypeOf ||
|
|
31956
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
31957
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
31958
|
+
return extendStatics(d, b);
|
|
31959
|
+
};
|
|
31960
|
+
return function (d, b) {
|
|
31961
|
+
if (typeof b !== "function" && b !== null)
|
|
31962
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
31963
|
+
extendStatics(d, b);
|
|
31964
|
+
function __() { this.constructor = d; }
|
|
31965
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
31966
|
+
};
|
|
31967
|
+
})();
|
|
31968
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
31969
|
+
var BaseAPI_1 = __webpack_require__(/*! ../../../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
31970
|
+
var Mapper_1 = __webpack_require__(/*! ../../../../common/Mapper */ "./common/Mapper.ts");
|
|
31971
|
+
var CustomData_1 = __webpack_require__(/*! ../../../../models/CustomData */ "./models/CustomData.ts");
|
|
31972
|
+
/**
|
|
31973
|
+
* CustomdataApi - object-oriented interface
|
|
31974
|
+
* @export
|
|
31975
|
+
* @class CustomdataApi
|
|
31976
|
+
* @extends {BaseAPI}
|
|
31977
|
+
*/
|
|
31978
|
+
var CustomdataApi = /** @class */ (function (_super) {
|
|
31979
|
+
__extends(CustomdataApi, _super);
|
|
31980
|
+
function CustomdataApi(configuration) {
|
|
31981
|
+
return _super.call(this, configuration) || this;
|
|
31982
|
+
}
|
|
31983
|
+
/**
|
|
31984
|
+
* @summary Azure Speech to captions Filter Custom Data
|
|
31985
|
+
* @param {string} filterId Id of the Azure Speech to captions Filter.
|
|
31986
|
+
* @throws {BitmovinError}
|
|
31987
|
+
* @memberof CustomdataApi
|
|
31988
|
+
*/
|
|
31989
|
+
CustomdataApi.prototype.get = function (filterId) {
|
|
31990
|
+
var pathParamMap = {
|
|
31991
|
+
filter_id: filterId
|
|
31992
|
+
};
|
|
31993
|
+
return this.restClient.get('/encoding/filters/azure-speech-to-captions/{filter_id}/customData', pathParamMap).then(function (response) {
|
|
31994
|
+
return (0, Mapper_1.map)(response, CustomData_1.default);
|
|
31995
|
+
});
|
|
31996
|
+
};
|
|
31997
|
+
return CustomdataApi;
|
|
31998
|
+
}(BaseAPI_1.BaseAPI));
|
|
31999
|
+
exports["default"] = CustomdataApi;
|
|
32000
|
+
|
|
32001
|
+
|
|
31723
32002
|
/***/ }),
|
|
31724
32003
|
|
|
31725
32004
|
/***/ "./encoding/filters/conform/ConformApi.ts":
|
|
@@ -60210,6 +60489,157 @@ exports.AzureOutput = AzureOutput;
|
|
|
60210
60489
|
exports["default"] = AzureOutput;
|
|
60211
60490
|
|
|
60212
60491
|
|
|
60492
|
+
/***/ }),
|
|
60493
|
+
|
|
60494
|
+
/***/ "./models/AzureSpeechServicesCredentials.ts":
|
|
60495
|
+
/*!**************************************************!*\
|
|
60496
|
+
!*** ./models/AzureSpeechServicesCredentials.ts ***!
|
|
60497
|
+
\**************************************************/
|
|
60498
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
60499
|
+
|
|
60500
|
+
"use strict";
|
|
60501
|
+
|
|
60502
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
60503
|
+
exports.AzureSpeechServicesCredentials = void 0;
|
|
60504
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
60505
|
+
/**
|
|
60506
|
+
* @export
|
|
60507
|
+
* @class AzureSpeechServicesCredentials
|
|
60508
|
+
*/
|
|
60509
|
+
var AzureSpeechServicesCredentials = /** @class */ (function () {
|
|
60510
|
+
function AzureSpeechServicesCredentials(obj) {
|
|
60511
|
+
if (!obj) {
|
|
60512
|
+
return;
|
|
60513
|
+
}
|
|
60514
|
+
this.subscriptionKey = (0, Mapper_1.map)(obj.subscriptionKey);
|
|
60515
|
+
}
|
|
60516
|
+
return AzureSpeechServicesCredentials;
|
|
60517
|
+
}());
|
|
60518
|
+
exports.AzureSpeechServicesCredentials = AzureSpeechServicesCredentials;
|
|
60519
|
+
exports["default"] = AzureSpeechServicesCredentials;
|
|
60520
|
+
|
|
60521
|
+
|
|
60522
|
+
/***/ }),
|
|
60523
|
+
|
|
60524
|
+
/***/ "./models/AzureSpeechToCaptionsFilter.ts":
|
|
60525
|
+
/*!***********************************************!*\
|
|
60526
|
+
!*** ./models/AzureSpeechToCaptionsFilter.ts ***!
|
|
60527
|
+
\***********************************************/
|
|
60528
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
60529
|
+
|
|
60530
|
+
"use strict";
|
|
60531
|
+
|
|
60532
|
+
var __extends = (this && this.__extends) || (function () {
|
|
60533
|
+
var extendStatics = function (d, b) {
|
|
60534
|
+
extendStatics = Object.setPrototypeOf ||
|
|
60535
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
60536
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
60537
|
+
return extendStatics(d, b);
|
|
60538
|
+
};
|
|
60539
|
+
return function (d, b) {
|
|
60540
|
+
if (typeof b !== "function" && b !== null)
|
|
60541
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
60542
|
+
extendStatics(d, b);
|
|
60543
|
+
function __() { this.constructor = d; }
|
|
60544
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
60545
|
+
};
|
|
60546
|
+
})();
|
|
60547
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
60548
|
+
exports.AzureSpeechToCaptionsFilter = void 0;
|
|
60549
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
60550
|
+
var AzureSpeechToCaptionsSettings_1 = __webpack_require__(/*! ./AzureSpeechToCaptionsSettings */ "./models/AzureSpeechToCaptionsSettings.ts");
|
|
60551
|
+
var Filter_1 = __webpack_require__(/*! ./Filter */ "./models/Filter.ts");
|
|
60552
|
+
var FilterType_1 = __webpack_require__(/*! ./FilterType */ "./models/FilterType.ts");
|
|
60553
|
+
/**
|
|
60554
|
+
* @export
|
|
60555
|
+
* @class AzureSpeechToCaptionsFilter
|
|
60556
|
+
*/
|
|
60557
|
+
var AzureSpeechToCaptionsFilter = /** @class */ (function (_super) {
|
|
60558
|
+
__extends(AzureSpeechToCaptionsFilter, _super);
|
|
60559
|
+
function AzureSpeechToCaptionsFilter(obj) {
|
|
60560
|
+
var _this = _super.call(this, obj) || this;
|
|
60561
|
+
/**
|
|
60562
|
+
* Discriminator property for Filter
|
|
60563
|
+
* @type {string}
|
|
60564
|
+
* @memberof AzureSpeechToCaptionsFilter
|
|
60565
|
+
*/
|
|
60566
|
+
_this.type = FilterType_1.default.AZURE_SPEECH_TO_CAPTIONS;
|
|
60567
|
+
if (!obj) {
|
|
60568
|
+
return _this;
|
|
60569
|
+
}
|
|
60570
|
+
_this.azureSpeechToCaptionsSettings = (0, Mapper_1.map)(obj.azureSpeechToCaptionsSettings, AzureSpeechToCaptionsSettings_1.default);
|
|
60571
|
+
return _this;
|
|
60572
|
+
}
|
|
60573
|
+
return AzureSpeechToCaptionsFilter;
|
|
60574
|
+
}(Filter_1.default));
|
|
60575
|
+
exports.AzureSpeechToCaptionsFilter = AzureSpeechToCaptionsFilter;
|
|
60576
|
+
exports["default"] = AzureSpeechToCaptionsFilter;
|
|
60577
|
+
|
|
60578
|
+
|
|
60579
|
+
/***/ }),
|
|
60580
|
+
|
|
60581
|
+
/***/ "./models/AzureSpeechToCaptionsProfanity.ts":
|
|
60582
|
+
/*!**************************************************!*\
|
|
60583
|
+
!*** ./models/AzureSpeechToCaptionsProfanity.ts ***!
|
|
60584
|
+
\**************************************************/
|
|
60585
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
60586
|
+
|
|
60587
|
+
"use strict";
|
|
60588
|
+
|
|
60589
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
60590
|
+
exports.AzureSpeechToCaptionsProfanity = void 0;
|
|
60591
|
+
/**
|
|
60592
|
+
* @export
|
|
60593
|
+
* @enum {string}
|
|
60594
|
+
*/
|
|
60595
|
+
var AzureSpeechToCaptionsProfanity;
|
|
60596
|
+
(function (AzureSpeechToCaptionsProfanity) {
|
|
60597
|
+
AzureSpeechToCaptionsProfanity["MASKED"] = "MASKED";
|
|
60598
|
+
AzureSpeechToCaptionsProfanity["REMOVED"] = "REMOVED";
|
|
60599
|
+
AzureSpeechToCaptionsProfanity["RAW"] = "RAW";
|
|
60600
|
+
})(AzureSpeechToCaptionsProfanity || (exports.AzureSpeechToCaptionsProfanity = AzureSpeechToCaptionsProfanity = {}));
|
|
60601
|
+
exports["default"] = AzureSpeechToCaptionsProfanity;
|
|
60602
|
+
|
|
60603
|
+
|
|
60604
|
+
/***/ }),
|
|
60605
|
+
|
|
60606
|
+
/***/ "./models/AzureSpeechToCaptionsSettings.ts":
|
|
60607
|
+
/*!*************************************************!*\
|
|
60608
|
+
!*** ./models/AzureSpeechToCaptionsSettings.ts ***!
|
|
60609
|
+
\*************************************************/
|
|
60610
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
60611
|
+
|
|
60612
|
+
"use strict";
|
|
60613
|
+
|
|
60614
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
60615
|
+
exports.AzureSpeechToCaptionsSettings = void 0;
|
|
60616
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
60617
|
+
var AzureSpeechServicesCredentials_1 = __webpack_require__(/*! ./AzureSpeechServicesCredentials */ "./models/AzureSpeechServicesCredentials.ts");
|
|
60618
|
+
/**
|
|
60619
|
+
* @export
|
|
60620
|
+
* @class AzureSpeechToCaptionsSettings
|
|
60621
|
+
*/
|
|
60622
|
+
var AzureSpeechToCaptionsSettings = /** @class */ (function () {
|
|
60623
|
+
function AzureSpeechToCaptionsSettings(obj) {
|
|
60624
|
+
if (!obj) {
|
|
60625
|
+
return;
|
|
60626
|
+
}
|
|
60627
|
+
this.azureSpeechServicesCredentials = (0, Mapper_1.map)(obj.azureSpeechServicesCredentials, AzureSpeechServicesCredentials_1.default);
|
|
60628
|
+
this.region = (0, Mapper_1.map)(obj.region);
|
|
60629
|
+
this.apiEndpoint = (0, Mapper_1.map)(obj.apiEndpoint);
|
|
60630
|
+
this.language = (0, Mapper_1.map)(obj.language);
|
|
60631
|
+
this.captionDelay = (0, Mapper_1.map)(obj.captionDelay);
|
|
60632
|
+
this.captionRemainTime = (0, Mapper_1.map)(obj.captionRemainTime);
|
|
60633
|
+
this.captionMaxLineLength = (0, Mapper_1.map)(obj.captionMaxLineLength);
|
|
60634
|
+
this.captionLines = (0, Mapper_1.map)(obj.captionLines);
|
|
60635
|
+
this.profanityOption = (0, Mapper_1.map)(obj.profanityOption);
|
|
60636
|
+
}
|
|
60637
|
+
return AzureSpeechToCaptionsSettings;
|
|
60638
|
+
}());
|
|
60639
|
+
exports.AzureSpeechToCaptionsSettings = AzureSpeechToCaptionsSettings;
|
|
60640
|
+
exports["default"] = AzureSpeechToCaptionsSettings;
|
|
60641
|
+
|
|
60642
|
+
|
|
60213
60643
|
/***/ }),
|
|
60214
60644
|
|
|
60215
60645
|
/***/ "./models/BAdapt.ts":
|
|
@@ -68943,7 +69373,8 @@ var Filter = /** @class */ (function (_super) {
|
|
|
68943
69373
|
SCALE: 'ScaleFilter',
|
|
68944
69374
|
INTERLACE: 'InterlaceFilter',
|
|
68945
69375
|
AUDIO_VOLUME: 'AudioVolumeFilter',
|
|
68946
|
-
EBU_R128_SINGLE_PASS: 'EbuR128SinglePassFilter'
|
|
69376
|
+
EBU_R128_SINGLE_PASS: 'EbuR128SinglePassFilter',
|
|
69377
|
+
AZURE_SPEECH_TO_CAPTIONS: 'AzureSpeechToCaptionsFilter'
|
|
68947
69378
|
};
|
|
68948
69379
|
return Filter;
|
|
68949
69380
|
}(BitmovinResource_1.default));
|
|
@@ -68984,6 +69415,7 @@ var FilterType;
|
|
|
68984
69415
|
FilterType["INTERLACE"] = "INTERLACE";
|
|
68985
69416
|
FilterType["AUDIO_VOLUME"] = "AUDIO_VOLUME";
|
|
68986
69417
|
FilterType["EBU_R128_SINGLE_PASS"] = "EBU_R128_SINGLE_PASS";
|
|
69418
|
+
FilterType["AZURE_SPEECH_TO_CAPTIONS"] = "AZURE_SPEECH_TO_CAPTIONS";
|
|
68987
69419
|
})(FilterType || (exports.FilterType = FilterType = {}));
|
|
68988
69420
|
exports["default"] = FilterType;
|
|
68989
69421
|
|
|
@@ -77947,6 +78379,56 @@ exports.RescheduleEncodingRequest = RescheduleEncodingRequest;
|
|
|
77947
78379
|
exports["default"] = RescheduleEncodingRequest;
|
|
77948
78380
|
|
|
77949
78381
|
|
|
78382
|
+
/***/ }),
|
|
78383
|
+
|
|
78384
|
+
/***/ "./models/ResetLiveManifestTimeShift.ts":
|
|
78385
|
+
/*!**********************************************!*\
|
|
78386
|
+
!*** ./models/ResetLiveManifestTimeShift.ts ***!
|
|
78387
|
+
\**********************************************/
|
|
78388
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
78389
|
+
|
|
78390
|
+
"use strict";
|
|
78391
|
+
|
|
78392
|
+
var __extends = (this && this.__extends) || (function () {
|
|
78393
|
+
var extendStatics = function (d, b) {
|
|
78394
|
+
extendStatics = Object.setPrototypeOf ||
|
|
78395
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
78396
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
78397
|
+
return extendStatics(d, b);
|
|
78398
|
+
};
|
|
78399
|
+
return function (d, b) {
|
|
78400
|
+
if (typeof b !== "function" && b !== null)
|
|
78401
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
78402
|
+
extendStatics(d, b);
|
|
78403
|
+
function __() { this.constructor = d; }
|
|
78404
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
78405
|
+
};
|
|
78406
|
+
})();
|
|
78407
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
78408
|
+
exports.ResetLiveManifestTimeShift = void 0;
|
|
78409
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
78410
|
+
var BitmovinResponse_1 = __webpack_require__(/*! ./BitmovinResponse */ "./models/BitmovinResponse.ts");
|
|
78411
|
+
/**
|
|
78412
|
+
* @export
|
|
78413
|
+
* @class ResetLiveManifestTimeShift
|
|
78414
|
+
*/
|
|
78415
|
+
var ResetLiveManifestTimeShift = /** @class */ (function (_super) {
|
|
78416
|
+
__extends(ResetLiveManifestTimeShift, _super);
|
|
78417
|
+
function ResetLiveManifestTimeShift(obj) {
|
|
78418
|
+
var _this = _super.call(this, obj) || this;
|
|
78419
|
+
if (!obj) {
|
|
78420
|
+
return _this;
|
|
78421
|
+
}
|
|
78422
|
+
_this.residualPeriodInSeconds = (0, Mapper_1.map)(obj.residualPeriodInSeconds);
|
|
78423
|
+
_this.manifestIds = (0, Mapper_1.mapArray)(obj.manifestIds);
|
|
78424
|
+
return _this;
|
|
78425
|
+
}
|
|
78426
|
+
return ResetLiveManifestTimeShift;
|
|
78427
|
+
}(BitmovinResponse_1.default));
|
|
78428
|
+
exports.ResetLiveManifestTimeShift = ResetLiveManifestTimeShift;
|
|
78429
|
+
exports["default"] = ResetLiveManifestTimeShift;
|
|
78430
|
+
|
|
78431
|
+
|
|
77950
78432
|
/***/ }),
|
|
77951
78433
|
|
|
77952
78434
|
/***/ "./models/ResourceLimit.ts":
|
|
@@ -87291,6 +87773,10 @@ __exportStar(__webpack_require__(/*! ./AzureAccountRegionSettings */ "./models/A
|
|
|
87291
87773
|
__exportStar(__webpack_require__(/*! ./AzureCloudRegion */ "./models/AzureCloudRegion.ts"), exports);
|
|
87292
87774
|
__exportStar(__webpack_require__(/*! ./AzureInput */ "./models/AzureInput.ts"), exports);
|
|
87293
87775
|
__exportStar(__webpack_require__(/*! ./AzureOutput */ "./models/AzureOutput.ts"), exports);
|
|
87776
|
+
__exportStar(__webpack_require__(/*! ./AzureSpeechServicesCredentials */ "./models/AzureSpeechServicesCredentials.ts"), exports);
|
|
87777
|
+
__exportStar(__webpack_require__(/*! ./AzureSpeechToCaptionsFilter */ "./models/AzureSpeechToCaptionsFilter.ts"), exports);
|
|
87778
|
+
__exportStar(__webpack_require__(/*! ./AzureSpeechToCaptionsProfanity */ "./models/AzureSpeechToCaptionsProfanity.ts"), exports);
|
|
87779
|
+
__exportStar(__webpack_require__(/*! ./AzureSpeechToCaptionsSettings */ "./models/AzureSpeechToCaptionsSettings.ts"), exports);
|
|
87294
87780
|
__exportStar(__webpack_require__(/*! ./BAdapt */ "./models/BAdapt.ts"), exports);
|
|
87295
87781
|
__exportStar(__webpack_require__(/*! ./BackupSrtInputs */ "./models/BackupSrtInputs.ts"), exports);
|
|
87296
87782
|
__exportStar(__webpack_require__(/*! ./BasicMediaInfo */ "./models/BasicMediaInfo.ts"), exports);
|
|
@@ -87731,6 +88217,7 @@ __exportStar(__webpack_require__(/*! ./RawId3Tag */ "./models/RawId3Tag.ts"), ex
|
|
|
87731
88217
|
__exportStar(__webpack_require__(/*! ./RedundantRtmpInput */ "./models/RedundantRtmpInput.ts"), exports);
|
|
87732
88218
|
__exportStar(__webpack_require__(/*! ./ReprioritizeEncodingRequest */ "./models/ReprioritizeEncodingRequest.ts"), exports);
|
|
87733
88219
|
__exportStar(__webpack_require__(/*! ./RescheduleEncodingRequest */ "./models/RescheduleEncodingRequest.ts"), exports);
|
|
88220
|
+
__exportStar(__webpack_require__(/*! ./ResetLiveManifestTimeShift */ "./models/ResetLiveManifestTimeShift.ts"), exports);
|
|
87734
88221
|
__exportStar(__webpack_require__(/*! ./ResourceLimit */ "./models/ResourceLimit.ts"), exports);
|
|
87735
88222
|
__exportStar(__webpack_require__(/*! ./ResourceLimitContainer */ "./models/ResourceLimitContainer.ts"), exports);
|
|
87736
88223
|
__exportStar(__webpack_require__(/*! ./ResourceType */ "./models/ResourceType.ts"), exports);
|