@bitmovin/api-sdk 1.189.0 → 1.191.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/bitmovin-api-sdk.browser.js +93 -2
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/live/streamKeys/StreamKeysApi.d.ts +2 -0
- package/dist/encoding/live/streamKeys/StreamKeysApi.js +4 -1
- package/dist/encoding/live/streamKeys/actions/ActionsApi.d.ts +19 -0
- package/dist/encoding/live/streamKeys/actions/ActionsApi.js +45 -0
- package/dist/models/Organization.d.ts +6 -0
- package/dist/models/Organization.js +1 -0
- package/dist/models/StreamKeysUnassignAction.d.ts +14 -0
- package/dist/models/StreamKeysUnassignAction.js +19 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6093,7 +6093,7 @@ var HeaderHandler = /** @class */ (function (_super) {
|
|
|
6093
6093
|
var headers = {
|
|
6094
6094
|
'X-Api-Key': apiKey,
|
|
6095
6095
|
'X-Api-Client': 'bitmovin-api-sdk-javascript',
|
|
6096
|
-
'X-Api-Client-Version': '1.
|
|
6096
|
+
'X-Api-Client-Version': '1.191.0',
|
|
6097
6097
|
'Content-Type': 'application/json'
|
|
6098
6098
|
};
|
|
6099
6099
|
if (tenantOrgId) {
|
|
@@ -40269,6 +40269,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
40269
40269
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
40270
40270
|
var BaseAPI_1 = __webpack_require__(/*! ../../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
40271
40271
|
var Mapper_1 = __webpack_require__(/*! ../../../common/Mapper */ "./common/Mapper.ts");
|
|
40272
|
+
var ActionsApi_1 = __webpack_require__(/*! ./actions/ActionsApi */ "./encoding/live/streamKeys/actions/ActionsApi.ts");
|
|
40272
40273
|
var BitmovinResponse_1 = __webpack_require__(/*! ../../../models/BitmovinResponse */ "./models/BitmovinResponse.ts");
|
|
40273
40274
|
var StreamKey_1 = __webpack_require__(/*! ../../../models/StreamKey */ "./models/StreamKey.ts");
|
|
40274
40275
|
var PaginationResponse_1 = __webpack_require__(/*! ../../../models/PaginationResponse */ "./models/PaginationResponse.ts");
|
|
@@ -40282,7 +40283,9 @@ var StreamKeyListQueryParams_1 = __webpack_require__(/*! ./StreamKeyListQueryPar
|
|
|
40282
40283
|
var StreamKeysApi = /** @class */ (function (_super) {
|
|
40283
40284
|
__extends(StreamKeysApi, _super);
|
|
40284
40285
|
function StreamKeysApi(configuration) {
|
|
40285
|
-
|
|
40286
|
+
var _this = _super.call(this, configuration) || this;
|
|
40287
|
+
_this.actions = new ActionsApi_1.default(configuration);
|
|
40288
|
+
return _this;
|
|
40286
40289
|
}
|
|
40287
40290
|
/**
|
|
40288
40291
|
* @summary Create new stream key
|
|
@@ -40346,6 +40349,62 @@ var StreamKeysApi = /** @class */ (function (_super) {
|
|
|
40346
40349
|
exports["default"] = StreamKeysApi;
|
|
40347
40350
|
|
|
40348
40351
|
|
|
40352
|
+
/***/ }),
|
|
40353
|
+
|
|
40354
|
+
/***/ "./encoding/live/streamKeys/actions/ActionsApi.ts":
|
|
40355
|
+
/*!********************************************************!*\
|
|
40356
|
+
!*** ./encoding/live/streamKeys/actions/ActionsApi.ts ***!
|
|
40357
|
+
\********************************************************/
|
|
40358
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
40359
|
+
|
|
40360
|
+
"use strict";
|
|
40361
|
+
|
|
40362
|
+
var __extends = (this && this.__extends) || (function () {
|
|
40363
|
+
var extendStatics = function (d, b) {
|
|
40364
|
+
extendStatics = Object.setPrototypeOf ||
|
|
40365
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
40366
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
40367
|
+
return extendStatics(d, b);
|
|
40368
|
+
};
|
|
40369
|
+
return function (d, b) {
|
|
40370
|
+
if (typeof b !== "function" && b !== null)
|
|
40371
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
40372
|
+
extendStatics(d, b);
|
|
40373
|
+
function __() { this.constructor = d; }
|
|
40374
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
40375
|
+
};
|
|
40376
|
+
})();
|
|
40377
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
40378
|
+
var BaseAPI_1 = __webpack_require__(/*! ../../../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
40379
|
+
var Mapper_1 = __webpack_require__(/*! ../../../../common/Mapper */ "./common/Mapper.ts");
|
|
40380
|
+
var StreamKeysUnassignAction_1 = __webpack_require__(/*! ../../../../models/StreamKeysUnassignAction */ "./models/StreamKeysUnassignAction.ts");
|
|
40381
|
+
/**
|
|
40382
|
+
* ActionsApi - object-oriented interface
|
|
40383
|
+
* @export
|
|
40384
|
+
* @class ActionsApi
|
|
40385
|
+
* @extends {BaseAPI}
|
|
40386
|
+
*/
|
|
40387
|
+
var ActionsApi = /** @class */ (function (_super) {
|
|
40388
|
+
__extends(ActionsApi, _super);
|
|
40389
|
+
function ActionsApi(configuration) {
|
|
40390
|
+
return _super.call(this, configuration) || this;
|
|
40391
|
+
}
|
|
40392
|
+
/**
|
|
40393
|
+
* @summary Unassign stream keys
|
|
40394
|
+
* @param {StreamKeysUnassignAction} streamKeysUnassignAction The action payload for unassigning stream keys
|
|
40395
|
+
* @throws {BitmovinError}
|
|
40396
|
+
* @memberof ActionsApi
|
|
40397
|
+
*/
|
|
40398
|
+
ActionsApi.prototype.unassign = function (streamKeysUnassignAction) {
|
|
40399
|
+
return this.restClient.post('/encoding/live/stream-keys/actions/unassign', {}, streamKeysUnassignAction).then(function (response) {
|
|
40400
|
+
return (0, Mapper_1.map)(response, StreamKeysUnassignAction_1.default);
|
|
40401
|
+
});
|
|
40402
|
+
};
|
|
40403
|
+
return ActionsApi;
|
|
40404
|
+
}(BaseAPI_1.BaseAPI));
|
|
40405
|
+
exports["default"] = ActionsApi;
|
|
40406
|
+
|
|
40407
|
+
|
|
40349
40408
|
/***/ }),
|
|
40350
40409
|
|
|
40351
40410
|
/***/ "./encoding/manifests/ManifestListQueryParams.ts":
|
|
@@ -75115,6 +75174,7 @@ var Organization = /** @class */ (function (_super) {
|
|
|
75115
75174
|
_this.labelColor = (0, Mapper_1.map)(obj.labelColor);
|
|
75116
75175
|
_this.limitsPerResource = (0, Mapper_1.mapArray)(obj.limitsPerResource, ResourceLimitContainer_1.default);
|
|
75117
75176
|
_this.signupSource = (0, Mapper_1.map)(obj.signupSource);
|
|
75177
|
+
_this.mfaRequired = (0, Mapper_1.map)(obj.mfaRequired);
|
|
75118
75178
|
return _this;
|
|
75119
75179
|
}
|
|
75120
75180
|
return Organization;
|
|
@@ -82548,6 +82608,36 @@ var StreamKeyType;
|
|
|
82548
82608
|
exports["default"] = StreamKeyType;
|
|
82549
82609
|
|
|
82550
82610
|
|
|
82611
|
+
/***/ }),
|
|
82612
|
+
|
|
82613
|
+
/***/ "./models/StreamKeysUnassignAction.ts":
|
|
82614
|
+
/*!********************************************!*\
|
|
82615
|
+
!*** ./models/StreamKeysUnassignAction.ts ***!
|
|
82616
|
+
\********************************************/
|
|
82617
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
82618
|
+
|
|
82619
|
+
"use strict";
|
|
82620
|
+
|
|
82621
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
82622
|
+
exports.StreamKeysUnassignAction = void 0;
|
|
82623
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
82624
|
+
/**
|
|
82625
|
+
* @export
|
|
82626
|
+
* @class StreamKeysUnassignAction
|
|
82627
|
+
*/
|
|
82628
|
+
var StreamKeysUnassignAction = /** @class */ (function () {
|
|
82629
|
+
function StreamKeysUnassignAction(obj) {
|
|
82630
|
+
if (!obj) {
|
|
82631
|
+
return;
|
|
82632
|
+
}
|
|
82633
|
+
this.encodingId = (0, Mapper_1.map)(obj.encodingId);
|
|
82634
|
+
}
|
|
82635
|
+
return StreamKeysUnassignAction;
|
|
82636
|
+
}());
|
|
82637
|
+
exports.StreamKeysUnassignAction = StreamKeysUnassignAction;
|
|
82638
|
+
exports["default"] = StreamKeysUnassignAction;
|
|
82639
|
+
|
|
82640
|
+
|
|
82551
82641
|
/***/ }),
|
|
82552
82642
|
|
|
82553
82643
|
/***/ "./models/StreamMetadata.ts":
|
|
@@ -87545,6 +87635,7 @@ __exportStar(__webpack_require__(/*! ./StreamKeyConfiguration */ "./models/Strea
|
|
|
87545
87635
|
__exportStar(__webpack_require__(/*! ./StreamKeyConfigurationType */ "./models/StreamKeyConfigurationType.ts"), exports);
|
|
87546
87636
|
__exportStar(__webpack_require__(/*! ./StreamKeyStatus */ "./models/StreamKeyStatus.ts"), exports);
|
|
87547
87637
|
__exportStar(__webpack_require__(/*! ./StreamKeyType */ "./models/StreamKeyType.ts"), exports);
|
|
87638
|
+
__exportStar(__webpack_require__(/*! ./StreamKeysUnassignAction */ "./models/StreamKeysUnassignAction.ts"), exports);
|
|
87548
87639
|
__exportStar(__webpack_require__(/*! ./StreamMetadata */ "./models/StreamMetadata.ts"), exports);
|
|
87549
87640
|
__exportStar(__webpack_require__(/*! ./StreamMode */ "./models/StreamMode.ts"), exports);
|
|
87550
87641
|
__exportStar(__webpack_require__(/*! ./StreamPerTitleFixedResolutionAndBitrateSettings */ "./models/StreamPerTitleFixedResolutionAndBitrateSettings.ts"), exports);
|