@bitmovin/api-sdk 1.269.0 → 1.271.1
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 -195
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/encodings/EncodingsApi.d.ts +0 -2
- package/dist/encoding/encodings/EncodingsApi.js +0 -2
- package/dist/encoding/encodings/live/LiveApi.d.ts +2 -0
- package/dist/encoding/encodings/live/LiveApi.js +2 -0
- package/dist/encoding/encodings/live/heartbeatFinal/HeartbeatFinalApi.d.ts +19 -0
- package/dist/encoding/encodings/live/heartbeatFinal/HeartbeatFinalApi.js +48 -0
- package/dist/encoding/encodings/muxings/fmp4/drm/cenc/CencDrmListQueryParams.d.ts +6 -6
- package/dist/encoding/encodings/muxings/fmp4/drm/speke/SpekeDrmListQueryParams.d.ts +6 -6
- package/dist/encoding/encodings/muxings/mp4/drm/speke/SpekeDrmListQueryParams.d.ts +6 -6
- package/dist/encoding/encodings/muxings/progressiveTs/drm/speke/SpekeDrmListQueryParams.d.ts +6 -6
- package/dist/encoding/encodings/muxings/progressiveWebm/drm/speke/SpekeDrmListQueryParams.d.ts +6 -6
- package/dist/encoding/encodings/muxings/ts/drm/speke/SpekeDrmListQueryParams.d.ts +6 -6
- package/dist/encoding/encodings/muxings/webm/drm/cenc/CencDrmListQueryParams.d.ts +6 -6
- package/dist/encoding/encodings/muxings/webm/drm/speke/SpekeDrmListQueryParams.d.ts +6 -6
- package/dist/models/LiveEncodingHeartbeatUrlResponse.d.ts +14 -0
- package/dist/models/LiveEncodingHeartbeatUrlResponse.js +19 -0
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/package.json +1 -1
- package/dist/encoding/encodings/transferRetries/TransferRetriesApi.d.ts +0 -37
- package/dist/encoding/encodings/transferRetries/TransferRetriesApi.js +0 -88
- package/dist/encoding/encodings/transferRetries/TransferRetryListQueryParams.d.ts +0 -28
- package/dist/encoding/encodings/transferRetries/TransferRetryListQueryParams.js +0 -29
- package/dist/models/TransferRetry.d.ts +0 -34
- package/dist/models/TransferRetry.js +0 -41
|
@@ -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.271.1',
|
|
244
244
|
'Content-Type': 'application/json'
|
|
245
245
|
};
|
|
246
246
|
if (tenantOrgId) {
|
|
@@ -6,7 +6,6 @@ import StreamsApi from './streams/StreamsApi';
|
|
|
6
6
|
import InputStreamsApi from './inputStreams/InputStreamsApi';
|
|
7
7
|
import MuxingsApi from './muxings/MuxingsApi';
|
|
8
8
|
import TemplateApi from './template/TemplateApi';
|
|
9
|
-
import TransferRetriesApi from './transferRetries/TransferRetriesApi';
|
|
10
9
|
import OutputPathsApi from './outputPaths/OutputPathsApi';
|
|
11
10
|
import CaptionsApi from './captions/CaptionsApi';
|
|
12
11
|
import SidecarsApi from './sidecars/SidecarsApi';
|
|
@@ -34,7 +33,6 @@ export default class EncodingsApi extends BaseAPI {
|
|
|
34
33
|
inputStreams: InputStreamsApi;
|
|
35
34
|
muxings: MuxingsApi;
|
|
36
35
|
template: TemplateApi;
|
|
37
|
-
transferRetries: TransferRetriesApi;
|
|
38
36
|
outputPaths: OutputPathsApi;
|
|
39
37
|
captions: CaptionsApi;
|
|
40
38
|
sidecars: SidecarsApi;
|
|
@@ -23,7 +23,6 @@ var StreamsApi_1 = require("./streams/StreamsApi");
|
|
|
23
23
|
var InputStreamsApi_1 = require("./inputStreams/InputStreamsApi");
|
|
24
24
|
var MuxingsApi_1 = require("./muxings/MuxingsApi");
|
|
25
25
|
var TemplateApi_1 = require("./template/TemplateApi");
|
|
26
|
-
var TransferRetriesApi_1 = require("./transferRetries/TransferRetriesApi");
|
|
27
26
|
var OutputPathsApi_1 = require("./outputPaths/OutputPathsApi");
|
|
28
27
|
var CaptionsApi_1 = require("./captions/CaptionsApi");
|
|
29
28
|
var SidecarsApi_1 = require("./sidecars/SidecarsApi");
|
|
@@ -52,7 +51,6 @@ var EncodingsApi = /** @class */ (function (_super) {
|
|
|
52
51
|
_this.inputStreams = new InputStreamsApi_1.default(configuration);
|
|
53
52
|
_this.muxings = new MuxingsApi_1.default(configuration);
|
|
54
53
|
_this.template = new TemplateApi_1.default(configuration);
|
|
55
|
-
_this.transferRetries = new TransferRetriesApi_1.default(configuration);
|
|
56
54
|
_this.outputPaths = new OutputPathsApi_1.default(configuration);
|
|
57
55
|
_this.captions = new CaptionsApi_1.default(configuration);
|
|
58
56
|
_this.sidecars = new SidecarsApi_1.default(configuration);
|
|
@@ -3,6 +3,7 @@ import Configuration from '../../../common/Configuration';
|
|
|
3
3
|
import EsamApi from './esam/EsamApi';
|
|
4
4
|
import ResetLiveManifestTimeshiftApi from './resetLiveManifestTimeshift/ResetLiveManifestTimeshiftApi';
|
|
5
5
|
import HeartbeatApi from './heartbeat/HeartbeatApi';
|
|
6
|
+
import HeartbeatFinalApi from './heartbeatFinal/HeartbeatFinalApi';
|
|
6
7
|
import HdApi from './hd/HdApi';
|
|
7
8
|
import InsertableContentApi from './insertableContent/InsertableContentApi';
|
|
8
9
|
import Scte35CueApi from './scte35Cue/Scte35CueApi';
|
|
@@ -19,6 +20,7 @@ export default class LiveApi extends BaseAPI {
|
|
|
19
20
|
esam: EsamApi;
|
|
20
21
|
resetLiveManifestTimeshift: ResetLiveManifestTimeshiftApi;
|
|
21
22
|
heartbeat: HeartbeatApi;
|
|
23
|
+
heartbeatFinal: HeartbeatFinalApi;
|
|
22
24
|
hd: HdApi;
|
|
23
25
|
insertableContent: InsertableContentApi;
|
|
24
26
|
scte35Cue: Scte35CueApi;
|
|
@@ -20,6 +20,7 @@ var Mapper_1 = require("../../../common/Mapper");
|
|
|
20
20
|
var EsamApi_1 = require("./esam/EsamApi");
|
|
21
21
|
var ResetLiveManifestTimeshiftApi_1 = require("./resetLiveManifestTimeshift/ResetLiveManifestTimeshiftApi");
|
|
22
22
|
var HeartbeatApi_1 = require("./heartbeat/HeartbeatApi");
|
|
23
|
+
var HeartbeatFinalApi_1 = require("./heartbeatFinal/HeartbeatFinalApi");
|
|
23
24
|
var HdApi_1 = require("./hd/HdApi");
|
|
24
25
|
var InsertableContentApi_1 = require("./insertableContent/InsertableContentApi");
|
|
25
26
|
var Scte35CueApi_1 = require("./scte35Cue/Scte35CueApi");
|
|
@@ -39,6 +40,7 @@ var LiveApi = /** @class */ (function (_super) {
|
|
|
39
40
|
_this.esam = new EsamApi_1.default(configuration);
|
|
40
41
|
_this.resetLiveManifestTimeshift = new ResetLiveManifestTimeshiftApi_1.default(configuration);
|
|
41
42
|
_this.heartbeat = new HeartbeatApi_1.default(configuration);
|
|
43
|
+
_this.heartbeatFinal = new HeartbeatFinalApi_1.default(configuration);
|
|
42
44
|
_this.hd = new HdApi_1.default(configuration);
|
|
43
45
|
_this.insertableContent = new InsertableContentApi_1.default(configuration);
|
|
44
46
|
_this.scte35Cue = new Scte35CueApi_1.default(configuration);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BaseAPI } from '../../../../common/BaseAPI';
|
|
2
|
+
import Configuration from '../../../../common/Configuration';
|
|
3
|
+
import LiveEncodingHeartbeatUrlResponse from '../../../../models/LiveEncodingHeartbeatUrlResponse';
|
|
4
|
+
/**
|
|
5
|
+
* HeartbeatFinalApi - object-oriented interface
|
|
6
|
+
* @export
|
|
7
|
+
* @class HeartbeatFinalApi
|
|
8
|
+
* @extends {BaseAPI}
|
|
9
|
+
*/
|
|
10
|
+
export default class HeartbeatFinalApi extends BaseAPI {
|
|
11
|
+
constructor(configuration: Configuration);
|
|
12
|
+
/**
|
|
13
|
+
* @summary Get Final Live Encoding Heartbeat Download URL
|
|
14
|
+
* @param {string} encodingId Id of the encoding.
|
|
15
|
+
* @throws {BitmovinError}
|
|
16
|
+
* @memberof HeartbeatFinalApi
|
|
17
|
+
*/
|
|
18
|
+
get(encodingId: string): Promise<LiveEncodingHeartbeatUrlResponse>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var BaseAPI_1 = require("../../../../common/BaseAPI");
|
|
19
|
+
var Mapper_1 = require("../../../../common/Mapper");
|
|
20
|
+
var LiveEncodingHeartbeatUrlResponse_1 = require("../../../../models/LiveEncodingHeartbeatUrlResponse");
|
|
21
|
+
/**
|
|
22
|
+
* HeartbeatFinalApi - object-oriented interface
|
|
23
|
+
* @export
|
|
24
|
+
* @class HeartbeatFinalApi
|
|
25
|
+
* @extends {BaseAPI}
|
|
26
|
+
*/
|
|
27
|
+
var HeartbeatFinalApi = /** @class */ (function (_super) {
|
|
28
|
+
__extends(HeartbeatFinalApi, _super);
|
|
29
|
+
function HeartbeatFinalApi(configuration) {
|
|
30
|
+
return _super.call(this, configuration) || this;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @summary Get Final Live Encoding Heartbeat Download URL
|
|
34
|
+
* @param {string} encodingId Id of the encoding.
|
|
35
|
+
* @throws {BitmovinError}
|
|
36
|
+
* @memberof HeartbeatFinalApi
|
|
37
|
+
*/
|
|
38
|
+
HeartbeatFinalApi.prototype.get = function (encodingId) {
|
|
39
|
+
var pathParamMap = {
|
|
40
|
+
encoding_id: encodingId
|
|
41
|
+
};
|
|
42
|
+
return this.restClient.get('/encoding/encodings/{encoding_id}/live/heartbeat-final', pathParamMap).then(function (response) {
|
|
43
|
+
return (0, Mapper_1.map)(response, LiveEncodingHeartbeatUrlResponse_1.default);
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
return HeartbeatFinalApi;
|
|
47
|
+
}(BaseAPI_1.BaseAPI));
|
|
48
|
+
exports.default = HeartbeatFinalApi;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export interface CencDrmListQueryParams {
|
|
2
2
|
/**
|
|
3
3
|
* Index of the first item to return, starting at 0. Default is 0
|
|
4
|
-
* @type {
|
|
4
|
+
* @type {number}
|
|
5
5
|
* @memberof CencDrmListQueryParams
|
|
6
6
|
*/
|
|
7
|
-
offset?:
|
|
7
|
+
offset?: number | undefined;
|
|
8
8
|
/**
|
|
9
9
|
* Maximum number of items to return. Default is 25, maximum is 100
|
|
10
|
-
* @type {
|
|
10
|
+
* @type {number}
|
|
11
11
|
* @memberof CencDrmListQueryParams
|
|
12
12
|
*/
|
|
13
|
-
limit?:
|
|
13
|
+
limit?: number | undefined;
|
|
14
14
|
}
|
|
15
15
|
export declare class CencDrmListQueryParamsBuilder {
|
|
16
16
|
private internalParams;
|
|
@@ -18,11 +18,11 @@ export declare class CencDrmListQueryParamsBuilder {
|
|
|
18
18
|
*
|
|
19
19
|
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
20
20
|
*/
|
|
21
|
-
offset(offset:
|
|
21
|
+
offset(offset: number): this;
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
25
25
|
*/
|
|
26
|
-
limit(limit:
|
|
26
|
+
limit(limit: number): this;
|
|
27
27
|
buildQueryParams(): CencDrmListQueryParams;
|
|
28
28
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export interface SpekeDrmListQueryParams {
|
|
2
2
|
/**
|
|
3
3
|
* Index of the first item to return, starting at 0. Default is 0
|
|
4
|
-
* @type {
|
|
4
|
+
* @type {number}
|
|
5
5
|
* @memberof SpekeDrmListQueryParams
|
|
6
6
|
*/
|
|
7
|
-
offset?:
|
|
7
|
+
offset?: number | undefined;
|
|
8
8
|
/**
|
|
9
9
|
* Maximum number of items to return. Default is 25, maximum is 100
|
|
10
|
-
* @type {
|
|
10
|
+
* @type {number}
|
|
11
11
|
* @memberof SpekeDrmListQueryParams
|
|
12
12
|
*/
|
|
13
|
-
limit?:
|
|
13
|
+
limit?: number | undefined;
|
|
14
14
|
}
|
|
15
15
|
export declare class SpekeDrmListQueryParamsBuilder {
|
|
16
16
|
private internalParams;
|
|
@@ -18,11 +18,11 @@ export declare class SpekeDrmListQueryParamsBuilder {
|
|
|
18
18
|
*
|
|
19
19
|
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
20
20
|
*/
|
|
21
|
-
offset(offset:
|
|
21
|
+
offset(offset: number): this;
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
25
25
|
*/
|
|
26
|
-
limit(limit:
|
|
26
|
+
limit(limit: number): this;
|
|
27
27
|
buildQueryParams(): SpekeDrmListQueryParams;
|
|
28
28
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export interface SpekeDrmListQueryParams {
|
|
2
2
|
/**
|
|
3
3
|
* Index of the first item to return, starting at 0. Default is 0
|
|
4
|
-
* @type {
|
|
4
|
+
* @type {number}
|
|
5
5
|
* @memberof SpekeDrmListQueryParams
|
|
6
6
|
*/
|
|
7
|
-
offset?:
|
|
7
|
+
offset?: number | undefined;
|
|
8
8
|
/**
|
|
9
9
|
* Maximum number of items to return. Default is 25, maximum is 100
|
|
10
|
-
* @type {
|
|
10
|
+
* @type {number}
|
|
11
11
|
* @memberof SpekeDrmListQueryParams
|
|
12
12
|
*/
|
|
13
|
-
limit?:
|
|
13
|
+
limit?: number | undefined;
|
|
14
14
|
}
|
|
15
15
|
export declare class SpekeDrmListQueryParamsBuilder {
|
|
16
16
|
private internalParams;
|
|
@@ -18,11 +18,11 @@ export declare class SpekeDrmListQueryParamsBuilder {
|
|
|
18
18
|
*
|
|
19
19
|
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
20
20
|
*/
|
|
21
|
-
offset(offset:
|
|
21
|
+
offset(offset: number): this;
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
25
25
|
*/
|
|
26
|
-
limit(limit:
|
|
26
|
+
limit(limit: number): this;
|
|
27
27
|
buildQueryParams(): SpekeDrmListQueryParams;
|
|
28
28
|
}
|
package/dist/encoding/encodings/muxings/progressiveTs/drm/speke/SpekeDrmListQueryParams.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export interface SpekeDrmListQueryParams {
|
|
2
2
|
/**
|
|
3
3
|
* Index of the first item to return, starting at 0. Default is 0
|
|
4
|
-
* @type {
|
|
4
|
+
* @type {number}
|
|
5
5
|
* @memberof SpekeDrmListQueryParams
|
|
6
6
|
*/
|
|
7
|
-
offset?:
|
|
7
|
+
offset?: number | undefined;
|
|
8
8
|
/**
|
|
9
9
|
* Maximum number of items to return. Default is 25, maximum is 100
|
|
10
|
-
* @type {
|
|
10
|
+
* @type {number}
|
|
11
11
|
* @memberof SpekeDrmListQueryParams
|
|
12
12
|
*/
|
|
13
|
-
limit?:
|
|
13
|
+
limit?: number | undefined;
|
|
14
14
|
}
|
|
15
15
|
export declare class SpekeDrmListQueryParamsBuilder {
|
|
16
16
|
private internalParams;
|
|
@@ -18,11 +18,11 @@ export declare class SpekeDrmListQueryParamsBuilder {
|
|
|
18
18
|
*
|
|
19
19
|
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
20
20
|
*/
|
|
21
|
-
offset(offset:
|
|
21
|
+
offset(offset: number): this;
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
25
25
|
*/
|
|
26
|
-
limit(limit:
|
|
26
|
+
limit(limit: number): this;
|
|
27
27
|
buildQueryParams(): SpekeDrmListQueryParams;
|
|
28
28
|
}
|
package/dist/encoding/encodings/muxings/progressiveWebm/drm/speke/SpekeDrmListQueryParams.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export interface SpekeDrmListQueryParams {
|
|
2
2
|
/**
|
|
3
3
|
* Index of the first item to return, starting at 0. Default is 0
|
|
4
|
-
* @type {
|
|
4
|
+
* @type {number}
|
|
5
5
|
* @memberof SpekeDrmListQueryParams
|
|
6
6
|
*/
|
|
7
|
-
offset?:
|
|
7
|
+
offset?: number | undefined;
|
|
8
8
|
/**
|
|
9
9
|
* Maximum number of items to return. Default is 25, maximum is 100
|
|
10
|
-
* @type {
|
|
10
|
+
* @type {number}
|
|
11
11
|
* @memberof SpekeDrmListQueryParams
|
|
12
12
|
*/
|
|
13
|
-
limit?:
|
|
13
|
+
limit?: number | undefined;
|
|
14
14
|
}
|
|
15
15
|
export declare class SpekeDrmListQueryParamsBuilder {
|
|
16
16
|
private internalParams;
|
|
@@ -18,11 +18,11 @@ export declare class SpekeDrmListQueryParamsBuilder {
|
|
|
18
18
|
*
|
|
19
19
|
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
20
20
|
*/
|
|
21
|
-
offset(offset:
|
|
21
|
+
offset(offset: number): this;
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
25
25
|
*/
|
|
26
|
-
limit(limit:
|
|
26
|
+
limit(limit: number): this;
|
|
27
27
|
buildQueryParams(): SpekeDrmListQueryParams;
|
|
28
28
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export interface SpekeDrmListQueryParams {
|
|
2
2
|
/**
|
|
3
3
|
* Index of the first item to return, starting at 0. Default is 0
|
|
4
|
-
* @type {
|
|
4
|
+
* @type {number}
|
|
5
5
|
* @memberof SpekeDrmListQueryParams
|
|
6
6
|
*/
|
|
7
|
-
offset?:
|
|
7
|
+
offset?: number | undefined;
|
|
8
8
|
/**
|
|
9
9
|
* Maximum number of items to return. Default is 25, maximum is 100
|
|
10
|
-
* @type {
|
|
10
|
+
* @type {number}
|
|
11
11
|
* @memberof SpekeDrmListQueryParams
|
|
12
12
|
*/
|
|
13
|
-
limit?:
|
|
13
|
+
limit?: number | undefined;
|
|
14
14
|
}
|
|
15
15
|
export declare class SpekeDrmListQueryParamsBuilder {
|
|
16
16
|
private internalParams;
|
|
@@ -18,11 +18,11 @@ export declare class SpekeDrmListQueryParamsBuilder {
|
|
|
18
18
|
*
|
|
19
19
|
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
20
20
|
*/
|
|
21
|
-
offset(offset:
|
|
21
|
+
offset(offset: number): this;
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
25
25
|
*/
|
|
26
|
-
limit(limit:
|
|
26
|
+
limit(limit: number): this;
|
|
27
27
|
buildQueryParams(): SpekeDrmListQueryParams;
|
|
28
28
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export interface CencDrmListQueryParams {
|
|
2
2
|
/**
|
|
3
3
|
* Index of the first item to return, starting at 0. Default is 0
|
|
4
|
-
* @type {
|
|
4
|
+
* @type {number}
|
|
5
5
|
* @memberof CencDrmListQueryParams
|
|
6
6
|
*/
|
|
7
|
-
offset?:
|
|
7
|
+
offset?: number | undefined;
|
|
8
8
|
/**
|
|
9
9
|
* Maximum number of items to return. Default is 25, maximum is 100
|
|
10
|
-
* @type {
|
|
10
|
+
* @type {number}
|
|
11
11
|
* @memberof CencDrmListQueryParams
|
|
12
12
|
*/
|
|
13
|
-
limit?:
|
|
13
|
+
limit?: number | undefined;
|
|
14
14
|
}
|
|
15
15
|
export declare class CencDrmListQueryParamsBuilder {
|
|
16
16
|
private internalParams;
|
|
@@ -18,11 +18,11 @@ export declare class CencDrmListQueryParamsBuilder {
|
|
|
18
18
|
*
|
|
19
19
|
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
20
20
|
*/
|
|
21
|
-
offset(offset:
|
|
21
|
+
offset(offset: number): this;
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
25
25
|
*/
|
|
26
|
-
limit(limit:
|
|
26
|
+
limit(limit: number): this;
|
|
27
27
|
buildQueryParams(): CencDrmListQueryParams;
|
|
28
28
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export interface SpekeDrmListQueryParams {
|
|
2
2
|
/**
|
|
3
3
|
* Index of the first item to return, starting at 0. Default is 0
|
|
4
|
-
* @type {
|
|
4
|
+
* @type {number}
|
|
5
5
|
* @memberof SpekeDrmListQueryParams
|
|
6
6
|
*/
|
|
7
|
-
offset?:
|
|
7
|
+
offset?: number | undefined;
|
|
8
8
|
/**
|
|
9
9
|
* Maximum number of items to return. Default is 25, maximum is 100
|
|
10
|
-
* @type {
|
|
10
|
+
* @type {number}
|
|
11
11
|
* @memberof SpekeDrmListQueryParams
|
|
12
12
|
*/
|
|
13
|
-
limit?:
|
|
13
|
+
limit?: number | undefined;
|
|
14
14
|
}
|
|
15
15
|
export declare class SpekeDrmListQueryParamsBuilder {
|
|
16
16
|
private internalParams;
|
|
@@ -18,11 +18,11 @@ export declare class SpekeDrmListQueryParamsBuilder {
|
|
|
18
18
|
*
|
|
19
19
|
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
20
20
|
*/
|
|
21
|
-
offset(offset:
|
|
21
|
+
offset(offset: number): this;
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
25
25
|
*/
|
|
26
|
-
limit(limit:
|
|
26
|
+
limit(limit: number): this;
|
|
27
27
|
buildQueryParams(): SpekeDrmListQueryParams;
|
|
28
28
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @export
|
|
3
|
+
* @class LiveEncodingHeartbeatUrlResponse
|
|
4
|
+
*/
|
|
5
|
+
export declare class LiveEncodingHeartbeatUrlResponse {
|
|
6
|
+
/**
|
|
7
|
+
* Presigned S3 URL to download the final heartbeat JSON of the live encoding. Valid for 10 minutes. (required)
|
|
8
|
+
* @type {string}
|
|
9
|
+
* @memberof LiveEncodingHeartbeatUrlResponse
|
|
10
|
+
*/
|
|
11
|
+
url?: string;
|
|
12
|
+
constructor(obj?: Partial<LiveEncodingHeartbeatUrlResponse>);
|
|
13
|
+
}
|
|
14
|
+
export default LiveEncodingHeartbeatUrlResponse;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LiveEncodingHeartbeatUrlResponse = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
/**
|
|
6
|
+
* @export
|
|
7
|
+
* @class LiveEncodingHeartbeatUrlResponse
|
|
8
|
+
*/
|
|
9
|
+
var LiveEncodingHeartbeatUrlResponse = /** @class */ (function () {
|
|
10
|
+
function LiveEncodingHeartbeatUrlResponse(obj) {
|
|
11
|
+
if (!obj) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
this.url = (0, Mapper_1.map)(obj.url);
|
|
15
|
+
}
|
|
16
|
+
return LiveEncodingHeartbeatUrlResponse;
|
|
17
|
+
}());
|
|
18
|
+
exports.LiveEncodingHeartbeatUrlResponse = LiveEncodingHeartbeatUrlResponse;
|
|
19
|
+
exports.default = LiveEncodingHeartbeatUrlResponse;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -523,6 +523,7 @@ export * from './LiveEncodingHeartbeatEventType';
|
|
|
523
523
|
export * from './LiveEncodingHeartbeatIngest';
|
|
524
524
|
export * from './LiveEncodingHeartbeatIngestPoint';
|
|
525
525
|
export * from './LiveEncodingHeartbeatIngestStream';
|
|
526
|
+
export * from './LiveEncodingHeartbeatUrlResponse';
|
|
526
527
|
export * from './LiveEncodingHeartbeatWebhook';
|
|
527
528
|
export * from './LiveEncodingOptionsStatistics';
|
|
528
529
|
export * from './LiveEncodingStats';
|
|
@@ -829,7 +830,6 @@ export * from './ThumbnailUnit';
|
|
|
829
830
|
export * from './TimeBasedTrimmingInputStream';
|
|
830
831
|
export * from './TimeSpan';
|
|
831
832
|
export * from './TimecodeTrackTrimmingInputStream';
|
|
832
|
-
export * from './TransferRetry';
|
|
833
833
|
export * from './TransferVersion';
|
|
834
834
|
export * from './TransformSkipMode';
|
|
835
835
|
export * from './Trimming';
|
package/dist/models/index.js
CHANGED
|
@@ -539,6 +539,7 @@ __exportStar(require("./LiveEncodingHeartbeatEventType"), exports);
|
|
|
539
539
|
__exportStar(require("./LiveEncodingHeartbeatIngest"), exports);
|
|
540
540
|
__exportStar(require("./LiveEncodingHeartbeatIngestPoint"), exports);
|
|
541
541
|
__exportStar(require("./LiveEncodingHeartbeatIngestStream"), exports);
|
|
542
|
+
__exportStar(require("./LiveEncodingHeartbeatUrlResponse"), exports);
|
|
542
543
|
__exportStar(require("./LiveEncodingHeartbeatWebhook"), exports);
|
|
543
544
|
__exportStar(require("./LiveEncodingOptionsStatistics"), exports);
|
|
544
545
|
__exportStar(require("./LiveEncodingStats"), exports);
|
|
@@ -845,7 +846,6 @@ __exportStar(require("./ThumbnailUnit"), exports);
|
|
|
845
846
|
__exportStar(require("./TimeBasedTrimmingInputStream"), exports);
|
|
846
847
|
__exportStar(require("./TimeSpan"), exports);
|
|
847
848
|
__exportStar(require("./TimecodeTrackTrimmingInputStream"), exports);
|
|
848
|
-
__exportStar(require("./TransferRetry"), exports);
|
|
849
849
|
__exportStar(require("./TransferVersion"), exports);
|
|
850
850
|
__exportStar(require("./TransformSkipMode"), exports);
|
|
851
851
|
__exportStar(require("./Trimming"), exports);
|
package/package.json
CHANGED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { BaseAPI } from '../../../common/BaseAPI';
|
|
2
|
-
import Configuration from '../../../common/Configuration';
|
|
3
|
-
import TransferRetry from '../../../models/TransferRetry';
|
|
4
|
-
import PaginationResponse from '../../../models/PaginationResponse';
|
|
5
|
-
import { TransferRetryListQueryParams, TransferRetryListQueryParamsBuilder } from './TransferRetryListQueryParams';
|
|
6
|
-
/**
|
|
7
|
-
* TransferRetriesApi - object-oriented interface
|
|
8
|
-
* @export
|
|
9
|
-
* @class TransferRetriesApi
|
|
10
|
-
* @extends {BaseAPI}
|
|
11
|
-
*/
|
|
12
|
-
export default class TransferRetriesApi extends BaseAPI {
|
|
13
|
-
constructor(configuration: Configuration);
|
|
14
|
-
/**
|
|
15
|
-
* @summary Transfer retry
|
|
16
|
-
* @param {string} encodingId Id of the encoding.
|
|
17
|
-
* @throws {BitmovinError}
|
|
18
|
-
* @memberof TransferRetriesApi
|
|
19
|
-
*/
|
|
20
|
-
create(encodingId: string): Promise<TransferRetry>;
|
|
21
|
-
/**
|
|
22
|
-
* @summary Transfer retry Details
|
|
23
|
-
* @param {string} encodingId Id of the encoding.
|
|
24
|
-
* @param {string} transferRetryId Id of the transfer-retry.
|
|
25
|
-
* @throws {BitmovinError}
|
|
26
|
-
* @memberof TransferRetriesApi
|
|
27
|
-
*/
|
|
28
|
-
get(encodingId: string, transferRetryId: string): Promise<TransferRetry>;
|
|
29
|
-
/**
|
|
30
|
-
* @summary List transfer-retries
|
|
31
|
-
* @param {string} encodingId Id of the encoding.
|
|
32
|
-
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
33
|
-
* @throws {BitmovinError}
|
|
34
|
-
* @memberof TransferRetriesApi
|
|
35
|
-
*/
|
|
36
|
-
list(encodingId: string, queryParameters?: TransferRetryListQueryParams | ((q: TransferRetryListQueryParamsBuilder) => TransferRetryListQueryParamsBuilder)): Promise<PaginationResponse<TransferRetry>>;
|
|
37
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
var BaseAPI_1 = require("../../../common/BaseAPI");
|
|
19
|
-
var Mapper_1 = require("../../../common/Mapper");
|
|
20
|
-
var TransferRetry_1 = require("../../../models/TransferRetry");
|
|
21
|
-
var PaginationResponse_1 = require("../../../models/PaginationResponse");
|
|
22
|
-
var TransferRetryListQueryParams_1 = require("./TransferRetryListQueryParams");
|
|
23
|
-
/**
|
|
24
|
-
* TransferRetriesApi - object-oriented interface
|
|
25
|
-
* @export
|
|
26
|
-
* @class TransferRetriesApi
|
|
27
|
-
* @extends {BaseAPI}
|
|
28
|
-
*/
|
|
29
|
-
var TransferRetriesApi = /** @class */ (function (_super) {
|
|
30
|
-
__extends(TransferRetriesApi, _super);
|
|
31
|
-
function TransferRetriesApi(configuration) {
|
|
32
|
-
return _super.call(this, configuration) || this;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* @summary Transfer retry
|
|
36
|
-
* @param {string} encodingId Id of the encoding.
|
|
37
|
-
* @throws {BitmovinError}
|
|
38
|
-
* @memberof TransferRetriesApi
|
|
39
|
-
*/
|
|
40
|
-
TransferRetriesApi.prototype.create = function (encodingId) {
|
|
41
|
-
var pathParamMap = {
|
|
42
|
-
encoding_id: encodingId
|
|
43
|
-
};
|
|
44
|
-
return this.restClient.post('/encoding/encodings/{encoding_id}/transfer-retries', pathParamMap).then(function (response) {
|
|
45
|
-
return (0, Mapper_1.map)(response, TransferRetry_1.default);
|
|
46
|
-
});
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* @summary Transfer retry Details
|
|
50
|
-
* @param {string} encodingId Id of the encoding.
|
|
51
|
-
* @param {string} transferRetryId Id of the transfer-retry.
|
|
52
|
-
* @throws {BitmovinError}
|
|
53
|
-
* @memberof TransferRetriesApi
|
|
54
|
-
*/
|
|
55
|
-
TransferRetriesApi.prototype.get = function (encodingId, transferRetryId) {
|
|
56
|
-
var pathParamMap = {
|
|
57
|
-
encoding_id: encodingId,
|
|
58
|
-
transfer_retry_id: transferRetryId
|
|
59
|
-
};
|
|
60
|
-
return this.restClient.get('/encoding/encodings/{encoding_id}/transfer-retries/{transfer_retry_id}', pathParamMap).then(function (response) {
|
|
61
|
-
return (0, Mapper_1.map)(response, TransferRetry_1.default);
|
|
62
|
-
});
|
|
63
|
-
};
|
|
64
|
-
/**
|
|
65
|
-
* @summary List transfer-retries
|
|
66
|
-
* @param {string} encodingId Id of the encoding.
|
|
67
|
-
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
68
|
-
* @throws {BitmovinError}
|
|
69
|
-
* @memberof TransferRetriesApi
|
|
70
|
-
*/
|
|
71
|
-
TransferRetriesApi.prototype.list = function (encodingId, queryParameters) {
|
|
72
|
-
var pathParamMap = {
|
|
73
|
-
encoding_id: encodingId
|
|
74
|
-
};
|
|
75
|
-
var queryParams = {};
|
|
76
|
-
if (typeof queryParameters === 'function') {
|
|
77
|
-
queryParams = queryParameters(new TransferRetryListQueryParams_1.TransferRetryListQueryParamsBuilder()).buildQueryParams();
|
|
78
|
-
}
|
|
79
|
-
else if (queryParameters) {
|
|
80
|
-
queryParams = queryParameters;
|
|
81
|
-
}
|
|
82
|
-
return this.restClient.get('/encoding/encodings/{encoding_id}/transfer-retries', pathParamMap, queryParams).then(function (response) {
|
|
83
|
-
return new PaginationResponse_1.default(response, TransferRetry_1.default);
|
|
84
|
-
});
|
|
85
|
-
};
|
|
86
|
-
return TransferRetriesApi;
|
|
87
|
-
}(BaseAPI_1.BaseAPI));
|
|
88
|
-
exports.default = TransferRetriesApi;
|