@bitmovin/api-sdk 1.127.0 → 1.128.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.
Files changed (48) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +1 -683
  3. package/dist/bitmovin-api-sdk.browser.js.map +1 -1
  4. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  5. package/dist/common/RestClient.js +1 -1
  6. package/dist/encoding/encodings/EncodingsApi.d.ts +0 -2
  7. package/dist/encoding/encodings/EncodingsApi.js +0 -2
  8. package/dist/encoding/encodings/EncodingsApi.js.map +1 -1
  9. package/dist/models/index.d.ts +0 -4
  10. package/dist/models/index.js +0 -4
  11. package/dist/models/index.js.map +1 -1
  12. package/package.json +1 -1
  13. package/dist/encoding/encodings/machineLearning/MachineLearningApi.d.ts +0 -13
  14. package/dist/encoding/encodings/machineLearning/MachineLearningApi.js +0 -36
  15. package/dist/encoding/encodings/machineLearning/MachineLearningApi.js.map +0 -1
  16. package/dist/encoding/encodings/machineLearning/objectDetection/ObjectDetectionApi.d.ts +0 -51
  17. package/dist/encoding/encodings/machineLearning/objectDetection/ObjectDetectionApi.js +0 -112
  18. package/dist/encoding/encodings/machineLearning/objectDetection/ObjectDetectionApi.js.map +0 -1
  19. package/dist/encoding/encodings/machineLearning/objectDetection/ObjectDetectionConfigurationListQueryParams.d.ts +0 -28
  20. package/dist/encoding/encodings/machineLearning/objectDetection/ObjectDetectionConfigurationListQueryParams.js +0 -30
  21. package/dist/encoding/encodings/machineLearning/objectDetection/ObjectDetectionConfigurationListQueryParams.js.map +0 -1
  22. package/dist/encoding/encodings/machineLearning/objectDetection/customdata/CustomdataApi.d.ts +0 -20
  23. package/dist/encoding/encodings/machineLearning/objectDetection/customdata/CustomdataApi.js +0 -51
  24. package/dist/encoding/encodings/machineLearning/objectDetection/customdata/CustomdataApi.js.map +0 -1
  25. package/dist/encoding/encodings/machineLearning/objectDetection/results/ObjectDetectionResultListQueryParams.d.ts +0 -28
  26. package/dist/encoding/encodings/machineLearning/objectDetection/results/ObjectDetectionResultListQueryParams.js +0 -30
  27. package/dist/encoding/encodings/machineLearning/objectDetection/results/ObjectDetectionResultListQueryParams.js.map +0 -1
  28. package/dist/encoding/encodings/machineLearning/objectDetection/results/ResultsApi.d.ts +0 -25
  29. package/dist/encoding/encodings/machineLearning/objectDetection/results/ResultsApi.js +0 -63
  30. package/dist/encoding/encodings/machineLearning/objectDetection/results/ResultsApi.js.map +0 -1
  31. package/dist/encoding/encodings/machineLearning/objectDetection/results/byTimestamp/ByTimestampApi.d.ts +0 -23
  32. package/dist/encoding/encodings/machineLearning/objectDetection/results/byTimestamp/ByTimestampApi.js +0 -60
  33. package/dist/encoding/encodings/machineLearning/objectDetection/results/byTimestamp/ByTimestampApi.js.map +0 -1
  34. package/dist/encoding/encodings/machineLearning/objectDetection/results/byTimestamp/ObjectDetectionTimestampResultListQueryParams.d.ts +0 -28
  35. package/dist/encoding/encodings/machineLearning/objectDetection/results/byTimestamp/ObjectDetectionTimestampResultListQueryParams.js +0 -30
  36. package/dist/encoding/encodings/machineLearning/objectDetection/results/byTimestamp/ObjectDetectionTimestampResultListQueryParams.js.map +0 -1
  37. package/dist/models/ObjectDetectionBoundingBox.d.ts +0 -32
  38. package/dist/models/ObjectDetectionBoundingBox.js +0 -23
  39. package/dist/models/ObjectDetectionBoundingBox.js.map +0 -1
  40. package/dist/models/ObjectDetectionConfiguration.d.ts +0 -9
  41. package/dist/models/ObjectDetectionConfiguration.js +0 -37
  42. package/dist/models/ObjectDetectionConfiguration.js.map +0 -1
  43. package/dist/models/ObjectDetectionResult.d.ts +0 -34
  44. package/dist/models/ObjectDetectionResult.js +0 -43
  45. package/dist/models/ObjectDetectionResult.js.map +0 -1
  46. package/dist/models/ObjectDetectionTimestampResult.d.ts +0 -22
  47. package/dist/models/ObjectDetectionTimestampResult.js +0 -41
  48. package/dist/models/ObjectDetectionTimestampResult.js.map +0 -1
@@ -5985,7 +5985,7 @@ var HeaderHandler = /** @class */ (function (_super) {
5985
5985
  var headers = {
5986
5986
  'X-Api-Key': apiKey,
5987
5987
  'X-Api-Client': 'bitmovin-api-sdk-javascript',
5988
- 'X-Api-Client-Version': '1.127.0',
5988
+ 'X-Api-Client-Version': '1.128.0',
5989
5989
  'Content-Type': 'application/json'
5990
5990
  };
5991
5991
  if (tenantOrgId) {
@@ -12359,7 +12359,6 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
12359
12359
  var BaseAPI_1 = __webpack_require__(/*! ../../common/BaseAPI */ "./common/BaseAPI.ts");
12360
12360
  var Mapper_1 = __webpack_require__(/*! ../../common/Mapper */ "./common/Mapper.ts");
12361
12361
  var LiveApi_1 = __webpack_require__(/*! ./live/LiveApi */ "./encoding/encodings/live/LiveApi.ts");
12362
- var MachineLearningApi_1 = __webpack_require__(/*! ./machineLearning/MachineLearningApi */ "./encoding/encodings/machineLearning/MachineLearningApi.ts");
12363
12362
  var CustomdataApi_1 = __webpack_require__(/*! ./customdata/CustomdataApi */ "./encoding/encodings/customdata/CustomdataApi.ts");
12364
12363
  var StreamsApi_1 = __webpack_require__(/*! ./streams/StreamsApi */ "./encoding/encodings/streams/StreamsApi.ts");
12365
12364
  var InputStreamsApi_1 = __webpack_require__(/*! ./inputStreams/InputStreamsApi */ "./encoding/encodings/inputStreams/InputStreamsApi.ts");
@@ -12386,7 +12385,6 @@ var EncodingsApi = /** @class */ (function (_super) {
12386
12385
  function EncodingsApi(configuration) {
12387
12386
  var _this = _super.call(this, configuration) || this;
12388
12387
  _this.live = new LiveApi_1.default(configuration);
12389
- _this.machineLearning = new MachineLearningApi_1.default(configuration);
12390
12388
  _this.customdata = new CustomdataApi_1.default(configuration);
12391
12389
  _this.streams = new StreamsApi_1.default(configuration);
12392
12390
  _this.inputStreams = new InputStreamsApi_1.default(configuration);
@@ -16190,498 +16188,6 @@ var Scte35CueApi = /** @class */ (function (_super) {
16190
16188
  exports["default"] = Scte35CueApi;
16191
16189
 
16192
16190
 
16193
- /***/ }),
16194
-
16195
- /***/ "./encoding/encodings/machineLearning/MachineLearningApi.ts":
16196
- /*!******************************************************************!*\
16197
- !*** ./encoding/encodings/machineLearning/MachineLearningApi.ts ***!
16198
- \******************************************************************/
16199
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
16200
-
16201
- "use strict";
16202
-
16203
- var __extends = (this && this.__extends) || (function () {
16204
- var extendStatics = function (d, b) {
16205
- extendStatics = Object.setPrototypeOf ||
16206
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
16207
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
16208
- return extendStatics(d, b);
16209
- };
16210
- return function (d, b) {
16211
- if (typeof b !== "function" && b !== null)
16212
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
16213
- extendStatics(d, b);
16214
- function __() { this.constructor = d; }
16215
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16216
- };
16217
- })();
16218
- Object.defineProperty(exports, "__esModule", ({ value: true }));
16219
- var BaseAPI_1 = __webpack_require__(/*! ../../../common/BaseAPI */ "./common/BaseAPI.ts");
16220
- var ObjectDetectionApi_1 = __webpack_require__(/*! ./objectDetection/ObjectDetectionApi */ "./encoding/encodings/machineLearning/objectDetection/ObjectDetectionApi.ts");
16221
- /**
16222
- * MachineLearningApi - object-oriented interface
16223
- * @export
16224
- * @class MachineLearningApi
16225
- * @extends {BaseAPI}
16226
- */
16227
- var MachineLearningApi = /** @class */ (function (_super) {
16228
- __extends(MachineLearningApi, _super);
16229
- function MachineLearningApi(configuration) {
16230
- var _this = _super.call(this, configuration) || this;
16231
- _this.objectDetection = new ObjectDetectionApi_1.default(configuration);
16232
- return _this;
16233
- }
16234
- return MachineLearningApi;
16235
- }(BaseAPI_1.BaseAPI));
16236
- exports["default"] = MachineLearningApi;
16237
-
16238
-
16239
- /***/ }),
16240
-
16241
- /***/ "./encoding/encodings/machineLearning/objectDetection/ObjectDetectionApi.ts":
16242
- /*!**********************************************************************************!*\
16243
- !*** ./encoding/encodings/machineLearning/objectDetection/ObjectDetectionApi.ts ***!
16244
- \**********************************************************************************/
16245
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
16246
-
16247
- "use strict";
16248
-
16249
- var __extends = (this && this.__extends) || (function () {
16250
- var extendStatics = function (d, b) {
16251
- extendStatics = Object.setPrototypeOf ||
16252
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
16253
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
16254
- return extendStatics(d, b);
16255
- };
16256
- return function (d, b) {
16257
- if (typeof b !== "function" && b !== null)
16258
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
16259
- extendStatics(d, b);
16260
- function __() { this.constructor = d; }
16261
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16262
- };
16263
- })();
16264
- Object.defineProperty(exports, "__esModule", ({ value: true }));
16265
- var BaseAPI_1 = __webpack_require__(/*! ../../../../common/BaseAPI */ "./common/BaseAPI.ts");
16266
- var Mapper_1 = __webpack_require__(/*! ../../../../common/Mapper */ "./common/Mapper.ts");
16267
- var CustomdataApi_1 = __webpack_require__(/*! ./customdata/CustomdataApi */ "./encoding/encodings/machineLearning/objectDetection/customdata/CustomdataApi.ts");
16268
- var ResultsApi_1 = __webpack_require__(/*! ./results/ResultsApi */ "./encoding/encodings/machineLearning/objectDetection/results/ResultsApi.ts");
16269
- var BitmovinResponse_1 = __webpack_require__(/*! ../../../../models/BitmovinResponse */ "./models/BitmovinResponse.ts");
16270
- var ObjectDetectionConfiguration_1 = __webpack_require__(/*! ../../../../models/ObjectDetectionConfiguration */ "./models/ObjectDetectionConfiguration.ts");
16271
- var PaginationResponse_1 = __webpack_require__(/*! ../../../../models/PaginationResponse */ "./models/PaginationResponse.ts");
16272
- var ObjectDetectionConfigurationListQueryParams_1 = __webpack_require__(/*! ./ObjectDetectionConfigurationListQueryParams */ "./encoding/encodings/machineLearning/objectDetection/ObjectDetectionConfigurationListQueryParams.ts");
16273
- /**
16274
- * ObjectDetectionApi - object-oriented interface
16275
- * @export
16276
- * @class ObjectDetectionApi
16277
- * @extends {BaseAPI}
16278
- */
16279
- var ObjectDetectionApi = /** @class */ (function (_super) {
16280
- __extends(ObjectDetectionApi, _super);
16281
- function ObjectDetectionApi(configuration) {
16282
- var _this = _super.call(this, configuration) || this;
16283
- _this.customdata = new CustomdataApi_1.default(configuration);
16284
- _this.results = new ResultsApi_1.default(configuration);
16285
- return _this;
16286
- }
16287
- /**
16288
- * @summary Add object detection configuration to an encoding
16289
- * @param {string} encodingId Id of the encoding
16290
- * @param {ObjectDetectionConfiguration} objectDetectionConfiguration The object detection configuration to be created
16291
- * @throws {BitmovinError}
16292
- * @memberof ObjectDetectionApi
16293
- */
16294
- ObjectDetectionApi.prototype.create = function (encodingId, objectDetectionConfiguration) {
16295
- var pathParamMap = {
16296
- encoding_id: encodingId
16297
- };
16298
- return this.restClient.post('/encoding/encodings/{encoding_id}/machine-learning/object-detection', pathParamMap, objectDetectionConfiguration).then(function (response) {
16299
- return (0, Mapper_1.map)(response, ObjectDetectionConfiguration_1.default);
16300
- });
16301
- };
16302
- /**
16303
- * @summary Delete object detection configuration
16304
- * @param {string} encodingId Id of the encoding
16305
- * @param {string} objectDetectionId Id of the object detection configuration to be deleted
16306
- * @throws {BitmovinError}
16307
- * @memberof ObjectDetectionApi
16308
- */
16309
- ObjectDetectionApi.prototype.delete = function (encodingId, objectDetectionId) {
16310
- var pathParamMap = {
16311
- encoding_id: encodingId,
16312
- object_detection_id: objectDetectionId
16313
- };
16314
- return this.restClient.delete('/encoding/encodings/{encoding_id}/machine-learning/object-detection/{object_detection_id}', pathParamMap).then(function (response) {
16315
- return (0, Mapper_1.map)(response, BitmovinResponse_1.default);
16316
- });
16317
- };
16318
- /**
16319
- * @summary Get object detection configuration details
16320
- * @param {string} encodingId Id of the encoding
16321
- * @param {string} objectDetectionId Id of the object detection configuration
16322
- * @throws {BitmovinError}
16323
- * @memberof ObjectDetectionApi
16324
- */
16325
- ObjectDetectionApi.prototype.get = function (encodingId, objectDetectionId) {
16326
- var pathParamMap = {
16327
- encoding_id: encodingId,
16328
- object_detection_id: objectDetectionId
16329
- };
16330
- return this.restClient.get('/encoding/encodings/{encoding_id}/machine-learning/object-detection/{object_detection_id}', pathParamMap).then(function (response) {
16331
- return (0, Mapper_1.map)(response, ObjectDetectionConfiguration_1.default);
16332
- });
16333
- };
16334
- /**
16335
- * @summary List object detection configurations of an encoding
16336
- * @param {string} encodingId Id of the encoding
16337
- * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
16338
- * @throws {BitmovinError}
16339
- * @memberof ObjectDetectionApi
16340
- */
16341
- ObjectDetectionApi.prototype.list = function (encodingId, queryParameters) {
16342
- var pathParamMap = {
16343
- encoding_id: encodingId
16344
- };
16345
- var queryParams = {};
16346
- if (typeof queryParameters === 'function') {
16347
- queryParams = queryParameters(new ObjectDetectionConfigurationListQueryParams_1.ObjectDetectionConfigurationListQueryParamsBuilder()).buildQueryParams();
16348
- }
16349
- else if (queryParameters) {
16350
- queryParams = queryParameters;
16351
- }
16352
- return this.restClient.get('/encoding/encodings/{encoding_id}/machine-learning/object-detection', pathParamMap, queryParams).then(function (response) {
16353
- return new PaginationResponse_1.default(response, ObjectDetectionConfiguration_1.default);
16354
- });
16355
- };
16356
- return ObjectDetectionApi;
16357
- }(BaseAPI_1.BaseAPI));
16358
- exports["default"] = ObjectDetectionApi;
16359
-
16360
-
16361
- /***/ }),
16362
-
16363
- /***/ "./encoding/encodings/machineLearning/objectDetection/ObjectDetectionConfigurationListQueryParams.ts":
16364
- /*!***********************************************************************************************************!*\
16365
- !*** ./encoding/encodings/machineLearning/objectDetection/ObjectDetectionConfigurationListQueryParams.ts ***!
16366
- \***********************************************************************************************************/
16367
- /***/ ((__unused_webpack_module, exports) => {
16368
-
16369
- "use strict";
16370
-
16371
- Object.defineProperty(exports, "__esModule", ({ value: true }));
16372
- exports.ObjectDetectionConfigurationListQueryParamsBuilder = void 0;
16373
- var ObjectDetectionConfigurationListQueryParamsBuilder = /** @class */ (function () {
16374
- function ObjectDetectionConfigurationListQueryParamsBuilder() {
16375
- this.internalParams = {};
16376
- }
16377
- /**
16378
- *
16379
- * @param offset Index of the first item to return, starting at 0. Default is 0
16380
- */
16381
- ObjectDetectionConfigurationListQueryParamsBuilder.prototype.offset = function (offset) {
16382
- this.internalParams.offset = offset;
16383
- return this;
16384
- };
16385
- /**
16386
- *
16387
- * @param limit Maximum number of items to return. Default is 25, maximum is 100
16388
- */
16389
- ObjectDetectionConfigurationListQueryParamsBuilder.prototype.limit = function (limit) {
16390
- this.internalParams.limit = limit;
16391
- return this;
16392
- };
16393
- ObjectDetectionConfigurationListQueryParamsBuilder.prototype.buildQueryParams = function () {
16394
- return this.internalParams;
16395
- };
16396
- return ObjectDetectionConfigurationListQueryParamsBuilder;
16397
- }());
16398
- exports.ObjectDetectionConfigurationListQueryParamsBuilder = ObjectDetectionConfigurationListQueryParamsBuilder;
16399
-
16400
-
16401
- /***/ }),
16402
-
16403
- /***/ "./encoding/encodings/machineLearning/objectDetection/customdata/CustomdataApi.ts":
16404
- /*!****************************************************************************************!*\
16405
- !*** ./encoding/encodings/machineLearning/objectDetection/customdata/CustomdataApi.ts ***!
16406
- \****************************************************************************************/
16407
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
16408
-
16409
- "use strict";
16410
-
16411
- var __extends = (this && this.__extends) || (function () {
16412
- var extendStatics = function (d, b) {
16413
- extendStatics = Object.setPrototypeOf ||
16414
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
16415
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
16416
- return extendStatics(d, b);
16417
- };
16418
- return function (d, b) {
16419
- if (typeof b !== "function" && b !== null)
16420
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
16421
- extendStatics(d, b);
16422
- function __() { this.constructor = d; }
16423
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16424
- };
16425
- })();
16426
- Object.defineProperty(exports, "__esModule", ({ value: true }));
16427
- var BaseAPI_1 = __webpack_require__(/*! ../../../../../common/BaseAPI */ "./common/BaseAPI.ts");
16428
- var Mapper_1 = __webpack_require__(/*! ../../../../../common/Mapper */ "./common/Mapper.ts");
16429
- var CustomData_1 = __webpack_require__(/*! ../../../../../models/CustomData */ "./models/CustomData.ts");
16430
- /**
16431
- * CustomdataApi - object-oriented interface
16432
- * @export
16433
- * @class CustomdataApi
16434
- * @extends {BaseAPI}
16435
- */
16436
- var CustomdataApi = /** @class */ (function (_super) {
16437
- __extends(CustomdataApi, _super);
16438
- function CustomdataApi(configuration) {
16439
- return _super.call(this, configuration) || this;
16440
- }
16441
- /**
16442
- * @summary Get the custom data of an object detection configuration
16443
- * @param {string} encodingId Id of the encoding
16444
- * @param {string} objectDetectionId Id of the object detection configuration
16445
- * @throws {BitmovinError}
16446
- * @memberof CustomdataApi
16447
- */
16448
- CustomdataApi.prototype.get = function (encodingId, objectDetectionId) {
16449
- var pathParamMap = {
16450
- encoding_id: encodingId,
16451
- object_detection_id: objectDetectionId
16452
- };
16453
- return this.restClient.get('/encoding/encodings/{encoding_id}/machine-learning/object-detection/{object_detection_id}/customData', pathParamMap).then(function (response) {
16454
- return (0, Mapper_1.map)(response, CustomData_1.default);
16455
- });
16456
- };
16457
- return CustomdataApi;
16458
- }(BaseAPI_1.BaseAPI));
16459
- exports["default"] = CustomdataApi;
16460
-
16461
-
16462
- /***/ }),
16463
-
16464
- /***/ "./encoding/encodings/machineLearning/objectDetection/results/ObjectDetectionResultListQueryParams.ts":
16465
- /*!************************************************************************************************************!*\
16466
- !*** ./encoding/encodings/machineLearning/objectDetection/results/ObjectDetectionResultListQueryParams.ts ***!
16467
- \************************************************************************************************************/
16468
- /***/ ((__unused_webpack_module, exports) => {
16469
-
16470
- "use strict";
16471
-
16472
- Object.defineProperty(exports, "__esModule", ({ value: true }));
16473
- exports.ObjectDetectionResultListQueryParamsBuilder = void 0;
16474
- var ObjectDetectionResultListQueryParamsBuilder = /** @class */ (function () {
16475
- function ObjectDetectionResultListQueryParamsBuilder() {
16476
- this.internalParams = {};
16477
- }
16478
- /**
16479
- *
16480
- * @param offset Index of the first item to return, starting at 0. Default is 0
16481
- */
16482
- ObjectDetectionResultListQueryParamsBuilder.prototype.offset = function (offset) {
16483
- this.internalParams.offset = offset;
16484
- return this;
16485
- };
16486
- /**
16487
- *
16488
- * @param limit Maximum number of items to return. Default is 25, maximum is 100
16489
- */
16490
- ObjectDetectionResultListQueryParamsBuilder.prototype.limit = function (limit) {
16491
- this.internalParams.limit = limit;
16492
- return this;
16493
- };
16494
- ObjectDetectionResultListQueryParamsBuilder.prototype.buildQueryParams = function () {
16495
- return this.internalParams;
16496
- };
16497
- return ObjectDetectionResultListQueryParamsBuilder;
16498
- }());
16499
- exports.ObjectDetectionResultListQueryParamsBuilder = ObjectDetectionResultListQueryParamsBuilder;
16500
-
16501
-
16502
- /***/ }),
16503
-
16504
- /***/ "./encoding/encodings/machineLearning/objectDetection/results/ResultsApi.ts":
16505
- /*!**********************************************************************************!*\
16506
- !*** ./encoding/encodings/machineLearning/objectDetection/results/ResultsApi.ts ***!
16507
- \**********************************************************************************/
16508
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
16509
-
16510
- "use strict";
16511
-
16512
- var __extends = (this && this.__extends) || (function () {
16513
- var extendStatics = function (d, b) {
16514
- extendStatics = Object.setPrototypeOf ||
16515
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
16516
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
16517
- return extendStatics(d, b);
16518
- };
16519
- return function (d, b) {
16520
- if (typeof b !== "function" && b !== null)
16521
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
16522
- extendStatics(d, b);
16523
- function __() { this.constructor = d; }
16524
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16525
- };
16526
- })();
16527
- Object.defineProperty(exports, "__esModule", ({ value: true }));
16528
- var BaseAPI_1 = __webpack_require__(/*! ../../../../../common/BaseAPI */ "./common/BaseAPI.ts");
16529
- var ByTimestampApi_1 = __webpack_require__(/*! ./byTimestamp/ByTimestampApi */ "./encoding/encodings/machineLearning/objectDetection/results/byTimestamp/ByTimestampApi.ts");
16530
- var ObjectDetectionResult_1 = __webpack_require__(/*! ../../../../../models/ObjectDetectionResult */ "./models/ObjectDetectionResult.ts");
16531
- var PaginationResponse_1 = __webpack_require__(/*! ../../../../../models/PaginationResponse */ "./models/PaginationResponse.ts");
16532
- var ObjectDetectionResultListQueryParams_1 = __webpack_require__(/*! ./ObjectDetectionResultListQueryParams */ "./encoding/encodings/machineLearning/objectDetection/results/ObjectDetectionResultListQueryParams.ts");
16533
- /**
16534
- * ResultsApi - object-oriented interface
16535
- * @export
16536
- * @class ResultsApi
16537
- * @extends {BaseAPI}
16538
- */
16539
- var ResultsApi = /** @class */ (function (_super) {
16540
- __extends(ResultsApi, _super);
16541
- function ResultsApi(configuration) {
16542
- var _this = _super.call(this, configuration) || this;
16543
- _this.byTimestamp = new ByTimestampApi_1.default(configuration);
16544
- return _this;
16545
- }
16546
- /**
16547
- * @summary List object detection results
16548
- * @param {string} encodingId Id of the encoding
16549
- * @param {string} objectDetectionId Id of the object detection configuration
16550
- * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
16551
- * @throws {BitmovinError}
16552
- * @memberof ResultsApi
16553
- */
16554
- ResultsApi.prototype.list = function (encodingId, objectDetectionId, queryParameters) {
16555
- var pathParamMap = {
16556
- encoding_id: encodingId,
16557
- object_detection_id: objectDetectionId
16558
- };
16559
- var queryParams = {};
16560
- if (typeof queryParameters === 'function') {
16561
- queryParams = queryParameters(new ObjectDetectionResultListQueryParams_1.ObjectDetectionResultListQueryParamsBuilder()).buildQueryParams();
16562
- }
16563
- else if (queryParameters) {
16564
- queryParams = queryParameters;
16565
- }
16566
- return this.restClient.get('/encoding/encodings/{encoding_id}/machine-learning/object-detection/{object_detection_id}/results', pathParamMap, queryParams).then(function (response) {
16567
- return new PaginationResponse_1.default(response, ObjectDetectionResult_1.default);
16568
- });
16569
- };
16570
- return ResultsApi;
16571
- }(BaseAPI_1.BaseAPI));
16572
- exports["default"] = ResultsApi;
16573
-
16574
-
16575
- /***/ }),
16576
-
16577
- /***/ "./encoding/encodings/machineLearning/objectDetection/results/byTimestamp/ByTimestampApi.ts":
16578
- /*!**************************************************************************************************!*\
16579
- !*** ./encoding/encodings/machineLearning/objectDetection/results/byTimestamp/ByTimestampApi.ts ***!
16580
- \**************************************************************************************************/
16581
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
16582
-
16583
- "use strict";
16584
-
16585
- var __extends = (this && this.__extends) || (function () {
16586
- var extendStatics = function (d, b) {
16587
- extendStatics = Object.setPrototypeOf ||
16588
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
16589
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
16590
- return extendStatics(d, b);
16591
- };
16592
- return function (d, b) {
16593
- if (typeof b !== "function" && b !== null)
16594
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
16595
- extendStatics(d, b);
16596
- function __() { this.constructor = d; }
16597
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16598
- };
16599
- })();
16600
- Object.defineProperty(exports, "__esModule", ({ value: true }));
16601
- var BaseAPI_1 = __webpack_require__(/*! ../../../../../../common/BaseAPI */ "./common/BaseAPI.ts");
16602
- var ObjectDetectionTimestampResult_1 = __webpack_require__(/*! ../../../../../../models/ObjectDetectionTimestampResult */ "./models/ObjectDetectionTimestampResult.ts");
16603
- var PaginationResponse_1 = __webpack_require__(/*! ../../../../../../models/PaginationResponse */ "./models/PaginationResponse.ts");
16604
- var ObjectDetectionTimestampResultListQueryParams_1 = __webpack_require__(/*! ./ObjectDetectionTimestampResultListQueryParams */ "./encoding/encodings/machineLearning/objectDetection/results/byTimestamp/ObjectDetectionTimestampResultListQueryParams.ts");
16605
- /**
16606
- * ByTimestampApi - object-oriented interface
16607
- * @export
16608
- * @class ByTimestampApi
16609
- * @extends {BaseAPI}
16610
- */
16611
- var ByTimestampApi = /** @class */ (function (_super) {
16612
- __extends(ByTimestampApi, _super);
16613
- function ByTimestampApi(configuration) {
16614
- return _super.call(this, configuration) || this;
16615
- }
16616
- /**
16617
- * @summary List object detection results grouped by timestamp
16618
- * @param {string} encodingId Id of the encoding
16619
- * @param {string} objectDetectionId Id of the object detection configuration
16620
- * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
16621
- * @throws {BitmovinError}
16622
- * @memberof ByTimestampApi
16623
- */
16624
- ByTimestampApi.prototype.list = function (encodingId, objectDetectionId, queryParameters) {
16625
- var pathParamMap = {
16626
- encoding_id: encodingId,
16627
- object_detection_id: objectDetectionId
16628
- };
16629
- var queryParams = {};
16630
- if (typeof queryParameters === 'function') {
16631
- queryParams = queryParameters(new ObjectDetectionTimestampResultListQueryParams_1.ObjectDetectionTimestampResultListQueryParamsBuilder()).buildQueryParams();
16632
- }
16633
- else if (queryParameters) {
16634
- queryParams = queryParameters;
16635
- }
16636
- return this.restClient.get('/encoding/encodings/{encoding_id}/machine-learning/object-detection/{object_detection_id}/results/by-timestamp', pathParamMap, queryParams).then(function (response) {
16637
- return new PaginationResponse_1.default(response, ObjectDetectionTimestampResult_1.default);
16638
- });
16639
- };
16640
- return ByTimestampApi;
16641
- }(BaseAPI_1.BaseAPI));
16642
- exports["default"] = ByTimestampApi;
16643
-
16644
-
16645
- /***/ }),
16646
-
16647
- /***/ "./encoding/encodings/machineLearning/objectDetection/results/byTimestamp/ObjectDetectionTimestampResultListQueryParams.ts":
16648
- /*!*********************************************************************************************************************************!*\
16649
- !*** ./encoding/encodings/machineLearning/objectDetection/results/byTimestamp/ObjectDetectionTimestampResultListQueryParams.ts ***!
16650
- \*********************************************************************************************************************************/
16651
- /***/ ((__unused_webpack_module, exports) => {
16652
-
16653
- "use strict";
16654
-
16655
- Object.defineProperty(exports, "__esModule", ({ value: true }));
16656
- exports.ObjectDetectionTimestampResultListQueryParamsBuilder = void 0;
16657
- var ObjectDetectionTimestampResultListQueryParamsBuilder = /** @class */ (function () {
16658
- function ObjectDetectionTimestampResultListQueryParamsBuilder() {
16659
- this.internalParams = {};
16660
- }
16661
- /**
16662
- *
16663
- * @param offset Index of the first item to return, starting at 0. Default is 0
16664
- */
16665
- ObjectDetectionTimestampResultListQueryParamsBuilder.prototype.offset = function (offset) {
16666
- this.internalParams.offset = offset;
16667
- return this;
16668
- };
16669
- /**
16670
- *
16671
- * @param limit Maximum number of items to return. Default is 25, maximum is 100
16672
- */
16673
- ObjectDetectionTimestampResultListQueryParamsBuilder.prototype.limit = function (limit) {
16674
- this.internalParams.limit = limit;
16675
- return this;
16676
- };
16677
- ObjectDetectionTimestampResultListQueryParamsBuilder.prototype.buildQueryParams = function () {
16678
- return this.internalParams;
16679
- };
16680
- return ObjectDetectionTimestampResultListQueryParamsBuilder;
16681
- }());
16682
- exports.ObjectDetectionTimestampResultListQueryParamsBuilder = ObjectDetectionTimestampResultListQueryParamsBuilder;
16683
-
16684
-
16685
16191
  /***/ }),
16686
16192
 
16687
16193
  /***/ "./encoding/encodings/muxings/MuxingListQueryParams.ts":
@@ -74256,190 +73762,6 @@ var NotificationStates;
74256
73762
  exports["default"] = NotificationStates;
74257
73763
 
74258
73764
 
74259
- /***/ }),
74260
-
74261
- /***/ "./models/ObjectDetectionBoundingBox.ts":
74262
- /*!**********************************************!*\
74263
- !*** ./models/ObjectDetectionBoundingBox.ts ***!
74264
- \**********************************************/
74265
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
74266
-
74267
- "use strict";
74268
-
74269
- Object.defineProperty(exports, "__esModule", ({ value: true }));
74270
- exports.ObjectDetectionBoundingBox = void 0;
74271
- var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
74272
- /**
74273
- * @export
74274
- * @class ObjectDetectionBoundingBox
74275
- */
74276
- var ObjectDetectionBoundingBox = /** @class */ (function () {
74277
- function ObjectDetectionBoundingBox(obj) {
74278
- if (!obj) {
74279
- return;
74280
- }
74281
- this.topLeftX = (0, Mapper_1.map)(obj.topLeftX);
74282
- this.topLeftY = (0, Mapper_1.map)(obj.topLeftY);
74283
- this.bottomRightX = (0, Mapper_1.map)(obj.bottomRightX);
74284
- this.bottomRightY = (0, Mapper_1.map)(obj.bottomRightY);
74285
- }
74286
- return ObjectDetectionBoundingBox;
74287
- }());
74288
- exports.ObjectDetectionBoundingBox = ObjectDetectionBoundingBox;
74289
- exports["default"] = ObjectDetectionBoundingBox;
74290
-
74291
-
74292
- /***/ }),
74293
-
74294
- /***/ "./models/ObjectDetectionConfiguration.ts":
74295
- /*!************************************************!*\
74296
- !*** ./models/ObjectDetectionConfiguration.ts ***!
74297
- \************************************************/
74298
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
74299
-
74300
- "use strict";
74301
-
74302
- var __extends = (this && this.__extends) || (function () {
74303
- var extendStatics = function (d, b) {
74304
- extendStatics = Object.setPrototypeOf ||
74305
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
74306
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
74307
- return extendStatics(d, b);
74308
- };
74309
- return function (d, b) {
74310
- if (typeof b !== "function" && b !== null)
74311
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
74312
- extendStatics(d, b);
74313
- function __() { this.constructor = d; }
74314
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
74315
- };
74316
- })();
74317
- Object.defineProperty(exports, "__esModule", ({ value: true }));
74318
- exports.ObjectDetectionConfiguration = void 0;
74319
- var BitmovinResource_1 = __webpack_require__(/*! ./BitmovinResource */ "./models/BitmovinResource.ts");
74320
- /**
74321
- * @export
74322
- * @class ObjectDetectionConfiguration
74323
- */
74324
- var ObjectDetectionConfiguration = /** @class */ (function (_super) {
74325
- __extends(ObjectDetectionConfiguration, _super);
74326
- function ObjectDetectionConfiguration(obj) {
74327
- var _this = _super.call(this, obj) || this;
74328
- if (!obj) {
74329
- return _this;
74330
- }
74331
- return _this;
74332
- }
74333
- return ObjectDetectionConfiguration;
74334
- }(BitmovinResource_1.default));
74335
- exports.ObjectDetectionConfiguration = ObjectDetectionConfiguration;
74336
- exports["default"] = ObjectDetectionConfiguration;
74337
-
74338
-
74339
- /***/ }),
74340
-
74341
- /***/ "./models/ObjectDetectionResult.ts":
74342
- /*!*****************************************!*\
74343
- !*** ./models/ObjectDetectionResult.ts ***!
74344
- \*****************************************/
74345
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
74346
-
74347
- "use strict";
74348
-
74349
- var __extends = (this && this.__extends) || (function () {
74350
- var extendStatics = function (d, b) {
74351
- extendStatics = Object.setPrototypeOf ||
74352
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
74353
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
74354
- return extendStatics(d, b);
74355
- };
74356
- return function (d, b) {
74357
- if (typeof b !== "function" && b !== null)
74358
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
74359
- extendStatics(d, b);
74360
- function __() { this.constructor = d; }
74361
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
74362
- };
74363
- })();
74364
- Object.defineProperty(exports, "__esModule", ({ value: true }));
74365
- exports.ObjectDetectionResult = void 0;
74366
- var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
74367
- var BitmovinResponse_1 = __webpack_require__(/*! ./BitmovinResponse */ "./models/BitmovinResponse.ts");
74368
- var ObjectDetectionBoundingBox_1 = __webpack_require__(/*! ./ObjectDetectionBoundingBox */ "./models/ObjectDetectionBoundingBox.ts");
74369
- /**
74370
- * @export
74371
- * @class ObjectDetectionResult
74372
- */
74373
- var ObjectDetectionResult = /** @class */ (function (_super) {
74374
- __extends(ObjectDetectionResult, _super);
74375
- function ObjectDetectionResult(obj) {
74376
- var _this = _super.call(this, obj) || this;
74377
- if (!obj) {
74378
- return _this;
74379
- }
74380
- _this.detectedObject = (0, Mapper_1.map)(obj.detectedObject);
74381
- _this.timestamp = (0, Mapper_1.map)(obj.timestamp);
74382
- _this.score = (0, Mapper_1.map)(obj.score);
74383
- _this.boundingBox = (0, Mapper_1.map)(obj.boundingBox, ObjectDetectionBoundingBox_1.default);
74384
- return _this;
74385
- }
74386
- return ObjectDetectionResult;
74387
- }(BitmovinResponse_1.default));
74388
- exports.ObjectDetectionResult = ObjectDetectionResult;
74389
- exports["default"] = ObjectDetectionResult;
74390
-
74391
-
74392
- /***/ }),
74393
-
74394
- /***/ "./models/ObjectDetectionTimestampResult.ts":
74395
- /*!**************************************************!*\
74396
- !*** ./models/ObjectDetectionTimestampResult.ts ***!
74397
- \**************************************************/
74398
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
74399
-
74400
- "use strict";
74401
-
74402
- var __extends = (this && this.__extends) || (function () {
74403
- var extendStatics = function (d, b) {
74404
- extendStatics = Object.setPrototypeOf ||
74405
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
74406
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
74407
- return extendStatics(d, b);
74408
- };
74409
- return function (d, b) {
74410
- if (typeof b !== "function" && b !== null)
74411
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
74412
- extendStatics(d, b);
74413
- function __() { this.constructor = d; }
74414
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
74415
- };
74416
- })();
74417
- Object.defineProperty(exports, "__esModule", ({ value: true }));
74418
- exports.ObjectDetectionTimestampResult = void 0;
74419
- var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
74420
- var BitmovinResponse_1 = __webpack_require__(/*! ./BitmovinResponse */ "./models/BitmovinResponse.ts");
74421
- var ObjectDetectionResult_1 = __webpack_require__(/*! ./ObjectDetectionResult */ "./models/ObjectDetectionResult.ts");
74422
- /**
74423
- * @export
74424
- * @class ObjectDetectionTimestampResult
74425
- */
74426
- var ObjectDetectionTimestampResult = /** @class */ (function (_super) {
74427
- __extends(ObjectDetectionTimestampResult, _super);
74428
- function ObjectDetectionTimestampResult(obj) {
74429
- var _this = _super.call(this, obj) || this;
74430
- if (!obj) {
74431
- return _this;
74432
- }
74433
- _this.timestamp = (0, Mapper_1.map)(obj.timestamp);
74434
- _this.objects = (0, Mapper_1.mapArray)(obj.objects, ObjectDetectionResult_1.default);
74435
- return _this;
74436
- }
74437
- return ObjectDetectionTimestampResult;
74438
- }(BitmovinResponse_1.default));
74439
- exports.ObjectDetectionTimestampResult = ObjectDetectionTimestampResult;
74440
- exports["default"] = ObjectDetectionTimestampResult;
74441
-
74442
-
74443
73765
  /***/ }),
74444
73766
 
74445
73767
  /***/ "./models/OpusAudioConfiguration.ts":
@@ -85461,10 +84783,6 @@ __exportStar(__webpack_require__(/*! ./NexGuardWatermarkingType */ "./models/Nex
85461
84783
  __exportStar(__webpack_require__(/*! ./Notification */ "./models/Notification.ts"), exports);
85462
84784
  __exportStar(__webpack_require__(/*! ./NotificationStateEntry */ "./models/NotificationStateEntry.ts"), exports);
85463
84785
  __exportStar(__webpack_require__(/*! ./NotificationStates */ "./models/NotificationStates.ts"), exports);
85464
- __exportStar(__webpack_require__(/*! ./ObjectDetectionBoundingBox */ "./models/ObjectDetectionBoundingBox.ts"), exports);
85465
- __exportStar(__webpack_require__(/*! ./ObjectDetectionConfiguration */ "./models/ObjectDetectionConfiguration.ts"), exports);
85466
- __exportStar(__webpack_require__(/*! ./ObjectDetectionResult */ "./models/ObjectDetectionResult.ts"), exports);
85467
- __exportStar(__webpack_require__(/*! ./ObjectDetectionTimestampResult */ "./models/ObjectDetectionTimestampResult.ts"), exports);
85468
84786
  __exportStar(__webpack_require__(/*! ./OpusAudioConfiguration */ "./models/OpusAudioConfiguration.ts"), exports);
85469
84787
  __exportStar(__webpack_require__(/*! ./OpusChannelLayout */ "./models/OpusChannelLayout.ts"), exports);
85470
84788
  __exportStar(__webpack_require__(/*! ./OrConjunction */ "./models/OrConjunction.ts"), exports);