@bitmovin/api-sdk 1.179.0 → 1.181.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/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/bitmovin-api-sdk.browser.js +288 -67
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/manifests/ManifestListQueryParams.d.ts +11 -0
- package/dist/encoding/manifests/ManifestListQueryParams.js +8 -0
- package/dist/encoding/manifests/dash/DashManifestListQueryParams.d.ts +11 -0
- package/dist/encoding/manifests/dash/DashManifestListQueryParams.js +8 -0
- package/dist/encoding/manifests/hls/HlsManifestListQueryParams.d.ts +11 -0
- package/dist/encoding/manifests/hls/HlsManifestListQueryParams.js +8 -0
- package/dist/encoding/manifests/smooth/SmoothStreamingManifestListQueryParams.d.ts +11 -0
- package/dist/encoding/manifests/smooth/SmoothStreamingManifestListQueryParams.js +8 -0
- package/dist/models/AccountInformation.d.ts +5 -0
- package/dist/models/AccountInformation.js +1 -0
- package/dist/models/GenericS3Input.d.ts +13 -0
- package/dist/models/GenericS3Input.js +2 -0
- package/dist/models/GenericS3Output.d.ts +13 -0
- package/dist/models/GenericS3Output.js +2 -0
- package/dist/models/HlsManifestAdMarkerSettings.d.ts +15 -0
- package/dist/models/HlsManifestAdMarkerSettings.js +19 -0
- package/dist/models/HlsManifestAdMarkerType.d.ts +11 -0
- package/dist/models/HlsManifestAdMarkerType.js +15 -0
- package/dist/models/LiveHlsManifest.d.ts +7 -0
- package/dist/models/LiveHlsManifest.js +2 -0
- package/dist/models/S3AccessStyle.d.ts +10 -0
- package/dist/models/S3AccessStyle.js +14 -0
- package/dist/models/StreamsLiveResponse.d.ts +5 -21
- package/dist/models/StreamsLiveResponse.js +36 -14
- package/dist/models/StreamsResponse.d.ts +46 -0
- package/dist/models/{StreamsSearchResponse.js → StreamsResponse.js} +12 -7
- package/dist/models/StreamsVideoResponse.d.ts +5 -21
- package/dist/models/StreamsVideoResponse.js +39 -17
- package/dist/models/index.d.ts +4 -1
- package/dist/models/index.js +4 -1
- package/dist/streams/StreamsApi.d.ts +2 -2
- package/dist/streams/StreamsApi.js +2 -2
- package/dist/streams/search/SearchApi.d.ts +3 -3
- package/dist/streams/search/SearchApi.js +4 -4
- package/dist/streams/search/StreamsResponseListQueryParams.d.ts +107 -0
- package/dist/streams/search/StreamsResponseListQueryParams.js +85 -0
- package/package.json +1 -1
- package/dist/models/StreamsSearchResponse.d.ts +0 -39
- package/dist/streams/search/StreamsSearchResponseListQueryParams.d.ts +0 -39
- package/dist/streams/search/StreamsSearchResponseListQueryParams.js +0 -37
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -6048,7 +6048,7 @@ var HeaderHandler = /** @class */ (function (_super) {
|
|
|
6048
6048
|
var headers = {
|
|
6049
6049
|
'X-Api-Key': apiKey,
|
|
6050
6050
|
'X-Api-Client': 'bitmovin-api-sdk-javascript',
|
|
6051
|
-
'X-Api-Client-Version': '1.
|
|
6051
|
+
'X-Api-Client-Version': '1.181.0',
|
|
6052
6052
|
'Content-Type': 'application/json'
|
|
6053
6053
|
};
|
|
6054
6054
|
if (tenantOrgId) {
|
|
@@ -40251,6 +40251,14 @@ var ManifestListQueryParamsBuilder = /** @class */ (function () {
|
|
|
40251
40251
|
this.internalParams.limit = limit;
|
|
40252
40252
|
return this;
|
|
40253
40253
|
};
|
|
40254
|
+
/**
|
|
40255
|
+
*
|
|
40256
|
+
* @param sort Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
|
|
40257
|
+
*/
|
|
40258
|
+
ManifestListQueryParamsBuilder.prototype.sort = function (sort) {
|
|
40259
|
+
this.internalParams.sort = sort;
|
|
40260
|
+
return this;
|
|
40261
|
+
};
|
|
40254
40262
|
ManifestListQueryParamsBuilder.prototype.buildQueryParams = function () {
|
|
40255
40263
|
return this.internalParams;
|
|
40256
40264
|
};
|
|
@@ -40535,6 +40543,14 @@ var DashManifestListQueryParamsBuilder = /** @class */ (function () {
|
|
|
40535
40543
|
this.internalParams.limit = limit;
|
|
40536
40544
|
return this;
|
|
40537
40545
|
};
|
|
40546
|
+
/**
|
|
40547
|
+
*
|
|
40548
|
+
* @param sort Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
|
|
40549
|
+
*/
|
|
40550
|
+
DashManifestListQueryParamsBuilder.prototype.sort = function (sort) {
|
|
40551
|
+
this.internalParams.sort = sort;
|
|
40552
|
+
return this;
|
|
40553
|
+
};
|
|
40538
40554
|
/**
|
|
40539
40555
|
*
|
|
40540
40556
|
* @param encodingId Get the manifests that belong to that encoding id
|
|
@@ -45110,6 +45126,14 @@ var HlsManifestListQueryParamsBuilder = /** @class */ (function () {
|
|
|
45110
45126
|
this.internalParams.limit = limit;
|
|
45111
45127
|
return this;
|
|
45112
45128
|
};
|
|
45129
|
+
/**
|
|
45130
|
+
*
|
|
45131
|
+
* @param sort Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
|
|
45132
|
+
*/
|
|
45133
|
+
HlsManifestListQueryParamsBuilder.prototype.sort = function (sort) {
|
|
45134
|
+
this.internalParams.sort = sort;
|
|
45135
|
+
return this;
|
|
45136
|
+
};
|
|
45113
45137
|
/**
|
|
45114
45138
|
*
|
|
45115
45139
|
* @param encodingId Get the manifests that belong to that encoding id
|
|
@@ -47007,6 +47031,14 @@ var SmoothStreamingManifestListQueryParamsBuilder = /** @class */ (function () {
|
|
|
47007
47031
|
this.internalParams.limit = limit;
|
|
47008
47032
|
return this;
|
|
47009
47033
|
};
|
|
47034
|
+
/**
|
|
47035
|
+
*
|
|
47036
|
+
* @param sort Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
|
|
47037
|
+
*/
|
|
47038
|
+
SmoothStreamingManifestListQueryParamsBuilder.prototype.sort = function (sort) {
|
|
47039
|
+
this.internalParams.sort = sort;
|
|
47040
|
+
return this;
|
|
47041
|
+
};
|
|
47010
47042
|
/**
|
|
47011
47043
|
*
|
|
47012
47044
|
* @param encodingId Get the manifests that belong to that encoding id
|
|
@@ -53456,6 +53488,7 @@ var AccountInformation = /** @class */ (function (_super) {
|
|
|
53456
53488
|
_this.verified = (0, Mapper_1.map)(obj.verified);
|
|
53457
53489
|
_this.marketplace = (0, Mapper_1.map)(obj.marketplace);
|
|
53458
53490
|
_this.mfaEnabled = (0, Mapper_1.map)(obj.mfaEnabled);
|
|
53491
|
+
_this.intercomIdVerification = (0, Mapper_1.map)(obj.intercomIdVerification);
|
|
53459
53492
|
return _this;
|
|
53460
53493
|
}
|
|
53461
53494
|
return AccountInformation;
|
|
@@ -69608,9 +69641,11 @@ var GenericS3Input = /** @class */ (function (_super) {
|
|
|
69608
69641
|
_this.host = (0, Mapper_1.map)(obj.host);
|
|
69609
69642
|
_this.port = (0, Mapper_1.map)(obj.port);
|
|
69610
69643
|
_this.ssl = (0, Mapper_1.map)(obj.ssl);
|
|
69644
|
+
_this.signingRegion = (0, Mapper_1.map)(obj.signingRegion);
|
|
69611
69645
|
_this.signatureVersion = (0, Mapper_1.map)(obj.signatureVersion);
|
|
69612
69646
|
_this.accessKey = (0, Mapper_1.map)(obj.accessKey);
|
|
69613
69647
|
_this.secretKey = (0, Mapper_1.map)(obj.secretKey);
|
|
69648
|
+
_this.accessStyle = (0, Mapper_1.map)(obj.accessStyle);
|
|
69614
69649
|
return _this;
|
|
69615
69650
|
}
|
|
69616
69651
|
return GenericS3Input;
|
|
@@ -69672,7 +69707,9 @@ var GenericS3Output = /** @class */ (function (_super) {
|
|
|
69672
69707
|
_this.host = (0, Mapper_1.map)(obj.host);
|
|
69673
69708
|
_this.port = (0, Mapper_1.map)(obj.port);
|
|
69674
69709
|
_this.ssl = (0, Mapper_1.map)(obj.ssl);
|
|
69710
|
+
_this.signingRegion = (0, Mapper_1.map)(obj.signingRegion);
|
|
69675
69711
|
_this.signatureVersion = (0, Mapper_1.map)(obj.signatureVersion);
|
|
69712
|
+
_this.accessStyle = (0, Mapper_1.map)(obj.accessStyle);
|
|
69676
69713
|
return _this;
|
|
69677
69714
|
}
|
|
69678
69715
|
return GenericS3Output;
|
|
@@ -70914,6 +70951,62 @@ exports.HlsManifest = HlsManifest;
|
|
|
70914
70951
|
exports["default"] = HlsManifest;
|
|
70915
70952
|
|
|
70916
70953
|
|
|
70954
|
+
/***/ }),
|
|
70955
|
+
|
|
70956
|
+
/***/ "./models/HlsManifestAdMarkerSettings.ts":
|
|
70957
|
+
/*!***********************************************!*\
|
|
70958
|
+
!*** ./models/HlsManifestAdMarkerSettings.ts ***!
|
|
70959
|
+
\***********************************************/
|
|
70960
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
70961
|
+
|
|
70962
|
+
"use strict";
|
|
70963
|
+
|
|
70964
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
70965
|
+
exports.HlsManifestAdMarkerSettings = void 0;
|
|
70966
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
70967
|
+
/**
|
|
70968
|
+
* @export
|
|
70969
|
+
* @class HlsManifestAdMarkerSettings
|
|
70970
|
+
*/
|
|
70971
|
+
var HlsManifestAdMarkerSettings = /** @class */ (function () {
|
|
70972
|
+
function HlsManifestAdMarkerSettings(obj) {
|
|
70973
|
+
if (!obj) {
|
|
70974
|
+
return;
|
|
70975
|
+
}
|
|
70976
|
+
this.enabledMarkerTypes = (0, Mapper_1.mapArray)(obj.enabledMarkerTypes);
|
|
70977
|
+
}
|
|
70978
|
+
return HlsManifestAdMarkerSettings;
|
|
70979
|
+
}());
|
|
70980
|
+
exports.HlsManifestAdMarkerSettings = HlsManifestAdMarkerSettings;
|
|
70981
|
+
exports["default"] = HlsManifestAdMarkerSettings;
|
|
70982
|
+
|
|
70983
|
+
|
|
70984
|
+
/***/ }),
|
|
70985
|
+
|
|
70986
|
+
/***/ "./models/HlsManifestAdMarkerType.ts":
|
|
70987
|
+
/*!*******************************************!*\
|
|
70988
|
+
!*** ./models/HlsManifestAdMarkerType.ts ***!
|
|
70989
|
+
\*******************************************/
|
|
70990
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
70991
|
+
|
|
70992
|
+
"use strict";
|
|
70993
|
+
|
|
70994
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
70995
|
+
exports.HlsManifestAdMarkerType = void 0;
|
|
70996
|
+
/**
|
|
70997
|
+
* HLS Manifest ad marker types
|
|
70998
|
+
* @export
|
|
70999
|
+
* @enum {string}
|
|
71000
|
+
*/
|
|
71001
|
+
var HlsManifestAdMarkerType;
|
|
71002
|
+
(function (HlsManifestAdMarkerType) {
|
|
71003
|
+
HlsManifestAdMarkerType["EXT_X_CUE_OUT_IN"] = "EXT_X_CUE_OUT_IN";
|
|
71004
|
+
HlsManifestAdMarkerType["EXT_OATCLS_SCTE35"] = "EXT_OATCLS_SCTE35";
|
|
71005
|
+
HlsManifestAdMarkerType["EXT_X_SPLICEPOINT_SCTE35"] = "EXT_X_SPLICEPOINT_SCTE35";
|
|
71006
|
+
})(HlsManifestAdMarkerType || (exports.HlsManifestAdMarkerType = HlsManifestAdMarkerType = {}));
|
|
71007
|
+
exports["default"] = HlsManifestAdMarkerType;
|
|
71008
|
+
|
|
71009
|
+
|
|
70917
71010
|
/***/ }),
|
|
70918
71011
|
|
|
70919
71012
|
/***/ "./models/HlsManifestDefault.ts":
|
|
@@ -73023,6 +73116,7 @@ exports["default"] = LiveEncodingStatus;
|
|
|
73023
73116
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
73024
73117
|
exports.LiveHlsManifest = void 0;
|
|
73025
73118
|
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
73119
|
+
var HlsManifestAdMarkerSettings_1 = __webpack_require__(/*! ./HlsManifestAdMarkerSettings */ "./models/HlsManifestAdMarkerSettings.ts");
|
|
73026
73120
|
var ProgramDateTimeSettings_1 = __webpack_require__(/*! ./ProgramDateTimeSettings */ "./models/ProgramDateTimeSettings.ts");
|
|
73027
73121
|
/**
|
|
73028
73122
|
* @export
|
|
@@ -73038,6 +73132,7 @@ var LiveHlsManifest = /** @class */ (function () {
|
|
|
73038
73132
|
this.liveEdgeOffset = (0, Mapper_1.map)(obj.liveEdgeOffset);
|
|
73039
73133
|
this.insertProgramDateTime = (0, Mapper_1.map)(obj.insertProgramDateTime);
|
|
73040
73134
|
this.programDateTimeSettings = (0, Mapper_1.map)(obj.programDateTimeSettings, ProgramDateTimeSettings_1.default);
|
|
73135
|
+
this.adMarkerSettings = (0, Mapper_1.map)(obj.adMarkerSettings, HlsManifestAdMarkerSettings_1.default);
|
|
73041
73136
|
}
|
|
73042
73137
|
return LiveHlsManifest;
|
|
73043
73138
|
}());
|
|
@@ -77995,6 +78090,31 @@ exports.RtmpInput = RtmpInput;
|
|
|
77995
78090
|
exports["default"] = RtmpInput;
|
|
77996
78091
|
|
|
77997
78092
|
|
|
78093
|
+
/***/ }),
|
|
78094
|
+
|
|
78095
|
+
/***/ "./models/S3AccessStyle.ts":
|
|
78096
|
+
/*!*********************************!*\
|
|
78097
|
+
!*** ./models/S3AccessStyle.ts ***!
|
|
78098
|
+
\*********************************/
|
|
78099
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
78100
|
+
|
|
78101
|
+
"use strict";
|
|
78102
|
+
|
|
78103
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
78104
|
+
exports.S3AccessStyle = void 0;
|
|
78105
|
+
/**
|
|
78106
|
+
* Specifies whether to use path or virtual-hosted style access
|
|
78107
|
+
* @export
|
|
78108
|
+
* @enum {string}
|
|
78109
|
+
*/
|
|
78110
|
+
var S3AccessStyle;
|
|
78111
|
+
(function (S3AccessStyle) {
|
|
78112
|
+
S3AccessStyle["VIRTUAL_HOSTED"] = "VIRTUAL_HOSTED";
|
|
78113
|
+
S3AccessStyle["PATH"] = "PATH";
|
|
78114
|
+
})(S3AccessStyle || (exports.S3AccessStyle = S3AccessStyle = {}));
|
|
78115
|
+
exports["default"] = S3AccessStyle;
|
|
78116
|
+
|
|
78117
|
+
|
|
77998
78118
|
/***/ }),
|
|
77999
78119
|
|
|
78000
78120
|
/***/ "./models/S3Input.ts":
|
|
@@ -82641,39 +82761,61 @@ exports["default"] = StreamsLiveLifeCycle;
|
|
|
82641
82761
|
/*!***************************************!*\
|
|
82642
82762
|
!*** ./models/StreamsLiveResponse.ts ***!
|
|
82643
82763
|
\***************************************/
|
|
82644
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
82764
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
82645
82765
|
|
|
82646
82766
|
"use strict";
|
|
82647
82767
|
|
|
82768
|
+
var __extends = (this && this.__extends) || (function () {
|
|
82769
|
+
var extendStatics = function (d, b) {
|
|
82770
|
+
extendStatics = Object.setPrototypeOf ||
|
|
82771
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
82772
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
82773
|
+
return extendStatics(d, b);
|
|
82774
|
+
};
|
|
82775
|
+
return function (d, b) {
|
|
82776
|
+
if (typeof b !== "function" && b !== null)
|
|
82777
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
82778
|
+
extendStatics(d, b);
|
|
82779
|
+
function __() { this.constructor = d; }
|
|
82780
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
82781
|
+
};
|
|
82782
|
+
})();
|
|
82648
82783
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
82649
82784
|
exports.StreamsLiveResponse = void 0;
|
|
82650
82785
|
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
82651
82786
|
var StreamsAdConfigResponse_1 = __webpack_require__(/*! ./StreamsAdConfigResponse */ "./models/StreamsAdConfigResponse.ts");
|
|
82652
82787
|
var StreamsContentProtectionResponse_1 = __webpack_require__(/*! ./StreamsContentProtectionResponse */ "./models/StreamsContentProtectionResponse.ts");
|
|
82788
|
+
var StreamsResponse_1 = __webpack_require__(/*! ./StreamsResponse */ "./models/StreamsResponse.ts");
|
|
82653
82789
|
var StreamsStyleConfigResponse_1 = __webpack_require__(/*! ./StreamsStyleConfigResponse */ "./models/StreamsStyleConfigResponse.ts");
|
|
82790
|
+
var StreamsType_1 = __webpack_require__(/*! ./StreamsType */ "./models/StreamsType.ts");
|
|
82654
82791
|
/**
|
|
82655
82792
|
* @export
|
|
82656
82793
|
* @class StreamsLiveResponse
|
|
82657
82794
|
*/
|
|
82658
|
-
var StreamsLiveResponse = /** @class */ (function () {
|
|
82795
|
+
var StreamsLiveResponse = /** @class */ (function (_super) {
|
|
82796
|
+
__extends(StreamsLiveResponse, _super);
|
|
82659
82797
|
function StreamsLiveResponse(obj) {
|
|
82798
|
+
var _this = _super.call(this, obj) || this;
|
|
82799
|
+
/**
|
|
82800
|
+
* Discriminator property for StreamsResponse
|
|
82801
|
+
* @type {string}
|
|
82802
|
+
* @memberof StreamsLiveResponse
|
|
82803
|
+
*/
|
|
82804
|
+
_this.type = StreamsType_1.default.LIVE;
|
|
82660
82805
|
if (!obj) {
|
|
82661
|
-
return;
|
|
82806
|
+
return _this;
|
|
82662
82807
|
}
|
|
82663
|
-
|
|
82664
|
-
|
|
82665
|
-
|
|
82666
|
-
|
|
82667
|
-
|
|
82668
|
-
|
|
82669
|
-
|
|
82670
|
-
|
|
82671
|
-
this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
|
|
82672
|
-
this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
|
|
82673
|
-
this.trimming = (0, Mapper_1.map)(obj.trimming);
|
|
82808
|
+
_this.streamKey = (0, Mapper_1.map)(obj.streamKey);
|
|
82809
|
+
_this.lifeCycle = (0, Mapper_1.map)(obj.lifeCycle);
|
|
82810
|
+
_this.styleConfig = (0, Mapper_1.map)(obj.styleConfig, StreamsStyleConfigResponse_1.default);
|
|
82811
|
+
_this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
|
|
82812
|
+
_this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
|
|
82813
|
+
_this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
|
|
82814
|
+
_this.trimming = (0, Mapper_1.map)(obj.trimming);
|
|
82815
|
+
return _this;
|
|
82674
82816
|
}
|
|
82675
82817
|
return StreamsLiveResponse;
|
|
82676
|
-
}());
|
|
82818
|
+
}(StreamsResponse_1.default));
|
|
82677
82819
|
exports.StreamsLiveResponse = StreamsLiveResponse;
|
|
82678
82820
|
exports["default"] = StreamsLiveResponse;
|
|
82679
82821
|
|
|
@@ -82774,23 +82916,23 @@ exports["default"] = StreamsPublicSigningKeyResponse;
|
|
|
82774
82916
|
|
|
82775
82917
|
/***/ }),
|
|
82776
82918
|
|
|
82777
|
-
/***/ "./models/
|
|
82778
|
-
|
|
82779
|
-
!*** ./models/
|
|
82780
|
-
|
|
82919
|
+
/***/ "./models/StreamsResponse.ts":
|
|
82920
|
+
/*!***********************************!*\
|
|
82921
|
+
!*** ./models/StreamsResponse.ts ***!
|
|
82922
|
+
\***********************************/
|
|
82781
82923
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
82782
82924
|
|
|
82783
82925
|
"use strict";
|
|
82784
82926
|
|
|
82785
82927
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
82786
|
-
exports.
|
|
82928
|
+
exports.StreamsResponse = void 0;
|
|
82787
82929
|
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
82788
82930
|
/**
|
|
82789
82931
|
* @export
|
|
82790
|
-
* @class
|
|
82932
|
+
* @class StreamsResponse
|
|
82791
82933
|
*/
|
|
82792
|
-
var
|
|
82793
|
-
function
|
|
82934
|
+
var StreamsResponse = /** @class */ (function () {
|
|
82935
|
+
function StreamsResponse(obj) {
|
|
82794
82936
|
if (!obj) {
|
|
82795
82937
|
return;
|
|
82796
82938
|
}
|
|
@@ -82800,10 +82942,15 @@ var StreamsSearchResponse = /** @class */ (function () {
|
|
|
82800
82942
|
this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
|
|
82801
82943
|
this.type = (0, Mapper_1.map)(obj.type);
|
|
82802
82944
|
}
|
|
82803
|
-
|
|
82945
|
+
StreamsResponse._discriminatorName = 'type';
|
|
82946
|
+
StreamsResponse._discriminatorMapping = {
|
|
82947
|
+
VIDEO: 'StreamsVideoResponse',
|
|
82948
|
+
LIVE: 'StreamsLiveResponse'
|
|
82949
|
+
};
|
|
82950
|
+
return StreamsResponse;
|
|
82804
82951
|
}());
|
|
82805
|
-
exports.
|
|
82806
|
-
exports["default"] =
|
|
82952
|
+
exports.StreamsResponse = StreamsResponse;
|
|
82953
|
+
exports["default"] = StreamsResponse;
|
|
82807
82954
|
|
|
82808
82955
|
|
|
82809
82956
|
/***/ }),
|
|
@@ -83082,43 +83229,65 @@ exports["default"] = StreamsVideoQuality;
|
|
|
83082
83229
|
/*!****************************************!*\
|
|
83083
83230
|
!*** ./models/StreamsVideoResponse.ts ***!
|
|
83084
83231
|
\****************************************/
|
|
83085
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__)
|
|
83232
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
83086
83233
|
|
|
83087
83234
|
"use strict";
|
|
83088
83235
|
|
|
83236
|
+
var __extends = (this && this.__extends) || (function () {
|
|
83237
|
+
var extendStatics = function (d, b) {
|
|
83238
|
+
extendStatics = Object.setPrototypeOf ||
|
|
83239
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
83240
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
83241
|
+
return extendStatics(d, b);
|
|
83242
|
+
};
|
|
83243
|
+
return function (d, b) {
|
|
83244
|
+
if (typeof b !== "function" && b !== null)
|
|
83245
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
83246
|
+
extendStatics(d, b);
|
|
83247
|
+
function __() { this.constructor = d; }
|
|
83248
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
83249
|
+
};
|
|
83250
|
+
})();
|
|
83089
83251
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
83090
83252
|
exports.StreamsVideoResponse = void 0;
|
|
83091
83253
|
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
83092
83254
|
var StreamsAdConfigResponse_1 = __webpack_require__(/*! ./StreamsAdConfigResponse */ "./models/StreamsAdConfigResponse.ts");
|
|
83093
83255
|
var StreamsContentProtectionResponse_1 = __webpack_require__(/*! ./StreamsContentProtectionResponse */ "./models/StreamsContentProtectionResponse.ts");
|
|
83256
|
+
var StreamsResponse_1 = __webpack_require__(/*! ./StreamsResponse */ "./models/StreamsResponse.ts");
|
|
83094
83257
|
var StreamsStyleConfigResponse_1 = __webpack_require__(/*! ./StreamsStyleConfigResponse */ "./models/StreamsStyleConfigResponse.ts");
|
|
83258
|
+
var StreamsType_1 = __webpack_require__(/*! ./StreamsType */ "./models/StreamsType.ts");
|
|
83095
83259
|
var StreamsVideoEncodingTask_1 = __webpack_require__(/*! ./StreamsVideoEncodingTask */ "./models/StreamsVideoEncodingTask.ts");
|
|
83096
83260
|
/**
|
|
83097
83261
|
* @export
|
|
83098
83262
|
* @class StreamsVideoResponse
|
|
83099
83263
|
*/
|
|
83100
|
-
var StreamsVideoResponse = /** @class */ (function () {
|
|
83264
|
+
var StreamsVideoResponse = /** @class */ (function (_super) {
|
|
83265
|
+
__extends(StreamsVideoResponse, _super);
|
|
83101
83266
|
function StreamsVideoResponse(obj) {
|
|
83267
|
+
var _this = _super.call(this, obj) || this;
|
|
83268
|
+
/**
|
|
83269
|
+
* Discriminator property for StreamsResponse
|
|
83270
|
+
* @type {string}
|
|
83271
|
+
* @memberof StreamsVideoResponse
|
|
83272
|
+
*/
|
|
83273
|
+
_this.type = StreamsType_1.default.VIDEO;
|
|
83102
83274
|
if (!obj) {
|
|
83103
|
-
return;
|
|
83275
|
+
return _this;
|
|
83104
83276
|
}
|
|
83105
|
-
|
|
83106
|
-
|
|
83107
|
-
|
|
83108
|
-
|
|
83109
|
-
|
|
83110
|
-
|
|
83111
|
-
|
|
83112
|
-
|
|
83113
|
-
|
|
83114
|
-
|
|
83115
|
-
|
|
83116
|
-
this.trimming = (0, Mapper_1.map)(obj.trimming);
|
|
83117
|
-
this.downloadUrl = (0, Mapper_1.map)(obj.downloadUrl);
|
|
83118
|
-
this.signed = (0, Mapper_1.map)(obj.signed);
|
|
83277
|
+
_this.assetUrl = (0, Mapper_1.map)(obj.assetUrl);
|
|
83278
|
+
_this.status = (0, Mapper_1.map)(obj.status);
|
|
83279
|
+
_this.styleConfig = (0, Mapper_1.map)(obj.styleConfig, StreamsStyleConfigResponse_1.default);
|
|
83280
|
+
_this.encodingTasks = (0, Mapper_1.mapArray)(obj.encodingTasks, StreamsVideoEncodingTask_1.default);
|
|
83281
|
+
_this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
|
|
83282
|
+
_this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
|
|
83283
|
+
_this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
|
|
83284
|
+
_this.trimming = (0, Mapper_1.map)(obj.trimming);
|
|
83285
|
+
_this.downloadUrl = (0, Mapper_1.map)(obj.downloadUrl);
|
|
83286
|
+
_this.signed = (0, Mapper_1.map)(obj.signed);
|
|
83287
|
+
return _this;
|
|
83119
83288
|
}
|
|
83120
83289
|
return StreamsVideoResponse;
|
|
83121
|
-
}());
|
|
83290
|
+
}(StreamsResponse_1.default));
|
|
83122
83291
|
exports.StreamsVideoResponse = StreamsVideoResponse;
|
|
83123
83292
|
exports["default"] = StreamsVideoResponse;
|
|
83124
83293
|
|
|
@@ -86882,6 +87051,8 @@ __exportStar(__webpack_require__(/*! ./HistoryEncoding */ "./models/HistoryEncod
|
|
|
86882
87051
|
__exportStar(__webpack_require__(/*! ./HistoryMuxing */ "./models/HistoryMuxing.ts"), exports);
|
|
86883
87052
|
__exportStar(__webpack_require__(/*! ./HistoryStream */ "./models/HistoryStream.ts"), exports);
|
|
86884
87053
|
__exportStar(__webpack_require__(/*! ./HlsManifest */ "./models/HlsManifest.ts"), exports);
|
|
87054
|
+
__exportStar(__webpack_require__(/*! ./HlsManifestAdMarkerSettings */ "./models/HlsManifestAdMarkerSettings.ts"), exports);
|
|
87055
|
+
__exportStar(__webpack_require__(/*! ./HlsManifestAdMarkerType */ "./models/HlsManifestAdMarkerType.ts"), exports);
|
|
86885
87056
|
__exportStar(__webpack_require__(/*! ./HlsManifestDefault */ "./models/HlsManifestDefault.ts"), exports);
|
|
86886
87057
|
__exportStar(__webpack_require__(/*! ./HlsManifestDefaultVersion */ "./models/HlsManifestDefaultVersion.ts"), exports);
|
|
86887
87058
|
__exportStar(__webpack_require__(/*! ./HlsTargetDurationRoundingMode */ "./models/HlsTargetDurationRoundingMode.ts"), exports);
|
|
@@ -87072,6 +87243,7 @@ __exportStar(__webpack_require__(/*! ./ReuploadSettings */ "./models/ReuploadSet
|
|
|
87072
87243
|
__exportStar(__webpack_require__(/*! ./RotateFilter */ "./models/RotateFilter.ts"), exports);
|
|
87073
87244
|
__exportStar(__webpack_require__(/*! ./RtmpIngestPoint */ "./models/RtmpIngestPoint.ts"), exports);
|
|
87074
87245
|
__exportStar(__webpack_require__(/*! ./RtmpInput */ "./models/RtmpInput.ts"), exports);
|
|
87246
|
+
__exportStar(__webpack_require__(/*! ./S3AccessStyle */ "./models/S3AccessStyle.ts"), exports);
|
|
87075
87247
|
__exportStar(__webpack_require__(/*! ./S3Input */ "./models/S3Input.ts"), exports);
|
|
87076
87248
|
__exportStar(__webpack_require__(/*! ./S3Output */ "./models/S3Output.ts"), exports);
|
|
87077
87249
|
__exportStar(__webpack_require__(/*! ./S3RoleBasedInput */ "./models/S3RoleBasedInput.ts"), exports);
|
|
@@ -87192,7 +87364,7 @@ __exportStar(__webpack_require__(/*! ./StreamsLiveResponse */ "./models/StreamsL
|
|
|
87192
87364
|
__exportStar(__webpack_require__(/*! ./StreamsLiveUpdateRequest */ "./models/StreamsLiveUpdateRequest.ts"), exports);
|
|
87193
87365
|
__exportStar(__webpack_require__(/*! ./StreamsPublicSigningKey */ "./models/StreamsPublicSigningKey.ts"), exports);
|
|
87194
87366
|
__exportStar(__webpack_require__(/*! ./StreamsPublicSigningKeyResponse */ "./models/StreamsPublicSigningKeyResponse.ts"), exports);
|
|
87195
|
-
__exportStar(__webpack_require__(/*! ./
|
|
87367
|
+
__exportStar(__webpack_require__(/*! ./StreamsResponse */ "./models/StreamsResponse.ts"), exports);
|
|
87196
87368
|
__exportStar(__webpack_require__(/*! ./StreamsSigningKeyResponse */ "./models/StreamsSigningKeyResponse.ts"), exports);
|
|
87197
87369
|
__exportStar(__webpack_require__(/*! ./StreamsStyleConfigPlayerStyle */ "./models/StreamsStyleConfigPlayerStyle.ts"), exports);
|
|
87198
87370
|
__exportStar(__webpack_require__(/*! ./StreamsStyleConfigResponse */ "./models/StreamsStyleConfigResponse.ts"), exports);
|
|
@@ -90896,9 +91068,9 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
90896
91068
|
})();
|
|
90897
91069
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
90898
91070
|
var BaseAPI_1 = __webpack_require__(/*! ../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
90899
|
-
var SearchApi_1 = __webpack_require__(/*! ./search/SearchApi */ "./streams/search/SearchApi.ts");
|
|
90900
91071
|
var VideoApi_1 = __webpack_require__(/*! ./video/VideoApi */ "./streams/video/VideoApi.ts");
|
|
90901
91072
|
var LiveApi_1 = __webpack_require__(/*! ./live/LiveApi */ "./streams/live/LiveApi.ts");
|
|
91073
|
+
var SearchApi_1 = __webpack_require__(/*! ./search/SearchApi */ "./streams/search/SearchApi.ts");
|
|
90902
91074
|
var SigningKeysApi_1 = __webpack_require__(/*! ./signingKeys/SigningKeysApi */ "./streams/signingKeys/SigningKeysApi.ts");
|
|
90903
91075
|
/**
|
|
90904
91076
|
* StreamsApi - object-oriented interface
|
|
@@ -90910,9 +91082,9 @@ var StreamsApi = /** @class */ (function (_super) {
|
|
|
90910
91082
|
__extends(StreamsApi, _super);
|
|
90911
91083
|
function StreamsApi(configuration) {
|
|
90912
91084
|
var _this = _super.call(this, configuration) || this;
|
|
90913
|
-
_this.search = new SearchApi_1.default(configuration);
|
|
90914
91085
|
_this.video = new VideoApi_1.default(configuration);
|
|
90915
91086
|
_this.live = new LiveApi_1.default(configuration);
|
|
91087
|
+
_this.search = new SearchApi_1.default(configuration);
|
|
90916
91088
|
_this.signingKeys = new SigningKeysApi_1.default(configuration);
|
|
90917
91089
|
return _this;
|
|
90918
91090
|
}
|
|
@@ -91236,9 +91408,9 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
91236
91408
|
})();
|
|
91237
91409
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
91238
91410
|
var BaseAPI_1 = __webpack_require__(/*! ../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
91239
|
-
var
|
|
91411
|
+
var StreamsResponse_1 = __webpack_require__(/*! ../../models/StreamsResponse */ "./models/StreamsResponse.ts");
|
|
91240
91412
|
var PaginationResponse_1 = __webpack_require__(/*! ../../models/PaginationResponse */ "./models/PaginationResponse.ts");
|
|
91241
|
-
var
|
|
91413
|
+
var StreamsResponseListQueryParams_1 = __webpack_require__(/*! ./StreamsResponseListQueryParams */ "./streams/search/StreamsResponseListQueryParams.ts");
|
|
91242
91414
|
/**
|
|
91243
91415
|
* SearchApi - object-oriented interface
|
|
91244
91416
|
* @export
|
|
@@ -91259,13 +91431,13 @@ var SearchApi = /** @class */ (function (_super) {
|
|
|
91259
91431
|
SearchApi.prototype.list = function (queryParameters) {
|
|
91260
91432
|
var queryParams = {};
|
|
91261
91433
|
if (typeof queryParameters === 'function') {
|
|
91262
|
-
queryParams = queryParameters(new
|
|
91434
|
+
queryParams = queryParameters(new StreamsResponseListQueryParams_1.StreamsResponseListQueryParamsBuilder()).buildQueryParams();
|
|
91263
91435
|
}
|
|
91264
91436
|
else if (queryParameters) {
|
|
91265
91437
|
queryParams = queryParameters;
|
|
91266
91438
|
}
|
|
91267
91439
|
return this.restClient.get('/streams/search', {}, queryParams).then(function (response) {
|
|
91268
|
-
return new PaginationResponse_1.default(response,
|
|
91440
|
+
return new PaginationResponse_1.default(response, StreamsResponse_1.default);
|
|
91269
91441
|
});
|
|
91270
91442
|
};
|
|
91271
91443
|
return SearchApi;
|
|
@@ -91275,25 +91447,25 @@ exports["default"] = SearchApi;
|
|
|
91275
91447
|
|
|
91276
91448
|
/***/ }),
|
|
91277
91449
|
|
|
91278
|
-
/***/ "./streams/search/
|
|
91279
|
-
|
|
91280
|
-
!*** ./streams/search/
|
|
91281
|
-
|
|
91450
|
+
/***/ "./streams/search/StreamsResponseListQueryParams.ts":
|
|
91451
|
+
/*!**********************************************************!*\
|
|
91452
|
+
!*** ./streams/search/StreamsResponseListQueryParams.ts ***!
|
|
91453
|
+
\**********************************************************/
|
|
91282
91454
|
/***/ ((__unused_webpack_module, exports) => {
|
|
91283
91455
|
|
|
91284
91456
|
"use strict";
|
|
91285
91457
|
|
|
91286
91458
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
91287
|
-
exports.
|
|
91288
|
-
var
|
|
91289
|
-
function
|
|
91459
|
+
exports.StreamsResponseListQueryParamsBuilder = void 0;
|
|
91460
|
+
var StreamsResponseListQueryParamsBuilder = /** @class */ (function () {
|
|
91461
|
+
function StreamsResponseListQueryParamsBuilder() {
|
|
91290
91462
|
this.internalParams = {};
|
|
91291
91463
|
}
|
|
91292
91464
|
/**
|
|
91293
91465
|
*
|
|
91294
91466
|
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
91295
91467
|
*/
|
|
91296
|
-
|
|
91468
|
+
StreamsResponseListQueryParamsBuilder.prototype.offset = function (offset) {
|
|
91297
91469
|
this.internalParams.offset = offset;
|
|
91298
91470
|
return this;
|
|
91299
91471
|
};
|
|
@@ -91301,24 +91473,72 @@ var StreamsSearchResponseListQueryParamsBuilder = /** @class */ (function () {
|
|
|
91301
91473
|
*
|
|
91302
91474
|
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
91303
91475
|
*/
|
|
91304
|
-
|
|
91476
|
+
StreamsResponseListQueryParamsBuilder.prototype.limit = function (limit) {
|
|
91305
91477
|
this.internalParams.limit = limit;
|
|
91306
91478
|
return this;
|
|
91307
91479
|
};
|
|
91308
91480
|
/**
|
|
91309
91481
|
*
|
|
91310
|
-
* @param query Query to search
|
|
91482
|
+
* @param query Query to search for in a streams' title, description and ID
|
|
91311
91483
|
*/
|
|
91312
|
-
|
|
91484
|
+
StreamsResponseListQueryParamsBuilder.prototype.query = function (query) {
|
|
91313
91485
|
this.internalParams.query = query;
|
|
91314
91486
|
return this;
|
|
91315
91487
|
};
|
|
91316
|
-
|
|
91488
|
+
/**
|
|
91489
|
+
*
|
|
91490
|
+
* @param type Type of stream to search for
|
|
91491
|
+
*/
|
|
91492
|
+
StreamsResponseListQueryParamsBuilder.prototype.type = function (type) {
|
|
91493
|
+
this.internalParams.type = type;
|
|
91494
|
+
return this;
|
|
91495
|
+
};
|
|
91496
|
+
/**
|
|
91497
|
+
*
|
|
91498
|
+
* @param status Status of the streams to search for
|
|
91499
|
+
*/
|
|
91500
|
+
StreamsResponseListQueryParamsBuilder.prototype.status = function (status) {
|
|
91501
|
+
this.internalParams.status = status;
|
|
91502
|
+
return this;
|
|
91503
|
+
};
|
|
91504
|
+
/**
|
|
91505
|
+
*
|
|
91506
|
+
* @param createdBefore Upper limit for the creation date of found streams as UTC in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
|
91507
|
+
*/
|
|
91508
|
+
StreamsResponseListQueryParamsBuilder.prototype.createdBefore = function (createdBefore) {
|
|
91509
|
+
this.internalParams.createdBefore = createdBefore;
|
|
91510
|
+
return this;
|
|
91511
|
+
};
|
|
91512
|
+
/**
|
|
91513
|
+
*
|
|
91514
|
+
* @param createdAfter Lower limit for the creation date of found streams as UTC in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
|
91515
|
+
*/
|
|
91516
|
+
StreamsResponseListQueryParamsBuilder.prototype.createdAfter = function (createdAfter) {
|
|
91517
|
+
this.internalParams.createdAfter = createdAfter;
|
|
91518
|
+
return this;
|
|
91519
|
+
};
|
|
91520
|
+
/**
|
|
91521
|
+
*
|
|
91522
|
+
* @param signed Filter for token-protected/signed streams
|
|
91523
|
+
*/
|
|
91524
|
+
StreamsResponseListQueryParamsBuilder.prototype.signed = function (signed) {
|
|
91525
|
+
this.internalParams.signed = signed;
|
|
91526
|
+
return this;
|
|
91527
|
+
};
|
|
91528
|
+
/**
|
|
91529
|
+
*
|
|
91530
|
+
* @param domainRestricted Filter for domain-restricted streams
|
|
91531
|
+
*/
|
|
91532
|
+
StreamsResponseListQueryParamsBuilder.prototype.domainRestricted = function (domainRestricted) {
|
|
91533
|
+
this.internalParams.domainRestricted = domainRestricted;
|
|
91534
|
+
return this;
|
|
91535
|
+
};
|
|
91536
|
+
StreamsResponseListQueryParamsBuilder.prototype.buildQueryParams = function () {
|
|
91317
91537
|
return this.internalParams;
|
|
91318
91538
|
};
|
|
91319
|
-
return
|
|
91539
|
+
return StreamsResponseListQueryParamsBuilder;
|
|
91320
91540
|
}());
|
|
91321
|
-
exports.
|
|
91541
|
+
exports.StreamsResponseListQueryParamsBuilder = StreamsResponseListQueryParamsBuilder;
|
|
91322
91542
|
|
|
91323
91543
|
|
|
91324
91544
|
/***/ }),
|
|
@@ -92172,6 +92392,7 @@ Response.prototype.clone = function() {
|
|
|
92172
92392
|
|
|
92173
92393
|
Response.error = function() {
|
|
92174
92394
|
var response = new Response(null, {status: 200, statusText: ''})
|
|
92395
|
+
response.ok = false
|
|
92175
92396
|
response.status = 0
|
|
92176
92397
|
response.type = 'error'
|
|
92177
92398
|
return response
|
|
@@ -92222,7 +92443,7 @@ function fetch(input, init) {
|
|
|
92222
92443
|
}
|
|
92223
92444
|
// This check if specifically for when a user fetches a file locally from the file system
|
|
92224
92445
|
// Only if the status is out of a normal range
|
|
92225
|
-
if (request.url.
|
|
92446
|
+
if (request.url.indexOf('file://') === 0 && (xhr.status < 200 || xhr.status > 599)) {
|
|
92226
92447
|
options.status = 200;
|
|
92227
92448
|
} else {
|
|
92228
92449
|
options.status = xhr.status;
|