@bitmovin/api-sdk 1.209.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 (45) hide show
  1. package/README.md +1 -1
  2. package/dist/analytics/impressions/ImpressionsApi.d.ts +0 -2
  3. package/dist/analytics/impressions/ImpressionsApi.js +0 -2
  4. package/dist/bitmovin-api-sdk.browser.js +692 -268
  5. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  6. package/dist/common/RestClient.js +1 -1
  7. package/dist/encoding/infrastructure/InfrastructureApi.d.ts +2 -0
  8. package/dist/encoding/infrastructure/InfrastructureApi.js +2 -0
  9. package/dist/encoding/infrastructure/akamai/AkamaiAccountListQueryParams.d.ts +28 -0
  10. package/dist/encoding/infrastructure/akamai/AkamaiAccountListQueryParams.js +29 -0
  11. package/dist/encoding/infrastructure/akamai/AkamaiApi.d.ts +44 -0
  12. package/dist/encoding/infrastructure/akamai/AkamaiApi.js +96 -0
  13. package/dist/encoding/infrastructure/akamai/regions/AkamaiAccountRegionSettingsListQueryParams.d.ts +28 -0
  14. package/dist/encoding/infrastructure/akamai/regions/AkamaiAccountRegionSettingsListQueryParams.js +29 -0
  15. package/dist/encoding/infrastructure/akamai/regions/RegionsApi.d.ts +48 -0
  16. package/dist/encoding/infrastructure/akamai/regions/RegionsApi.js +107 -0
  17. package/dist/encoding/templates/EncodingTemplateResponseListQueryParams.d.ts +40 -0
  18. package/dist/encoding/templates/EncodingTemplateResponseListQueryParams.js +37 -0
  19. package/dist/encoding/templates/TemplatesApi.d.ts +33 -0
  20. package/dist/encoding/templates/TemplatesApi.js +62 -0
  21. package/dist/models/AkamaiAccount.d.ts +15 -0
  22. package/dist/models/AkamaiAccount.js +38 -0
  23. package/dist/models/AkamaiAccountRegionSettings.d.ts +27 -0
  24. package/dist/models/AkamaiAccountRegionSettings.js +40 -0
  25. package/dist/models/AkamaiCloudRegion.d.ts +20 -0
  26. package/dist/models/AkamaiCloudRegion.js +24 -0
  27. package/dist/models/CloudRegion.d.ts +9 -0
  28. package/dist/models/CloudRegion.js +9 -0
  29. package/dist/models/EncodingTemplateDetails.d.ts +15 -0
  30. package/dist/models/EncodingTemplateDetails.js +38 -0
  31. package/dist/models/EncodingTemplateResponse.d.ts +15 -0
  32. package/dist/models/EncodingTemplateResponse.js +38 -0
  33. package/dist/models/EncodingTemplateType.d.ts +10 -0
  34. package/dist/models/EncodingTemplateType.js +14 -0
  35. package/dist/models/LiveAutoShutdownConfiguration.d.ts +6 -0
  36. package/dist/models/LiveAutoShutdownConfiguration.js +1 -0
  37. package/dist/models/index.d.ts +6 -2
  38. package/dist/models/index.js +6 -2
  39. package/package.json +1 -1
  40. package/dist/analytics/impressions/ads/AdsApi.d.ts +0 -21
  41. package/dist/analytics/impressions/ads/AdsApi.js +0 -49
  42. package/dist/models/AnalyticsAdsImpressionSample.d.ts +0 -866
  43. package/dist/models/AnalyticsAdsImpressionSample.js +0 -161
  44. package/dist/models/AnalyticsAdsImpressionsResponse.d.ts +0 -14
  45. package/dist/models/AnalyticsAdsImpressionsResponse.js +0 -20
@@ -3172,7 +3172,6 @@ var __extends = (this && this.__extends) || (function () {
3172
3172
  Object.defineProperty(exports, "__esModule", ({ value: true }));
3173
3173
  var BaseAPI_1 = __webpack_require__(/*! ../../common/BaseAPI */ "./common/BaseAPI.ts");
3174
3174
  var Mapper_1 = __webpack_require__(/*! ../../common/Mapper */ "./common/Mapper.ts");
3175
- var AdsApi_1 = __webpack_require__(/*! ./ads/AdsApi */ "./analytics/impressions/ads/AdsApi.ts");
3176
3175
  var ErrorsApi_1 = __webpack_require__(/*! ./errors/ErrorsApi */ "./analytics/impressions/errors/ErrorsApi.ts");
3177
3176
  var AnalyticsImpressionsResponse_1 = __webpack_require__(/*! ../../models/AnalyticsImpressionsResponse */ "./models/AnalyticsImpressionsResponse.ts");
3178
3177
  /**
@@ -3185,7 +3184,6 @@ var ImpressionsApi = /** @class */ (function (_super) {
3185
3184
  __extends(ImpressionsApi, _super);
3186
3185
  function ImpressionsApi(configuration) {
3187
3186
  var _this = _super.call(this, configuration) || this;
3188
- _this.ads = new AdsApi_1.default(configuration);
3189
3187
  _this.errors = new ErrorsApi_1.default(configuration);
3190
3188
  return _this;
3191
3189
  }
@@ -3205,66 +3203,6 @@ var ImpressionsApi = /** @class */ (function (_super) {
3205
3203
  exports["default"] = ImpressionsApi;
3206
3204
 
3207
3205
 
3208
- /***/ }),
3209
-
3210
- /***/ "./analytics/impressions/ads/AdsApi.ts":
3211
- /*!*********************************************!*\
3212
- !*** ./analytics/impressions/ads/AdsApi.ts ***!
3213
- \*********************************************/
3214
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
3215
-
3216
- "use strict";
3217
-
3218
- var __extends = (this && this.__extends) || (function () {
3219
- var extendStatics = function (d, b) {
3220
- extendStatics = Object.setPrototypeOf ||
3221
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
3222
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
3223
- return extendStatics(d, b);
3224
- };
3225
- return function (d, b) {
3226
- if (typeof b !== "function" && b !== null)
3227
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
3228
- extendStatics(d, b);
3229
- function __() { this.constructor = d; }
3230
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
3231
- };
3232
- })();
3233
- Object.defineProperty(exports, "__esModule", ({ value: true }));
3234
- var BaseAPI_1 = __webpack_require__(/*! ../../../common/BaseAPI */ "./common/BaseAPI.ts");
3235
- var Mapper_1 = __webpack_require__(/*! ../../../common/Mapper */ "./common/Mapper.ts");
3236
- var AnalyticsAdsImpressionsResponse_1 = __webpack_require__(/*! ../../../models/AnalyticsAdsImpressionsResponse */ "./models/AnalyticsAdsImpressionsResponse.ts");
3237
- /**
3238
- * AdsApi - object-oriented interface
3239
- * @export
3240
- * @class AdsApi
3241
- * @extends {BaseAPI}
3242
- */
3243
- var AdsApi = /** @class */ (function (_super) {
3244
- __extends(AdsApi, _super);
3245
- function AdsApi(configuration) {
3246
- return _super.call(this, configuration) || this;
3247
- }
3248
- /**
3249
- * @summary Ads Impressions
3250
- * @param {string} impressionId Impression id
3251
- * @param {AnalyticsLicenseKey} analyticsLicenseKey Analytics license
3252
- * @throws {BitmovinError}
3253
- * @memberof AdsApi
3254
- */
3255
- AdsApi.prototype.create = function (impressionId, analyticsLicenseKey) {
3256
- var pathParamMap = {
3257
- impression_id: impressionId
3258
- };
3259
- return this.restClient.post('/analytics/impressions/{impression_id}/ads', pathParamMap, analyticsLicenseKey).then(function (response) {
3260
- return (0, Mapper_1.map)(response, AnalyticsAdsImpressionsResponse_1.default);
3261
- });
3262
- };
3263
- return AdsApi;
3264
- }(BaseAPI_1.BaseAPI));
3265
- exports["default"] = AdsApi;
3266
-
3267
-
3268
3206
  /***/ }),
3269
3207
 
3270
3208
  /***/ "./analytics/impressions/errors/ErrorsApi.ts":
@@ -6091,7 +6029,7 @@ var HeaderHandler = /** @class */ (function (_super) {
6091
6029
  var headers = {
6092
6030
  'X-Api-Key': apiKey,
6093
6031
  'X-Api-Client': 'bitmovin-api-sdk-javascript',
6094
- 'X-Api-Client-Version': '1.209.0',
6032
+ 'X-Api-Client-Version': '1.211.0',
6095
6033
  'Content-Type': 'application/json'
6096
6034
  };
6097
6035
  if (tenantOrgId) {
@@ -35400,6 +35338,7 @@ var AwsApi_1 = __webpack_require__(/*! ./aws/AwsApi */ "./encoding/infrastructur
35400
35338
  var StaticIpsApi_1 = __webpack_require__(/*! ./staticIps/StaticIpsApi */ "./encoding/infrastructure/staticIps/StaticIpsApi.ts");
35401
35339
  var AzureApi_1 = __webpack_require__(/*! ./azure/AzureApi */ "./encoding/infrastructure/azure/AzureApi.ts");
35402
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");
35403
35342
  var PrewarmedEncoderPoolsApi_1 = __webpack_require__(/*! ./prewarmedEncoderPools/PrewarmedEncoderPoolsApi */ "./encoding/infrastructure/prewarmedEncoderPools/PrewarmedEncoderPoolsApi.ts");
35404
35343
  /**
35405
35344
  * InfrastructureApi - object-oriented interface
@@ -35415,6 +35354,7 @@ var InfrastructureApi = /** @class */ (function (_super) {
35415
35354
  _this.staticIps = new StaticIpsApi_1.default(configuration);
35416
35355
  _this.azure = new AzureApi_1.default(configuration);
35417
35356
  _this.gce = new GceApi_1.default(configuration);
35357
+ _this.akamai = new AkamaiApi_1.default(configuration);
35418
35358
  _this.prewarmedEncoderPools = new PrewarmedEncoderPoolsApi_1.default(configuration);
35419
35359
  return _this;
35420
35360
  }
@@ -35423,6 +35363,311 @@ var InfrastructureApi = /** @class */ (function (_super) {
35423
35363
  exports["default"] = InfrastructureApi;
35424
35364
 
35425
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
+
35426
35671
  /***/ }),
35427
35672
 
35428
35673
  /***/ "./encoding/infrastructure/aws/AwsAccountListQueryParams.ts":
@@ -53575,6 +53820,54 @@ var DailyStatisticsPerLabelListQueryParamsBuilder = /** @class */ (function () {
53575
53820
  exports.DailyStatisticsPerLabelListQueryParamsBuilder = DailyStatisticsPerLabelListQueryParamsBuilder;
53576
53821
 
53577
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
+
53578
53871
  /***/ }),
53579
53872
 
53580
53873
  /***/ "./encoding/templates/TemplatesApi.ts":
@@ -53603,7 +53896,12 @@ var __extends = (this && this.__extends) || (function () {
53603
53896
  Object.defineProperty(exports, "__esModule", ({ value: true }));
53604
53897
  var BaseAPI_1 = __webpack_require__(/*! ../../common/BaseAPI */ "./common/BaseAPI.ts");
53605
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");
53606
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");
53607
53905
  /**
53608
53906
  * TemplatesApi - object-oriented interface
53609
53907
  * @export
@@ -53615,6 +53913,63 @@ var TemplatesApi = /** @class */ (function (_super) {
53615
53913
  function TemplatesApi(configuration) {
53616
53914
  return _super.call(this, configuration) || this;
53617
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
+ };
53618
53973
  /**
53619
53974
  * @summary BETA: Start an Encoding defined with an Encoding Template
53620
53975
  * @param {any} encodingTemplateRequest The Encoding Template to start an Encoding from
@@ -55976,6 +56331,141 @@ var AesEncryptionMethod;
55976
56331
  exports["default"] = AesEncryptionMethod;
55977
56332
 
55978
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
+
55979
56469
  /***/ }),
55980
56470
 
55981
56471
  /***/ "./models/AkamaiMslOutput.ts":
@@ -56241,209 +56731,6 @@ exports.AnalyticsAbstractFilter = AnalyticsAbstractFilter;
56241
56731
  exports["default"] = AnalyticsAbstractFilter;
56242
56732
 
56243
56733
 
56244
- /***/ }),
56245
-
56246
- /***/ "./models/AnalyticsAdsImpressionSample.ts":
56247
- /*!************************************************!*\
56248
- !*** ./models/AnalyticsAdsImpressionSample.ts ***!
56249
- \************************************************/
56250
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
56251
-
56252
- "use strict";
56253
-
56254
- Object.defineProperty(exports, "__esModule", ({ value: true }));
56255
- exports.AnalyticsAdsImpressionSample = void 0;
56256
- var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
56257
- /**
56258
- * @export
56259
- * @class AnalyticsAdsImpressionSample
56260
- */
56261
- var AnalyticsAdsImpressionSample = /** @class */ (function () {
56262
- function AnalyticsAdsImpressionSample(obj) {
56263
- if (!obj) {
56264
- return;
56265
- }
56266
- this.adClickthroughUrl = (0, Mapper_1.map)(obj.adClickthroughUrl);
56267
- this.adDescription = (0, Mapper_1.map)(obj.adDescription);
56268
- this.adDuration = (0, Mapper_1.map)(obj.adDuration);
56269
- this.adFallbackIndex = (0, Mapper_1.map)(obj.adFallbackIndex);
56270
- this.adId = (0, Mapper_1.map)(obj.adId);
56271
- this.adIdPlayer = (0, Mapper_1.map)(obj.adIdPlayer);
56272
- this.adImpressionId = (0, Mapper_1.map)(obj.adImpressionId);
56273
- this.adIsPersistent = (0, Mapper_1.map)(obj.adIsPersistent);
56274
- this.adModule = (0, Mapper_1.map)(obj.adModule);
56275
- this.adModuleVersion = (0, Mapper_1.map)(obj.adModuleVersion);
56276
- this.adOffset = (0, Mapper_1.map)(obj.adOffset);
56277
- this.adPlaybackHeight = (0, Mapper_1.map)(obj.adPlaybackHeight);
56278
- this.adPlaybackWidth = (0, Mapper_1.map)(obj.adPlaybackWidth);
56279
- this.adPodPosition = (0, Mapper_1.map)(obj.adPodPosition);
56280
- this.adPosition = (0, Mapper_1.map)(obj.adPosition);
56281
- this.adPreloadOffset = (0, Mapper_1.map)(obj.adPreloadOffset);
56282
- this.adReplaceContentDuration = (0, Mapper_1.map)(obj.adReplaceContentDuration);
56283
- this.adScheduleTime = (0, Mapper_1.map)(obj.adScheduleTime);
56284
- this.adSkipAfter = (0, Mapper_1.map)(obj.adSkipAfter);
56285
- this.adSkippable = (0, Mapper_1.map)(obj.adSkippable);
56286
- this.adStartupTime = (0, Mapper_1.map)(obj.adStartupTime);
56287
- this.adSystem = (0, Mapper_1.map)(obj.adSystem);
56288
- this.adTagPath = (0, Mapper_1.map)(obj.adTagPath);
56289
- this.adTagServer = (0, Mapper_1.map)(obj.adTagServer);
56290
- this.adTagType = (0, Mapper_1.map)(obj.adTagType);
56291
- this.adTagUrl = (0, Mapper_1.map)(obj.adTagUrl);
56292
- this.adTitle = (0, Mapper_1.map)(obj.adTitle);
56293
- this.adWrapperAdsCount = (0, Mapper_1.map)(obj.adWrapperAdsCount);
56294
- this.advertiserName = (0, Mapper_1.map)(obj.advertiserName);
56295
- this.analyticsVersion = (0, Mapper_1.map)(obj.analyticsVersion);
56296
- this.apiFramework = (0, Mapper_1.map)(obj.apiFramework);
56297
- this.apiorgId = (0, Mapper_1.map)(obj.apiorgId);
56298
- this.apiuserId = (0, Mapper_1.map)(obj.apiuserId);
56299
- this.audioBitrate = (0, Mapper_1.map)(obj.audioBitrate);
56300
- this.autoplay = (0, Mapper_1.map)(obj.autoplay);
56301
- this.browser = (0, Mapper_1.map)(obj.browser);
56302
- this.browserIsBot = (0, Mapper_1.map)(obj.browserIsBot);
56303
- this.browserVersionMajor = (0, Mapper_1.map)(obj.browserVersionMajor);
56304
- this.browserVersionMinor = (0, Mapper_1.map)(obj.browserVersionMinor);
56305
- this.cdnProvider = (0, Mapper_1.map)(obj.cdnProvider);
56306
- this.city = (0, Mapper_1.map)(obj.city);
56307
- this.clickPercentage = (0, Mapper_1.map)(obj.clickPercentage);
56308
- this.clickPosition = (0, Mapper_1.map)(obj.clickPosition);
56309
- this.clicked = (0, Mapper_1.map)(obj.clicked);
56310
- this.clientTime = (0, Mapper_1.map)(obj.clientTime);
56311
- this.closePercentage = (0, Mapper_1.map)(obj.closePercentage);
56312
- this.closePosition = (0, Mapper_1.map)(obj.closePosition);
56313
- this.closed = (0, Mapper_1.map)(obj.closed);
56314
- this.completed = (0, Mapper_1.map)(obj.completed);
56315
- this.country = (0, Mapper_1.map)(obj.country);
56316
- this.creativeAdId = (0, Mapper_1.map)(obj.creativeAdId);
56317
- this.creativeId = (0, Mapper_1.map)(obj.creativeId);
56318
- this.customData1 = (0, Mapper_1.map)(obj.customData1);
56319
- this.customData2 = (0, Mapper_1.map)(obj.customData2);
56320
- this.customData3 = (0, Mapper_1.map)(obj.customData3);
56321
- this.customData4 = (0, Mapper_1.map)(obj.customData4);
56322
- this.customData5 = (0, Mapper_1.map)(obj.customData5);
56323
- this.customData6 = (0, Mapper_1.map)(obj.customData6);
56324
- this.customData7 = (0, Mapper_1.map)(obj.customData7);
56325
- this.customData8 = (0, Mapper_1.map)(obj.customData8);
56326
- this.customData9 = (0, Mapper_1.map)(obj.customData9);
56327
- this.customData10 = (0, Mapper_1.map)(obj.customData10);
56328
- this.customData11 = (0, Mapper_1.map)(obj.customData11);
56329
- this.customData12 = (0, Mapper_1.map)(obj.customData12);
56330
- this.customData13 = (0, Mapper_1.map)(obj.customData13);
56331
- this.customData14 = (0, Mapper_1.map)(obj.customData14);
56332
- this.customData15 = (0, Mapper_1.map)(obj.customData15);
56333
- this.customData16 = (0, Mapper_1.map)(obj.customData16);
56334
- this.customData17 = (0, Mapper_1.map)(obj.customData17);
56335
- this.customData18 = (0, Mapper_1.map)(obj.customData18);
56336
- this.customData19 = (0, Mapper_1.map)(obj.customData19);
56337
- this.customData20 = (0, Mapper_1.map)(obj.customData20);
56338
- this.customData21 = (0, Mapper_1.map)(obj.customData21);
56339
- this.customData22 = (0, Mapper_1.map)(obj.customData22);
56340
- this.customData23 = (0, Mapper_1.map)(obj.customData23);
56341
- this.customData24 = (0, Mapper_1.map)(obj.customData24);
56342
- this.customData25 = (0, Mapper_1.map)(obj.customData25);
56343
- this.customData26 = (0, Mapper_1.map)(obj.customData26);
56344
- this.customData27 = (0, Mapper_1.map)(obj.customData27);
56345
- this.customData28 = (0, Mapper_1.map)(obj.customData28);
56346
- this.customData29 = (0, Mapper_1.map)(obj.customData29);
56347
- this.customData30 = (0, Mapper_1.map)(obj.customData30);
56348
- this.customUserId = (0, Mapper_1.map)(obj.customUserId);
56349
- this.dealId = (0, Mapper_1.map)(obj.dealId);
56350
- this.deviceClass = (0, Mapper_1.map)(obj.deviceClass);
56351
- this.deviceType = (0, Mapper_1.map)(obj.deviceType);
56352
- this.domain = (0, Mapper_1.map)(obj.domain);
56353
- this.errorCode = (0, Mapper_1.map)(obj.errorCode);
56354
- this.errorData = (0, Mapper_1.map)(obj.errorData);
56355
- this.errorMessage = (0, Mapper_1.map)(obj.errorMessage);
56356
- this.errorPercentage = (0, Mapper_1.map)(obj.errorPercentage);
56357
- this.errorPosition = (0, Mapper_1.map)(obj.errorPosition);
56358
- this.exitPosition = (0, Mapper_1.map)(obj.exitPosition);
56359
- this.experimentName = (0, Mapper_1.map)(obj.experimentName);
56360
- this.ipAddress = (0, Mapper_1.map)(obj.ipAddress);
56361
- this.isp = (0, Mapper_1.map)(obj.isp);
56362
- this.language = (0, Mapper_1.map)(obj.language);
56363
- this.licenseKey = (0, Mapper_1.map)(obj.licenseKey);
56364
- this.manifestDownloadTime = (0, Mapper_1.map)(obj.manifestDownloadTime);
56365
- this.mediaPath = (0, Mapper_1.map)(obj.mediaPath);
56366
- this.mediaServer = (0, Mapper_1.map)(obj.mediaServer);
56367
- this.mediaUrl = (0, Mapper_1.map)(obj.mediaUrl);
56368
- this.midpoint = (0, Mapper_1.map)(obj.midpoint);
56369
- this.minSuggestedDuration = (0, Mapper_1.map)(obj.minSuggestedDuration);
56370
- this.operatingsystem = (0, Mapper_1.map)(obj.operatingsystem);
56371
- this.operatingsystemVersionMajor = (0, Mapper_1.map)(obj.operatingsystemVersionMajor);
56372
- this.operatingsystemVersionMinor = (0, Mapper_1.map)(obj.operatingsystemVersionMinor);
56373
- this.pageLoadTime = (0, Mapper_1.map)(obj.pageLoadTime);
56374
- this.pageLoadType = (0, Mapper_1.map)(obj.pageLoadType);
56375
- this.path = (0, Mapper_1.map)(obj.path);
56376
- this.percentageInViewport = (0, Mapper_1.map)(obj.percentageInViewport);
56377
- this.platform = (0, Mapper_1.map)(obj.platform);
56378
- this.player = (0, Mapper_1.map)(obj.player);
56379
- this.playerKey = (0, Mapper_1.map)(obj.playerKey);
56380
- this.playerStartuptime = (0, Mapper_1.map)(obj.playerStartuptime);
56381
- this.playerTech = (0, Mapper_1.map)(obj.playerTech);
56382
- this.playerVersion = (0, Mapper_1.map)(obj.playerVersion);
56383
- this.playPercentage = (0, Mapper_1.map)(obj.playPercentage);
56384
- this.quartile1 = (0, Mapper_1.map)(obj.quartile1);
56385
- this.quartile3 = (0, Mapper_1.map)(obj.quartile3);
56386
- this.region = (0, Mapper_1.map)(obj.region);
56387
- this.screenHeight = (0, Mapper_1.map)(obj.screenHeight);
56388
- this.screenWidth = (0, Mapper_1.map)(obj.screenWidth);
56389
- this.screenOrientation = (0, Mapper_1.map)(obj.screenOrientation);
56390
- this.size = (0, Mapper_1.map)(obj.size);
56391
- this.skipPercentage = (0, Mapper_1.map)(obj.skipPercentage);
56392
- this.skipPosition = (0, Mapper_1.map)(obj.skipPosition);
56393
- this.skipped = (0, Mapper_1.map)(obj.skipped);
56394
- this.started = (0, Mapper_1.map)(obj.started);
56395
- this.streamFormat = (0, Mapper_1.map)(obj.streamFormat);
56396
- this.surveyUrl = (0, Mapper_1.map)(obj.surveyUrl);
56397
- this.time = (0, Mapper_1.map)(obj.time);
56398
- this.timeInViewport = (0, Mapper_1.map)(obj.timeInViewport);
56399
- this.timePlayed = (0, Mapper_1.map)(obj.timePlayed);
56400
- this.universalAdIdRegistry = (0, Mapper_1.map)(obj.universalAdIdRegistry);
56401
- this.universalAdIdValue = (0, Mapper_1.map)(obj.universalAdIdValue);
56402
- this.userId = (0, Mapper_1.map)(obj.userId);
56403
- this.videoBitrate = (0, Mapper_1.map)(obj.videoBitrate);
56404
- this.videoId = (0, Mapper_1.map)(obj.videoId);
56405
- this.videoImpressionId = (0, Mapper_1.map)(obj.videoImpressionId);
56406
- this.videoTitle = (0, Mapper_1.map)(obj.videoTitle);
56407
- this.videoWindowHeight = (0, Mapper_1.map)(obj.videoWindowHeight);
56408
- this.videoWindowWidth = (0, Mapper_1.map)(obj.videoWindowWidth);
56409
- }
56410
- return AnalyticsAdsImpressionSample;
56411
- }());
56412
- exports.AnalyticsAdsImpressionSample = AnalyticsAdsImpressionSample;
56413
- exports["default"] = AnalyticsAdsImpressionSample;
56414
-
56415
-
56416
- /***/ }),
56417
-
56418
- /***/ "./models/AnalyticsAdsImpressionsResponse.ts":
56419
- /*!***************************************************!*\
56420
- !*** ./models/AnalyticsAdsImpressionsResponse.ts ***!
56421
- \***************************************************/
56422
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
56423
-
56424
- "use strict";
56425
-
56426
- Object.defineProperty(exports, "__esModule", ({ value: true }));
56427
- exports.AnalyticsAdsImpressionsResponse = void 0;
56428
- var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
56429
- var AnalyticsAdsImpressionSample_1 = __webpack_require__(/*! ./AnalyticsAdsImpressionSample */ "./models/AnalyticsAdsImpressionSample.ts");
56430
- /**
56431
- * @export
56432
- * @class AnalyticsAdsImpressionsResponse
56433
- */
56434
- var AnalyticsAdsImpressionsResponse = /** @class */ (function () {
56435
- function AnalyticsAdsImpressionsResponse(obj) {
56436
- if (!obj) {
56437
- return;
56438
- }
56439
- this.adsImpressions = (0, Mapper_1.mapArray)(obj.adsImpressions, AnalyticsAdsImpressionSample_1.default);
56440
- }
56441
- return AnalyticsAdsImpressionsResponse;
56442
- }());
56443
- exports.AnalyticsAdsImpressionsResponse = AnalyticsAdsImpressionsResponse;
56444
- exports["default"] = AnalyticsAdsImpressionsResponse;
56445
-
56446
-
56447
56734
  /***/ }),
56448
56735
 
56449
56736
  /***/ "./models/AnalyticsAttribute.ts":
@@ -63043,8 +63330,17 @@ var CloudRegion;
63043
63330
  CloudRegion["AZURE_US_NORTH_CENTRAL"] = "AZURE_US_NORTH_CENTRAL";
63044
63331
  CloudRegion["AZURE_UK_SOUTH"] = "AZURE_UK_SOUTH";
63045
63332
  CloudRegion["AKAMAI_BR_GRU"] = "AKAMAI_BR_GRU";
63333
+ CloudRegion["AKAMAI_ES_MAD"] = "AKAMAI_ES_MAD";
63046
63334
  CloudRegion["AKAMAI_FR_PAR"] = "AKAMAI_FR_PAR";
63335
+ CloudRegion["AKAMAI_ID_CGK"] = "AKAMAI_ID_CGK";
63336
+ CloudRegion["AKAMAI_IN_MAA"] = "AKAMAI_IN_MAA";
63337
+ CloudRegion["AKAMAI_IT_MIL"] = "AKAMAI_IT_MIL";
63047
63338
  CloudRegion["AKAMAI_JP_OSA"] = "AKAMAI_JP_OSA";
63339
+ CloudRegion["AKAMAI_NL_AMS"] = "AKAMAI_NL_AMS";
63340
+ CloudRegion["AKAMAI_SE_STO"] = "AKAMAI_SE_STO";
63341
+ CloudRegion["AKAMAI_US_LAX"] = "AKAMAI_US_LAX";
63342
+ CloudRegion["AKAMAI_US_MIA"] = "AKAMAI_US_MIA";
63343
+ CloudRegion["AKAMAI_US_ORD"] = "AKAMAI_US_ORD";
63048
63344
  CloudRegion["AKAMAI_US_SEA"] = "AKAMAI_US_SEA";
63049
63345
  CloudRegion["OCI_EU_FRANKFURT_1"] = "OCI_EU_FRANKFURT_1";
63050
63346
  CloudRegion["OCI_US_ASHBURN_1"] = "OCI_US_ASHBURN_1";
@@ -69115,6 +69411,55 @@ var EncodingTemplate;
69115
69411
  exports["default"] = EncodingTemplate;
69116
69412
 
69117
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
+
69118
69463
  /***/ }),
69119
69464
 
69120
69465
  /***/ "./models/EncodingTemplateRequest.ts":
@@ -69144,6 +69489,55 @@ exports.EncodingTemplateRequest = EncodingTemplateRequest;
69144
69489
  exports["default"] = EncodingTemplateRequest;
69145
69490
 
69146
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
+
69147
69541
  /***/ }),
69148
69542
 
69149
69543
  /***/ "./models/EncodingTemplateStartResponse.ts":
@@ -69174,6 +69568,31 @@ exports.EncodingTemplateStartResponse = EncodingTemplateStartResponse;
69174
69568
  exports["default"] = EncodingTemplateStartResponse;
69175
69569
 
69176
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
+
69177
69596
  /***/ }),
69178
69597
 
69179
69598
  /***/ "./models/EncodingType.ts":
@@ -73544,6 +73963,7 @@ var LiveAutoShutdownConfiguration = /** @class */ (function () {
73544
73963
  }
73545
73964
  this.bytesReadTimeoutSeconds = (0, Mapper_1.map)(obj.bytesReadTimeoutSeconds);
73546
73965
  this.streamTimeoutMinutes = (0, Mapper_1.map)(obj.streamTimeoutMinutes);
73966
+ this.waitingForFirstConnectTimeoutMinutes = (0, Mapper_1.map)(obj.waitingForFirstConnectTimeoutMinutes);
73547
73967
  }
73548
73968
  return LiveAutoShutdownConfiguration;
73549
73969
  }());
@@ -88051,14 +88471,15 @@ __exportStar(__webpack_require__(/*! ./AdaptationSetTypeResponse */ "./models/Ad
88051
88471
  __exportStar(__webpack_require__(/*! ./AdaptiveQuantMode */ "./models/AdaptiveQuantMode.ts"), exports);
88052
88472
  __exportStar(__webpack_require__(/*! ./AesEncryptionDrm */ "./models/AesEncryptionDrm.ts"), exports);
88053
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);
88054
88477
  __exportStar(__webpack_require__(/*! ./AkamaiMslOutput */ "./models/AkamaiMslOutput.ts"), exports);
88055
88478
  __exportStar(__webpack_require__(/*! ./AkamaiMslStreamFormat */ "./models/AkamaiMslStreamFormat.ts"), exports);
88056
88479
  __exportStar(__webpack_require__(/*! ./AkamaiMslVersion */ "./models/AkamaiMslVersion.ts"), exports);
88057
88480
  __exportStar(__webpack_require__(/*! ./AkamaiNetStorageInput */ "./models/AkamaiNetStorageInput.ts"), exports);
88058
88481
  __exportStar(__webpack_require__(/*! ./AkamaiNetStorageOutput */ "./models/AkamaiNetStorageOutput.ts"), exports);
88059
88482
  __exportStar(__webpack_require__(/*! ./AnalyticsAbstractFilter */ "./models/AnalyticsAbstractFilter.ts"), exports);
88060
- __exportStar(__webpack_require__(/*! ./AnalyticsAdsImpressionSample */ "./models/AnalyticsAdsImpressionSample.ts"), exports);
88061
- __exportStar(__webpack_require__(/*! ./AnalyticsAdsImpressionsResponse */ "./models/AnalyticsAdsImpressionsResponse.ts"), exports);
88062
88483
  __exportStar(__webpack_require__(/*! ./AnalyticsAttribute */ "./models/AnalyticsAttribute.ts"), exports);
88063
88484
  __exportStar(__webpack_require__(/*! ./AnalyticsAvgConcurrentViewersResponse */ "./models/AnalyticsAvgConcurrentViewersResponse.ts"), exports);
88064
88485
  __exportStar(__webpack_require__(/*! ./AnalyticsAvgDroppedFramesResponse */ "./models/AnalyticsAvgDroppedFramesResponse.ts"), exports);
@@ -88361,8 +88782,11 @@ __exportStar(__webpack_require__(/*! ./EncodingStats */ "./models/EncodingStats.
88361
88782
  __exportStar(__webpack_require__(/*! ./EncodingStreamInput */ "./models/EncodingStreamInput.ts"), exports);
88362
88783
  __exportStar(__webpack_require__(/*! ./EncodingStreamInputDetails */ "./models/EncodingStreamInputDetails.ts"), exports);
88363
88784
  __exportStar(__webpack_require__(/*! ./EncodingTemplate */ "./models/EncodingTemplate.ts"), exports);
88785
+ __exportStar(__webpack_require__(/*! ./EncodingTemplateDetails */ "./models/EncodingTemplateDetails.ts"), exports);
88364
88786
  __exportStar(__webpack_require__(/*! ./EncodingTemplateRequest */ "./models/EncodingTemplateRequest.ts"), exports);
88787
+ __exportStar(__webpack_require__(/*! ./EncodingTemplateResponse */ "./models/EncodingTemplateResponse.ts"), exports);
88365
88788
  __exportStar(__webpack_require__(/*! ./EncodingTemplateStartResponse */ "./models/EncodingTemplateStartResponse.ts"), exports);
88789
+ __exportStar(__webpack_require__(/*! ./EncodingTemplateType */ "./models/EncodingTemplateType.ts"), exports);
88366
88790
  __exportStar(__webpack_require__(/*! ./EncodingType */ "./models/EncodingType.ts"), exports);
88367
88791
  __exportStar(__webpack_require__(/*! ./EncryptionMode */ "./models/EncryptionMode.ts"), exports);
88368
88792
  __exportStar(__webpack_require__(/*! ./EnhancedDeinterlaceAutoEnable */ "./models/EnhancedDeinterlaceAutoEnable.ts"), exports);