@bitmovin/api-sdk 1.254.0 → 1.255.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 +4539 -4506
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/live/standbyPools/actions/ActionsApi.d.ts +3 -1
- package/dist/encoding/live/standbyPools/actions/ActionsApi.js +3 -2
- package/dist/models/LiveStandbyPoolAcquireEncoding.d.ts +15 -0
- package/dist/models/LiveStandbyPoolAcquireEncoding.js +20 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
|
@@ -240,7 +240,7 @@ var HeaderHandler = /** @class */ (function (_super) {
|
|
|
240
240
|
var headers = {
|
|
241
241
|
'X-Api-Key': apiKey,
|
|
242
242
|
'X-Api-Client': 'bitmovin-api-sdk-javascript',
|
|
243
|
-
'X-Api-Client-Version': '1.
|
|
243
|
+
'X-Api-Client-Version': '1.255.0',
|
|
244
244
|
'Content-Type': 'application/json'
|
|
245
245
|
};
|
|
246
246
|
if (tenantOrgId) {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BaseAPI } from '../../../../common/BaseAPI';
|
|
2
2
|
import Configuration from '../../../../common/Configuration';
|
|
3
|
+
import LiveStandbyPoolAcquireEncoding from '../../../../models/LiveStandbyPoolAcquireEncoding';
|
|
3
4
|
import LiveStandbyPoolEncoding from '../../../../models/LiveStandbyPoolEncoding';
|
|
4
5
|
/**
|
|
5
6
|
* ActionsApi - object-oriented interface
|
|
@@ -12,10 +13,11 @@ export default class ActionsApi extends BaseAPI {
|
|
|
12
13
|
/**
|
|
13
14
|
* @summary Acquire an encoding from a standby pool
|
|
14
15
|
* @param {string} poolId Id of the standby pool
|
|
16
|
+
* @param {LiveStandbyPoolAcquireEncoding} [liveStandbyPoolAcquireEncoding] The optionally provided payload for acquiring an encoding
|
|
15
17
|
* @throws {BitmovinError}
|
|
16
18
|
* @memberof ActionsApi
|
|
17
19
|
*/
|
|
18
|
-
acquireEncoding(poolId: string): Promise<LiveStandbyPoolEncoding>;
|
|
20
|
+
acquireEncoding(poolId: string, liveStandbyPoolAcquireEncoding?: LiveStandbyPoolAcquireEncoding): Promise<LiveStandbyPoolEncoding>;
|
|
19
21
|
/**
|
|
20
22
|
* @summary Delete error encodings from the standby pool
|
|
21
23
|
* @param {string} poolId Id of the standby pool
|
|
@@ -32,14 +32,15 @@ var ActionsApi = /** @class */ (function (_super) {
|
|
|
32
32
|
/**
|
|
33
33
|
* @summary Acquire an encoding from a standby pool
|
|
34
34
|
* @param {string} poolId Id of the standby pool
|
|
35
|
+
* @param {LiveStandbyPoolAcquireEncoding} [liveStandbyPoolAcquireEncoding] The optionally provided payload for acquiring an encoding
|
|
35
36
|
* @throws {BitmovinError}
|
|
36
37
|
* @memberof ActionsApi
|
|
37
38
|
*/
|
|
38
|
-
ActionsApi.prototype.acquireEncoding = function (poolId) {
|
|
39
|
+
ActionsApi.prototype.acquireEncoding = function (poolId, liveStandbyPoolAcquireEncoding) {
|
|
39
40
|
var pathParamMap = {
|
|
40
41
|
pool_id: poolId
|
|
41
42
|
};
|
|
42
|
-
return this.restClient.post('/encoding/live/standby-pools/{pool_id}/actions/acquire-encoding', pathParamMap).then(function (response) {
|
|
43
|
+
return this.restClient.post('/encoding/live/standby-pools/{pool_id}/actions/acquire-encoding', pathParamMap, liveStandbyPoolAcquireEncoding).then(function (response) {
|
|
43
44
|
return (0, Mapper_1.map)(response, LiveStandbyPoolEncoding_1.default);
|
|
44
45
|
});
|
|
45
46
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import LiveStandbyPoolEncodingIngestPoint from './LiveStandbyPoolEncodingIngestPoint';
|
|
2
|
+
/**
|
|
3
|
+
* @export
|
|
4
|
+
* @class LiveStandbyPoolAcquireEncoding
|
|
5
|
+
*/
|
|
6
|
+
export declare class LiveStandbyPoolAcquireEncoding {
|
|
7
|
+
/**
|
|
8
|
+
* Note: This is not implemented yet and will be ignored if provided. List of ingest points to be used for the acquired encoding. The DNS hostname and RTMPs application name and streamKey will be assigned to the encoding.
|
|
9
|
+
* @type {LiveStandbyPoolEncodingIngestPoint[]}
|
|
10
|
+
* @memberof LiveStandbyPoolAcquireEncoding
|
|
11
|
+
*/
|
|
12
|
+
ingestPoints?: LiveStandbyPoolEncodingIngestPoint[];
|
|
13
|
+
constructor(obj?: Partial<LiveStandbyPoolAcquireEncoding>);
|
|
14
|
+
}
|
|
15
|
+
export default LiveStandbyPoolAcquireEncoding;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LiveStandbyPoolAcquireEncoding = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
var LiveStandbyPoolEncodingIngestPoint_1 = require("./LiveStandbyPoolEncodingIngestPoint");
|
|
6
|
+
/**
|
|
7
|
+
* @export
|
|
8
|
+
* @class LiveStandbyPoolAcquireEncoding
|
|
9
|
+
*/
|
|
10
|
+
var LiveStandbyPoolAcquireEncoding = /** @class */ (function () {
|
|
11
|
+
function LiveStandbyPoolAcquireEncoding(obj) {
|
|
12
|
+
if (!obj) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
this.ingestPoints = (0, Mapper_1.mapArray)(obj.ingestPoints, LiveStandbyPoolEncodingIngestPoint_1.default);
|
|
16
|
+
}
|
|
17
|
+
return LiveStandbyPoolAcquireEncoding;
|
|
18
|
+
}());
|
|
19
|
+
exports.LiveStandbyPoolAcquireEncoding = LiveStandbyPoolAcquireEncoding;
|
|
20
|
+
exports.default = LiveStandbyPoolAcquireEncoding;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -517,6 +517,7 @@ export * from './LiveOptionsEntry';
|
|
|
517
517
|
export * from './LiveOptionsStatistics';
|
|
518
518
|
export * from './LiveOptionsSummary';
|
|
519
519
|
export * from './LiveOptionsType';
|
|
520
|
+
export * from './LiveStandbyPoolAcquireEncoding';
|
|
520
521
|
export * from './LiveStandbyPoolDetails';
|
|
521
522
|
export * from './LiveStandbyPoolEncoding';
|
|
522
523
|
export * from './LiveStandbyPoolEncodingIngestPoint';
|
package/dist/models/index.js
CHANGED
|
@@ -533,6 +533,7 @@ __exportStar(require("./LiveOptionsEntry"), exports);
|
|
|
533
533
|
__exportStar(require("./LiveOptionsStatistics"), exports);
|
|
534
534
|
__exportStar(require("./LiveOptionsSummary"), exports);
|
|
535
535
|
__exportStar(require("./LiveOptionsType"), exports);
|
|
536
|
+
__exportStar(require("./LiveStandbyPoolAcquireEncoding"), exports);
|
|
536
537
|
__exportStar(require("./LiveStandbyPoolDetails"), exports);
|
|
537
538
|
__exportStar(require("./LiveStandbyPoolEncoding"), exports);
|
|
538
539
|
__exportStar(require("./LiveStandbyPoolEncodingIngestPoint"), exports);
|