@bitmovin/api-sdk 1.232.1 → 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.
@@ -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.232.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;
@@ -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
@@ -41,6 +41,7 @@ var Input = /** @class */ (function (_super) {
41
41
  GCS: 'GcsInput',
42
42
  HTTP: 'HttpInput',
43
43
  HTTPS: 'HttpsInput',
44
+ HLS: 'HlsInput',
44
45
  LOCAL: 'LocalInput',
45
46
  RTMP: 'RtmpInput',
46
47
  S3: 'S3Input',
@@ -8,6 +8,7 @@ export declare enum InputType {
8
8
  AZURE = "AZURE",
9
9
  REDUNDANT_RTMP = "REDUNDANT_RTMP",
10
10
  FTP = "FTP",
11
+ HLS = "HLS",
11
12
  GENERIC_S3 = "GENERIC_S3",
12
13
  GCS = "GCS",
13
14
  HTTP = "HTTP",
@@ -12,6 +12,7 @@ var InputType;
12
12
  InputType["AZURE"] = "AZURE";
13
13
  InputType["REDUNDANT_RTMP"] = "REDUNDANT_RTMP";
14
14
  InputType["FTP"] = "FTP";
15
+ InputType["HLS"] = "HLS";
15
16
  InputType["GENERIC_S3"] = "GENERIC_S3";
16
17
  InputType["GCS"] = "GCS";
17
18
  InputType["HTTP"] = "HTTP";
@@ -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';
@@ -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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.232.1",
3
+ "version": "1.233.0",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [