@bitmovin/api-sdk 1.187.1 → 1.189.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/analytics/impressions/ImpressionsApi.d.ts +0 -10
- package/dist/analytics/impressions/ImpressionsApi.js +0 -16
- package/dist/bitmovin-api-sdk.browser.js +297 -235
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/configurations/audio/ac3/customdata/CustomdataApi.d.ts +1 -1
- package/dist/encoding/configurations/audio/ac3/customdata/CustomdataApi.js +1 -1
- package/dist/models/CencFairPlay.d.ts +1 -1
- package/dist/models/StreamsDomainRestrictionCreateRequest.d.ts +26 -0
- package/dist/models/StreamsDomainRestrictionCreateRequest.js +21 -0
- package/dist/models/StreamsDomainRestrictionUpdateRequest.d.ts +26 -0
- package/dist/models/StreamsDomainRestrictionUpdateRequest.js +21 -0
- package/dist/models/index.d.ts +2 -3
- package/dist/models/index.js +2 -3
- package/dist/notifications/webhooks/encoding/manifest/error/ErrorApi.d.ts +7 -0
- package/dist/notifications/webhooks/encoding/manifest/error/ErrorApi.js +11 -0
- package/dist/notifications/webhooks/encoding/manifest/finished/FinishedApi.d.ts +7 -0
- package/dist/notifications/webhooks/encoding/manifest/finished/FinishedApi.js +11 -0
- package/dist/streams/StreamsApi.d.ts +2 -0
- package/dist/streams/StreamsApi.js +2 -0
- package/dist/streams/config/ConfigApi.d.ts +13 -0
- package/dist/{models/AnalyticsImpressionDetails.js → streams/config/ConfigApi.js} +13 -13
- package/dist/streams/config/domainRestriction/DomainRestrictionApi.d.ts +52 -0
- package/dist/streams/config/domainRestriction/DomainRestrictionApi.js +108 -0
- package/dist/streams/config/domainRestriction/StreamsDomainRestrictionResponseListQueryParams.d.ts +28 -0
- package/dist/streams/config/domainRestriction/StreamsDomainRestrictionResponseListQueryParams.js +29 -0
- package/package.json +1 -1
- package/dist/models/AnalyticsImpressionDetails.d.ts +0 -9
- package/dist/models/AnalyticsImpressionSample.d.ts +0 -687
- package/dist/models/AnalyticsImpressionSample.js +0 -131
- package/dist/models/AnalyticsVideoStartFailedReason.d.ts +0 -11
- package/dist/models/AnalyticsVideoStartFailedReason.js +0 -15
|
@@ -3174,7 +3174,6 @@ var BaseAPI_1 = __webpack_require__(/*! ../../common/BaseAPI */ "./common/BaseAP
|
|
|
3174
3174
|
var Mapper_1 = __webpack_require__(/*! ../../common/Mapper */ "./common/Mapper.ts");
|
|
3175
3175
|
var AdsApi_1 = __webpack_require__(/*! ./ads/AdsApi */ "./analytics/impressions/ads/AdsApi.ts");
|
|
3176
3176
|
var ErrorsApi_1 = __webpack_require__(/*! ./errors/ErrorsApi */ "./analytics/impressions/errors/ErrorsApi.ts");
|
|
3177
|
-
var AnalyticsImpressionDetails_1 = __webpack_require__(/*! ../../models/AnalyticsImpressionDetails */ "./models/AnalyticsImpressionDetails.ts");
|
|
3178
3177
|
var AnalyticsImpressionsResponse_1 = __webpack_require__(/*! ../../models/AnalyticsImpressionsResponse */ "./models/AnalyticsImpressionsResponse.ts");
|
|
3179
3178
|
/**
|
|
3180
3179
|
* ImpressionsApi - object-oriented interface
|
|
@@ -3190,21 +3189,6 @@ var ImpressionsApi = /** @class */ (function (_super) {
|
|
|
3190
3189
|
_this.errors = new ErrorsApi_1.default(configuration);
|
|
3191
3190
|
return _this;
|
|
3192
3191
|
}
|
|
3193
|
-
/**
|
|
3194
|
-
* @summary Impression Details
|
|
3195
|
-
* @param {string} impressionId Impression id
|
|
3196
|
-
* @param {AnalyticsLicenseKey} analyticsLicenseKey Analytics license
|
|
3197
|
-
* @throws {BitmovinError}
|
|
3198
|
-
* @memberof ImpressionsApi
|
|
3199
|
-
*/
|
|
3200
|
-
ImpressionsApi.prototype.create = function (impressionId, analyticsLicenseKey) {
|
|
3201
|
-
var pathParamMap = {
|
|
3202
|
-
impression_id: impressionId
|
|
3203
|
-
};
|
|
3204
|
-
return this.restClient.post('/analytics/impressions/{impression_id}', pathParamMap, analyticsLicenseKey).then(function (response) {
|
|
3205
|
-
return (0, Mapper_1.map)(response, AnalyticsImpressionDetails_1.default);
|
|
3206
|
-
});
|
|
3207
|
-
};
|
|
3208
3192
|
/**
|
|
3209
3193
|
* @summary List impressions
|
|
3210
3194
|
* @param {AnalyticsImpressionsQuery} analyticsImpressionsQuery Analytics impressions query object
|
|
@@ -6109,7 +6093,7 @@ var HeaderHandler = /** @class */ (function (_super) {
|
|
|
6109
6093
|
var headers = {
|
|
6110
6094
|
'X-Api-Key': apiKey,
|
|
6111
6095
|
'X-Api-Client': 'bitmovin-api-sdk-javascript',
|
|
6112
|
-
'X-Api-Client-Version': '1.
|
|
6096
|
+
'X-Api-Client-Version': '1.189.0',
|
|
6113
6097
|
'Content-Type': 'application/json'
|
|
6114
6098
|
};
|
|
6115
6099
|
if (tenantOrgId) {
|
|
@@ -6962,7 +6946,7 @@ var CustomdataApi = /** @class */ (function (_super) {
|
|
|
6962
6946
|
return _super.call(this, configuration) || this;
|
|
6963
6947
|
}
|
|
6964
6948
|
/**
|
|
6965
|
-
* @summary AC3 Codec Configuration Custom Data.
|
|
6949
|
+
* @summary AC3 Codec Configuration Custom Data.
|
|
6966
6950
|
* @param {string} configurationId Id of the codec configuration
|
|
6967
6951
|
* @throws {BitmovinError}
|
|
6968
6952
|
* @memberof CustomdataApi
|
|
@@ -56743,52 +56727,6 @@ var AnalyticsHttpRequestType;
|
|
|
56743
56727
|
exports["default"] = AnalyticsHttpRequestType;
|
|
56744
56728
|
|
|
56745
56729
|
|
|
56746
|
-
/***/ }),
|
|
56747
|
-
|
|
56748
|
-
/***/ "./models/AnalyticsImpressionDetails.ts":
|
|
56749
|
-
/*!**********************************************!*\
|
|
56750
|
-
!*** ./models/AnalyticsImpressionDetails.ts ***!
|
|
56751
|
-
\**********************************************/
|
|
56752
|
-
/***/ (function(__unused_webpack_module, exports) {
|
|
56753
|
-
|
|
56754
|
-
"use strict";
|
|
56755
|
-
|
|
56756
|
-
var __extends = (this && this.__extends) || (function () {
|
|
56757
|
-
var extendStatics = function (d, b) {
|
|
56758
|
-
extendStatics = Object.setPrototypeOf ||
|
|
56759
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
56760
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
56761
|
-
return extendStatics(d, b);
|
|
56762
|
-
};
|
|
56763
|
-
return function (d, b) {
|
|
56764
|
-
if (typeof b !== "function" && b !== null)
|
|
56765
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
56766
|
-
extendStatics(d, b);
|
|
56767
|
-
function __() { this.constructor = d; }
|
|
56768
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
56769
|
-
};
|
|
56770
|
-
})();
|
|
56771
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56772
|
-
exports.AnalyticsImpressionDetails = void 0;
|
|
56773
|
-
/**
|
|
56774
|
-
* @export
|
|
56775
|
-
* @class AnalyticsImpressionDetails
|
|
56776
|
-
*/
|
|
56777
|
-
var AnalyticsImpressionDetails = /** @class */ (function (_super) {
|
|
56778
|
-
__extends(AnalyticsImpressionDetails, _super);
|
|
56779
|
-
function AnalyticsImpressionDetails(obj) {
|
|
56780
|
-
var _this = _super.call(this, obj) || this;
|
|
56781
|
-
if (!obj) {
|
|
56782
|
-
return _this;
|
|
56783
|
-
}
|
|
56784
|
-
return _this;
|
|
56785
|
-
}
|
|
56786
|
-
return AnalyticsImpressionDetails;
|
|
56787
|
-
}(Array));
|
|
56788
|
-
exports.AnalyticsImpressionDetails = AnalyticsImpressionDetails;
|
|
56789
|
-
exports["default"] = AnalyticsImpressionDetails;
|
|
56790
|
-
|
|
56791
|
-
|
|
56792
56730
|
/***/ }),
|
|
56793
56731
|
|
|
56794
56732
|
/***/ "./models/AnalyticsImpressionListItem.ts":
|
|
@@ -56819,148 +56757,6 @@ exports.AnalyticsImpressionListItem = AnalyticsImpressionListItem;
|
|
|
56819
56757
|
exports["default"] = AnalyticsImpressionListItem;
|
|
56820
56758
|
|
|
56821
56759
|
|
|
56822
|
-
/***/ }),
|
|
56823
|
-
|
|
56824
|
-
/***/ "./models/AnalyticsImpressionSample.ts":
|
|
56825
|
-
/*!*********************************************!*\
|
|
56826
|
-
!*** ./models/AnalyticsImpressionSample.ts ***!
|
|
56827
|
-
\*********************************************/
|
|
56828
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
56829
|
-
|
|
56830
|
-
"use strict";
|
|
56831
|
-
|
|
56832
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
56833
|
-
exports.AnalyticsImpressionSample = void 0;
|
|
56834
|
-
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
56835
|
-
/**
|
|
56836
|
-
* @export
|
|
56837
|
-
* @class AnalyticsImpressionSample
|
|
56838
|
-
*/
|
|
56839
|
-
var AnalyticsImpressionSample = /** @class */ (function () {
|
|
56840
|
-
function AnalyticsImpressionSample(obj) {
|
|
56841
|
-
if (!obj) {
|
|
56842
|
-
return;
|
|
56843
|
-
}
|
|
56844
|
-
this.ad = (0, Mapper_1.map)(obj.ad);
|
|
56845
|
-
this.analyticsVersion = (0, Mapper_1.map)(obj.analyticsVersion);
|
|
56846
|
-
this.audioBitrate = (0, Mapper_1.map)(obj.audioBitrate);
|
|
56847
|
-
this.audioCodec = (0, Mapper_1.map)(obj.audioCodec);
|
|
56848
|
-
this.audioLanguage = (0, Mapper_1.map)(obj.audioLanguage);
|
|
56849
|
-
this.autoplay = (0, Mapper_1.map)(obj.autoplay);
|
|
56850
|
-
this.browser = (0, Mapper_1.map)(obj.browser);
|
|
56851
|
-
this.browserVersionMajor = (0, Mapper_1.map)(obj.browserVersionMajor);
|
|
56852
|
-
this.browserVersionMinor = (0, Mapper_1.map)(obj.browserVersionMinor);
|
|
56853
|
-
this.buffered = (0, Mapper_1.map)(obj.buffered);
|
|
56854
|
-
this.cdnProvider = (0, Mapper_1.map)(obj.cdnProvider);
|
|
56855
|
-
this.castTech = (0, Mapper_1.map)(obj.castTech);
|
|
56856
|
-
this.city = (0, Mapper_1.map)(obj.city);
|
|
56857
|
-
this.clientTime = (0, Mapper_1.map)(obj.clientTime);
|
|
56858
|
-
this.country = (0, Mapper_1.map)(obj.country);
|
|
56859
|
-
this.customUserId = (0, Mapper_1.map)(obj.customUserId);
|
|
56860
|
-
this.customData1 = (0, Mapper_1.map)(obj.customData1);
|
|
56861
|
-
this.customData2 = (0, Mapper_1.map)(obj.customData2);
|
|
56862
|
-
this.customData3 = (0, Mapper_1.map)(obj.customData3);
|
|
56863
|
-
this.customData4 = (0, Mapper_1.map)(obj.customData4);
|
|
56864
|
-
this.customData5 = (0, Mapper_1.map)(obj.customData5);
|
|
56865
|
-
this.customData6 = (0, Mapper_1.map)(obj.customData6);
|
|
56866
|
-
this.customData7 = (0, Mapper_1.map)(obj.customData7);
|
|
56867
|
-
this.customData8 = (0, Mapper_1.map)(obj.customData8);
|
|
56868
|
-
this.customData9 = (0, Mapper_1.map)(obj.customData9);
|
|
56869
|
-
this.customData10 = (0, Mapper_1.map)(obj.customData10);
|
|
56870
|
-
this.customData11 = (0, Mapper_1.map)(obj.customData11);
|
|
56871
|
-
this.customData12 = (0, Mapper_1.map)(obj.customData12);
|
|
56872
|
-
this.customData13 = (0, Mapper_1.map)(obj.customData13);
|
|
56873
|
-
this.customData14 = (0, Mapper_1.map)(obj.customData14);
|
|
56874
|
-
this.customData15 = (0, Mapper_1.map)(obj.customData15);
|
|
56875
|
-
this.customData16 = (0, Mapper_1.map)(obj.customData16);
|
|
56876
|
-
this.customData17 = (0, Mapper_1.map)(obj.customData17);
|
|
56877
|
-
this.customData18 = (0, Mapper_1.map)(obj.customData18);
|
|
56878
|
-
this.customData19 = (0, Mapper_1.map)(obj.customData19);
|
|
56879
|
-
this.customData20 = (0, Mapper_1.map)(obj.customData20);
|
|
56880
|
-
this.customData21 = (0, Mapper_1.map)(obj.customData21);
|
|
56881
|
-
this.customData22 = (0, Mapper_1.map)(obj.customData22);
|
|
56882
|
-
this.customData23 = (0, Mapper_1.map)(obj.customData23);
|
|
56883
|
-
this.customData24 = (0, Mapper_1.map)(obj.customData24);
|
|
56884
|
-
this.customData25 = (0, Mapper_1.map)(obj.customData25);
|
|
56885
|
-
this.customData26 = (0, Mapper_1.map)(obj.customData26);
|
|
56886
|
-
this.customData27 = (0, Mapper_1.map)(obj.customData27);
|
|
56887
|
-
this.customData28 = (0, Mapper_1.map)(obj.customData28);
|
|
56888
|
-
this.customData29 = (0, Mapper_1.map)(obj.customData29);
|
|
56889
|
-
this.customData30 = (0, Mapper_1.map)(obj.customData30);
|
|
56890
|
-
this.deviceClass = (0, Mapper_1.map)(obj.deviceClass);
|
|
56891
|
-
this.deviceType = (0, Mapper_1.map)(obj.deviceType);
|
|
56892
|
-
this.domain = (0, Mapper_1.map)(obj.domain);
|
|
56893
|
-
this.drmLoadTime = (0, Mapper_1.map)(obj.drmLoadTime);
|
|
56894
|
-
this.drmType = (0, Mapper_1.map)(obj.drmType);
|
|
56895
|
-
this.droppedFrames = (0, Mapper_1.map)(obj.droppedFrames);
|
|
56896
|
-
this.duration = (0, Mapper_1.map)(obj.duration);
|
|
56897
|
-
this.errorCode = (0, Mapper_1.map)(obj.errorCode);
|
|
56898
|
-
this.errorMessage = (0, Mapper_1.map)(obj.errorMessage);
|
|
56899
|
-
this.experimentName = (0, Mapper_1.map)(obj.experimentName);
|
|
56900
|
-
this.impressionId = (0, Mapper_1.map)(obj.impressionId);
|
|
56901
|
-
this.ipAddress = (0, Mapper_1.map)(obj.ipAddress);
|
|
56902
|
-
this.isCasting = (0, Mapper_1.map)(obj.isCasting);
|
|
56903
|
-
this.isLive = (0, Mapper_1.map)(obj.isLive);
|
|
56904
|
-
this.isMuted = (0, Mapper_1.map)(obj.isMuted);
|
|
56905
|
-
this.isp = (0, Mapper_1.map)(obj.isp);
|
|
56906
|
-
this.language = (0, Mapper_1.map)(obj.language);
|
|
56907
|
-
this.licenseKey = (0, Mapper_1.map)(obj.licenseKey);
|
|
56908
|
-
this.m3u8Url = (0, Mapper_1.map)(obj.m3u8Url);
|
|
56909
|
-
this.mpdUrl = (0, Mapper_1.map)(obj.mpdUrl);
|
|
56910
|
-
this.operatingsystem = (0, Mapper_1.map)(obj.operatingsystem);
|
|
56911
|
-
this.operatingsystemVersionMajor = (0, Mapper_1.map)(obj.operatingsystemVersionMajor);
|
|
56912
|
-
this.operatingsystemVersionMinor = (0, Mapper_1.map)(obj.operatingsystemVersionMinor);
|
|
56913
|
-
this.pageLoadTime = (0, Mapper_1.map)(obj.pageLoadTime);
|
|
56914
|
-
this.pageLoadType = (0, Mapper_1.map)(obj.pageLoadType);
|
|
56915
|
-
this.path = (0, Mapper_1.map)(obj.path);
|
|
56916
|
-
this.paused = (0, Mapper_1.map)(obj.paused);
|
|
56917
|
-
this.platform = (0, Mapper_1.map)(obj.platform);
|
|
56918
|
-
this.played = (0, Mapper_1.map)(obj.played);
|
|
56919
|
-
this.player = (0, Mapper_1.map)(obj.player);
|
|
56920
|
-
this.playerKey = (0, Mapper_1.map)(obj.playerKey);
|
|
56921
|
-
this.playerStartuptime = (0, Mapper_1.map)(obj.playerStartuptime);
|
|
56922
|
-
this.playerTech = (0, Mapper_1.map)(obj.playerTech);
|
|
56923
|
-
this.playerVersion = (0, Mapper_1.map)(obj.playerVersion);
|
|
56924
|
-
this.progUrl = (0, Mapper_1.map)(obj.progUrl);
|
|
56925
|
-
this.region = (0, Mapper_1.map)(obj.region);
|
|
56926
|
-
this.screenHeight = (0, Mapper_1.map)(obj.screenHeight);
|
|
56927
|
-
this.screenWidth = (0, Mapper_1.map)(obj.screenWidth);
|
|
56928
|
-
this.screenOrientation = (0, Mapper_1.map)(obj.screenOrientation);
|
|
56929
|
-
this.seeked = (0, Mapper_1.map)(obj.seeked);
|
|
56930
|
-
this.segmentDownloadCount = (0, Mapper_1.map)(obj.segmentDownloadCount);
|
|
56931
|
-
this.segmentDownloadSize = (0, Mapper_1.map)(obj.segmentDownloadSize);
|
|
56932
|
-
this.segmentDownloadTime = (0, Mapper_1.map)(obj.segmentDownloadTime);
|
|
56933
|
-
this.sequenceNumber = (0, Mapper_1.map)(obj.sequenceNumber);
|
|
56934
|
-
this.size = (0, Mapper_1.map)(obj.size);
|
|
56935
|
-
this.startuptime = (0, Mapper_1.map)(obj.startuptime);
|
|
56936
|
-
this.state = (0, Mapper_1.map)(obj.state);
|
|
56937
|
-
this.streamFormat = (0, Mapper_1.map)(obj.streamFormat);
|
|
56938
|
-
this.subtitleEnabled = (0, Mapper_1.map)(obj.subtitleEnabled);
|
|
56939
|
-
this.subtitleLanguage = (0, Mapper_1.map)(obj.subtitleLanguage);
|
|
56940
|
-
this.supportedVideoCodes = (0, Mapper_1.mapArray)(obj.supportedVideoCodes);
|
|
56941
|
-
this.time = (0, Mapper_1.map)(obj.time);
|
|
56942
|
-
this.userId = (0, Mapper_1.map)(obj.userId);
|
|
56943
|
-
this.videoBitrate = (0, Mapper_1.map)(obj.videoBitrate);
|
|
56944
|
-
this.videoCodec = (0, Mapper_1.map)(obj.videoCodec);
|
|
56945
|
-
this.videoDuration = (0, Mapper_1.map)(obj.videoDuration);
|
|
56946
|
-
this.videoId = (0, Mapper_1.map)(obj.videoId);
|
|
56947
|
-
this.videoTitle = (0, Mapper_1.map)(obj.videoTitle);
|
|
56948
|
-
this.videoPlaybackHeight = (0, Mapper_1.map)(obj.videoPlaybackHeight);
|
|
56949
|
-
this.videoPlaybackWidth = (0, Mapper_1.map)(obj.videoPlaybackWidth);
|
|
56950
|
-
this.videoStartuptime = (0, Mapper_1.map)(obj.videoStartuptime);
|
|
56951
|
-
this.videotimeEnd = (0, Mapper_1.map)(obj.videotimeEnd);
|
|
56952
|
-
this.videotimeStart = (0, Mapper_1.map)(obj.videotimeStart);
|
|
56953
|
-
this.videoWindowHeight = (0, Mapper_1.map)(obj.videoWindowHeight);
|
|
56954
|
-
this.videoWindowWidth = (0, Mapper_1.map)(obj.videoWindowWidth);
|
|
56955
|
-
this.videostartFailed = (0, Mapper_1.map)(obj.videostartFailed);
|
|
56956
|
-
this.videostartFailedReason = (0, Mapper_1.map)(obj.videostartFailedReason);
|
|
56957
|
-
}
|
|
56958
|
-
return AnalyticsImpressionSample;
|
|
56959
|
-
}());
|
|
56960
|
-
exports.AnalyticsImpressionSample = AnalyticsImpressionSample;
|
|
56961
|
-
exports["default"] = AnalyticsImpressionSample;
|
|
56962
|
-
|
|
56963
|
-
|
|
56964
56760
|
/***/ }),
|
|
56965
56761
|
|
|
56966
56762
|
/***/ "./models/AnalyticsImpressionsQuery.ts":
|
|
@@ -58442,32 +58238,6 @@ exports.AnalyticsVarianceQueryRequest = AnalyticsVarianceQueryRequest;
|
|
|
58442
58238
|
exports["default"] = AnalyticsVarianceQueryRequest;
|
|
58443
58239
|
|
|
58444
58240
|
|
|
58445
|
-
/***/ }),
|
|
58446
|
-
|
|
58447
|
-
/***/ "./models/AnalyticsVideoStartFailedReason.ts":
|
|
58448
|
-
/*!***************************************************!*\
|
|
58449
|
-
!*** ./models/AnalyticsVideoStartFailedReason.ts ***!
|
|
58450
|
-
\***************************************************/
|
|
58451
|
-
/***/ ((__unused_webpack_module, exports) => {
|
|
58452
|
-
|
|
58453
|
-
"use strict";
|
|
58454
|
-
|
|
58455
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
58456
|
-
exports.AnalyticsVideoStartFailedReason = void 0;
|
|
58457
|
-
/**
|
|
58458
|
-
* @export
|
|
58459
|
-
* @enum {string}
|
|
58460
|
-
*/
|
|
58461
|
-
var AnalyticsVideoStartFailedReason;
|
|
58462
|
-
(function (AnalyticsVideoStartFailedReason) {
|
|
58463
|
-
AnalyticsVideoStartFailedReason["PAGE_CLOSED"] = "PAGE_CLOSED";
|
|
58464
|
-
AnalyticsVideoStartFailedReason["PLAYER_ERROR"] = "PLAYER_ERROR";
|
|
58465
|
-
AnalyticsVideoStartFailedReason["TIMEOUT"] = "TIMEOUT";
|
|
58466
|
-
AnalyticsVideoStartFailedReason["UNKNOWN"] = "UNKNOWN";
|
|
58467
|
-
})(AnalyticsVideoStartFailedReason || (exports.AnalyticsVideoStartFailedReason = AnalyticsVideoStartFailedReason = {}));
|
|
58468
|
-
exports["default"] = AnalyticsVideoStartFailedReason;
|
|
58469
|
-
|
|
58470
|
-
|
|
58471
58241
|
/***/ }),
|
|
58472
58242
|
|
|
58473
58243
|
/***/ "./models/AnalyticsVirtualLicense.ts":
|
|
@@ -82991,6 +82761,38 @@ exports.StreamsAdConfigResponse = StreamsAdConfigResponse;
|
|
|
82991
82761
|
exports["default"] = StreamsAdConfigResponse;
|
|
82992
82762
|
|
|
82993
82763
|
|
|
82764
|
+
/***/ }),
|
|
82765
|
+
|
|
82766
|
+
/***/ "./models/StreamsDomainRestrictionCreateRequest.ts":
|
|
82767
|
+
/*!*********************************************************!*\
|
|
82768
|
+
!*** ./models/StreamsDomainRestrictionCreateRequest.ts ***!
|
|
82769
|
+
\*********************************************************/
|
|
82770
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
82771
|
+
|
|
82772
|
+
"use strict";
|
|
82773
|
+
|
|
82774
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
82775
|
+
exports.StreamsDomainRestrictionCreateRequest = void 0;
|
|
82776
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
82777
|
+
/**
|
|
82778
|
+
* @export
|
|
82779
|
+
* @class StreamsDomainRestrictionCreateRequest
|
|
82780
|
+
*/
|
|
82781
|
+
var StreamsDomainRestrictionCreateRequest = /** @class */ (function () {
|
|
82782
|
+
function StreamsDomainRestrictionCreateRequest(obj) {
|
|
82783
|
+
if (!obj) {
|
|
82784
|
+
return;
|
|
82785
|
+
}
|
|
82786
|
+
this.allowedDomains = (0, Mapper_1.mapArray)(obj.allowedDomains);
|
|
82787
|
+
this.allowNoReferer = (0, Mapper_1.map)(obj.allowNoReferer);
|
|
82788
|
+
this.allowShare = (0, Mapper_1.map)(obj.allowShare);
|
|
82789
|
+
}
|
|
82790
|
+
return StreamsDomainRestrictionCreateRequest;
|
|
82791
|
+
}());
|
|
82792
|
+
exports.StreamsDomainRestrictionCreateRequest = StreamsDomainRestrictionCreateRequest;
|
|
82793
|
+
exports["default"] = StreamsDomainRestrictionCreateRequest;
|
|
82794
|
+
|
|
82795
|
+
|
|
82994
82796
|
/***/ }),
|
|
82995
82797
|
|
|
82996
82798
|
/***/ "./models/StreamsDomainRestrictionResponse.ts":
|
|
@@ -83024,6 +82826,38 @@ exports.StreamsDomainRestrictionResponse = StreamsDomainRestrictionResponse;
|
|
|
83024
82826
|
exports["default"] = StreamsDomainRestrictionResponse;
|
|
83025
82827
|
|
|
83026
82828
|
|
|
82829
|
+
/***/ }),
|
|
82830
|
+
|
|
82831
|
+
/***/ "./models/StreamsDomainRestrictionUpdateRequest.ts":
|
|
82832
|
+
/*!*********************************************************!*\
|
|
82833
|
+
!*** ./models/StreamsDomainRestrictionUpdateRequest.ts ***!
|
|
82834
|
+
\*********************************************************/
|
|
82835
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
82836
|
+
|
|
82837
|
+
"use strict";
|
|
82838
|
+
|
|
82839
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
82840
|
+
exports.StreamsDomainRestrictionUpdateRequest = void 0;
|
|
82841
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
82842
|
+
/**
|
|
82843
|
+
* @export
|
|
82844
|
+
* @class StreamsDomainRestrictionUpdateRequest
|
|
82845
|
+
*/
|
|
82846
|
+
var StreamsDomainRestrictionUpdateRequest = /** @class */ (function () {
|
|
82847
|
+
function StreamsDomainRestrictionUpdateRequest(obj) {
|
|
82848
|
+
if (!obj) {
|
|
82849
|
+
return;
|
|
82850
|
+
}
|
|
82851
|
+
this.allowedDomains = (0, Mapper_1.mapArray)(obj.allowedDomains);
|
|
82852
|
+
this.allowNoReferer = (0, Mapper_1.map)(obj.allowNoReferer);
|
|
82853
|
+
this.allowShare = (0, Mapper_1.map)(obj.allowShare);
|
|
82854
|
+
}
|
|
82855
|
+
return StreamsDomainRestrictionUpdateRequest;
|
|
82856
|
+
}());
|
|
82857
|
+
exports.StreamsDomainRestrictionUpdateRequest = StreamsDomainRestrictionUpdateRequest;
|
|
82858
|
+
exports["default"] = StreamsDomainRestrictionUpdateRequest;
|
|
82859
|
+
|
|
82860
|
+
|
|
83027
82861
|
/***/ }),
|
|
83028
82862
|
|
|
83029
82863
|
/***/ "./models/StreamsEncodingProfile.ts":
|
|
@@ -87073,9 +86907,7 @@ __exportStar(__webpack_require__(/*! ./AnalyticsGreaterThanFilter */ "./models/A
|
|
|
87073
86907
|
__exportStar(__webpack_require__(/*! ./AnalyticsGreaterThanOrEqualFilter */ "./models/AnalyticsGreaterThanOrEqualFilter.ts"), exports);
|
|
87074
86908
|
__exportStar(__webpack_require__(/*! ./AnalyticsHttpRequest */ "./models/AnalyticsHttpRequest.ts"), exports);
|
|
87075
86909
|
__exportStar(__webpack_require__(/*! ./AnalyticsHttpRequestType */ "./models/AnalyticsHttpRequestType.ts"), exports);
|
|
87076
|
-
__exportStar(__webpack_require__(/*! ./AnalyticsImpressionDetails */ "./models/AnalyticsImpressionDetails.ts"), exports);
|
|
87077
86910
|
__exportStar(__webpack_require__(/*! ./AnalyticsImpressionListItem */ "./models/AnalyticsImpressionListItem.ts"), exports);
|
|
87078
|
-
__exportStar(__webpack_require__(/*! ./AnalyticsImpressionSample */ "./models/AnalyticsImpressionSample.ts"), exports);
|
|
87079
86911
|
__exportStar(__webpack_require__(/*! ./AnalyticsImpressionsQuery */ "./models/AnalyticsImpressionsQuery.ts"), exports);
|
|
87080
86912
|
__exportStar(__webpack_require__(/*! ./AnalyticsImpressionsResponse */ "./models/AnalyticsImpressionsResponse.ts"), exports);
|
|
87081
86913
|
__exportStar(__webpack_require__(/*! ./AnalyticsInFilter */ "./models/AnalyticsInFilter.ts"), exports);
|
|
@@ -87110,7 +86942,6 @@ __exportStar(__webpack_require__(/*! ./AnalyticsS3RoleBasedOutput */ "./models/A
|
|
|
87110
86942
|
__exportStar(__webpack_require__(/*! ./AnalyticsStddevQueryRequest */ "./models/AnalyticsStddevQueryRequest.ts"), exports);
|
|
87111
86943
|
__exportStar(__webpack_require__(/*! ./AnalyticsSumQueryRequest */ "./models/AnalyticsSumQueryRequest.ts"), exports);
|
|
87112
86944
|
__exportStar(__webpack_require__(/*! ./AnalyticsVarianceQueryRequest */ "./models/AnalyticsVarianceQueryRequest.ts"), exports);
|
|
87113
|
-
__exportStar(__webpack_require__(/*! ./AnalyticsVideoStartFailedReason */ "./models/AnalyticsVideoStartFailedReason.ts"), exports);
|
|
87114
86945
|
__exportStar(__webpack_require__(/*! ./AnalyticsVirtualLicense */ "./models/AnalyticsVirtualLicense.ts"), exports);
|
|
87115
86946
|
__exportStar(__webpack_require__(/*! ./AnalyticsVirtualLicenseLicensesListItem */ "./models/AnalyticsVirtualLicenseLicensesListItem.ts"), exports);
|
|
87116
86947
|
__exportStar(__webpack_require__(/*! ./AnalyticsVirtualLicenseRequest */ "./models/AnalyticsVirtualLicenseRequest.ts"), exports);
|
|
@@ -87721,7 +87552,9 @@ __exportStar(__webpack_require__(/*! ./StreamPerTitleSettings */ "./models/Strea
|
|
|
87721
87552
|
__exportStar(__webpack_require__(/*! ./StreamSelectionMode */ "./models/StreamSelectionMode.ts"), exports);
|
|
87722
87553
|
__exportStar(__webpack_require__(/*! ./StreamsAdConfigAd */ "./models/StreamsAdConfigAd.ts"), exports);
|
|
87723
87554
|
__exportStar(__webpack_require__(/*! ./StreamsAdConfigResponse */ "./models/StreamsAdConfigResponse.ts"), exports);
|
|
87555
|
+
__exportStar(__webpack_require__(/*! ./StreamsDomainRestrictionCreateRequest */ "./models/StreamsDomainRestrictionCreateRequest.ts"), exports);
|
|
87724
87556
|
__exportStar(__webpack_require__(/*! ./StreamsDomainRestrictionResponse */ "./models/StreamsDomainRestrictionResponse.ts"), exports);
|
|
87557
|
+
__exportStar(__webpack_require__(/*! ./StreamsDomainRestrictionUpdateRequest */ "./models/StreamsDomainRestrictionUpdateRequest.ts"), exports);
|
|
87725
87558
|
__exportStar(__webpack_require__(/*! ./StreamsEncodingProfile */ "./models/StreamsEncodingProfile.ts"), exports);
|
|
87726
87559
|
__exportStar(__webpack_require__(/*! ./StreamsLiveCreateRequest */ "./models/StreamsLiveCreateRequest.ts"), exports);
|
|
87727
87560
|
__exportStar(__webpack_require__(/*! ./StreamsLiveLifeCycle */ "./models/StreamsLiveLifeCycle.ts"), exports);
|
|
@@ -90249,6 +90082,7 @@ var BaseAPI_1 = __webpack_require__(/*! ../../../../../common/BaseAPI */ "./comm
|
|
|
90249
90082
|
var Mapper_1 = __webpack_require__(/*! ../../../../../common/Mapper */ "./common/Mapper.ts");
|
|
90250
90083
|
var BitmovinResponse_1 = __webpack_require__(/*! ../../../../../models/BitmovinResponse */ "./models/BitmovinResponse.ts");
|
|
90251
90084
|
var Webhook_1 = __webpack_require__(/*! ../../../../../models/Webhook */ "./models/Webhook.ts");
|
|
90085
|
+
var PaginationResponse_1 = __webpack_require__(/*! ../../../../../models/PaginationResponse */ "./models/PaginationResponse.ts");
|
|
90252
90086
|
/**
|
|
90253
90087
|
* ErrorApi - object-oriented interface
|
|
90254
90088
|
* @export
|
|
@@ -90300,6 +90134,16 @@ var ErrorApi = /** @class */ (function (_super) {
|
|
|
90300
90134
|
return (0, Mapper_1.map)(response, BitmovinResponse_1.default);
|
|
90301
90135
|
});
|
|
90302
90136
|
};
|
|
90137
|
+
/**
|
|
90138
|
+
* @summary Get 'Manifest Error' Webhooks (All Manifests)
|
|
90139
|
+
* @throws {BitmovinError}
|
|
90140
|
+
* @memberof ErrorApi
|
|
90141
|
+
*/
|
|
90142
|
+
ErrorApi.prototype.list = function () {
|
|
90143
|
+
return this.restClient.get('/notifications/webhooks/encoding/manifest/error', {}).then(function (response) {
|
|
90144
|
+
return new PaginationResponse_1.default(response, Webhook_1.default);
|
|
90145
|
+
});
|
|
90146
|
+
};
|
|
90303
90147
|
/**
|
|
90304
90148
|
* @summary Replace 'Manifest Error' Webhook Notification
|
|
90305
90149
|
* @param {string} notificationId Id of the webhook notification
|
|
@@ -90350,6 +90194,7 @@ var BaseAPI_1 = __webpack_require__(/*! ../../../../../common/BaseAPI */ "./comm
|
|
|
90350
90194
|
var Mapper_1 = __webpack_require__(/*! ../../../../../common/Mapper */ "./common/Mapper.ts");
|
|
90351
90195
|
var BitmovinResponse_1 = __webpack_require__(/*! ../../../../../models/BitmovinResponse */ "./models/BitmovinResponse.ts");
|
|
90352
90196
|
var Webhook_1 = __webpack_require__(/*! ../../../../../models/Webhook */ "./models/Webhook.ts");
|
|
90197
|
+
var PaginationResponse_1 = __webpack_require__(/*! ../../../../../models/PaginationResponse */ "./models/PaginationResponse.ts");
|
|
90353
90198
|
/**
|
|
90354
90199
|
* FinishedApi - object-oriented interface
|
|
90355
90200
|
* @export
|
|
@@ -90401,6 +90246,16 @@ var FinishedApi = /** @class */ (function (_super) {
|
|
|
90401
90246
|
return (0, Mapper_1.map)(response, BitmovinResponse_1.default);
|
|
90402
90247
|
});
|
|
90403
90248
|
};
|
|
90249
|
+
/**
|
|
90250
|
+
* @summary Get 'Manifest Finished' Webhooks (All Manifests)
|
|
90251
|
+
* @throws {BitmovinError}
|
|
90252
|
+
* @memberof FinishedApi
|
|
90253
|
+
*/
|
|
90254
|
+
FinishedApi.prototype.list = function () {
|
|
90255
|
+
return this.restClient.get('/notifications/webhooks/encoding/manifest/finished', {}).then(function (response) {
|
|
90256
|
+
return new PaginationResponse_1.default(response, Webhook_1.default);
|
|
90257
|
+
});
|
|
90258
|
+
};
|
|
90404
90259
|
/**
|
|
90405
90260
|
* @summary Replace Manifest Finished Webhook Notification
|
|
90406
90261
|
* @param {string} notificationId Id of the webhook notification
|
|
@@ -91435,6 +91290,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
91435
91290
|
var BaseAPI_1 = __webpack_require__(/*! ../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
91436
91291
|
var VideoApi_1 = __webpack_require__(/*! ./video/VideoApi */ "./streams/video/VideoApi.ts");
|
|
91437
91292
|
var LiveApi_1 = __webpack_require__(/*! ./live/LiveApi */ "./streams/live/LiveApi.ts");
|
|
91293
|
+
var ConfigApi_1 = __webpack_require__(/*! ./config/ConfigApi */ "./streams/config/ConfigApi.ts");
|
|
91438
91294
|
var SearchApi_1 = __webpack_require__(/*! ./search/SearchApi */ "./streams/search/SearchApi.ts");
|
|
91439
91295
|
var SigningKeysApi_1 = __webpack_require__(/*! ./signingKeys/SigningKeysApi */ "./streams/signingKeys/SigningKeysApi.ts");
|
|
91440
91296
|
/**
|
|
@@ -91449,6 +91305,7 @@ var StreamsApi = /** @class */ (function (_super) {
|
|
|
91449
91305
|
var _this = _super.call(this, configuration) || this;
|
|
91450
91306
|
_this.video = new VideoApi_1.default(configuration);
|
|
91451
91307
|
_this.live = new LiveApi_1.default(configuration);
|
|
91308
|
+
_this.config = new ConfigApi_1.default(configuration);
|
|
91452
91309
|
_this.search = new SearchApi_1.default(configuration);
|
|
91453
91310
|
_this.signingKeys = new SigningKeysApi_1.default(configuration);
|
|
91454
91311
|
return _this;
|
|
@@ -91458,6 +91315,211 @@ var StreamsApi = /** @class */ (function (_super) {
|
|
|
91458
91315
|
exports["default"] = StreamsApi;
|
|
91459
91316
|
|
|
91460
91317
|
|
|
91318
|
+
/***/ }),
|
|
91319
|
+
|
|
91320
|
+
/***/ "./streams/config/ConfigApi.ts":
|
|
91321
|
+
/*!*************************************!*\
|
|
91322
|
+
!*** ./streams/config/ConfigApi.ts ***!
|
|
91323
|
+
\*************************************/
|
|
91324
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
91325
|
+
|
|
91326
|
+
"use strict";
|
|
91327
|
+
|
|
91328
|
+
var __extends = (this && this.__extends) || (function () {
|
|
91329
|
+
var extendStatics = function (d, b) {
|
|
91330
|
+
extendStatics = Object.setPrototypeOf ||
|
|
91331
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
91332
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
91333
|
+
return extendStatics(d, b);
|
|
91334
|
+
};
|
|
91335
|
+
return function (d, b) {
|
|
91336
|
+
if (typeof b !== "function" && b !== null)
|
|
91337
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
91338
|
+
extendStatics(d, b);
|
|
91339
|
+
function __() { this.constructor = d; }
|
|
91340
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
91341
|
+
};
|
|
91342
|
+
})();
|
|
91343
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
91344
|
+
var BaseAPI_1 = __webpack_require__(/*! ../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
91345
|
+
var DomainRestrictionApi_1 = __webpack_require__(/*! ./domainRestriction/DomainRestrictionApi */ "./streams/config/domainRestriction/DomainRestrictionApi.ts");
|
|
91346
|
+
/**
|
|
91347
|
+
* ConfigApi - object-oriented interface
|
|
91348
|
+
* @export
|
|
91349
|
+
* @class ConfigApi
|
|
91350
|
+
* @extends {BaseAPI}
|
|
91351
|
+
*/
|
|
91352
|
+
var ConfigApi = /** @class */ (function (_super) {
|
|
91353
|
+
__extends(ConfigApi, _super);
|
|
91354
|
+
function ConfigApi(configuration) {
|
|
91355
|
+
var _this = _super.call(this, configuration) || this;
|
|
91356
|
+
_this.domainRestriction = new DomainRestrictionApi_1.default(configuration);
|
|
91357
|
+
return _this;
|
|
91358
|
+
}
|
|
91359
|
+
return ConfigApi;
|
|
91360
|
+
}(BaseAPI_1.BaseAPI));
|
|
91361
|
+
exports["default"] = ConfigApi;
|
|
91362
|
+
|
|
91363
|
+
|
|
91364
|
+
/***/ }),
|
|
91365
|
+
|
|
91366
|
+
/***/ "./streams/config/domainRestriction/DomainRestrictionApi.ts":
|
|
91367
|
+
/*!******************************************************************!*\
|
|
91368
|
+
!*** ./streams/config/domainRestriction/DomainRestrictionApi.ts ***!
|
|
91369
|
+
\******************************************************************/
|
|
91370
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
91371
|
+
|
|
91372
|
+
"use strict";
|
|
91373
|
+
|
|
91374
|
+
var __extends = (this && this.__extends) || (function () {
|
|
91375
|
+
var extendStatics = function (d, b) {
|
|
91376
|
+
extendStatics = Object.setPrototypeOf ||
|
|
91377
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
91378
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
91379
|
+
return extendStatics(d, b);
|
|
91380
|
+
};
|
|
91381
|
+
return function (d, b) {
|
|
91382
|
+
if (typeof b !== "function" && b !== null)
|
|
91383
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
91384
|
+
extendStatics(d, b);
|
|
91385
|
+
function __() { this.constructor = d; }
|
|
91386
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
91387
|
+
};
|
|
91388
|
+
})();
|
|
91389
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
91390
|
+
var BaseAPI_1 = __webpack_require__(/*! ../../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
91391
|
+
var Mapper_1 = __webpack_require__(/*! ../../../common/Mapper */ "./common/Mapper.ts");
|
|
91392
|
+
var StreamsDomainRestrictionResponse_1 = __webpack_require__(/*! ../../../models/StreamsDomainRestrictionResponse */ "./models/StreamsDomainRestrictionResponse.ts");
|
|
91393
|
+
var PaginationResponse_1 = __webpack_require__(/*! ../../../models/PaginationResponse */ "./models/PaginationResponse.ts");
|
|
91394
|
+
var StreamsDomainRestrictionResponseListQueryParams_1 = __webpack_require__(/*! ./StreamsDomainRestrictionResponseListQueryParams */ "./streams/config/domainRestriction/StreamsDomainRestrictionResponseListQueryParams.ts");
|
|
91395
|
+
/**
|
|
91396
|
+
* DomainRestrictionApi - object-oriented interface
|
|
91397
|
+
* @export
|
|
91398
|
+
* @class DomainRestrictionApi
|
|
91399
|
+
* @extends {BaseAPI}
|
|
91400
|
+
*/
|
|
91401
|
+
var DomainRestrictionApi = /** @class */ (function (_super) {
|
|
91402
|
+
__extends(DomainRestrictionApi, _super);
|
|
91403
|
+
function DomainRestrictionApi(configuration) {
|
|
91404
|
+
return _super.call(this, configuration) || this;
|
|
91405
|
+
}
|
|
91406
|
+
/**
|
|
91407
|
+
* @summary Create new streams domain restriction
|
|
91408
|
+
* @param {StreamsDomainRestrictionCreateRequest} streamsDomainRestrictionCreateRequest Create a new streams domain restriction
|
|
91409
|
+
* @throws {BitmovinError}
|
|
91410
|
+
* @memberof DomainRestrictionApi
|
|
91411
|
+
*/
|
|
91412
|
+
DomainRestrictionApi.prototype.create = function (streamsDomainRestrictionCreateRequest) {
|
|
91413
|
+
return this.restClient.post('/streams/config/domain-restriction/', {}, streamsDomainRestrictionCreateRequest).then(function (response) {
|
|
91414
|
+
return (0, Mapper_1.map)(response, StreamsDomainRestrictionResponse_1.default);
|
|
91415
|
+
});
|
|
91416
|
+
};
|
|
91417
|
+
/**
|
|
91418
|
+
* @summary Delete streams domain restriction by id
|
|
91419
|
+
* @param {string} domainRestrictionId Id of the streams domain restriction.
|
|
91420
|
+
* @throws {BitmovinError}
|
|
91421
|
+
* @memberof DomainRestrictionApi
|
|
91422
|
+
*/
|
|
91423
|
+
DomainRestrictionApi.prototype.delete = function (domainRestrictionId) {
|
|
91424
|
+
var pathParamMap = {
|
|
91425
|
+
domain_restriction_id: domainRestrictionId
|
|
91426
|
+
};
|
|
91427
|
+
return this.restClient.delete('/streams/config/domain-restriction/{domain_restriction_id}', pathParamMap).then(function (response) {
|
|
91428
|
+
return (0, Mapper_1.map)(response);
|
|
91429
|
+
});
|
|
91430
|
+
};
|
|
91431
|
+
/**
|
|
91432
|
+
* @summary Get streams domain restriction config by id
|
|
91433
|
+
* @param {string} domainRestrictionId Id of the streams domain restriction.
|
|
91434
|
+
* @throws {BitmovinError}
|
|
91435
|
+
* @memberof DomainRestrictionApi
|
|
91436
|
+
*/
|
|
91437
|
+
DomainRestrictionApi.prototype.get = function (domainRestrictionId) {
|
|
91438
|
+
var pathParamMap = {
|
|
91439
|
+
domain_restriction_id: domainRestrictionId
|
|
91440
|
+
};
|
|
91441
|
+
return this.restClient.get('/streams/config/domain-restriction/{domain_restriction_id}', pathParamMap).then(function (response) {
|
|
91442
|
+
return (0, Mapper_1.map)(response, StreamsDomainRestrictionResponse_1.default);
|
|
91443
|
+
});
|
|
91444
|
+
};
|
|
91445
|
+
/**
|
|
91446
|
+
* @summary Get paginated list of domain restriction configurations
|
|
91447
|
+
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
91448
|
+
* @throws {BitmovinError}
|
|
91449
|
+
* @memberof DomainRestrictionApi
|
|
91450
|
+
*/
|
|
91451
|
+
DomainRestrictionApi.prototype.list = function (queryParameters) {
|
|
91452
|
+
var queryParams = {};
|
|
91453
|
+
if (typeof queryParameters === 'function') {
|
|
91454
|
+
queryParams = queryParameters(new StreamsDomainRestrictionResponseListQueryParams_1.StreamsDomainRestrictionResponseListQueryParamsBuilder()).buildQueryParams();
|
|
91455
|
+
}
|
|
91456
|
+
else if (queryParameters) {
|
|
91457
|
+
queryParams = queryParameters;
|
|
91458
|
+
}
|
|
91459
|
+
return this.restClient.get('/streams/config/domain-restriction/', {}, queryParams).then(function (response) {
|
|
91460
|
+
return new PaginationResponse_1.default(response, StreamsDomainRestrictionResponse_1.default);
|
|
91461
|
+
});
|
|
91462
|
+
};
|
|
91463
|
+
/**
|
|
91464
|
+
* @summary Partially update streams domain restriction by id
|
|
91465
|
+
* @param {string} domainRestrictionId Id of the streams domain restriction.
|
|
91466
|
+
* @param {StreamsDomainRestrictionUpdateRequest} streamsDomainRestrictionUpdateRequest The updated streams domain restriction object.
|
|
91467
|
+
* @throws {BitmovinError}
|
|
91468
|
+
* @memberof DomainRestrictionApi
|
|
91469
|
+
*/
|
|
91470
|
+
DomainRestrictionApi.prototype.patchStreamsDomainRestriction = function (domainRestrictionId, streamsDomainRestrictionUpdateRequest) {
|
|
91471
|
+
var pathParamMap = {
|
|
91472
|
+
domain_restriction_id: domainRestrictionId
|
|
91473
|
+
};
|
|
91474
|
+
return this.restClient.patch('/streams/config/domain-restriction/{domain_restriction_id}', pathParamMap, streamsDomainRestrictionUpdateRequest).then(function (response) {
|
|
91475
|
+
return (0, Mapper_1.map)(response, StreamsDomainRestrictionResponse_1.default);
|
|
91476
|
+
});
|
|
91477
|
+
};
|
|
91478
|
+
return DomainRestrictionApi;
|
|
91479
|
+
}(BaseAPI_1.BaseAPI));
|
|
91480
|
+
exports["default"] = DomainRestrictionApi;
|
|
91481
|
+
|
|
91482
|
+
|
|
91483
|
+
/***/ }),
|
|
91484
|
+
|
|
91485
|
+
/***/ "./streams/config/domainRestriction/StreamsDomainRestrictionResponseListQueryParams.ts":
|
|
91486
|
+
/*!*********************************************************************************************!*\
|
|
91487
|
+
!*** ./streams/config/domainRestriction/StreamsDomainRestrictionResponseListQueryParams.ts ***!
|
|
91488
|
+
\*********************************************************************************************/
|
|
91489
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
91490
|
+
|
|
91491
|
+
"use strict";
|
|
91492
|
+
|
|
91493
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
91494
|
+
exports.StreamsDomainRestrictionResponseListQueryParamsBuilder = void 0;
|
|
91495
|
+
var StreamsDomainRestrictionResponseListQueryParamsBuilder = /** @class */ (function () {
|
|
91496
|
+
function StreamsDomainRestrictionResponseListQueryParamsBuilder() {
|
|
91497
|
+
this.internalParams = {};
|
|
91498
|
+
}
|
|
91499
|
+
/**
|
|
91500
|
+
*
|
|
91501
|
+
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
91502
|
+
*/
|
|
91503
|
+
StreamsDomainRestrictionResponseListQueryParamsBuilder.prototype.offset = function (offset) {
|
|
91504
|
+
this.internalParams.offset = offset;
|
|
91505
|
+
return this;
|
|
91506
|
+
};
|
|
91507
|
+
/**
|
|
91508
|
+
*
|
|
91509
|
+
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
91510
|
+
*/
|
|
91511
|
+
StreamsDomainRestrictionResponseListQueryParamsBuilder.prototype.limit = function (limit) {
|
|
91512
|
+
this.internalParams.limit = limit;
|
|
91513
|
+
return this;
|
|
91514
|
+
};
|
|
91515
|
+
StreamsDomainRestrictionResponseListQueryParamsBuilder.prototype.buildQueryParams = function () {
|
|
91516
|
+
return this.internalParams;
|
|
91517
|
+
};
|
|
91518
|
+
return StreamsDomainRestrictionResponseListQueryParamsBuilder;
|
|
91519
|
+
}());
|
|
91520
|
+
exports.StreamsDomainRestrictionResponseListQueryParamsBuilder = StreamsDomainRestrictionResponseListQueryParamsBuilder;
|
|
91521
|
+
|
|
91522
|
+
|
|
91461
91523
|
/***/ }),
|
|
91462
91524
|
|
|
91463
91525
|
/***/ "./streams/live/LiveApi.ts":
|