@bitmovin/api-sdk 1.138.0 → 1.140.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.
Files changed (67) hide show
  1. package/README.md +1 -1
  2. package/dist/BitmovinApi.d.ts +2 -2
  3. package/dist/BitmovinApi.js +2 -2
  4. package/dist/bitmovin-api-sdk.browser.js +448 -275
  5. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  6. package/dist/common/ConsoleLogger.js +1 -1
  7. package/dist/common/Mapper.d.ts +1 -1
  8. package/dist/common/NullLogger.js +1 -1
  9. package/dist/common/RestClient.d.ts +1 -1
  10. package/dist/common/RestClient.js +2 -2
  11. package/dist/models/AbstractCondition.d.ts +1 -1
  12. package/dist/models/AdAnalyticsAbstractFilter.d.ts +1 -1
  13. package/dist/models/AdaptationSet.d.ts +1 -1
  14. package/dist/models/AnalyticsAbstractFilter.d.ts +1 -1
  15. package/dist/models/AnalyticsOutput.d.ts +1 -1
  16. package/dist/models/CodecConfiguration.d.ts +1 -1
  17. package/dist/models/DashRepresentation.d.ts +1 -1
  18. package/dist/models/DefaultManifestCondition.d.ts +1 -1
  19. package/dist/models/Drm.d.ts +1 -1
  20. package/dist/models/Filter.d.ts +1 -1
  21. package/dist/models/Id3Tag.d.ts +1 -1
  22. package/dist/models/Input.d.ts +1 -1
  23. package/dist/models/InputStream.d.ts +1 -1
  24. package/dist/models/Muxing.d.ts +1 -1
  25. package/dist/models/Output.d.ts +2 -1
  26. package/dist/models/SidecarFile.d.ts +1 -1
  27. package/dist/models/SimpleEncodingLiveJobOutput.d.ts +1 -1
  28. package/dist/models/SimpleEncodingVodJobInput.d.ts +1 -1
  29. package/dist/models/SimpleEncodingVodJobOutput.d.ts +8 -1
  30. package/dist/models/SimpleEncodingVodJobOutput.js +3 -0
  31. package/dist/models/SimpleEncodingVodJobOutputArtifact.d.ts +20 -0
  32. package/dist/models/SimpleEncodingVodJobOutputArtifact.js +20 -0
  33. package/dist/models/StreamsLiveUpdateRequest.d.ts +20 -0
  34. package/dist/models/StreamsLiveUpdateRequest.js +20 -0
  35. package/dist/models/StreamsVideoCreateRequest.d.ts +26 -0
  36. package/dist/models/{CreateBitmovinStreamRequest.js → StreamsVideoCreateRequest.js} +7 -7
  37. package/dist/models/{BitmovinStreamEncodingStatus.d.ts → StreamsVideoEncodingStatus.d.ts} +2 -2
  38. package/dist/models/StreamsVideoEncodingStatus.js +14 -0
  39. package/dist/models/StreamsVideoEncodingTask.d.ts +22 -0
  40. package/dist/models/StreamsVideoEncodingTask.js +20 -0
  41. package/dist/models/{BitmovinStreamQuality.d.ts → StreamsVideoQuality.d.ts} +2 -2
  42. package/dist/models/StreamsVideoQuality.js +14 -0
  43. package/dist/models/StreamsVideoResponse.d.ts +52 -0
  44. package/dist/models/{BitmovinStreamResponse.js → StreamsVideoResponse.js} +9 -11
  45. package/dist/models/{BitmovinStreamStatus.d.ts → StreamsVideoStatus.d.ts} +2 -2
  46. package/dist/models/StreamsVideoStatus.js +13 -0
  47. package/dist/models/StreamsVideoUpdateRequest.d.ts +27 -0
  48. package/dist/models/{UpdateBitmovinStreamRequest.js → StreamsVideoUpdateRequest.js} +7 -7
  49. package/dist/models/index.d.ts +9 -7
  50. package/dist/models/index.js +9 -7
  51. package/dist/streams/StreamsApi.d.ts +4 -34
  52. package/dist/streams/StreamsApi.js +6 -63
  53. package/dist/streams/live/LiveApi.d.ts +20 -0
  54. package/dist/streams/live/LiveApi.js +49 -0
  55. package/dist/streams/{BitmovinStreamResponseListQueryParams.d.ts → video/StreamsVideoResponseListQueryParams.d.ts} +6 -6
  56. package/dist/streams/{BitmovinStreamResponseListQueryParams.js → video/StreamsVideoResponseListQueryParams.js} +9 -9
  57. package/dist/streams/video/VideoApi.d.ts +45 -0
  58. package/dist/streams/video/VideoApi.js +94 -0
  59. package/package.json +1 -1
  60. package/dist/models/BitmovinStreamEncodingStatus.js +0 -14
  61. package/dist/models/BitmovinStreamEncodingTask.d.ts +0 -22
  62. package/dist/models/BitmovinStreamEncodingTask.js +0 -20
  63. package/dist/models/BitmovinStreamQuality.js +0 -14
  64. package/dist/models/BitmovinStreamResponse.d.ts +0 -65
  65. package/dist/models/BitmovinStreamStatus.js +0 -13
  66. package/dist/models/CreateBitmovinStreamRequest.d.ts +0 -26
  67. package/dist/models/UpdateBitmovinStreamRequest.d.ts +0 -27
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -1,3 +1,3 @@
1
- export declare type Callable<T> = new (obj: any) => T;
1
+ export type Callable<T> = new (obj: any) => T;
2
2
  export declare function map<T>(value: T | undefined, clazz?: Callable<T>): T;
3
3
  export declare function mapArray<T>(value: T[] | undefined, clazz?: Callable<T>): T[];
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -1,5 +1,5 @@
1
1
  import Configuration from './Configuration';
2
- export declare type FetchAPI = (url: string, init?: any) => Promise<Response>;
2
+ export type FetchAPI = (url: string, init?: any) => Promise<Response>;
3
3
  export declare function copyAndPrepareBody(value: any): any;
4
4
  export declare class RestClient {
5
5
  private readonly GET;
@@ -29,7 +29,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
29
29
  function verb(n) { return function (v) { return step([n, v]); }; }
30
30
  function step(op) {
31
31
  if (f) throw new TypeError("Generator is already executing.");
32
- while (_) try {
32
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
33
33
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
34
34
  if (y = 0, t) op = [op[0] & 2, t.value];
35
35
  switch (op[0]) {
@@ -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.138.0',
243
+ 'X-Api-Client-Version': '1.140.0',
244
244
  'Content-Type': 'application/json'
245
245
  };
246
246
  if (tenantOrgId) {
@@ -2,7 +2,7 @@ import AndConjunction from './AndConjunction';
2
2
  import Condition from './Condition';
3
3
  import ConditionType from './ConditionType';
4
4
  import OrConjunction from './OrConjunction';
5
- export declare type AbstractConditionUnion = Condition | AndConjunction | OrConjunction;
5
+ export type AbstractConditionUnion = Condition | AndConjunction | OrConjunction;
6
6
  /**
7
7
  * @export
8
8
  * @class AbstractCondition
@@ -9,7 +9,7 @@ import AdAnalyticsLessThanOrEqualFilter from './AdAnalyticsLessThanOrEqualFilter
9
9
  import AdAnalyticsNotContainsFilter from './AdAnalyticsNotContainsFilter';
10
10
  import AdAnalyticsNotEqualFilter from './AdAnalyticsNotEqualFilter';
11
11
  import AnalyticsQueryOperator from './AnalyticsQueryOperator';
12
- export declare type AdAnalyticsAbstractFilterUnion = AdAnalyticsInFilter | AdAnalyticsEqualFilter | AdAnalyticsNotEqualFilter | AdAnalyticsLessThanFilter | AdAnalyticsLessThanOrEqualFilter | AdAnalyticsGreaterThanFilter | AdAnalyticsGreaterThanOrEqualFilter | AdAnalyticsContainsFilter | AdAnalyticsNotContainsFilter;
12
+ export type AdAnalyticsAbstractFilterUnion = AdAnalyticsInFilter | AdAnalyticsEqualFilter | AdAnalyticsNotEqualFilter | AdAnalyticsLessThanFilter | AdAnalyticsLessThanOrEqualFilter | AdAnalyticsGreaterThanFilter | AdAnalyticsGreaterThanOrEqualFilter | AdAnalyticsContainsFilter | AdAnalyticsNotContainsFilter;
13
13
  /**
14
14
  * @export
15
15
  * @class AdAnalyticsAbstractFilter
@@ -8,7 +8,7 @@ import ImageAdaptationSet from './ImageAdaptationSet';
8
8
  import Label from './Label';
9
9
  import SubtitleAdaptationSet from './SubtitleAdaptationSet';
10
10
  import VideoAdaptationSet from './VideoAdaptationSet';
11
- export declare type AdaptationSetUnion = VideoAdaptationSet | AudioAdaptationSet | ImageAdaptationSet | SubtitleAdaptationSet;
11
+ export type AdaptationSetUnion = VideoAdaptationSet | AudioAdaptationSet | ImageAdaptationSet | SubtitleAdaptationSet;
12
12
  /**
13
13
  * @export
14
14
  * @class AdaptationSet
@@ -9,7 +9,7 @@ import AnalyticsLessThanOrEqualFilter from './AnalyticsLessThanOrEqualFilter';
9
9
  import AnalyticsNotContainsFilter from './AnalyticsNotContainsFilter';
10
10
  import AnalyticsNotEqualFilter from './AnalyticsNotEqualFilter';
11
11
  import AnalyticsQueryOperator from './AnalyticsQueryOperator';
12
- export declare type AnalyticsAbstractFilterUnion = AnalyticsInFilter | AnalyticsEqualFilter | AnalyticsNotEqualFilter | AnalyticsLessThanFilter | AnalyticsLessThanOrEqualFilter | AnalyticsGreaterThanFilter | AnalyticsGreaterThanOrEqualFilter | AnalyticsContainsFilter | AnalyticsNotContainsFilter;
12
+ export type AnalyticsAbstractFilterUnion = AnalyticsInFilter | AnalyticsEqualFilter | AnalyticsNotEqualFilter | AnalyticsLessThanFilter | AnalyticsLessThanOrEqualFilter | AnalyticsGreaterThanFilter | AnalyticsGreaterThanOrEqualFilter | AnalyticsContainsFilter | AnalyticsNotContainsFilter;
13
13
  /**
14
14
  * @export
15
15
  * @class AnalyticsAbstractFilter
@@ -4,7 +4,7 @@ import AnalyticsGcsServiceAccountOutput from './AnalyticsGcsServiceAccountOutput
4
4
  import AnalyticsOutputType from './AnalyticsOutputType';
5
5
  import AnalyticsS3RoleBasedOutput from './AnalyticsS3RoleBasedOutput';
6
6
  import BitmovinResource from './BitmovinResource';
7
- export declare type AnalyticsOutputUnion = AnalyticsS3RoleBasedOutput | AnalyticsGcsServiceAccountOutput | AnalyticsAzureOutput;
7
+ export type AnalyticsOutputUnion = AnalyticsS3RoleBasedOutput | AnalyticsGcsServiceAccountOutput | AnalyticsAzureOutput;
8
8
  /**
9
9
  * @export
10
10
  * @class AnalyticsOutput
@@ -26,7 +26,7 @@ import VorbisAudioConfiguration from './VorbisAudioConfiguration';
26
26
  import Vp8VideoConfiguration from './Vp8VideoConfiguration';
27
27
  import Vp9VideoConfiguration from './Vp9VideoConfiguration';
28
28
  import WebVttConfiguration from './WebVttConfiguration';
29
- export declare type CodecConfigurationUnion = AacAudioConfiguration | DtsPassthroughAudioConfiguration | DtsAudioConfiguration | DtsXAudioConfiguration | DvbSubtitleConfiguration | HeAacV1AudioConfiguration | HeAacV2AudioConfiguration | H264VideoConfiguration | H265VideoConfiguration | Vp9VideoConfiguration | Vp8VideoConfiguration | Mp2AudioConfiguration | Mp3AudioConfiguration | Ac3AudioConfiguration | DolbyDigitalAudioConfiguration | Eac3AudioConfiguration | DolbyDigitalPlusAudioConfiguration | OpusAudioConfiguration | VorbisAudioConfiguration | MjpegVideoConfiguration | Av1VideoConfiguration | DolbyAtmosAudioConfiguration | H262VideoConfiguration | PcmAudioConfiguration | WebVttConfiguration | ImscConfiguration;
29
+ export type CodecConfigurationUnion = AacAudioConfiguration | DtsPassthroughAudioConfiguration | DtsAudioConfiguration | DtsXAudioConfiguration | DvbSubtitleConfiguration | HeAacV1AudioConfiguration | HeAacV2AudioConfiguration | H264VideoConfiguration | H265VideoConfiguration | Vp9VideoConfiguration | Vp8VideoConfiguration | Mp2AudioConfiguration | Mp3AudioConfiguration | Ac3AudioConfiguration | DolbyDigitalAudioConfiguration | Eac3AudioConfiguration | DolbyDigitalPlusAudioConfiguration | OpusAudioConfiguration | VorbisAudioConfiguration | MjpegVideoConfiguration | Av1VideoConfiguration | DolbyAtmosAudioConfiguration | H262VideoConfiguration | PcmAudioConfiguration | WebVttConfiguration | ImscConfiguration;
30
30
  /**
31
31
  * @export
32
32
  * @class CodecConfiguration
@@ -12,7 +12,7 @@ import DashRepresentationTypeDiscriminator from './DashRepresentationTypeDiscrim
12
12
  import DashVttRepresentation from './DashVttRepresentation';
13
13
  import DashWebmRepresentation from './DashWebmRepresentation';
14
14
  import SpriteRepresentation from './SpriteRepresentation';
15
- export declare type DashRepresentationUnion = DashFmp4DrmRepresentation | DashFmp4Representation | DashWebmRepresentation | DashCmafRepresentation | DashChunkedTextRepresentation | DashMp4Representation | DashMp4DrmRepresentation | DashProgressiveWebmRepresentation | DashVttRepresentation | SpriteRepresentation | DashImscRepresentation | ContentProtection;
15
+ export type DashRepresentationUnion = DashFmp4DrmRepresentation | DashFmp4Representation | DashWebmRepresentation | DashCmafRepresentation | DashChunkedTextRepresentation | DashMp4Representation | DashMp4DrmRepresentation | DashProgressiveWebmRepresentation | DashVttRepresentation | SpriteRepresentation | DashImscRepresentation | ContentProtection;
16
16
  /**
17
17
  * @export
18
18
  * @class DashRepresentation
@@ -2,7 +2,7 @@ import ConditionType from './ConditionType';
2
2
  import DefaultManifestAndCondition from './DefaultManifestAndCondition';
3
3
  import DefaultManifestAttributeCondition from './DefaultManifestAttributeCondition';
4
4
  import DefaultManifestOrCondition from './DefaultManifestOrCondition';
5
- export declare type DefaultManifestConditionUnion = DefaultManifestAttributeCondition | DefaultManifestAndCondition | DefaultManifestOrCondition;
5
+ export type DefaultManifestConditionUnion = DefaultManifestAttributeCondition | DefaultManifestAndCondition | DefaultManifestOrCondition;
6
6
  /**
7
7
  * @export
8
8
  * @class DefaultManifestCondition
@@ -10,7 +10,7 @@ import PlayReadyDrm from './PlayReadyDrm';
10
10
  import PrimeTimeDrm from './PrimeTimeDrm';
11
11
  import SpekeDrm from './SpekeDrm';
12
12
  import WidevineDrm from './WidevineDrm';
13
- export declare type DrmUnion = WidevineDrm | PlayReadyDrm | PrimeTimeDrm | FairPlayDrm | MarlinDrm | ClearKeyDrm | AesEncryptionDrm | CencDrm | SpekeDrm;
13
+ export type DrmUnion = WidevineDrm | PlayReadyDrm | PrimeTimeDrm | FairPlayDrm | MarlinDrm | ClearKeyDrm | AesEncryptionDrm | CencDrm | SpekeDrm;
14
14
  /**
15
15
  * @export
16
16
  * @class Drm
@@ -15,7 +15,7 @@ import ScaleFilter from './ScaleFilter';
15
15
  import TextFilter from './TextFilter';
16
16
  import UnsharpFilter from './UnsharpFilter';
17
17
  import WatermarkFilter from './WatermarkFilter';
18
- export declare type FilterUnion = CropFilter | ConformFilter | WatermarkFilter | EnhancedWatermarkFilter | RotateFilter | DeinterlaceFilter | EnhancedDeinterlaceFilter | AudioMixFilter | DenoiseHqdn3dFilter | TextFilter | UnsharpFilter | ScaleFilter | InterlaceFilter | AudioVolumeFilter | EbuR128SinglePassFilter;
18
+ export type FilterUnion = CropFilter | ConformFilter | WatermarkFilter | EnhancedWatermarkFilter | RotateFilter | DeinterlaceFilter | EnhancedDeinterlaceFilter | AudioMixFilter | DenoiseHqdn3dFilter | TextFilter | UnsharpFilter | ScaleFilter | InterlaceFilter | AudioVolumeFilter | EbuR128SinglePassFilter;
19
19
  /**
20
20
  * @export
21
21
  * @class Filter
@@ -4,7 +4,7 @@ import Id3TagPositionMode from './Id3TagPositionMode';
4
4
  import Id3TagType from './Id3TagType';
5
5
  import PlaintextId3Tag from './PlaintextId3Tag';
6
6
  import RawId3Tag from './RawId3Tag';
7
- export declare type Id3TagUnion = RawId3Tag | FrameIdId3Tag | PlaintextId3Tag;
7
+ export type Id3TagUnion = RawId3Tag | FrameIdId3Tag | PlaintextId3Tag;
8
8
  /**
9
9
  * @export
10
10
  * @class Id3Tag
@@ -18,7 +18,7 @@ import S3RoleBasedInput from './S3RoleBasedInput';
18
18
  import SftpInput from './SftpInput';
19
19
  import SrtInput from './SrtInput';
20
20
  import ZixiInput from './ZixiInput';
21
- export declare type InputUnion = AkamaiNetStorageInput | AsperaInput | AzureInput | RedundantRtmpInput | FtpInput | GenericS3Input | GcsInput | HttpInput | HttpsInput | LocalInput | RtmpInput | S3Input | S3RoleBasedInput | SftpInput | ZixiInput | SrtInput | GcsServiceAccountInput | DirectFileUploadInput;
21
+ export type InputUnion = AkamaiNetStorageInput | AsperaInput | AzureInput | RedundantRtmpInput | FtpInput | GenericS3Input | GcsInput | HttpInput | HttpsInput | LocalInput | RtmpInput | S3Input | S3RoleBasedInput | SftpInput | ZixiInput | SrtInput | GcsServiceAccountInput | DirectFileUploadInput;
22
22
  /**
23
23
  * @export
24
24
  * @class Input
@@ -14,7 +14,7 @@ import IngestInputStream from './IngestInputStream';
14
14
  import InputStreamType from './InputStreamType';
15
15
  import TimeBasedTrimmingInputStream from './TimeBasedTrimmingInputStream';
16
16
  import TimecodeTrackTrimmingInputStream from './TimecodeTrackTrimmingInputStream';
17
- export declare type InputStreamUnion = IngestInputStream | ConcatenationInputStream | TimeBasedTrimmingInputStream | TimecodeTrackTrimmingInputStream | H264PictureTimingTrimmingInputStream | AudioMixInputStream | DolbyVisionMetadataIngestInputStream | Cea608CaptionInputStream | Cea708CaptionInputStream | FileInputStream | DvbSubtitleInputStream | DvbTeletextInputStream | DolbyAtmosIngestInputStream | DolbyVisionInputStream;
17
+ export type InputStreamUnion = IngestInputStream | ConcatenationInputStream | TimeBasedTrimmingInputStream | TimecodeTrackTrimmingInputStream | H264PictureTimingTrimmingInputStream | AudioMixInputStream | DolbyVisionMetadataIngestInputStream | Cea608CaptionInputStream | Cea708CaptionInputStream | FileInputStream | DvbSubtitleInputStream | DvbTeletextInputStream | DolbyAtmosIngestInputStream | DolbyVisionInputStream;
18
18
  /**
19
19
  * @export
20
20
  * @class InputStream
@@ -19,7 +19,7 @@ import StreamConditionsMode from './StreamConditionsMode';
19
19
  import TextMuxing from './TextMuxing';
20
20
  import TsMuxing from './TsMuxing';
21
21
  import WebmMuxing from './WebmMuxing';
22
- export declare type MuxingUnion = Fmp4Muxing | CmafMuxing | Mp4Muxing | TsMuxing | WebmMuxing | Mp3Muxing | MxfMuxing | ProgressiveWebmMuxing | ProgressiveMovMuxing | ProgressiveTsMuxing | BroadcastTsMuxing | ChunkedTextMuxing | TextMuxing | SegmentedRawMuxing | PackedAudioMuxing;
22
+ export type MuxingUnion = Fmp4Muxing | CmafMuxing | Mp4Muxing | TsMuxing | WebmMuxing | Mp3Muxing | MxfMuxing | ProgressiveWebmMuxing | ProgressiveMovMuxing | ProgressiveTsMuxing | BroadcastTsMuxing | ChunkedTextMuxing | TextMuxing | SegmentedRawMuxing | PackedAudioMuxing;
23
23
  /**
24
24
  * @export
25
25
  * @class Muxing
@@ -14,7 +14,7 @@ import OutputType from './OutputType';
14
14
  import S3Output from './S3Output';
15
15
  import S3RoleBasedOutput from './S3RoleBasedOutput';
16
16
  import SftpOutput from './SftpOutput';
17
- export declare type OutputUnion = AkamaiNetStorageOutput | AzureOutput | CdnOutput | GenericS3Output | GcsOutput | FtpOutput | LocalOutput | S3Output | S3RoleBasedOutput | SftpOutput | AkamaiMslOutput | LiveMediaIngestOutput | GcsServiceAccountOutput;
17
+ export type OutputUnion = AkamaiNetStorageOutput | AzureOutput | CdnOutput | GenericS3Output | GcsOutput | FtpOutput | LocalOutput | S3Output | S3RoleBasedOutput | SftpOutput | AkamaiMslOutput | LiveMediaIngestOutput | GcsServiceAccountOutput;
18
18
  /**
19
19
  * @export
20
20
  * @class Output
@@ -25,6 +25,7 @@ export declare class Output extends BitmovinResource {
25
25
  [key in keyof typeof OutputType]: string;
26
26
  };
27
27
  /**
28
+ * Deprecation notice: This property does not have any effect and will not be returned by GET endpoints
28
29
  * @type {AclEntry[]}
29
30
  * @memberof Output
30
31
  */
@@ -3,7 +3,7 @@ import EncodingOutput from './EncodingOutput';
3
3
  import SidecarErrorMode from './SidecarErrorMode';
4
4
  import SidecarFileType from './SidecarFileType';
5
5
  import WebVttSidecarFile from './WebVttSidecarFile';
6
- export declare type SidecarFileUnion = WebVttSidecarFile;
6
+ export type SidecarFileUnion = WebVttSidecarFile;
7
7
  /**
8
8
  * A file that is added to an encoding. The size limit for a sidecar file is 10 MB
9
9
  * @export
@@ -2,7 +2,7 @@ import SimpleEncodingLiveJobCdnOutput from './SimpleEncodingLiveJobCdnOutput';
2
2
  import SimpleEncodingLiveJobOutputType from './SimpleEncodingLiveJobOutputType';
3
3
  import SimpleEncodingLiveJobUrlOutput from './SimpleEncodingLiveJobUrlOutput';
4
4
  import SimpleEncodingLiveMaxResolution from './SimpleEncodingLiveMaxResolution';
5
- export declare type SimpleEncodingLiveJobOutputUnion = SimpleEncodingLiveJobUrlOutput | SimpleEncodingLiveJobCdnOutput;
5
+ export type SimpleEncodingLiveJobOutputUnion = SimpleEncodingLiveJobUrlOutput | SimpleEncodingLiveJobCdnOutput;
6
6
  /**
7
7
  * @export
8
8
  * @class SimpleEncodingLiveJobOutput
@@ -1,7 +1,7 @@
1
1
  import SimpleEncodingVodJobDirectFileUploadInput from './SimpleEncodingVodJobDirectFileUploadInput';
2
2
  import SimpleEncodingVodJobInputSourceType from './SimpleEncodingVodJobInputSourceType';
3
3
  import SimpleEncodingVodJobUrlInput from './SimpleEncodingVodJobUrlInput';
4
- export declare type SimpleEncodingVodJobInputUnion = SimpleEncodingVodJobUrlInput | SimpleEncodingVodJobDirectFileUploadInput;
4
+ export type SimpleEncodingVodJobInputUnion = SimpleEncodingVodJobUrlInput | SimpleEncodingVodJobDirectFileUploadInput;
5
5
  /**
6
6
  * @export
7
7
  * @class SimpleEncodingVodJobInput
@@ -1,7 +1,8 @@
1
1
  import SimpleEncodingVodJobCdnOutput from './SimpleEncodingVodJobCdnOutput';
2
+ import SimpleEncodingVodJobOutputArtifact from './SimpleEncodingVodJobOutputArtifact';
2
3
  import SimpleEncodingVodJobOutputType from './SimpleEncodingVodJobOutputType';
3
4
  import SimpleEncodingVodJobUrlOutput from './SimpleEncodingVodJobUrlOutput';
4
- export declare type SimpleEncodingVodJobOutputUnion = SimpleEncodingVodJobUrlOutput | SimpleEncodingVodJobCdnOutput;
5
+ export type SimpleEncodingVodJobOutputUnion = SimpleEncodingVodJobUrlOutput | SimpleEncodingVodJobCdnOutput;
5
6
  /**
6
7
  * @export
7
8
  * @class SimpleEncodingVodJobOutput
@@ -11,6 +12,12 @@ export declare class SimpleEncodingVodJobOutput {
11
12
  protected static readonly _discriminatorMapping: {
12
13
  [key in keyof typeof SimpleEncodingVodJobOutputType]: string;
13
14
  };
15
+ /**
16
+ * List of artifacts created by the encoding job. Artifacts are files essential for playback of the generated content, e.g. manifests.
17
+ * @type {SimpleEncodingVodJobOutputArtifact[]}
18
+ * @memberof SimpleEncodingVodJobOutput
19
+ */
20
+ artifacts?: SimpleEncodingVodJobOutputArtifact[];
14
21
  constructor(obj?: Partial<SimpleEncodingVodJobOutput>);
15
22
  }
16
23
  export default SimpleEncodingVodJobOutput;
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SimpleEncodingVodJobOutput = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ var SimpleEncodingVodJobOutputArtifact_1 = require("./SimpleEncodingVodJobOutputArtifact");
4
6
  /**
5
7
  * @export
6
8
  * @class SimpleEncodingVodJobOutput
@@ -10,6 +12,7 @@ var SimpleEncodingVodJobOutput = /** @class */ (function () {
10
12
  if (!obj) {
11
13
  return;
12
14
  }
15
+ this.artifacts = (0, Mapper_1.mapArray)(obj.artifacts, SimpleEncodingVodJobOutputArtifact_1.default);
13
16
  }
14
17
  SimpleEncodingVodJobOutput._discriminatorName = 'type';
15
18
  SimpleEncodingVodJobOutput._discriminatorMapping = {
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @export
3
+ * @class SimpleEncodingVodJobOutputArtifact
4
+ */
5
+ export declare class SimpleEncodingVodJobOutputArtifact {
6
+ /**
7
+ * Name of the artifact. Currently we provide the URL of the HLS manifest with name 'HLS_MANIFEST_URL' and the URL of the DASH manifest with name 'DASH_MANIFEST_URL'
8
+ * @type {string}
9
+ * @memberof SimpleEncodingVodJobOutputArtifact
10
+ */
11
+ name?: string;
12
+ /**
13
+ * A string value described by the 'name' property. Typically this is an absolute URL pointing to a file on the output you specified for the encoding job. The protocol depends on the type of output: \"s3://\" for AWS S3,\"gcs://\" for Google Cloud Storage, \"https://\" for Azure Blob Storage and Akamai NetStorage )
14
+ * @type {string}
15
+ * @memberof SimpleEncodingVodJobOutputArtifact
16
+ */
17
+ value?: string;
18
+ constructor(obj?: Partial<SimpleEncodingVodJobOutputArtifact>);
19
+ }
20
+ export default SimpleEncodingVodJobOutputArtifact;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SimpleEncodingVodJobOutputArtifact = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * @export
7
+ * @class SimpleEncodingVodJobOutputArtifact
8
+ */
9
+ var SimpleEncodingVodJobOutputArtifact = /** @class */ (function () {
10
+ function SimpleEncodingVodJobOutputArtifact(obj) {
11
+ if (!obj) {
12
+ return;
13
+ }
14
+ this.name = (0, Mapper_1.map)(obj.name);
15
+ this.value = (0, Mapper_1.map)(obj.value);
16
+ }
17
+ return SimpleEncodingVodJobOutputArtifact;
18
+ }());
19
+ exports.SimpleEncodingVodJobOutputArtifact = SimpleEncodingVodJobOutputArtifact;
20
+ exports.default = SimpleEncodingVodJobOutputArtifact;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @export
3
+ * @class StreamsLiveUpdateRequest
4
+ */
5
+ export declare class StreamsLiveUpdateRequest {
6
+ /**
7
+ * The new title of the stream
8
+ * @type {string}
9
+ * @memberof StreamsLiveUpdateRequest
10
+ */
11
+ title?: string;
12
+ /**
13
+ * The new description of the stream
14
+ * @type {string}
15
+ * @memberof StreamsLiveUpdateRequest
16
+ */
17
+ description?: string;
18
+ constructor(obj?: Partial<StreamsLiveUpdateRequest>);
19
+ }
20
+ export default StreamsLiveUpdateRequest;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StreamsLiveUpdateRequest = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * @export
7
+ * @class StreamsLiveUpdateRequest
8
+ */
9
+ var StreamsLiveUpdateRequest = /** @class */ (function () {
10
+ function StreamsLiveUpdateRequest(obj) {
11
+ if (!obj) {
12
+ return;
13
+ }
14
+ this.title = (0, Mapper_1.map)(obj.title);
15
+ this.description = (0, Mapper_1.map)(obj.description);
16
+ }
17
+ return StreamsLiveUpdateRequest;
18
+ }());
19
+ exports.StreamsLiveUpdateRequest = StreamsLiveUpdateRequest;
20
+ exports.default = StreamsLiveUpdateRequest;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @export
3
+ * @class StreamsVideoCreateRequest
4
+ */
5
+ export declare class StreamsVideoCreateRequest {
6
+ /**
7
+ * The streams input asset URL
8
+ * @type {string}
9
+ * @memberof StreamsVideoCreateRequest
10
+ */
11
+ assetUrl?: string;
12
+ /**
13
+ * Title of the stream
14
+ * @type {string}
15
+ * @memberof StreamsVideoCreateRequest
16
+ */
17
+ title?: string;
18
+ /**
19
+ * Description of the stream
20
+ * @type {string}
21
+ * @memberof StreamsVideoCreateRequest
22
+ */
23
+ description?: string;
24
+ constructor(obj?: Partial<StreamsVideoCreateRequest>);
25
+ }
26
+ export default StreamsVideoCreateRequest;
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateBitmovinStreamRequest = void 0;
3
+ exports.StreamsVideoCreateRequest = void 0;
4
4
  var Mapper_1 = require("../common/Mapper");
5
5
  /**
6
6
  * @export
7
- * @class CreateBitmovinStreamRequest
7
+ * @class StreamsVideoCreateRequest
8
8
  */
9
- var CreateBitmovinStreamRequest = /** @class */ (function () {
10
- function CreateBitmovinStreamRequest(obj) {
9
+ var StreamsVideoCreateRequest = /** @class */ (function () {
10
+ function StreamsVideoCreateRequest(obj) {
11
11
  if (!obj) {
12
12
  return;
13
13
  }
@@ -15,7 +15,7 @@ var CreateBitmovinStreamRequest = /** @class */ (function () {
15
15
  this.title = (0, Mapper_1.map)(obj.title);
16
16
  this.description = (0, Mapper_1.map)(obj.description);
17
17
  }
18
- return CreateBitmovinStreamRequest;
18
+ return StreamsVideoCreateRequest;
19
19
  }());
20
- exports.CreateBitmovinStreamRequest = CreateBitmovinStreamRequest;
21
- exports.default = CreateBitmovinStreamRequest;
20
+ exports.StreamsVideoCreateRequest = StreamsVideoCreateRequest;
21
+ exports.default = StreamsVideoCreateRequest;
@@ -2,9 +2,9 @@
2
2
  * @export
3
3
  * @enum {string}
4
4
  */
5
- export declare enum BitmovinStreamEncodingStatus {
5
+ export declare enum StreamsVideoEncodingStatus {
6
6
  STARTED = "STARTED",
7
7
  ERROR = "ERROR",
8
8
  FINISHED = "FINISHED"
9
9
  }
10
- export default BitmovinStreamEncodingStatus;
10
+ export default StreamsVideoEncodingStatus;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StreamsVideoEncodingStatus = void 0;
4
+ /**
5
+ * @export
6
+ * @enum {string}
7
+ */
8
+ var StreamsVideoEncodingStatus;
9
+ (function (StreamsVideoEncodingStatus) {
10
+ StreamsVideoEncodingStatus["STARTED"] = "STARTED";
11
+ StreamsVideoEncodingStatus["ERROR"] = "ERROR";
12
+ StreamsVideoEncodingStatus["FINISHED"] = "FINISHED";
13
+ })(StreamsVideoEncodingStatus = exports.StreamsVideoEncodingStatus || (exports.StreamsVideoEncodingStatus = {}));
14
+ exports.default = StreamsVideoEncodingStatus;
@@ -0,0 +1,22 @@
1
+ import StreamsVideoEncodingStatus from './StreamsVideoEncodingStatus';
2
+ import StreamsVideoQuality from './StreamsVideoQuality';
3
+ /**
4
+ * @export
5
+ * @class StreamsVideoEncodingTask
6
+ */
7
+ export declare class StreamsVideoEncodingTask {
8
+ /**
9
+ * Quality of the encoding
10
+ * @type {StreamsVideoQuality}
11
+ * @memberof StreamsVideoEncodingTask
12
+ */
13
+ quality?: StreamsVideoQuality;
14
+ /**
15
+ * Current state of the encoding
16
+ * @type {StreamsVideoEncodingStatus}
17
+ * @memberof StreamsVideoEncodingTask
18
+ */
19
+ status?: StreamsVideoEncodingStatus;
20
+ constructor(obj?: Partial<StreamsVideoEncodingTask>);
21
+ }
22
+ export default StreamsVideoEncodingTask;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StreamsVideoEncodingTask = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * @export
7
+ * @class StreamsVideoEncodingTask
8
+ */
9
+ var StreamsVideoEncodingTask = /** @class */ (function () {
10
+ function StreamsVideoEncodingTask(obj) {
11
+ if (!obj) {
12
+ return;
13
+ }
14
+ this.quality = (0, Mapper_1.map)(obj.quality);
15
+ this.status = (0, Mapper_1.map)(obj.status);
16
+ }
17
+ return StreamsVideoEncodingTask;
18
+ }());
19
+ exports.StreamsVideoEncodingTask = StreamsVideoEncodingTask;
20
+ exports.default = StreamsVideoEncodingTask;
@@ -2,9 +2,9 @@
2
2
  * @export
3
3
  * @enum {string}
4
4
  */
5
- export declare enum BitmovinStreamQuality {
5
+ export declare enum StreamsVideoQuality {
6
6
  NONE = "NONE",
7
7
  PREVIEW = "PREVIEW",
8
8
  DEFAULT = "DEFAULT"
9
9
  }
10
- export default BitmovinStreamQuality;
10
+ export default StreamsVideoQuality;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StreamsVideoQuality = void 0;
4
+ /**
5
+ * @export
6
+ * @enum {string}
7
+ */
8
+ var StreamsVideoQuality;
9
+ (function (StreamsVideoQuality) {
10
+ StreamsVideoQuality["NONE"] = "NONE";
11
+ StreamsVideoQuality["PREVIEW"] = "PREVIEW";
12
+ StreamsVideoQuality["DEFAULT"] = "DEFAULT";
13
+ })(StreamsVideoQuality = exports.StreamsVideoQuality || (exports.StreamsVideoQuality = {}));
14
+ exports.default = StreamsVideoQuality;
@@ -0,0 +1,52 @@
1
+ import StreamsVideoEncodingTask from './StreamsVideoEncodingTask';
2
+ import StreamsVideoStatus from './StreamsVideoStatus';
3
+ /**
4
+ * @export
5
+ * @class StreamsVideoResponse
6
+ */
7
+ export declare class StreamsVideoResponse {
8
+ /**
9
+ * The identifier of the stream
10
+ * @type {string}
11
+ * @memberof StreamsVideoResponse
12
+ */
13
+ id?: string;
14
+ /**
15
+ * The asset URL of the stream
16
+ * @type {string}
17
+ * @memberof StreamsVideoResponse
18
+ */
19
+ assetUrl?: string;
20
+ /**
21
+ * The title of the stream
22
+ * @type {string}
23
+ * @memberof StreamsVideoResponse
24
+ */
25
+ title?: string;
26
+ /**
27
+ * The description of the stream
28
+ * @type {string}
29
+ * @memberof StreamsVideoResponse
30
+ */
31
+ description?: string;
32
+ /**
33
+ * Creation timestamp, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
34
+ * @type {Date}
35
+ * @memberof StreamsVideoResponse
36
+ */
37
+ createdAt?: Date;
38
+ /**
39
+ * The status of the stream
40
+ * @type {StreamsVideoStatus}
41
+ * @memberof StreamsVideoResponse
42
+ */
43
+ status?: StreamsVideoStatus;
44
+ /**
45
+ * List of encoding status information
46
+ * @type {StreamsVideoEncodingTask[]}
47
+ * @memberof StreamsVideoResponse
48
+ */
49
+ encodingTasks?: StreamsVideoEncodingTask[];
50
+ constructor(obj?: Partial<StreamsVideoResponse>);
51
+ }
52
+ export default StreamsVideoResponse;
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BitmovinStreamResponse = void 0;
3
+ exports.StreamsVideoResponse = void 0;
4
4
  var Mapper_1 = require("../common/Mapper");
5
- var BitmovinStreamEncodingTask_1 = require("./BitmovinStreamEncodingTask");
5
+ var StreamsVideoEncodingTask_1 = require("./StreamsVideoEncodingTask");
6
6
  /**
7
7
  * @export
8
- * @class BitmovinStreamResponse
8
+ * @class StreamsVideoResponse
9
9
  */
10
- var BitmovinStreamResponse = /** @class */ (function () {
11
- function BitmovinStreamResponse(obj) {
10
+ var StreamsVideoResponse = /** @class */ (function () {
11
+ function StreamsVideoResponse(obj) {
12
12
  if (!obj) {
13
13
  return;
14
14
  }
@@ -18,11 +18,9 @@ var BitmovinStreamResponse = /** @class */ (function () {
18
18
  this.description = (0, Mapper_1.map)(obj.description);
19
19
  this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
20
20
  this.status = (0, Mapper_1.map)(obj.status);
21
- this.targetQuality = (0, Mapper_1.map)(obj.targetQuality);
22
- this.availableQualities = (0, Mapper_1.mapArray)(obj.availableQualities);
23
- this.encodingTasks = (0, Mapper_1.mapArray)(obj.encodingTasks, BitmovinStreamEncodingTask_1.default);
21
+ this.encodingTasks = (0, Mapper_1.mapArray)(obj.encodingTasks, StreamsVideoEncodingTask_1.default);
24
22
  }
25
- return BitmovinStreamResponse;
23
+ return StreamsVideoResponse;
26
24
  }());
27
- exports.BitmovinStreamResponse = BitmovinStreamResponse;
28
- exports.default = BitmovinStreamResponse;
25
+ exports.StreamsVideoResponse = StreamsVideoResponse;
26
+ exports.default = StreamsVideoResponse;