@bitmovin/api-sdk 1.231.0 → 1.233.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 +60 -1
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/models/HlsInput.d.ts +22 -0
- package/dist/models/HlsInput.js +45 -0
- package/dist/models/Input.d.ts +2 -1
- package/dist/models/Input.js +1 -0
- package/dist/models/InputType.d.ts +1 -0
- package/dist/models/InputType.js +1 -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.233.0',
|
|
244
244
|
'Content-Type': 'application/json'
|
|
245
245
|
};
|
|
246
246
|
if (tenantOrgId) {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import Input from './Input';
|
|
2
|
+
import InputType from './InputType';
|
|
3
|
+
/**
|
|
4
|
+
* @export
|
|
5
|
+
* @class HlsInput
|
|
6
|
+
*/
|
|
7
|
+
export declare class HlsInput extends Input {
|
|
8
|
+
/**
|
|
9
|
+
* Discriminator property for Input
|
|
10
|
+
* @type {string}
|
|
11
|
+
* @memberof HlsInput
|
|
12
|
+
*/
|
|
13
|
+
readonly type: InputType;
|
|
14
|
+
/**
|
|
15
|
+
* URL of HLS input
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof HlsInput
|
|
18
|
+
*/
|
|
19
|
+
url?: string;
|
|
20
|
+
constructor(obj?: Partial<HlsInput>);
|
|
21
|
+
}
|
|
22
|
+
export default HlsInput;
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
exports.HlsInput = void 0;
|
|
19
|
+
var Mapper_1 = require("../common/Mapper");
|
|
20
|
+
var Input_1 = require("./Input");
|
|
21
|
+
var InputType_1 = require("./InputType");
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
* @class HlsInput
|
|
25
|
+
*/
|
|
26
|
+
var HlsInput = /** @class */ (function (_super) {
|
|
27
|
+
__extends(HlsInput, _super);
|
|
28
|
+
function HlsInput(obj) {
|
|
29
|
+
var _this = _super.call(this, obj) || this;
|
|
30
|
+
/**
|
|
31
|
+
* Discriminator property for Input
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof HlsInput
|
|
34
|
+
*/
|
|
35
|
+
_this.type = InputType_1.default.HLS;
|
|
36
|
+
if (!obj) {
|
|
37
|
+
return _this;
|
|
38
|
+
}
|
|
39
|
+
_this.url = (0, Mapper_1.map)(obj.url);
|
|
40
|
+
return _this;
|
|
41
|
+
}
|
|
42
|
+
return HlsInput;
|
|
43
|
+
}(Input_1.default));
|
|
44
|
+
exports.HlsInput = HlsInput;
|
|
45
|
+
exports.default = HlsInput;
|
package/dist/models/Input.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import FtpInput from './FtpInput';
|
|
|
7
7
|
import GcsInput from './GcsInput';
|
|
8
8
|
import GcsServiceAccountInput from './GcsServiceAccountInput';
|
|
9
9
|
import GenericS3Input from './GenericS3Input';
|
|
10
|
+
import HlsInput from './HlsInput';
|
|
10
11
|
import HttpInput from './HttpInput';
|
|
11
12
|
import HttpsInput from './HttpsInput';
|
|
12
13
|
import InputType from './InputType';
|
|
@@ -18,7 +19,7 @@ import S3RoleBasedInput from './S3RoleBasedInput';
|
|
|
18
19
|
import SftpInput from './SftpInput';
|
|
19
20
|
import SrtInput from './SrtInput';
|
|
20
21
|
import ZixiInput from './ZixiInput';
|
|
21
|
-
export type InputUnion = AkamaiNetStorageInput | AsperaInput | AzureInput | RedundantRtmpInput | FtpInput | GenericS3Input | GcsInput | HttpInput | HttpsInput | LocalInput | RtmpInput | S3Input | S3RoleBasedInput | SftpInput | ZixiInput | SrtInput | GcsServiceAccountInput | DirectFileUploadInput;
|
|
22
|
+
export type InputUnion = AkamaiNetStorageInput | AsperaInput | AzureInput | RedundantRtmpInput | FtpInput | GenericS3Input | GcsInput | HttpInput | HttpsInput | HlsInput | LocalInput | RtmpInput | S3Input | S3RoleBasedInput | SftpInput | ZixiInput | SrtInput | GcsServiceAccountInput | DirectFileUploadInput;
|
|
22
23
|
/**
|
|
23
24
|
* @export
|
|
24
25
|
* @class Input
|
package/dist/models/Input.js
CHANGED
package/dist/models/InputType.js
CHANGED
package/dist/models/index.d.ts
CHANGED
|
@@ -428,6 +428,7 @@ export * from './HeAacV1AudioConfiguration';
|
|
|
428
428
|
export * from './HeAacV1Signaling';
|
|
429
429
|
export * from './HeAacV2AudioConfiguration';
|
|
430
430
|
export * from './HeAacV2Signaling';
|
|
431
|
+
export * from './HlsInput';
|
|
431
432
|
export * from './HlsManifest';
|
|
432
433
|
export * from './HlsManifestAdMarkerSettings';
|
|
433
434
|
export * from './HlsManifestAdMarkerType';
|
package/dist/models/index.js
CHANGED
|
@@ -444,6 +444,7 @@ __exportStar(require("./HeAacV1AudioConfiguration"), exports);
|
|
|
444
444
|
__exportStar(require("./HeAacV1Signaling"), exports);
|
|
445
445
|
__exportStar(require("./HeAacV2AudioConfiguration"), exports);
|
|
446
446
|
__exportStar(require("./HeAacV2Signaling"), exports);
|
|
447
|
+
__exportStar(require("./HlsInput"), exports);
|
|
447
448
|
__exportStar(require("./HlsManifest"), exports);
|
|
448
449
|
__exportStar(require("./HlsManifestAdMarkerSettings"), exports);
|
|
449
450
|
__exportStar(require("./HlsManifestAdMarkerType"), exports);
|