@bitmovin/api-sdk 1.210.0 → 1.211.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 (33) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +682 -1
  3. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  4. package/dist/common/RestClient.js +1 -1
  5. package/dist/encoding/infrastructure/InfrastructureApi.d.ts +2 -0
  6. package/dist/encoding/infrastructure/InfrastructureApi.js +2 -0
  7. package/dist/encoding/infrastructure/akamai/AkamaiAccountListQueryParams.d.ts +28 -0
  8. package/dist/encoding/infrastructure/akamai/AkamaiAccountListQueryParams.js +29 -0
  9. package/dist/encoding/infrastructure/akamai/AkamaiApi.d.ts +44 -0
  10. package/dist/encoding/infrastructure/akamai/AkamaiApi.js +96 -0
  11. package/dist/encoding/infrastructure/akamai/regions/AkamaiAccountRegionSettingsListQueryParams.d.ts +28 -0
  12. package/dist/encoding/infrastructure/akamai/regions/AkamaiAccountRegionSettingsListQueryParams.js +29 -0
  13. package/dist/encoding/infrastructure/akamai/regions/RegionsApi.d.ts +48 -0
  14. package/dist/encoding/infrastructure/akamai/regions/RegionsApi.js +107 -0
  15. package/dist/encoding/templates/EncodingTemplateResponseListQueryParams.d.ts +40 -0
  16. package/dist/encoding/templates/EncodingTemplateResponseListQueryParams.js +37 -0
  17. package/dist/encoding/templates/TemplatesApi.d.ts +33 -0
  18. package/dist/encoding/templates/TemplatesApi.js +62 -0
  19. package/dist/models/AkamaiAccount.d.ts +15 -0
  20. package/dist/models/AkamaiAccount.js +38 -0
  21. package/dist/models/AkamaiAccountRegionSettings.d.ts +27 -0
  22. package/dist/models/AkamaiAccountRegionSettings.js +40 -0
  23. package/dist/models/AkamaiCloudRegion.d.ts +20 -0
  24. package/dist/models/AkamaiCloudRegion.js +24 -0
  25. package/dist/models/EncodingTemplateDetails.d.ts +15 -0
  26. package/dist/models/EncodingTemplateDetails.js +38 -0
  27. package/dist/models/EncodingTemplateResponse.d.ts +15 -0
  28. package/dist/models/EncodingTemplateResponse.js +38 -0
  29. package/dist/models/EncodingTemplateType.d.ts +10 -0
  30. package/dist/models/EncodingTemplateType.js +14 -0
  31. package/dist/models/index.d.ts +6 -0
  32. package/dist/models/index.js +6 -0
  33. package/package.json +1 -1
@@ -6029,7 +6029,7 @@ var HeaderHandler = /** @class */ (function (_super) {
6029
6029
  var headers = {
6030
6030
  'X-Api-Key': apiKey,
6031
6031
  'X-Api-Client': 'bitmovin-api-sdk-javascript',
6032
- 'X-Api-Client-Version': '1.210.0',
6032
+ 'X-Api-Client-Version': '1.211.0',
6033
6033
  'Content-Type': 'application/json'
6034
6034
  };
6035
6035
  if (tenantOrgId) {
@@ -35338,6 +35338,7 @@ var AwsApi_1 = __webpack_require__(/*! ./aws/AwsApi */ "./encoding/infrastructur
35338
35338
  var StaticIpsApi_1 = __webpack_require__(/*! ./staticIps/StaticIpsApi */ "./encoding/infrastructure/staticIps/StaticIpsApi.ts");
35339
35339
  var AzureApi_1 = __webpack_require__(/*! ./azure/AzureApi */ "./encoding/infrastructure/azure/AzureApi.ts");
35340
35340
  var GceApi_1 = __webpack_require__(/*! ./gce/GceApi */ "./encoding/infrastructure/gce/GceApi.ts");
35341
+ var AkamaiApi_1 = __webpack_require__(/*! ./akamai/AkamaiApi */ "./encoding/infrastructure/akamai/AkamaiApi.ts");
35341
35342
  var PrewarmedEncoderPoolsApi_1 = __webpack_require__(/*! ./prewarmedEncoderPools/PrewarmedEncoderPoolsApi */ "./encoding/infrastructure/prewarmedEncoderPools/PrewarmedEncoderPoolsApi.ts");
35342
35343
  /**
35343
35344
  * InfrastructureApi - object-oriented interface
@@ -35353,6 +35354,7 @@ var InfrastructureApi = /** @class */ (function (_super) {
35353
35354
  _this.staticIps = new StaticIpsApi_1.default(configuration);
35354
35355
  _this.azure = new AzureApi_1.default(configuration);
35355
35356
  _this.gce = new GceApi_1.default(configuration);
35357
+ _this.akamai = new AkamaiApi_1.default(configuration);
35356
35358
  _this.prewarmedEncoderPools = new PrewarmedEncoderPoolsApi_1.default(configuration);
35357
35359
  return _this;
35358
35360
  }
@@ -35361,6 +35363,311 @@ var InfrastructureApi = /** @class */ (function (_super) {
35361
35363
  exports["default"] = InfrastructureApi;
35362
35364
 
35363
35365
 
35366
+ /***/ }),
35367
+
35368
+ /***/ "./encoding/infrastructure/akamai/AkamaiAccountListQueryParams.ts":
35369
+ /*!************************************************************************!*\
35370
+ !*** ./encoding/infrastructure/akamai/AkamaiAccountListQueryParams.ts ***!
35371
+ \************************************************************************/
35372
+ /***/ ((__unused_webpack_module, exports) => {
35373
+
35374
+ "use strict";
35375
+
35376
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
35377
+ exports.AkamaiAccountListQueryParamsBuilder = void 0;
35378
+ var AkamaiAccountListQueryParamsBuilder = /** @class */ (function () {
35379
+ function AkamaiAccountListQueryParamsBuilder() {
35380
+ this.internalParams = {};
35381
+ }
35382
+ /**
35383
+ *
35384
+ * @param offset Index of the first item to return, starting at 0. Default is 0
35385
+ */
35386
+ AkamaiAccountListQueryParamsBuilder.prototype.offset = function (offset) {
35387
+ this.internalParams.offset = offset;
35388
+ return this;
35389
+ };
35390
+ /**
35391
+ *
35392
+ * @param limit Maximum number of items to return. Default is 25, maximum is 100
35393
+ */
35394
+ AkamaiAccountListQueryParamsBuilder.prototype.limit = function (limit) {
35395
+ this.internalParams.limit = limit;
35396
+ return this;
35397
+ };
35398
+ AkamaiAccountListQueryParamsBuilder.prototype.buildQueryParams = function () {
35399
+ return this.internalParams;
35400
+ };
35401
+ return AkamaiAccountListQueryParamsBuilder;
35402
+ }());
35403
+ exports.AkamaiAccountListQueryParamsBuilder = AkamaiAccountListQueryParamsBuilder;
35404
+
35405
+
35406
+ /***/ }),
35407
+
35408
+ /***/ "./encoding/infrastructure/akamai/AkamaiApi.ts":
35409
+ /*!*****************************************************!*\
35410
+ !*** ./encoding/infrastructure/akamai/AkamaiApi.ts ***!
35411
+ \*****************************************************/
35412
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
35413
+
35414
+ "use strict";
35415
+
35416
+ var __extends = (this && this.__extends) || (function () {
35417
+ var extendStatics = function (d, b) {
35418
+ extendStatics = Object.setPrototypeOf ||
35419
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
35420
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
35421
+ return extendStatics(d, b);
35422
+ };
35423
+ return function (d, b) {
35424
+ if (typeof b !== "function" && b !== null)
35425
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
35426
+ extendStatics(d, b);
35427
+ function __() { this.constructor = d; }
35428
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
35429
+ };
35430
+ })();
35431
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
35432
+ var BaseAPI_1 = __webpack_require__(/*! ../../../common/BaseAPI */ "./common/BaseAPI.ts");
35433
+ var Mapper_1 = __webpack_require__(/*! ../../../common/Mapper */ "./common/Mapper.ts");
35434
+ var RegionsApi_1 = __webpack_require__(/*! ./regions/RegionsApi */ "./encoding/infrastructure/akamai/regions/RegionsApi.ts");
35435
+ var AkamaiAccount_1 = __webpack_require__(/*! ../../../models/AkamaiAccount */ "./models/AkamaiAccount.ts");
35436
+ var PaginationResponse_1 = __webpack_require__(/*! ../../../models/PaginationResponse */ "./models/PaginationResponse.ts");
35437
+ var AkamaiAccountListQueryParams_1 = __webpack_require__(/*! ./AkamaiAccountListQueryParams */ "./encoding/infrastructure/akamai/AkamaiAccountListQueryParams.ts");
35438
+ /**
35439
+ * AkamaiApi - object-oriented interface
35440
+ * @export
35441
+ * @class AkamaiApi
35442
+ * @extends {BaseAPI}
35443
+ */
35444
+ var AkamaiApi = /** @class */ (function (_super) {
35445
+ __extends(AkamaiApi, _super);
35446
+ function AkamaiApi(configuration) {
35447
+ var _this = _super.call(this, configuration) || this;
35448
+ _this.regions = new RegionsApi_1.default(configuration);
35449
+ return _this;
35450
+ }
35451
+ /**
35452
+ * @summary Add Akamai account
35453
+ * @param {AkamaiAccount} akamaiAccount The Akamai account to be added
35454
+ * @throws {BitmovinError}
35455
+ * @memberof AkamaiApi
35456
+ */
35457
+ AkamaiApi.prototype.create = function (akamaiAccount) {
35458
+ return this.restClient.post('/encoding/infrastructure/akamai', {}, akamaiAccount).then(function (response) {
35459
+ return (0, Mapper_1.map)(response, AkamaiAccount_1.default);
35460
+ });
35461
+ };
35462
+ /**
35463
+ * @summary Delete Akamai account
35464
+ * @param {string} infrastructureId Id of the Akamai account
35465
+ * @throws {BitmovinError}
35466
+ * @memberof AkamaiApi
35467
+ */
35468
+ AkamaiApi.prototype.delete = function (infrastructureId) {
35469
+ var pathParamMap = {
35470
+ infrastructure_id: infrastructureId
35471
+ };
35472
+ return this.restClient.delete('/encoding/infrastructure/akamai/{infrastructure_id}', pathParamMap).then(function (response) {
35473
+ return (0, Mapper_1.map)(response, AkamaiAccount_1.default);
35474
+ });
35475
+ };
35476
+ /**
35477
+ * @summary Akamai account details
35478
+ * @param {string} infrastructureId Id of the Akamai account
35479
+ * @throws {BitmovinError}
35480
+ * @memberof AkamaiApi
35481
+ */
35482
+ AkamaiApi.prototype.get = function (infrastructureId) {
35483
+ var pathParamMap = {
35484
+ infrastructure_id: infrastructureId
35485
+ };
35486
+ return this.restClient.get('/encoding/infrastructure/akamai/{infrastructure_id}', pathParamMap).then(function (response) {
35487
+ return (0, Mapper_1.map)(response, AkamaiAccount_1.default);
35488
+ });
35489
+ };
35490
+ /**
35491
+ * @summary List Akamai accounts
35492
+ * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
35493
+ * @throws {BitmovinError}
35494
+ * @memberof AkamaiApi
35495
+ */
35496
+ AkamaiApi.prototype.list = function (queryParameters) {
35497
+ var queryParams = {};
35498
+ if (typeof queryParameters === 'function') {
35499
+ queryParams = queryParameters(new AkamaiAccountListQueryParams_1.AkamaiAccountListQueryParamsBuilder()).buildQueryParams();
35500
+ }
35501
+ else if (queryParameters) {
35502
+ queryParams = queryParameters;
35503
+ }
35504
+ return this.restClient.get('/encoding/infrastructure/akamai', {}, queryParams).then(function (response) {
35505
+ return new PaginationResponse_1.default(response, AkamaiAccount_1.default);
35506
+ });
35507
+ };
35508
+ return AkamaiApi;
35509
+ }(BaseAPI_1.BaseAPI));
35510
+ exports["default"] = AkamaiApi;
35511
+
35512
+
35513
+ /***/ }),
35514
+
35515
+ /***/ "./encoding/infrastructure/akamai/regions/AkamaiAccountRegionSettingsListQueryParams.ts":
35516
+ /*!**********************************************************************************************!*\
35517
+ !*** ./encoding/infrastructure/akamai/regions/AkamaiAccountRegionSettingsListQueryParams.ts ***!
35518
+ \**********************************************************************************************/
35519
+ /***/ ((__unused_webpack_module, exports) => {
35520
+
35521
+ "use strict";
35522
+
35523
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
35524
+ exports.AkamaiAccountRegionSettingsListQueryParamsBuilder = void 0;
35525
+ var AkamaiAccountRegionSettingsListQueryParamsBuilder = /** @class */ (function () {
35526
+ function AkamaiAccountRegionSettingsListQueryParamsBuilder() {
35527
+ this.internalParams = {};
35528
+ }
35529
+ /**
35530
+ *
35531
+ * @param offset Index of the first item to return, starting at 0. Default is 0
35532
+ */
35533
+ AkamaiAccountRegionSettingsListQueryParamsBuilder.prototype.offset = function (offset) {
35534
+ this.internalParams.offset = offset;
35535
+ return this;
35536
+ };
35537
+ /**
35538
+ *
35539
+ * @param limit Maximum number of items to return. Default is 25, maximum is 100
35540
+ */
35541
+ AkamaiAccountRegionSettingsListQueryParamsBuilder.prototype.limit = function (limit) {
35542
+ this.internalParams.limit = limit;
35543
+ return this;
35544
+ };
35545
+ AkamaiAccountRegionSettingsListQueryParamsBuilder.prototype.buildQueryParams = function () {
35546
+ return this.internalParams;
35547
+ };
35548
+ return AkamaiAccountRegionSettingsListQueryParamsBuilder;
35549
+ }());
35550
+ exports.AkamaiAccountRegionSettingsListQueryParamsBuilder = AkamaiAccountRegionSettingsListQueryParamsBuilder;
35551
+
35552
+
35553
+ /***/ }),
35554
+
35555
+ /***/ "./encoding/infrastructure/akamai/regions/RegionsApi.ts":
35556
+ /*!**************************************************************!*\
35557
+ !*** ./encoding/infrastructure/akamai/regions/RegionsApi.ts ***!
35558
+ \**************************************************************/
35559
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
35560
+
35561
+ "use strict";
35562
+
35563
+ var __extends = (this && this.__extends) || (function () {
35564
+ var extendStatics = function (d, b) {
35565
+ extendStatics = Object.setPrototypeOf ||
35566
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
35567
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
35568
+ return extendStatics(d, b);
35569
+ };
35570
+ return function (d, b) {
35571
+ if (typeof b !== "function" && b !== null)
35572
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
35573
+ extendStatics(d, b);
35574
+ function __() { this.constructor = d; }
35575
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
35576
+ };
35577
+ })();
35578
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
35579
+ var BaseAPI_1 = __webpack_require__(/*! ../../../../common/BaseAPI */ "./common/BaseAPI.ts");
35580
+ var Mapper_1 = __webpack_require__(/*! ../../../../common/Mapper */ "./common/Mapper.ts");
35581
+ var AkamaiAccountRegionSettings_1 = __webpack_require__(/*! ../../../../models/AkamaiAccountRegionSettings */ "./models/AkamaiAccountRegionSettings.ts");
35582
+ var PaginationResponse_1 = __webpack_require__(/*! ../../../../models/PaginationResponse */ "./models/PaginationResponse.ts");
35583
+ var AkamaiAccountRegionSettingsListQueryParams_1 = __webpack_require__(/*! ./AkamaiAccountRegionSettingsListQueryParams */ "./encoding/infrastructure/akamai/regions/AkamaiAccountRegionSettingsListQueryParams.ts");
35584
+ /**
35585
+ * RegionsApi - object-oriented interface
35586
+ * @export
35587
+ * @class RegionsApi
35588
+ * @extends {BaseAPI}
35589
+ */
35590
+ var RegionsApi = /** @class */ (function (_super) {
35591
+ __extends(RegionsApi, _super);
35592
+ function RegionsApi(configuration) {
35593
+ return _super.call(this, configuration) || this;
35594
+ }
35595
+ /**
35596
+ * @summary Add Akamai account region settings
35597
+ * @param {string} infrastructureId Id of the Akamai account
35598
+ * @param {AkamaiCloudRegion} region Akamai region
35599
+ * @param {AkamaiAccountRegionSettings} akamaiAccountRegionSettings The Akamai account region settings to be added
35600
+ * @throws {BitmovinError}
35601
+ * @memberof RegionsApi
35602
+ */
35603
+ RegionsApi.prototype.create = function (infrastructureId, region, akamaiAccountRegionSettings) {
35604
+ var pathParamMap = {
35605
+ infrastructure_id: infrastructureId,
35606
+ region: region
35607
+ };
35608
+ return this.restClient.post('/encoding/infrastructure/akamai/{infrastructure_id}/regions/{region}', pathParamMap, akamaiAccountRegionSettings).then(function (response) {
35609
+ return (0, Mapper_1.map)(response, AkamaiAccountRegionSettings_1.default);
35610
+ });
35611
+ };
35612
+ /**
35613
+ * @summary Delete Akamai account region settings
35614
+ * @param {string} infrastructureId Id of the Akamai account
35615
+ * @param {AkamaiCloudRegion} region Akamai region
35616
+ * @throws {BitmovinError}
35617
+ * @memberof RegionsApi
35618
+ */
35619
+ RegionsApi.prototype.delete = function (infrastructureId, region) {
35620
+ var pathParamMap = {
35621
+ infrastructure_id: infrastructureId,
35622
+ region: region
35623
+ };
35624
+ return this.restClient.delete('/encoding/infrastructure/akamai/{infrastructure_id}/regions/{region}', pathParamMap).then(function (response) {
35625
+ return (0, Mapper_1.map)(response, AkamaiAccountRegionSettings_1.default);
35626
+ });
35627
+ };
35628
+ /**
35629
+ * @summary Akamai account region settings details
35630
+ * @param {string} infrastructureId Id of the Akamai account
35631
+ * @param {AkamaiCloudRegion} region Akamai region
35632
+ * @throws {BitmovinError}
35633
+ * @memberof RegionsApi
35634
+ */
35635
+ RegionsApi.prototype.get = function (infrastructureId, region) {
35636
+ var pathParamMap = {
35637
+ infrastructure_id: infrastructureId,
35638
+ region: region
35639
+ };
35640
+ return this.restClient.get('/encoding/infrastructure/akamai/{infrastructure_id}/regions/{region}', pathParamMap).then(function (response) {
35641
+ return (0, Mapper_1.map)(response, AkamaiAccountRegionSettings_1.default);
35642
+ });
35643
+ };
35644
+ /**
35645
+ * @summary List Akamai account region settings
35646
+ * @param {string} infrastructureId Id of the Akamai account
35647
+ * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
35648
+ * @throws {BitmovinError}
35649
+ * @memberof RegionsApi
35650
+ */
35651
+ RegionsApi.prototype.list = function (infrastructureId, queryParameters) {
35652
+ var pathParamMap = {
35653
+ infrastructure_id: infrastructureId
35654
+ };
35655
+ var queryParams = {};
35656
+ if (typeof queryParameters === 'function') {
35657
+ queryParams = queryParameters(new AkamaiAccountRegionSettingsListQueryParams_1.AkamaiAccountRegionSettingsListQueryParamsBuilder()).buildQueryParams();
35658
+ }
35659
+ else if (queryParameters) {
35660
+ queryParams = queryParameters;
35661
+ }
35662
+ return this.restClient.get('/encoding/infrastructure/akamai/{infrastructure_id}/regions', pathParamMap, queryParams).then(function (response) {
35663
+ return new PaginationResponse_1.default(response, AkamaiAccountRegionSettings_1.default);
35664
+ });
35665
+ };
35666
+ return RegionsApi;
35667
+ }(BaseAPI_1.BaseAPI));
35668
+ exports["default"] = RegionsApi;
35669
+
35670
+
35364
35671
  /***/ }),
35365
35672
 
35366
35673
  /***/ "./encoding/infrastructure/aws/AwsAccountListQueryParams.ts":
@@ -53513,6 +53820,54 @@ var DailyStatisticsPerLabelListQueryParamsBuilder = /** @class */ (function () {
53513
53820
  exports.DailyStatisticsPerLabelListQueryParamsBuilder = DailyStatisticsPerLabelListQueryParamsBuilder;
53514
53821
 
53515
53822
 
53823
+ /***/ }),
53824
+
53825
+ /***/ "./encoding/templates/EncodingTemplateResponseListQueryParams.ts":
53826
+ /*!***********************************************************************!*\
53827
+ !*** ./encoding/templates/EncodingTemplateResponseListQueryParams.ts ***!
53828
+ \***********************************************************************/
53829
+ /***/ ((__unused_webpack_module, exports) => {
53830
+
53831
+ "use strict";
53832
+
53833
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
53834
+ exports.EncodingTemplateResponseListQueryParamsBuilder = void 0;
53835
+ var EncodingTemplateResponseListQueryParamsBuilder = /** @class */ (function () {
53836
+ function EncodingTemplateResponseListQueryParamsBuilder() {
53837
+ this.internalParams = {};
53838
+ }
53839
+ /**
53840
+ *
53841
+ * @param offset Index of the first item to return, starting at 0. Default is 0
53842
+ */
53843
+ EncodingTemplateResponseListQueryParamsBuilder.prototype.offset = function (offset) {
53844
+ this.internalParams.offset = offset;
53845
+ return this;
53846
+ };
53847
+ /**
53848
+ *
53849
+ * @param limit Maximum number of items to return. Default is 25, maximum is 100
53850
+ */
53851
+ EncodingTemplateResponseListQueryParamsBuilder.prototype.limit = function (limit) {
53852
+ this.internalParams.limit = limit;
53853
+ return this;
53854
+ };
53855
+ /**
53856
+ *
53857
+ * @param type Filter the stored templates by type
53858
+ */
53859
+ EncodingTemplateResponseListQueryParamsBuilder.prototype.type = function (type) {
53860
+ this.internalParams.type = type;
53861
+ return this;
53862
+ };
53863
+ EncodingTemplateResponseListQueryParamsBuilder.prototype.buildQueryParams = function () {
53864
+ return this.internalParams;
53865
+ };
53866
+ return EncodingTemplateResponseListQueryParamsBuilder;
53867
+ }());
53868
+ exports.EncodingTemplateResponseListQueryParamsBuilder = EncodingTemplateResponseListQueryParamsBuilder;
53869
+
53870
+
53516
53871
  /***/ }),
53517
53872
 
53518
53873
  /***/ "./encoding/templates/TemplatesApi.ts":
@@ -53541,7 +53896,12 @@ var __extends = (this && this.__extends) || (function () {
53541
53896
  Object.defineProperty(exports, "__esModule", ({ value: true }));
53542
53897
  var BaseAPI_1 = __webpack_require__(/*! ../../common/BaseAPI */ "./common/BaseAPI.ts");
53543
53898
  var Mapper_1 = __webpack_require__(/*! ../../common/Mapper */ "./common/Mapper.ts");
53899
+ var BitmovinResponse_1 = __webpack_require__(/*! ../../models/BitmovinResponse */ "./models/BitmovinResponse.ts");
53900
+ var EncodingTemplateDetails_1 = __webpack_require__(/*! ../../models/EncodingTemplateDetails */ "./models/EncodingTemplateDetails.ts");
53901
+ var EncodingTemplateResponse_1 = __webpack_require__(/*! ../../models/EncodingTemplateResponse */ "./models/EncodingTemplateResponse.ts");
53544
53902
  var EncodingTemplateStartResponse_1 = __webpack_require__(/*! ../../models/EncodingTemplateStartResponse */ "./models/EncodingTemplateStartResponse.ts");
53903
+ var PaginationResponse_1 = __webpack_require__(/*! ../../models/PaginationResponse */ "./models/PaginationResponse.ts");
53904
+ var EncodingTemplateResponseListQueryParams_1 = __webpack_require__(/*! ./EncodingTemplateResponseListQueryParams */ "./encoding/templates/EncodingTemplateResponseListQueryParams.ts");
53545
53905
  /**
53546
53906
  * TemplatesApi - object-oriented interface
53547
53907
  * @export
@@ -53553,6 +53913,63 @@ var TemplatesApi = /** @class */ (function (_super) {
53553
53913
  function TemplatesApi(configuration) {
53554
53914
  return _super.call(this, configuration) || this;
53555
53915
  }
53916
+ /**
53917
+ * @summary Store an Encoding Template
53918
+ * @param {any} encodingTemplateRequest The Encoding Template to be stored
53919
+ * @throws {BitmovinError}
53920
+ * @memberof TemplatesApi
53921
+ */
53922
+ TemplatesApi.prototype.create = function (encodingTemplateRequest) {
53923
+ return this.restClient.post('/encoding/templates', {}, encodingTemplateRequest).then(function (response) {
53924
+ return (0, Mapper_1.map)(response, EncodingTemplateDetails_1.default);
53925
+ });
53926
+ };
53927
+ /**
53928
+ * @summary Delete Encoding Template
53929
+ * @param {string} encodingTemplateId Id of the encoding template to delete
53930
+ * @throws {BitmovinError}
53931
+ * @memberof TemplatesApi
53932
+ */
53933
+ TemplatesApi.prototype.delete = function (encodingTemplateId) {
53934
+ var pathParamMap = {
53935
+ encoding_template_id: encodingTemplateId
53936
+ };
53937
+ return this.restClient.delete('/encoding/templates/{encoding_template_id}', pathParamMap).then(function (response) {
53938
+ return (0, Mapper_1.map)(response, BitmovinResponse_1.default);
53939
+ });
53940
+ };
53941
+ /**
53942
+ * @summary Encoding Template details
53943
+ * @param {string} encodingTemplateId Id of the Encoding Template
53944
+ * @throws {BitmovinError}
53945
+ * @memberof TemplatesApi
53946
+ */
53947
+ TemplatesApi.prototype.get = function (encodingTemplateId) {
53948
+ var pathParamMap = {
53949
+ encoding_template_id: encodingTemplateId
53950
+ };
53951
+ return this.restClient.get('/encoding/templates/{encoding_template_id}', pathParamMap).then(function (response) {
53952
+ return (0, Mapper_1.map)(response, EncodingTemplateDetails_1.default);
53953
+ });
53954
+ };
53955
+ /**
53956
+ * @summary List stored Encoding Templates
53957
+ * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
53958
+ * @throws {BitmovinError}
53959
+ * @memberof TemplatesApi
53960
+ */
53961
+ TemplatesApi.prototype.list = function (queryParameters) {
53962
+ var queryParams = {};
53963
+ if (typeof queryParameters === 'function') {
53964
+ queryParams = queryParameters(new EncodingTemplateResponseListQueryParams_1.EncodingTemplateResponseListQueryParamsBuilder()).buildQueryParams();
53965
+ }
53966
+ else if (queryParameters) {
53967
+ queryParams = queryParameters;
53968
+ }
53969
+ return this.restClient.get('/encoding/templates', {}, queryParams).then(function (response) {
53970
+ return new PaginationResponse_1.default(response, EncodingTemplateResponse_1.default);
53971
+ });
53972
+ };
53556
53973
  /**
53557
53974
  * @summary BETA: Start an Encoding defined with an Encoding Template
53558
53975
  * @param {any} encodingTemplateRequest The Encoding Template to start an Encoding from
@@ -55914,6 +56331,141 @@ var AesEncryptionMethod;
55914
56331
  exports["default"] = AesEncryptionMethod;
55915
56332
 
55916
56333
 
56334
+ /***/ }),
56335
+
56336
+ /***/ "./models/AkamaiAccount.ts":
56337
+ /*!*********************************!*\
56338
+ !*** ./models/AkamaiAccount.ts ***!
56339
+ \*********************************/
56340
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
56341
+
56342
+ "use strict";
56343
+
56344
+ var __extends = (this && this.__extends) || (function () {
56345
+ var extendStatics = function (d, b) {
56346
+ extendStatics = Object.setPrototypeOf ||
56347
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
56348
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
56349
+ return extendStatics(d, b);
56350
+ };
56351
+ return function (d, b) {
56352
+ if (typeof b !== "function" && b !== null)
56353
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
56354
+ extendStatics(d, b);
56355
+ function __() { this.constructor = d; }
56356
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
56357
+ };
56358
+ })();
56359
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
56360
+ exports.AkamaiAccount = void 0;
56361
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
56362
+ var BitmovinResource_1 = __webpack_require__(/*! ./BitmovinResource */ "./models/BitmovinResource.ts");
56363
+ /**
56364
+ * @export
56365
+ * @class AkamaiAccount
56366
+ */
56367
+ var AkamaiAccount = /** @class */ (function (_super) {
56368
+ __extends(AkamaiAccount, _super);
56369
+ function AkamaiAccount(obj) {
56370
+ var _this = _super.call(this, obj) || this;
56371
+ if (!obj) {
56372
+ return _this;
56373
+ }
56374
+ _this.apiToken = (0, Mapper_1.map)(obj.apiToken);
56375
+ return _this;
56376
+ }
56377
+ return AkamaiAccount;
56378
+ }(BitmovinResource_1.default));
56379
+ exports.AkamaiAccount = AkamaiAccount;
56380
+ exports["default"] = AkamaiAccount;
56381
+
56382
+
56383
+ /***/ }),
56384
+
56385
+ /***/ "./models/AkamaiAccountRegionSettings.ts":
56386
+ /*!***********************************************!*\
56387
+ !*** ./models/AkamaiAccountRegionSettings.ts ***!
56388
+ \***********************************************/
56389
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
56390
+
56391
+ "use strict";
56392
+
56393
+ var __extends = (this && this.__extends) || (function () {
56394
+ var extendStatics = function (d, b) {
56395
+ extendStatics = Object.setPrototypeOf ||
56396
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
56397
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
56398
+ return extendStatics(d, b);
56399
+ };
56400
+ return function (d, b) {
56401
+ if (typeof b !== "function" && b !== null)
56402
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
56403
+ extendStatics(d, b);
56404
+ function __() { this.constructor = d; }
56405
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
56406
+ };
56407
+ })();
56408
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
56409
+ exports.AkamaiAccountRegionSettings = void 0;
56410
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
56411
+ var BitmovinResource_1 = __webpack_require__(/*! ./BitmovinResource */ "./models/BitmovinResource.ts");
56412
+ /**
56413
+ * @export
56414
+ * @class AkamaiAccountRegionSettings
56415
+ */
56416
+ var AkamaiAccountRegionSettings = /** @class */ (function (_super) {
56417
+ __extends(AkamaiAccountRegionSettings, _super);
56418
+ function AkamaiAccountRegionSettings(obj) {
56419
+ var _this = _super.call(this, obj) || this;
56420
+ if (!obj) {
56421
+ return _this;
56422
+ }
56423
+ _this.subnetId = (0, Mapper_1.map)(obj.subnetId);
56424
+ _this.firewallId = (0, Mapper_1.map)(obj.firewallId);
56425
+ _this.region = (0, Mapper_1.map)(obj.region);
56426
+ return _this;
56427
+ }
56428
+ return AkamaiAccountRegionSettings;
56429
+ }(BitmovinResource_1.default));
56430
+ exports.AkamaiAccountRegionSettings = AkamaiAccountRegionSettings;
56431
+ exports["default"] = AkamaiAccountRegionSettings;
56432
+
56433
+
56434
+ /***/ }),
56435
+
56436
+ /***/ "./models/AkamaiCloudRegion.ts":
56437
+ /*!*************************************!*\
56438
+ !*** ./models/AkamaiCloudRegion.ts ***!
56439
+ \*************************************/
56440
+ /***/ ((__unused_webpack_module, exports) => {
56441
+
56442
+ "use strict";
56443
+
56444
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
56445
+ exports.AkamaiCloudRegion = void 0;
56446
+ /**
56447
+ * @export
56448
+ * @enum {string}
56449
+ */
56450
+ var AkamaiCloudRegion;
56451
+ (function (AkamaiCloudRegion) {
56452
+ AkamaiCloudRegion["BR_GRU"] = "BR_GRU";
56453
+ AkamaiCloudRegion["ES_MAD"] = "ES_MAD";
56454
+ AkamaiCloudRegion["FR_PAR"] = "FR_PAR";
56455
+ AkamaiCloudRegion["ID_CGK"] = "ID_CGK";
56456
+ AkamaiCloudRegion["IN_MAA"] = "IN_MAA";
56457
+ AkamaiCloudRegion["IT_MIL"] = "IT_MIL";
56458
+ AkamaiCloudRegion["JP_OSA"] = "JP_OSA";
56459
+ AkamaiCloudRegion["NL_AMS"] = "NL_AMS";
56460
+ AkamaiCloudRegion["SE_STO"] = "SE_STO";
56461
+ AkamaiCloudRegion["US_LAX"] = "US_LAX";
56462
+ AkamaiCloudRegion["US_MIA"] = "US_MIA";
56463
+ AkamaiCloudRegion["US_ORD"] = "US_ORD";
56464
+ AkamaiCloudRegion["US_SEA"] = "US_SEA";
56465
+ })(AkamaiCloudRegion || (exports.AkamaiCloudRegion = AkamaiCloudRegion = {}));
56466
+ exports["default"] = AkamaiCloudRegion;
56467
+
56468
+
55917
56469
  /***/ }),
55918
56470
 
55919
56471
  /***/ "./models/AkamaiMslOutput.ts":
@@ -68859,6 +69411,55 @@ var EncodingTemplate;
68859
69411
  exports["default"] = EncodingTemplate;
68860
69412
 
68861
69413
 
69414
+ /***/ }),
69415
+
69416
+ /***/ "./models/EncodingTemplateDetails.ts":
69417
+ /*!*******************************************!*\
69418
+ !*** ./models/EncodingTemplateDetails.ts ***!
69419
+ \*******************************************/
69420
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
69421
+
69422
+ "use strict";
69423
+
69424
+ var __extends = (this && this.__extends) || (function () {
69425
+ var extendStatics = function (d, b) {
69426
+ extendStatics = Object.setPrototypeOf ||
69427
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
69428
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
69429
+ return extendStatics(d, b);
69430
+ };
69431
+ return function (d, b) {
69432
+ if (typeof b !== "function" && b !== null)
69433
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
69434
+ extendStatics(d, b);
69435
+ function __() { this.constructor = d; }
69436
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
69437
+ };
69438
+ })();
69439
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
69440
+ exports.EncodingTemplateDetails = void 0;
69441
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
69442
+ var EncodingTemplateResponse_1 = __webpack_require__(/*! ./EncodingTemplateResponse */ "./models/EncodingTemplateResponse.ts");
69443
+ /**
69444
+ * @export
69445
+ * @class EncodingTemplateDetails
69446
+ */
69447
+ var EncodingTemplateDetails = /** @class */ (function (_super) {
69448
+ __extends(EncodingTemplateDetails, _super);
69449
+ function EncodingTemplateDetails(obj) {
69450
+ var _this = _super.call(this, obj) || this;
69451
+ if (!obj) {
69452
+ return _this;
69453
+ }
69454
+ _this.url = (0, Mapper_1.map)(obj.url);
69455
+ return _this;
69456
+ }
69457
+ return EncodingTemplateDetails;
69458
+ }(EncodingTemplateResponse_1.default));
69459
+ exports.EncodingTemplateDetails = EncodingTemplateDetails;
69460
+ exports["default"] = EncodingTemplateDetails;
69461
+
69462
+
68862
69463
  /***/ }),
68863
69464
 
68864
69465
  /***/ "./models/EncodingTemplateRequest.ts":
@@ -68888,6 +69489,55 @@ exports.EncodingTemplateRequest = EncodingTemplateRequest;
68888
69489
  exports["default"] = EncodingTemplateRequest;
68889
69490
 
68890
69491
 
69492
+ /***/ }),
69493
+
69494
+ /***/ "./models/EncodingTemplateResponse.ts":
69495
+ /*!********************************************!*\
69496
+ !*** ./models/EncodingTemplateResponse.ts ***!
69497
+ \********************************************/
69498
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
69499
+
69500
+ "use strict";
69501
+
69502
+ var __extends = (this && this.__extends) || (function () {
69503
+ var extendStatics = function (d, b) {
69504
+ extendStatics = Object.setPrototypeOf ||
69505
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
69506
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
69507
+ return extendStatics(d, b);
69508
+ };
69509
+ return function (d, b) {
69510
+ if (typeof b !== "function" && b !== null)
69511
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
69512
+ extendStatics(d, b);
69513
+ function __() { this.constructor = d; }
69514
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
69515
+ };
69516
+ })();
69517
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
69518
+ exports.EncodingTemplateResponse = void 0;
69519
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
69520
+ var BitmovinResource_1 = __webpack_require__(/*! ./BitmovinResource */ "./models/BitmovinResource.ts");
69521
+ /**
69522
+ * @export
69523
+ * @class EncodingTemplateResponse
69524
+ */
69525
+ var EncodingTemplateResponse = /** @class */ (function (_super) {
69526
+ __extends(EncodingTemplateResponse, _super);
69527
+ function EncodingTemplateResponse(obj) {
69528
+ var _this = _super.call(this, obj) || this;
69529
+ if (!obj) {
69530
+ return _this;
69531
+ }
69532
+ _this.type = (0, Mapper_1.map)(obj.type);
69533
+ return _this;
69534
+ }
69535
+ return EncodingTemplateResponse;
69536
+ }(BitmovinResource_1.default));
69537
+ exports.EncodingTemplateResponse = EncodingTemplateResponse;
69538
+ exports["default"] = EncodingTemplateResponse;
69539
+
69540
+
68891
69541
  /***/ }),
68892
69542
 
68893
69543
  /***/ "./models/EncodingTemplateStartResponse.ts":
@@ -68918,6 +69568,31 @@ exports.EncodingTemplateStartResponse = EncodingTemplateStartResponse;
68918
69568
  exports["default"] = EncodingTemplateStartResponse;
68919
69569
 
68920
69570
 
69571
+ /***/ }),
69572
+
69573
+ /***/ "./models/EncodingTemplateType.ts":
69574
+ /*!****************************************!*\
69575
+ !*** ./models/EncodingTemplateType.ts ***!
69576
+ \****************************************/
69577
+ /***/ ((__unused_webpack_module, exports) => {
69578
+
69579
+ "use strict";
69580
+
69581
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
69582
+ exports.EncodingTemplateType = void 0;
69583
+ /**
69584
+ * The Encoding Template type
69585
+ * @export
69586
+ * @enum {string}
69587
+ */
69588
+ var EncodingTemplateType;
69589
+ (function (EncodingTemplateType) {
69590
+ EncodingTemplateType["VOD"] = "VOD";
69591
+ EncodingTemplateType["LIVE"] = "LIVE";
69592
+ })(EncodingTemplateType || (exports.EncodingTemplateType = EncodingTemplateType = {}));
69593
+ exports["default"] = EncodingTemplateType;
69594
+
69595
+
68921
69596
  /***/ }),
68922
69597
 
68923
69598
  /***/ "./models/EncodingType.ts":
@@ -87796,6 +88471,9 @@ __exportStar(__webpack_require__(/*! ./AdaptationSetTypeResponse */ "./models/Ad
87796
88471
  __exportStar(__webpack_require__(/*! ./AdaptiveQuantMode */ "./models/AdaptiveQuantMode.ts"), exports);
87797
88472
  __exportStar(__webpack_require__(/*! ./AesEncryptionDrm */ "./models/AesEncryptionDrm.ts"), exports);
87798
88473
  __exportStar(__webpack_require__(/*! ./AesEncryptionMethod */ "./models/AesEncryptionMethod.ts"), exports);
88474
+ __exportStar(__webpack_require__(/*! ./AkamaiAccount */ "./models/AkamaiAccount.ts"), exports);
88475
+ __exportStar(__webpack_require__(/*! ./AkamaiAccountRegionSettings */ "./models/AkamaiAccountRegionSettings.ts"), exports);
88476
+ __exportStar(__webpack_require__(/*! ./AkamaiCloudRegion */ "./models/AkamaiCloudRegion.ts"), exports);
87799
88477
  __exportStar(__webpack_require__(/*! ./AkamaiMslOutput */ "./models/AkamaiMslOutput.ts"), exports);
87800
88478
  __exportStar(__webpack_require__(/*! ./AkamaiMslStreamFormat */ "./models/AkamaiMslStreamFormat.ts"), exports);
87801
88479
  __exportStar(__webpack_require__(/*! ./AkamaiMslVersion */ "./models/AkamaiMslVersion.ts"), exports);
@@ -88104,8 +88782,11 @@ __exportStar(__webpack_require__(/*! ./EncodingStats */ "./models/EncodingStats.
88104
88782
  __exportStar(__webpack_require__(/*! ./EncodingStreamInput */ "./models/EncodingStreamInput.ts"), exports);
88105
88783
  __exportStar(__webpack_require__(/*! ./EncodingStreamInputDetails */ "./models/EncodingStreamInputDetails.ts"), exports);
88106
88784
  __exportStar(__webpack_require__(/*! ./EncodingTemplate */ "./models/EncodingTemplate.ts"), exports);
88785
+ __exportStar(__webpack_require__(/*! ./EncodingTemplateDetails */ "./models/EncodingTemplateDetails.ts"), exports);
88107
88786
  __exportStar(__webpack_require__(/*! ./EncodingTemplateRequest */ "./models/EncodingTemplateRequest.ts"), exports);
88787
+ __exportStar(__webpack_require__(/*! ./EncodingTemplateResponse */ "./models/EncodingTemplateResponse.ts"), exports);
88108
88788
  __exportStar(__webpack_require__(/*! ./EncodingTemplateStartResponse */ "./models/EncodingTemplateStartResponse.ts"), exports);
88789
+ __exportStar(__webpack_require__(/*! ./EncodingTemplateType */ "./models/EncodingTemplateType.ts"), exports);
88109
88790
  __exportStar(__webpack_require__(/*! ./EncodingType */ "./models/EncodingType.ts"), exports);
88110
88791
  __exportStar(__webpack_require__(/*! ./EncryptionMode */ "./models/EncryptionMode.ts"), exports);
88111
88792
  __exportStar(__webpack_require__(/*! ./EnhancedDeinterlaceAutoEnable */ "./models/EnhancedDeinterlaceAutoEnable.ts"), exports);