@bitmovin/api-sdk 1.255.2 → 1.256.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 (29) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +536 -1
  3. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  4. package/dist/common/RestClient.js +1 -1
  5. package/dist/encoding/live/LiveApi.d.ts +4 -0
  6. package/dist/encoding/live/LiveApi.js +4 -0
  7. package/dist/encoding/live/dnsMappings/DnsMappingResponseListQueryParams.d.ts +28 -0
  8. package/dist/encoding/live/dnsMappings/DnsMappingResponseListQueryParams.js +29 -0
  9. package/dist/encoding/live/dnsMappings/DnsMappingsApi.d.ts +21 -0
  10. package/dist/encoding/live/dnsMappings/DnsMappingsApi.js +53 -0
  11. package/dist/encoding/live/encodings/EncodingsApi.d.ts +15 -0
  12. package/dist/encoding/live/encodings/EncodingsApi.js +37 -0
  13. package/dist/encoding/live/encodings/actions/ActionsApi.d.ts +21 -0
  14. package/dist/encoding/live/encodings/actions/ActionsApi.js +49 -0
  15. package/dist/encoding/live/encodings/dnsMappings/DnsMappingResponseListQueryParams.d.ts +28 -0
  16. package/dist/encoding/live/encodings/dnsMappings/DnsMappingResponseListQueryParams.js +29 -0
  17. package/dist/encoding/live/encodings/dnsMappings/DnsMappingsApi.d.ts +56 -0
  18. package/dist/encoding/live/encodings/dnsMappings/DnsMappingsApi.js +121 -0
  19. package/dist/models/DnsMappingRequest.d.ts +26 -0
  20. package/dist/models/DnsMappingRequest.js +21 -0
  21. package/dist/models/DnsMappingResponse.d.ts +33 -0
  22. package/dist/models/DnsMappingResponse.js +41 -0
  23. package/dist/models/UpdateEncodingRtmpIngestPointRequest.d.ts +15 -0
  24. package/dist/models/UpdateEncodingRtmpIngestPointRequest.js +20 -0
  25. package/dist/models/UpdateEncodingRtmpIngestPointResponse.d.ts +8 -0
  26. package/dist/models/UpdateEncodingRtmpIngestPointResponse.js +17 -0
  27. package/dist/models/index.d.ts +4 -0
  28. package/dist/models/index.js +4 -0
  29. package/package.json +1 -1
package/README.md CHANGED
@@ -31,7 +31,7 @@ If you have any questions regarding the SDK, provided examples or our services,
31
31
  ## Installation
32
32
 
33
33
  ``` bash
34
- npm install @bitmovin/api-sdk@1.255.2
34
+ npm install @bitmovin/api-sdk@1.256.0
35
35
  ```
36
36
 
37
37
  ## Initialization
@@ -6464,7 +6464,7 @@ var HeaderHandler = /** @class */ (function (_super) {
6464
6464
  var headers = {
6465
6465
  'X-Api-Key': apiKey,
6466
6466
  'X-Api-Client': 'bitmovin-api-sdk-javascript',
6467
- 'X-Api-Client-Version': '1.255.2',
6467
+ 'X-Api-Client-Version': '1.256.0',
6468
6468
  'Content-Type': 'application/json'
6469
6469
  };
6470
6470
  if (tenantOrgId) {
@@ -42577,6 +42577,8 @@ var __extends = (this && this.__extends) || (function () {
42577
42577
  })();
42578
42578
  Object.defineProperty(exports, "__esModule", ({ value: true }));
42579
42579
  var BaseAPI_1 = __webpack_require__(/*! ../../common/BaseAPI */ "./common/BaseAPI.ts");
42580
+ var EncodingsApi_1 = __webpack_require__(/*! ./encodings/EncodingsApi */ "./encoding/live/encodings/EncodingsApi.ts");
42581
+ var DnsMappingsApi_1 = __webpack_require__(/*! ./dnsMappings/DnsMappingsApi */ "./encoding/live/dnsMappings/DnsMappingsApi.ts");
42580
42582
  var StreamKeysApi_1 = __webpack_require__(/*! ./streamKeys/StreamKeysApi */ "./encoding/live/streamKeys/StreamKeysApi.ts");
42581
42583
  var StandbyPoolsApi_1 = __webpack_require__(/*! ./standbyPools/StandbyPoolsApi */ "./encoding/live/standbyPools/StandbyPoolsApi.ts");
42582
42584
  /**
@@ -42589,6 +42591,8 @@ var LiveApi = /** @class */ (function (_super) {
42589
42591
  __extends(LiveApi, _super);
42590
42592
  function LiveApi(configuration) {
42591
42593
  var _this = _super.call(this, configuration) || this;
42594
+ _this.encodings = new EncodingsApi_1.default(configuration);
42595
+ _this.dnsMappings = new DnsMappingsApi_1.default(configuration);
42592
42596
  _this.streamKeys = new StreamKeysApi_1.default(configuration);
42593
42597
  _this.standbyPools = new StandbyPoolsApi_1.default(configuration);
42594
42598
  return _this;
@@ -42598,6 +42602,390 @@ var LiveApi = /** @class */ (function (_super) {
42598
42602
  exports["default"] = LiveApi;
42599
42603
 
42600
42604
 
42605
+ /***/ },
42606
+
42607
+ /***/ "./encoding/live/dnsMappings/DnsMappingResponseListQueryParams.ts"
42608
+ /*!************************************************************************!*\
42609
+ !*** ./encoding/live/dnsMappings/DnsMappingResponseListQueryParams.ts ***!
42610
+ \************************************************************************/
42611
+ (__unused_webpack_module, exports) {
42612
+
42613
+ "use strict";
42614
+
42615
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
42616
+ exports.DnsMappingResponseListQueryParamsBuilder = void 0;
42617
+ var DnsMappingResponseListQueryParamsBuilder = /** @class */ (function () {
42618
+ function DnsMappingResponseListQueryParamsBuilder() {
42619
+ this.internalParams = {};
42620
+ }
42621
+ /**
42622
+ *
42623
+ * @param offset Index of the first item to return, starting at 0. Default is 0
42624
+ */
42625
+ DnsMappingResponseListQueryParamsBuilder.prototype.offset = function (offset) {
42626
+ this.internalParams.offset = offset;
42627
+ return this;
42628
+ };
42629
+ /**
42630
+ *
42631
+ * @param limit Maximum number of items to return. Default is 25, maximum is 100
42632
+ */
42633
+ DnsMappingResponseListQueryParamsBuilder.prototype.limit = function (limit) {
42634
+ this.internalParams.limit = limit;
42635
+ return this;
42636
+ };
42637
+ DnsMappingResponseListQueryParamsBuilder.prototype.buildQueryParams = function () {
42638
+ return this.internalParams;
42639
+ };
42640
+ return DnsMappingResponseListQueryParamsBuilder;
42641
+ }());
42642
+ exports.DnsMappingResponseListQueryParamsBuilder = DnsMappingResponseListQueryParamsBuilder;
42643
+
42644
+
42645
+ /***/ },
42646
+
42647
+ /***/ "./encoding/live/dnsMappings/DnsMappingsApi.ts"
42648
+ /*!*****************************************************!*\
42649
+ !*** ./encoding/live/dnsMappings/DnsMappingsApi.ts ***!
42650
+ \*****************************************************/
42651
+ (__unused_webpack_module, exports, __webpack_require__) {
42652
+
42653
+ "use strict";
42654
+
42655
+ var __extends = (this && this.__extends) || (function () {
42656
+ var extendStatics = function (d, b) {
42657
+ extendStatics = Object.setPrototypeOf ||
42658
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
42659
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
42660
+ return extendStatics(d, b);
42661
+ };
42662
+ return function (d, b) {
42663
+ if (typeof b !== "function" && b !== null)
42664
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
42665
+ extendStatics(d, b);
42666
+ function __() { this.constructor = d; }
42667
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
42668
+ };
42669
+ })();
42670
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
42671
+ var BaseAPI_1 = __webpack_require__(/*! ../../../common/BaseAPI */ "./common/BaseAPI.ts");
42672
+ var DnsMappingResponse_1 = __webpack_require__(/*! ../../../models/DnsMappingResponse */ "./models/DnsMappingResponse.ts");
42673
+ var PaginationResponse_1 = __webpack_require__(/*! ../../../models/PaginationResponse */ "./models/PaginationResponse.ts");
42674
+ var DnsMappingResponseListQueryParams_1 = __webpack_require__(/*! ./DnsMappingResponseListQueryParams */ "./encoding/live/dnsMappings/DnsMappingResponseListQueryParams.ts");
42675
+ /**
42676
+ * DnsMappingsApi - object-oriented interface
42677
+ * @export
42678
+ * @class DnsMappingsApi
42679
+ * @extends {BaseAPI}
42680
+ */
42681
+ var DnsMappingsApi = /** @class */ (function (_super) {
42682
+ __extends(DnsMappingsApi, _super);
42683
+ function DnsMappingsApi(configuration) {
42684
+ return _super.call(this, configuration) || this;
42685
+ }
42686
+ /**
42687
+ * @summary List DNS Mappings
42688
+ * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
42689
+ * @throws {BitmovinError}
42690
+ * @memberof DnsMappingsApi
42691
+ */
42692
+ DnsMappingsApi.prototype.list = function (queryParameters) {
42693
+ var queryParams = {};
42694
+ if (typeof queryParameters === 'function') {
42695
+ queryParams = queryParameters(new DnsMappingResponseListQueryParams_1.DnsMappingResponseListQueryParamsBuilder()).buildQueryParams();
42696
+ }
42697
+ else if (queryParameters) {
42698
+ queryParams = queryParameters;
42699
+ }
42700
+ return this.restClient.get('/encoding/live/dns-mappings', {}, queryParams).then(function (response) {
42701
+ return new PaginationResponse_1.default(response, DnsMappingResponse_1.default);
42702
+ });
42703
+ };
42704
+ return DnsMappingsApi;
42705
+ }(BaseAPI_1.BaseAPI));
42706
+ exports["default"] = DnsMappingsApi;
42707
+
42708
+
42709
+ /***/ },
42710
+
42711
+ /***/ "./encoding/live/encodings/EncodingsApi.ts"
42712
+ /*!*************************************************!*\
42713
+ !*** ./encoding/live/encodings/EncodingsApi.ts ***!
42714
+ \*************************************************/
42715
+ (__unused_webpack_module, exports, __webpack_require__) {
42716
+
42717
+ "use strict";
42718
+
42719
+ var __extends = (this && this.__extends) || (function () {
42720
+ var extendStatics = function (d, b) {
42721
+ extendStatics = Object.setPrototypeOf ||
42722
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
42723
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
42724
+ return extendStatics(d, b);
42725
+ };
42726
+ return function (d, b) {
42727
+ if (typeof b !== "function" && b !== null)
42728
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
42729
+ extendStatics(d, b);
42730
+ function __() { this.constructor = d; }
42731
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
42732
+ };
42733
+ })();
42734
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
42735
+ var BaseAPI_1 = __webpack_require__(/*! ../../../common/BaseAPI */ "./common/BaseAPI.ts");
42736
+ var ActionsApi_1 = __webpack_require__(/*! ./actions/ActionsApi */ "./encoding/live/encodings/actions/ActionsApi.ts");
42737
+ var DnsMappingsApi_1 = __webpack_require__(/*! ./dnsMappings/DnsMappingsApi */ "./encoding/live/encodings/dnsMappings/DnsMappingsApi.ts");
42738
+ /**
42739
+ * EncodingsApi - object-oriented interface
42740
+ * @export
42741
+ * @class EncodingsApi
42742
+ * @extends {BaseAPI}
42743
+ */
42744
+ var EncodingsApi = /** @class */ (function (_super) {
42745
+ __extends(EncodingsApi, _super);
42746
+ function EncodingsApi(configuration) {
42747
+ var _this = _super.call(this, configuration) || this;
42748
+ _this.actions = new ActionsApi_1.default(configuration);
42749
+ _this.dnsMappings = new DnsMappingsApi_1.default(configuration);
42750
+ return _this;
42751
+ }
42752
+ return EncodingsApi;
42753
+ }(BaseAPI_1.BaseAPI));
42754
+ exports["default"] = EncodingsApi;
42755
+
42756
+
42757
+ /***/ },
42758
+
42759
+ /***/ "./encoding/live/encodings/actions/ActionsApi.ts"
42760
+ /*!*******************************************************!*\
42761
+ !*** ./encoding/live/encodings/actions/ActionsApi.ts ***!
42762
+ \*******************************************************/
42763
+ (__unused_webpack_module, exports, __webpack_require__) {
42764
+
42765
+ "use strict";
42766
+
42767
+ var __extends = (this && this.__extends) || (function () {
42768
+ var extendStatics = function (d, b) {
42769
+ extendStatics = Object.setPrototypeOf ||
42770
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
42771
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
42772
+ return extendStatics(d, b);
42773
+ };
42774
+ return function (d, b) {
42775
+ if (typeof b !== "function" && b !== null)
42776
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
42777
+ extendStatics(d, b);
42778
+ function __() { this.constructor = d; }
42779
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
42780
+ };
42781
+ })();
42782
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
42783
+ var BaseAPI_1 = __webpack_require__(/*! ../../../../common/BaseAPI */ "./common/BaseAPI.ts");
42784
+ var Mapper_1 = __webpack_require__(/*! ../../../../common/Mapper */ "./common/Mapper.ts");
42785
+ var UpdateEncodingRtmpIngestPointResponse_1 = __webpack_require__(/*! ../../../../models/UpdateEncodingRtmpIngestPointResponse */ "./models/UpdateEncodingRtmpIngestPointResponse.ts");
42786
+ /**
42787
+ * ActionsApi - object-oriented interface
42788
+ * @export
42789
+ * @class ActionsApi
42790
+ * @extends {BaseAPI}
42791
+ */
42792
+ var ActionsApi = /** @class */ (function (_super) {
42793
+ __extends(ActionsApi, _super);
42794
+ function ActionsApi(configuration) {
42795
+ return _super.call(this, configuration) || this;
42796
+ }
42797
+ /**
42798
+ * @summary Update the ingest points of a Redundant RTMP Input
42799
+ * @param {string} encodingId Id of the encoding.
42800
+ * @param {UpdateEncodingRtmpIngestPointRequest} updateEncodingRtmpIngestPointRequest The list of the RTMP ingest points to update.
42801
+ * @throws {BitmovinError}
42802
+ * @memberof ActionsApi
42803
+ */
42804
+ ActionsApi.prototype.patch = function (encodingId, updateEncodingRtmpIngestPointRequest) {
42805
+ var pathParamMap = {
42806
+ encoding_id: encodingId
42807
+ };
42808
+ return this.restClient.patch('/encoding/live/encodings/{encoding_id}/actions/update-rtmp-ingest-points', pathParamMap, updateEncodingRtmpIngestPointRequest).then(function (response) {
42809
+ return (0, Mapper_1.map)(response, UpdateEncodingRtmpIngestPointResponse_1.default);
42810
+ });
42811
+ };
42812
+ return ActionsApi;
42813
+ }(BaseAPI_1.BaseAPI));
42814
+ exports["default"] = ActionsApi;
42815
+
42816
+
42817
+ /***/ },
42818
+
42819
+ /***/ "./encoding/live/encodings/dnsMappings/DnsMappingResponseListQueryParams.ts"
42820
+ /*!**********************************************************************************!*\
42821
+ !*** ./encoding/live/encodings/dnsMappings/DnsMappingResponseListQueryParams.ts ***!
42822
+ \**********************************************************************************/
42823
+ (__unused_webpack_module, exports) {
42824
+
42825
+ "use strict";
42826
+
42827
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
42828
+ exports.DnsMappingResponseListQueryParamsBuilder = void 0;
42829
+ var DnsMappingResponseListQueryParamsBuilder = /** @class */ (function () {
42830
+ function DnsMappingResponseListQueryParamsBuilder() {
42831
+ this.internalParams = {};
42832
+ }
42833
+ /**
42834
+ *
42835
+ * @param offset Index of the first item to return, starting at 0. Default is 0
42836
+ */
42837
+ DnsMappingResponseListQueryParamsBuilder.prototype.offset = function (offset) {
42838
+ this.internalParams.offset = offset;
42839
+ return this;
42840
+ };
42841
+ /**
42842
+ *
42843
+ * @param limit Maximum number of items to return. Default is 25, maximum is 100
42844
+ */
42845
+ DnsMappingResponseListQueryParamsBuilder.prototype.limit = function (limit) {
42846
+ this.internalParams.limit = limit;
42847
+ return this;
42848
+ };
42849
+ DnsMappingResponseListQueryParamsBuilder.prototype.buildQueryParams = function () {
42850
+ return this.internalParams;
42851
+ };
42852
+ return DnsMappingResponseListQueryParamsBuilder;
42853
+ }());
42854
+ exports.DnsMappingResponseListQueryParamsBuilder = DnsMappingResponseListQueryParamsBuilder;
42855
+
42856
+
42857
+ /***/ },
42858
+
42859
+ /***/ "./encoding/live/encodings/dnsMappings/DnsMappingsApi.ts"
42860
+ /*!***************************************************************!*\
42861
+ !*** ./encoding/live/encodings/dnsMappings/DnsMappingsApi.ts ***!
42862
+ \***************************************************************/
42863
+ (__unused_webpack_module, exports, __webpack_require__) {
42864
+
42865
+ "use strict";
42866
+
42867
+ var __extends = (this && this.__extends) || (function () {
42868
+ var extendStatics = function (d, b) {
42869
+ extendStatics = Object.setPrototypeOf ||
42870
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
42871
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
42872
+ return extendStatics(d, b);
42873
+ };
42874
+ return function (d, b) {
42875
+ if (typeof b !== "function" && b !== null)
42876
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
42877
+ extendStatics(d, b);
42878
+ function __() { this.constructor = d; }
42879
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
42880
+ };
42881
+ })();
42882
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
42883
+ var BaseAPI_1 = __webpack_require__(/*! ../../../../common/BaseAPI */ "./common/BaseAPI.ts");
42884
+ var Mapper_1 = __webpack_require__(/*! ../../../../common/Mapper */ "./common/Mapper.ts");
42885
+ var BitmovinResponse_1 = __webpack_require__(/*! ../../../../models/BitmovinResponse */ "./models/BitmovinResponse.ts");
42886
+ var BitmovinResponseList_1 = __webpack_require__(/*! ../../../../models/BitmovinResponseList */ "./models/BitmovinResponseList.ts");
42887
+ var DnsMappingResponse_1 = __webpack_require__(/*! ../../../../models/DnsMappingResponse */ "./models/DnsMappingResponse.ts");
42888
+ var PaginationResponse_1 = __webpack_require__(/*! ../../../../models/PaginationResponse */ "./models/PaginationResponse.ts");
42889
+ var DnsMappingResponseListQueryParams_1 = __webpack_require__(/*! ./DnsMappingResponseListQueryParams */ "./encoding/live/encodings/dnsMappings/DnsMappingResponseListQueryParams.ts");
42890
+ /**
42891
+ * DnsMappingsApi - object-oriented interface
42892
+ * @export
42893
+ * @class DnsMappingsApi
42894
+ * @extends {BaseAPI}
42895
+ */
42896
+ var DnsMappingsApi = /** @class */ (function (_super) {
42897
+ __extends(DnsMappingsApi, _super);
42898
+ function DnsMappingsApi(configuration) {
42899
+ return _super.call(this, configuration) || this;
42900
+ }
42901
+ /**
42902
+ * @summary Create new DNS mapping for encoding
42903
+ * @param {string} encodingId Id of the encoding.
42904
+ * @param {DnsMappingRequest} dnsMappingRequest The DNS mapping to be created
42905
+ * @throws {BitmovinError}
42906
+ * @memberof DnsMappingsApi
42907
+ */
42908
+ DnsMappingsApi.prototype.create = function (encodingId, dnsMappingRequest) {
42909
+ var pathParamMap = {
42910
+ encoding_id: encodingId
42911
+ };
42912
+ return this.restClient.post('/encoding/live/encodings/{encoding_id}/dns-mappings', pathParamMap, dnsMappingRequest).then(function (response) {
42913
+ return (0, Mapper_1.map)(response, DnsMappingResponse_1.default);
42914
+ });
42915
+ };
42916
+ /**
42917
+ * @summary Delete DNS mapping
42918
+ * @param {string} encodingId Id of the encoding.
42919
+ * @param {string} id Id of the DNS mapping
42920
+ * @throws {BitmovinError}
42921
+ * @memberof DnsMappingsApi
42922
+ */
42923
+ DnsMappingsApi.prototype.delete = function (encodingId, id) {
42924
+ var pathParamMap = {
42925
+ encoding_id: encodingId,
42926
+ id: id
42927
+ };
42928
+ return this.restClient.delete('/encoding/live/encodings/{encoding_id}/dns-mappings/{id}', pathParamMap).then(function (response) {
42929
+ return (0, Mapper_1.map)(response, BitmovinResponse_1.default);
42930
+ });
42931
+ };
42932
+ /**
42933
+ * @summary Delete all DNS mappings for encoding
42934
+ * @param {string} encodingId Id of the encoding.
42935
+ * @throws {BitmovinError}
42936
+ * @memberof DnsMappingsApi
42937
+ */
42938
+ DnsMappingsApi.prototype.deleteAll = function (encodingId) {
42939
+ var pathParamMap = {
42940
+ encoding_id: encodingId
42941
+ };
42942
+ return this.restClient.delete('/encoding/live/encodings/{encoding_id}/dns-mappings', pathParamMap).then(function (response) {
42943
+ return (0, Mapper_1.map)(response, BitmovinResponseList_1.default);
42944
+ });
42945
+ };
42946
+ /**
42947
+ * @summary DNS mapping details
42948
+ * @param {string} encodingId Id of the encoding.
42949
+ * @param {string} id Id of the DNS mapping
42950
+ * @throws {BitmovinError}
42951
+ * @memberof DnsMappingsApi
42952
+ */
42953
+ DnsMappingsApi.prototype.get = function (encodingId, id) {
42954
+ var pathParamMap = {
42955
+ encoding_id: encodingId,
42956
+ id: id
42957
+ };
42958
+ return this.restClient.get('/encoding/live/encodings/{encoding_id}/dns-mappings/{id}', pathParamMap).then(function (response) {
42959
+ return (0, Mapper_1.map)(response, DnsMappingResponse_1.default);
42960
+ });
42961
+ };
42962
+ /**
42963
+ * @summary List DNS mappings for encoding
42964
+ * @param {string} encodingId Id of the encoding.
42965
+ * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
42966
+ * @throws {BitmovinError}
42967
+ * @memberof DnsMappingsApi
42968
+ */
42969
+ DnsMappingsApi.prototype.list = function (encodingId, queryParameters) {
42970
+ var pathParamMap = {
42971
+ encoding_id: encodingId
42972
+ };
42973
+ var queryParams = {};
42974
+ if (typeof queryParameters === 'function') {
42975
+ queryParams = queryParameters(new DnsMappingResponseListQueryParams_1.DnsMappingResponseListQueryParamsBuilder()).buildQueryParams();
42976
+ }
42977
+ else if (queryParameters) {
42978
+ queryParams = queryParameters;
42979
+ }
42980
+ return this.restClient.get('/encoding/live/encodings/{encoding_id}/dns-mappings', pathParamMap, queryParams).then(function (response) {
42981
+ return new PaginationResponse_1.default(response, DnsMappingResponse_1.default);
42982
+ });
42983
+ };
42984
+ return DnsMappingsApi;
42985
+ }(BaseAPI_1.BaseAPI));
42986
+ exports["default"] = DnsMappingsApi;
42987
+
42988
+
42601
42989
  /***/ },
42602
42990
 
42603
42991
  /***/ "./encoding/live/standbyPools/StandbyPoolsApi.ts"
@@ -68795,6 +69183,90 @@ exports.DisplayAspectRatio = DisplayAspectRatio;
68795
69183
  exports["default"] = DisplayAspectRatio;
68796
69184
 
68797
69185
 
69186
+ /***/ },
69187
+
69188
+ /***/ "./models/DnsMappingRequest.ts"
69189
+ /*!*************************************!*\
69190
+ !*** ./models/DnsMappingRequest.ts ***!
69191
+ \*************************************/
69192
+ (__unused_webpack_module, exports, __webpack_require__) {
69193
+
69194
+ "use strict";
69195
+
69196
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
69197
+ exports.DnsMappingRequest = void 0;
69198
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
69199
+ /**
69200
+ * @export
69201
+ * @class DnsMappingRequest
69202
+ */
69203
+ var DnsMappingRequest = /** @class */ (function () {
69204
+ function DnsMappingRequest(obj) {
69205
+ if (!obj) {
69206
+ return;
69207
+ }
69208
+ this.subdomain = (0, Mapper_1.map)(obj.subdomain);
69209
+ this.name = (0, Mapper_1.map)(obj.name);
69210
+ this.description = (0, Mapper_1.map)(obj.description);
69211
+ }
69212
+ return DnsMappingRequest;
69213
+ }());
69214
+ exports.DnsMappingRequest = DnsMappingRequest;
69215
+ exports["default"] = DnsMappingRequest;
69216
+
69217
+
69218
+ /***/ },
69219
+
69220
+ /***/ "./models/DnsMappingResponse.ts"
69221
+ /*!**************************************!*\
69222
+ !*** ./models/DnsMappingResponse.ts ***!
69223
+ \**************************************/
69224
+ (__unused_webpack_module, exports, __webpack_require__) {
69225
+
69226
+ "use strict";
69227
+
69228
+ var __extends = (this && this.__extends) || (function () {
69229
+ var extendStatics = function (d, b) {
69230
+ extendStatics = Object.setPrototypeOf ||
69231
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
69232
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
69233
+ return extendStatics(d, b);
69234
+ };
69235
+ return function (d, b) {
69236
+ if (typeof b !== "function" && b !== null)
69237
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
69238
+ extendStatics(d, b);
69239
+ function __() { this.constructor = d; }
69240
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
69241
+ };
69242
+ })();
69243
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
69244
+ exports.DnsMappingResponse = void 0;
69245
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
69246
+ var BitmovinResource_1 = __webpack_require__(/*! ./BitmovinResource */ "./models/BitmovinResource.ts");
69247
+ /**
69248
+ * @export
69249
+ * @class DnsMappingResponse
69250
+ */
69251
+ var DnsMappingResponse = /** @class */ (function (_super) {
69252
+ __extends(DnsMappingResponse, _super);
69253
+ function DnsMappingResponse(obj) {
69254
+ var _this = _super.call(this, obj) || this;
69255
+ if (!obj) {
69256
+ return _this;
69257
+ }
69258
+ _this.subdomain = (0, Mapper_1.map)(obj.subdomain);
69259
+ _this.hostname = (0, Mapper_1.map)(obj.hostname);
69260
+ _this.encodingId = (0, Mapper_1.map)(obj.encodingId);
69261
+ _this.ip = (0, Mapper_1.map)(obj.ip);
69262
+ return _this;
69263
+ }
69264
+ return DnsMappingResponse;
69265
+ }(BitmovinResource_1.default));
69266
+ exports.DnsMappingResponse = DnsMappingResponse;
69267
+ exports["default"] = DnsMappingResponse;
69268
+
69269
+
68798
69270
  /***/ },
68799
69271
 
68800
69272
  /***/ "./models/DolbyAtmosAudioConfiguration.ts"
@@ -89573,6 +90045,65 @@ exports.UnsharpFilter = UnsharpFilter;
89573
90045
  exports["default"] = UnsharpFilter;
89574
90046
 
89575
90047
 
90048
+ /***/ },
90049
+
90050
+ /***/ "./models/UpdateEncodingRtmpIngestPointRequest.ts"
90051
+ /*!********************************************************!*\
90052
+ !*** ./models/UpdateEncodingRtmpIngestPointRequest.ts ***!
90053
+ \********************************************************/
90054
+ (__unused_webpack_module, exports, __webpack_require__) {
90055
+
90056
+ "use strict";
90057
+
90058
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
90059
+ exports.UpdateEncodingRtmpIngestPointRequest = void 0;
90060
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
90061
+ var RtmpIngestPoint_1 = __webpack_require__(/*! ./RtmpIngestPoint */ "./models/RtmpIngestPoint.ts");
90062
+ /**
90063
+ * @export
90064
+ * @class UpdateEncodingRtmpIngestPointRequest
90065
+ */
90066
+ var UpdateEncodingRtmpIngestPointRequest = /** @class */ (function () {
90067
+ function UpdateEncodingRtmpIngestPointRequest(obj) {
90068
+ if (!obj) {
90069
+ return;
90070
+ }
90071
+ this.ingestPoints = (0, Mapper_1.mapArray)(obj.ingestPoints, RtmpIngestPoint_1.default);
90072
+ }
90073
+ return UpdateEncodingRtmpIngestPointRequest;
90074
+ }());
90075
+ exports.UpdateEncodingRtmpIngestPointRequest = UpdateEncodingRtmpIngestPointRequest;
90076
+ exports["default"] = UpdateEncodingRtmpIngestPointRequest;
90077
+
90078
+
90079
+ /***/ },
90080
+
90081
+ /***/ "./models/UpdateEncodingRtmpIngestPointResponse.ts"
90082
+ /*!*********************************************************!*\
90083
+ !*** ./models/UpdateEncodingRtmpIngestPointResponse.ts ***!
90084
+ \*********************************************************/
90085
+ (__unused_webpack_module, exports) {
90086
+
90087
+ "use strict";
90088
+
90089
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
90090
+ exports.UpdateEncodingRtmpIngestPointResponse = void 0;
90091
+ /**
90092
+ * @export
90093
+ * @class UpdateEncodingRtmpIngestPointResponse
90094
+ */
90095
+ var UpdateEncodingRtmpIngestPointResponse = /** @class */ (function () {
90096
+ function UpdateEncodingRtmpIngestPointResponse(obj) {
90097
+ if (!obj) {
90098
+ return;
90099
+ }
90100
+ }
90101
+ return UpdateEncodingRtmpIngestPointResponse;
90102
+ }());
90103
+ exports.UpdateEncodingRtmpIngestPointResponse = UpdateEncodingRtmpIngestPointResponse;
90104
+ exports["default"] = UpdateEncodingRtmpIngestPointResponse;
90105
+
90106
+
89576
90107
  /***/ },
89577
90108
 
89578
90109
  /***/ "./models/UpdateOrganizationRequest.ts"
@@ -91713,6 +92244,8 @@ __exportStar(__webpack_require__(/*! ./DeinterlaceMode */ "./models/DeinterlaceM
91713
92244
  __exportStar(__webpack_require__(/*! ./DenoiseHqdn3dFilter */ "./models/DenoiseHqdn3dFilter.ts"), exports);
91714
92245
  __exportStar(__webpack_require__(/*! ./DirectFileUploadInput */ "./models/DirectFileUploadInput.ts"), exports);
91715
92246
  __exportStar(__webpack_require__(/*! ./DisplayAspectRatio */ "./models/DisplayAspectRatio.ts"), exports);
92247
+ __exportStar(__webpack_require__(/*! ./DnsMappingRequest */ "./models/DnsMappingRequest.ts"), exports);
92248
+ __exportStar(__webpack_require__(/*! ./DnsMappingResponse */ "./models/DnsMappingResponse.ts"), exports);
91716
92249
  __exportStar(__webpack_require__(/*! ./DolbyAtmosAudioConfiguration */ "./models/DolbyAtmosAudioConfiguration.ts"), exports);
91717
92250
  __exportStar(__webpack_require__(/*! ./DolbyAtmosDialogueIntelligence */ "./models/DolbyAtmosDialogueIntelligence.ts"), exports);
91718
92251
  __exportStar(__webpack_require__(/*! ./DolbyAtmosDynamicRangeCompression */ "./models/DolbyAtmosDynamicRangeCompression.ts"), exports);
@@ -92253,6 +92786,8 @@ __exportStar(__webpack_require__(/*! ./TuInterDepth */ "./models/TuInterDepth.ts
92253
92786
  __exportStar(__webpack_require__(/*! ./TuIntraDepth */ "./models/TuIntraDepth.ts"), exports);
92254
92787
  __exportStar(__webpack_require__(/*! ./Tweaks */ "./models/Tweaks.ts"), exports);
92255
92788
  __exportStar(__webpack_require__(/*! ./UnsharpFilter */ "./models/UnsharpFilter.ts"), exports);
92789
+ __exportStar(__webpack_require__(/*! ./UpdateEncodingRtmpIngestPointRequest */ "./models/UpdateEncodingRtmpIngestPointRequest.ts"), exports);
92790
+ __exportStar(__webpack_require__(/*! ./UpdateEncodingRtmpIngestPointResponse */ "./models/UpdateEncodingRtmpIngestPointResponse.ts"), exports);
92256
92791
  __exportStar(__webpack_require__(/*! ./UpdateOrganizationRequest */ "./models/UpdateOrganizationRequest.ts"), exports);
92257
92792
  __exportStar(__webpack_require__(/*! ./UtcTiming */ "./models/UtcTiming.ts"), exports);
92258
92793
  __exportStar(__webpack_require__(/*! ./VariantStreamDroppingMode */ "./models/VariantStreamDroppingMode.ts"), exports);