├── .gitignore ├── docs ├── assets │ ├── icons.png │ ├── widgets.png │ ├── icons@2x.png │ ├── images │ │ ├── icons.png │ │ ├── widgets.png │ │ ├── icons@2x.png │ │ └── widgets@2x.png │ └── widgets@2x.png └── .nojekyll ├── src ├── index.ts ├── common │ ├── Logger.ts │ ├── index.ts │ ├── NullLogger.ts │ ├── Configuration.ts │ └── BaseAPI.ts ├── models │ ├── IgnoredBy.ts │ ├── SignatureType.ts │ ├── LiveOptionsType.ts │ ├── ProfileH262.ts │ ├── AkamaiMslVersion.ts │ ├── MediaType.ts │ ├── SidecarFileType.ts │ ├── CdnProvider.ts │ ├── ProfileH265.ts │ ├── SrtMode.ts │ ├── StreamsType.ts │ ├── AnalyticsOrder.ts │ ├── BAdapt.ts │ ├── IvSize.ts │ ├── DashEditionCompatibility.ts │ ├── DashProfile.ts │ ├── PcmPresetConfiguration.ts │ ├── SpriteUnit.ts │ ├── HlsManifestDefaultVersion.ts │ ├── ManifestGenerator.ts │ ├── PcmChannelLayout.ts │ ├── PositionUnit.ts │ ├── ResponseStatus.ts │ ├── S3SignatureVersion.ts │ ├── TransferVersion.ts │ ├── WebhookHttpMethod.ts │ ├── AspectMode.ts │ ├── EncodingType.ts │ ├── Id3TagPositionMode.ts │ ├── StreamCaptionOutputFormat.ts │ ├── ThumbnailUnit.ts │ ├── AclPermission.ts │ ├── AdMarkersSource.ts │ ├── DolbyAtmosInputFormat.ts │ ├── Policy.ts │ ├── SmoothManifestDefaultVersion.ts │ ├── AnalyticsExportType.ts │ ├── DtsMode.ts │ ├── NotificationStates.ts │ ├── PaddingDurationUnit.ts │ ├── PsnrPerStreamMode.ts │ ├── ChannelLayout.ts │ ├── DashManifestDefaultVersion.ts │ ├── EgressCategory.ts │ ├── Id3TagType.ts │ ├── LiveEncodingCodec.ts │ ├── Marketplace.ts │ ├── PositionMode.ts │ ├── EncryptionMode.ts │ ├── PcmSampleFormat.ts │ ├── PixelFormatBitDepth.ts │ ├── Cea608ChannelType.ts │ ├── DashISO8601TimestampFormat.ts │ ├── ExternalIdMode.ts │ ├── FileInputStreamType.ts │ ├── ManifestType.ts │ ├── NexGuardWatermarkingType.ts │ ├── OciCloudRegion.ts │ ├── PTSAlignMode.ts │ ├── PrewarmedEncoderPoolAction.ts │ ├── StreamsVideoStatus.ts │ ├── AkamaiMslStreamFormat.ts │ ├── DolbyVisionPerStreamMode.ts │ ├── DtsXChannelLayout.ts │ ├── StatisticsPerTitleStream.ts │ ├── ThumbnailAspectMode.ts │ ├── WatchFolderStatus.ts │ ├── ConvertSccPositionMode.ts │ ├── PrewarmedEncoderPoolStatus.ts │ ├── ProfileH264.ts │ ├── SidecarErrorMode.ts │ ├── SpriteCreationMode.ts │ ├── StreamConditionsMode.ts │ ├── StreamKeyConfigurationType.ts │ ├── StreamKeyType.ts │ ├── StreamsVideoQuality.ts │ ├── BitrateSelectionMode.ts │ ├── ConditionType.ts │ ├── DecodingErrorMode.ts │ ├── EncodingTemplateType.ts │ ├── InvitationStatus.ts │ ├── MaxCtuSize.ts │ ├── NexGuardABWatermarkingFeature.ts │ ├── AnalyticsInterval.ts │ ├── DolbyVisionMetadataSource.ts │ ├── H264DynamicRangeFormat.ts │ ├── MinCodingUnitSize.ts │ ├── OrganizationType.ts │ ├── PrewarmedEncoderDiskSize.ts │ ├── StaticIpStatus.ts │ ├── StatisticsResolution.ts │ ├── StreamKeyStatus.ts │ ├── StreamsEncodingProfile.ts │ ├── CencMarlin.ts │ ├── ColorRange.ts │ ├── DashRepresentationType.ts │ ├── H264BPyramid.ts │ ├── AdaptationSetType.ts │ ├── AesEncryptionMethod.ts │ ├── AudioVolumeUnit.ts │ ├── HlsVersion.ts │ ├── LimitReferences.ts │ ├── LiveStandbyPoolStatus.ts │ ├── MessageType.ts │ ├── PlayerThirdPartyLicensingErrorAction.ts │ ├── ResourceType.ts │ ├── SmpteTimecodeFlavor.ts │ ├── TuInterDepth.ts │ ├── TuIntraDepth.ts │ ├── Vp8Quality.ts │ ├── Vp9Quality.ts │ ├── AnalyticsExportFileFormat.ts │ ├── ErrorRetryHint.ts │ ├── H262PresetConfiguration.ts │ ├── StreamsVideoEncodingStatus.ts │ ├── AzureSpeechToCaptionsProfanity.ts │ ├── DashOnDemandRepresentationType.ts │ ├── DolbyDigitalLoudnessControlMode.ts │ ├── EncodingMode.ts │ ├── PlayReadyEncryptionMethod.ts │ ├── VariantStreamDroppingMode.ts │ ├── Vp8ArnrType.ts │ ├── Vp9ArnrType.ts │ ├── AnalyticsExportStatus.ts │ ├── AvailabilityStartTimeMode.ts │ ├── DolbyDigitalSurroundMode.ts │ ├── ImscStylingMode.ts │ ├── AnalyticsOutputType.ts │ ├── Av1PresetConfiguration.ts │ ├── ChannelsAttributeForAudio.ts │ ├── DolbyDigitalPlusLoudnessControlMode.ts │ ├── HeAacV1Signaling.ts │ ├── HlsTargetDurationRoundingMode.ts │ ├── LiveStandbyPoolEncodingManifestType.ts │ ├── Permission.ts │ ├── S3AccessStyle.ts │ ├── Vp9AqMode.ts │ ├── WebVttCueIdentifierPolicy.ts │ ├── WebVttStylingMode.ts │ ├── EnhancedDeinterlaceMode.ts │ ├── InsertableContentStatus.ts │ ├── MaxTransformUnitSize.ts │ ├── MotionSearch.ts │ ├── ProgramDateTimeSource.ts │ ├── RetryHint.ts │ ├── StreamsLiveLifeCycle.ts │ ├── DolbyDigitalPlusSurroundMode.ts │ ├── DolbyVisionTrackSampleEntryName.ts │ ├── H264MotionEstimationMethod.ts │ ├── H264NalHrd.ts │ ├── MediaInfoType.ts │ ├── VideoFormat.ts │ ├── AudioVideoSyncMode.ts │ ├── DeinterlaceFrameSelectionMode.ts │ ├── DolbyDigitalLfeLowPassFilter.ts │ ├── MvPredictionMode.ts │ ├── ClockSynchronizationMode.ts │ ├── DolbyVisionProfile.ts │ ├── LiveStandbyPoolEventLogType.ts │ ├── DashRepresentationTypeMode.ts │ ├── DolbyDigitalPlusLfeLowPassFilter.ts │ ├── SignupSource.ts │ ├── ForceFlushMode.ts │ ├── HeAacV2Signaling.ts │ ├── AdaptiveQuantMode.ts │ ├── StreamsTrimmingStatus.ts │ ├── H264Trellis.ts │ ├── RateDistortionLevelForQuantization.ts │ ├── VerticalLowPassFilteringMode.ts │ ├── WeightedPredictionPFrames.ts │ ├── DolbyDigitalEvolutionFrameworkControl.ts │ ├── Group.ts │ ├── RateDistortionPenaltyMode.ts │ ├── Status.ts │ ├── ChromaLocation.ts │ ├── NexGuardWatermarkingStrength.ts │ ├── Vp9DynamicRangeFormat.ts │ ├── DolbyDigitalPlusEvolutionFrameworkControl.ts │ ├── LevelH262.ts │ ├── TransformSkipMode.ts │ ├── DeinterlaceMode.ts │ ├── H262InterlaceMode.ts │ ├── H264InterlaceMode.ts │ ├── LiveEncodingHeartbeatEventType.ts │ ├── EnhancedDeinterlaceParity.ts │ ├── PictureFieldParity.ts │ ├── AdaptationSetRole.ts │ ├── StreamSelectionMode.ts │ ├── Vp8NoiseSensitivity.ts │ ├── AnalyticsQueryOperator.ts │ ├── DolbyDigitalLoudnessControlRegulationType.ts │ ├── InputColorRange.ts │ ├── ScheduledInsertableContentStatus.ts │ ├── EnhancedDeinterlaceAutoEnable.ts │ ├── ProgressiveWebmMuxingManifestType.ts │ ├── DolbyDigitalPlusLoudnessControlRegulationType.ts │ ├── DolbyDigitalSurroundMixLevel.ts │ ├── VideoMediaInfo.ts │ ├── BitmovinResponseList.ts │ ├── ConditionOperator.ts │ ├── ProgramDateTimePlacementMode.ts │ ├── LiveEncodingStatus.ts │ ├── RaiUnit.ts │ ├── DolbyDigitalPlusSurroundMixLevel.ts │ ├── AutoLevelSetup.ts │ ├── DolbyAtmosDialogueIntelligence.ts │ ├── DrmType.ts │ ├── H264Partition.ts │ ├── PassthroughMode.ts │ ├── PerTitleFixedResolutionAndBitrateConfigurationMode.ts │ ├── TextFilterFont.ts │ ├── DeinterlaceAutoEnable.ts │ ├── InterlaceMode.ts │ ├── AacChannelLayout.ts │ ├── DolbyDigitalDialogueIntelligence.ts │ ├── SubtitleConfiguration.ts │ ├── QuantizationGroupSize.ts │ ├── DolbyAtmosMeteringMode.ts │ ├── DolbyDigitalPlusDialogueIntelligence.ts │ ├── OpusChannelLayout.ts │ ├── MediaConfigBitrate.ts │ ├── VorbisChannelLayout.ts │ ├── H264SubMe.ts │ ├── LimitTransformUnitDepthRecursionMode.ts │ ├── LiveEncodingEventName.ts │ ├── HlsManifestAdMarkerType.ts │ ├── TsAudioStreamConfiguration.ts │ ├── TsVideoStreamConfiguration.ts │ ├── AudioVolumeFormat.ts │ ├── StreamMode.ts │ ├── EncodingErrorEmailNotification.ts │ ├── AdPosition.ts │ ├── DolbyDigitalCenterMixLevel.ts │ ├── DolbyDigitalDynamicRangeCompressionMode.ts │ ├── MuxingStream.ts │ ├── DolbyDigitalPlusCenterMixLevel.ts │ ├── DolbyDigitalPlusDynamicRangeCompressionMode.ts │ ├── LiveStandbyPoolEncodingStatus.ts │ ├── DolbyDigitalNinetyDegreePhaseShift.ts │ ├── AkamaiCloudRegion.ts │ ├── DashScte35PeriodOption.ts │ ├── SceneType.ts │ ├── DolbyDigitalPlusNinetyDegreePhaseShift.ts │ ├── Ac3ChannelLayout.ts │ ├── ColorSpace.ts │ ├── CencWidevine.ts │ ├── AudioMixChannelType.ts │ ├── DomainList.ts │ ├── SourceChannelType.ts │ ├── BitmovinResponse.ts │ ├── ColorPrimaries.ts │ ├── ImscStyling.ts │ ├── OutputType.ts │ ├── AudioMixSourceChannelType.ts │ ├── RtmpInput.ts │ ├── InputColorPrimaries.ts │ ├── LiveOptionsEntry.ts │ ├── DashRepresentationTypeDiscriminator.ts │ ├── DolbyDigitalChannelLayout.ts │ ├── WebVttStyling.ts │ ├── H265DynamicRangeFormat.ts │ ├── ManifestResource.ts │ ├── DolbyDigitalPlusChannelLayout.ts │ ├── AnalyticsLicenseKey.ts │ ├── LevelH265.ts │ ├── DolbyDigitalDownmixingPreferredMode.ts │ ├── InputTypeResponse.ts │ ├── SpriteJpegConfig.ts │ ├── Tenant.ts │ ├── FragmentedMp4MuxingManifestType.ts │ ├── LiveOptionsSummary.ts │ ├── MuxingTypeResponse.ts │ ├── OutputTypeResponse.ts │ ├── DolbyDigitalPlusDownmixingPreferredMode.ts │ ├── Domain.ts │ ├── PlayerLicenseAnalytics.ts │ ├── PlayerLicenseUpdateRequest.ts │ ├── Fmp4MuxingInformation.ts │ ├── Mp3MuxingInformation.ts │ ├── Mp4MuxingInformation.ts │ ├── ScalingAlgorithm.ts │ ├── EmailNotification.ts │ ├── EncodingTemplateRequest.ts │ ├── Location.ts │ ├── ManifestTypeResponse.ts │ ├── ReprioritizeEncodingRequest.ts │ ├── EncodingTemplateUrlResponse.ts │ ├── Keyframe.ts │ ├── Metadata.ts │ ├── PlayerChannel.ts │ ├── AnalyticsLicenseDomain.ts │ ├── InputColorSpace.ts │ ├── MediaInfoTypeResponse.ts │ ├── StreamKeysUnassignAction.ts │ ├── StreamMetadata.ts │ ├── MuxingType.ts │ ├── SceneAnalysisLanguagesResponse.ts │ ├── StreamFilterList.ts │ ├── AkamaiAccount.ts │ ├── LevelH264.ts │ ├── PackedAudioMuxingInformation.ts │ ├── BroadcastTsMuxingInformation.ts │ ├── CodecConfigTypeResponse.ts │ ├── EncodingTemplateStartResponse.ts │ ├── InputStreamTypeResponse.ts │ ├── RescheduleEncodingRequest.ts │ ├── SceneObject.ts │ ├── StandardMediaInfo.ts │ ├── AccountApiKey.ts │ ├── AnalyticsImpressionListItem.ts │ ├── AiSceneAnalysisOutputLanguageCodes.ts │ ├── CacheControl.ts │ ├── CustomXmlElement.ts │ ├── IFramePlaylist.ts │ ├── InputFactorCodec.ts │ ├── Link.ts │ ├── ProgressiveMovMuxingInformation.ts │ ├── ProgressiveWavMuxingInformation.ts │ ├── OttLoudnessMode.ts │ ├── ProgressiveWebmMuxingInformation.ts │ ├── TsProgramMapTableConfiguration.ts │ ├── AdaptationSetTypeResponse.ts │ ├── AzureSpeechServicesCredentials.ts │ ├── AiSceneAnalysis.ts │ ├── DolbyDigitalThreeDbAttenuation.ts │ ├── InputFactorBitrate.ts │ ├── AnalyticsColumnLabel.ts │ ├── ColorTransfer.ts │ ├── DolbyDigitalPlusThreeDbAttenuation.ts │ ├── InputType.ts │ ├── InputColorTransfer.ts │ ├── AnalyticsAvgQueryRequest.ts │ ├── AnalyticsMaxQueryRequest.ts │ ├── AnalyticsMinQueryRequest.ts │ ├── AnalyticsSumQueryRequest.ts │ ├── InputPath.ts │ ├── OrConjunction.ts │ ├── Scte35Trigger.ts │ ├── TenantGroupDetail.ts │ ├── AndConjunction.ts │ ├── AnalyticsCountQueryRequest.ts │ ├── AudioMediaInfo.ts │ ├── AnalyticsMedianQueryRequest.ts │ ├── AnalyticsStddevQueryRequest.ts │ ├── AudioGroup.ts │ ├── AnalyticsErrorDetailsResponse.ts │ ├── AwsCloudRegion.ts │ ├── DashScte35EventStreamSignalling.ts │ ├── AnalyticsHttpRequestType.ts │ ├── AnalyticsVarianceQueryRequest.ts │ ├── FilterType.ts │ ├── TimeSpan.ts │ ├── AdAnalyticsAvgQueryRequest.ts │ ├── AdAnalyticsMaxQueryRequest.ts │ ├── AdAnalyticsMinQueryRequest.ts │ ├── AdAnalyticsSumQueryRequest.ts │ ├── CustomWebPlayerBuildDomain.ts │ ├── DvbSubtitleConfiguration.ts │ ├── InputStreamType.ts │ ├── SubtitlesMediaInfo.ts │ ├── Tweaks.ts │ ├── AbstractConjunction.ts │ ├── AdAnalyticsCountQueryRequest.ts │ ├── EncodingTemplateResponse.ts │ ├── AdAnalyticsMedianQueryRequest.ts │ ├── AdAnalyticsStddevQueryRequest.ts │ ├── Rating.ts │ └── StreamsPublicSigningKeyResponse.ts ├── analytics │ ├── ads │ │ └── AdsApi.ts │ └── insights │ │ ├── InsightsApi.ts │ │ └── organizations │ │ └── OrganizationsApi.ts ├── encoding │ ├── statistics │ │ └── cdn │ │ │ └── CdnApi.ts │ ├── encodings │ │ ├── streams │ │ │ ├── qc │ │ │ │ └── QcApi.ts │ │ │ ├── captions │ │ │ │ ├── CaptionsApi.ts │ │ │ │ └── cea │ │ │ │ │ └── CeaApi.ts │ │ │ └── hdr │ │ │ │ └── HdrApi.ts │ │ ├── captions │ │ │ └── CaptionsApi.ts │ │ ├── muxings │ │ │ └── packedAudio │ │ │ │ └── drm │ │ │ │ └── DrmApi.ts │ │ └── inputStreams │ │ │ └── subtitles │ │ │ └── SubtitlesApi.ts │ └── manifests │ │ └── smooth │ │ └── representations │ │ └── RepresentationsApi.ts ├── player │ └── customBuilds │ │ └── CustomBuildsApi.ts ├── notifications │ └── webhooks │ │ └── WebhooksApi.ts ├── aiSceneAnalysis │ ├── AiSceneAnalysisApi.ts │ └── analyses │ │ └── AnalysesApi.ts ├── general │ └── GeneralApi.ts └── streams │ └── config │ └── ConfigApi.ts ├── .prettierrc ├── examples └── README.md ├── jest.config.js ├── tslint.json └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | wwwroot/*.js 2 | node_modules 3 | typings 4 | dist 5 | .idea 6 | .vscode 7 | package-lock.json 8 | -------------------------------------------------------------------------------- /docs/assets/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitmovin/bitmovin-api-sdk-javascript/HEAD/docs/assets/icons.png -------------------------------------------------------------------------------- /docs/assets/widgets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitmovin/bitmovin-api-sdk-javascript/HEAD/docs/assets/widgets.png -------------------------------------------------------------------------------- /docs/assets/icons@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitmovin/bitmovin-api-sdk-javascript/HEAD/docs/assets/icons@2x.png -------------------------------------------------------------------------------- /docs/assets/images/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitmovin/bitmovin-api-sdk-javascript/HEAD/docs/assets/images/icons.png -------------------------------------------------------------------------------- /docs/assets/widgets@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitmovin/bitmovin-api-sdk-javascript/HEAD/docs/assets/widgets@2x.png -------------------------------------------------------------------------------- /docs/assets/images/widgets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitmovin/bitmovin-api-sdk-javascript/HEAD/docs/assets/images/widgets.png -------------------------------------------------------------------------------- /docs/assets/images/icons@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitmovin/bitmovin-api-sdk-javascript/HEAD/docs/assets/images/icons@2x.png -------------------------------------------------------------------------------- /docs/assets/images/widgets@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitmovin/bitmovin-api-sdk-javascript/HEAD/docs/assets/images/widgets@2x.png -------------------------------------------------------------------------------- /docs/.nojekyll: -------------------------------------------------------------------------------- 1 | TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | import BitmovinApi from './BitmovinApi'; 2 | 3 | export * from './common'; 4 | export * from './models'; 5 | 6 | export default BitmovinApi; 7 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "bracketSpacing": false, 4 | "jsxBracketSameLine": true, 5 | "semi": true, 6 | "printWidth": 120 7 | } -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- 1 | # Examples 2 | You can find sample workflow scripts in the [Bitmovin API SDK examples](https://github.com/bitmovin/bitmovin-api-sdk-examples) repository. -------------------------------------------------------------------------------- /src/common/Logger.ts: -------------------------------------------------------------------------------- 1 | export interface Logger { 2 | logRequest(request: any): Promise; 3 | logResponse(response: any): Promise; 4 | } 5 | 6 | export default Logger; 7 | -------------------------------------------------------------------------------- /src/models/IgnoredBy.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum IgnoredBy { 6 | CONDITION = 'CONDITION' 7 | } 8 | 9 | export default IgnoredBy; 10 | 11 | -------------------------------------------------------------------------------- /src/models/SignatureType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum SignatureType { 6 | HMAC = 'HMAC' 7 | } 8 | 9 | export default SignatureType; 10 | 11 | -------------------------------------------------------------------------------- /src/common/index.ts: -------------------------------------------------------------------------------- 1 | export * from './BitmovinError'; 2 | export * from './Configuration'; 3 | export * from './ConsoleLogger'; 4 | export * from './Logger'; 5 | export * from './NullLogger'; 6 | -------------------------------------------------------------------------------- /src/models/LiveOptionsType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum LiveOptionsType { 6 | HD = 'HD' 7 | } 8 | 9 | export default LiveOptionsType; 10 | 11 | -------------------------------------------------------------------------------- /src/models/ProfileH262.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum ProfileH262 { 6 | MPEG2_422 = 'MPEG2_422' 7 | } 8 | 9 | export default ProfileH262; 10 | 11 | -------------------------------------------------------------------------------- /src/models/AkamaiMslVersion.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum AkamaiMslVersion { 6 | MSL4 = 'MSL4' 7 | } 8 | 9 | export default AkamaiMslVersion; 10 | 11 | -------------------------------------------------------------------------------- /src/models/MediaType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum MediaType { 6 | VIDEO = 'VIDEO', 7 | AUDIO = 'AUDIO' 8 | } 9 | 10 | export default MediaType; 11 | 12 | -------------------------------------------------------------------------------- /src/models/SidecarFileType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum SidecarFileType { 6 | WEB_VTT = 'WEB_VTT' 7 | } 8 | 9 | export default SidecarFileType; 10 | 11 | -------------------------------------------------------------------------------- /src/models/CdnProvider.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum CdnProvider { 6 | AKAMAI = 'AKAMAI', 7 | AWS = 'AWS' 8 | } 9 | 10 | export default CdnProvider; 11 | 12 | -------------------------------------------------------------------------------- /src/models/ProfileH265.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum ProfileH265 { 6 | MAIN = 'main', 7 | MAIN10 = 'main10' 8 | } 9 | 10 | export default ProfileH265; 11 | 12 | -------------------------------------------------------------------------------- /src/models/SrtMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum SrtMode { 6 | LISTENER = 'LISTENER', 7 | CALLER = 'CALLER' 8 | } 9 | 10 | export default SrtMode; 11 | 12 | -------------------------------------------------------------------------------- /src/models/StreamsType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum StreamsType { 6 | VIDEO = 'VIDEO', 7 | LIVE = 'LIVE' 8 | } 9 | 10 | export default StreamsType; 11 | 12 | -------------------------------------------------------------------------------- /src/models/AnalyticsOrder.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum AnalyticsOrder { 6 | ASC = 'ASC', 7 | DESC = 'DESC' 8 | } 9 | 10 | export default AnalyticsOrder; 11 | 12 | -------------------------------------------------------------------------------- /src/models/BAdapt.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum BAdapt { 6 | NONE = 'NONE', 7 | FAST = 'FAST', 8 | FULL = 'FULL' 9 | } 10 | 11 | export default BAdapt; 12 | 13 | -------------------------------------------------------------------------------- /src/models/IvSize.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum IvSize { 6 | IV_8_BYTES = '8_BYTES', 7 | IV_16_BYTES = '16_BYTES' 8 | } 9 | 10 | export default IvSize; 11 | 12 | -------------------------------------------------------------------------------- /src/models/DashEditionCompatibility.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DashEditionCompatibility { 6 | V4 = 'V4' 7 | } 8 | 9 | export default DashEditionCompatibility; 10 | 11 | -------------------------------------------------------------------------------- /src/models/DashProfile.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DashProfile { 6 | LIVE = 'LIVE', 7 | ON_DEMAND = 'ON_DEMAND' 8 | } 9 | 10 | export default DashProfile; 11 | 12 | -------------------------------------------------------------------------------- /src/models/PcmPresetConfiguration.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum PcmPresetConfiguration { 6 | XDCAM = 'XDCAM' 7 | } 8 | 9 | export default PcmPresetConfiguration; 10 | 11 | -------------------------------------------------------------------------------- /src/models/SpriteUnit.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum SpriteUnit { 6 | SECONDS = 'SECONDS', 7 | PERCENTS = 'PERCENTS' 8 | } 9 | 10 | export default SpriteUnit; 11 | 12 | -------------------------------------------------------------------------------- /src/models/HlsManifestDefaultVersion.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum HlsManifestDefaultVersion { 6 | V1 = 'V1' 7 | } 8 | 9 | export default HlsManifestDefaultVersion; 10 | 11 | -------------------------------------------------------------------------------- /src/models/ManifestGenerator.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum ManifestGenerator { 6 | LEGACY = 'LEGACY', 7 | V2 = 'V2' 8 | } 9 | 10 | export default ManifestGenerator; 11 | 12 | -------------------------------------------------------------------------------- /src/models/PcmChannelLayout.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum PcmChannelLayout { 6 | MONO = 'MONO', 7 | STEREO = 'STEREO' 8 | } 9 | 10 | export default PcmChannelLayout; 11 | 12 | -------------------------------------------------------------------------------- /src/models/PositionUnit.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum PositionUnit { 6 | PIXELS = 'PIXELS', 7 | PERCENTS = 'PERCENTS' 8 | } 9 | 10 | export default PositionUnit; 11 | 12 | -------------------------------------------------------------------------------- /src/models/ResponseStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum ResponseStatus { 6 | SUCCESS = 'SUCCESS', 7 | ERROR = 'ERROR' 8 | } 9 | 10 | export default ResponseStatus; 11 | 12 | -------------------------------------------------------------------------------- /src/models/S3SignatureVersion.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum S3SignatureVersion { 6 | V2 = 'S3_V2', 7 | V4 = 'S3_V4' 8 | } 9 | 10 | export default S3SignatureVersion; 11 | 12 | -------------------------------------------------------------------------------- /src/models/TransferVersion.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum TransferVersion { 6 | DEFAULT = 'DEFAULT', 7 | POOL = 'POOL' 8 | } 9 | 10 | export default TransferVersion; 11 | 12 | -------------------------------------------------------------------------------- /src/models/WebhookHttpMethod.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum WebhookHttpMethod { 6 | POST = 'POST', 7 | PUT = 'PUT' 8 | } 9 | 10 | export default WebhookHttpMethod; 11 | 12 | -------------------------------------------------------------------------------- /src/models/AspectMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum AspectMode { 6 | PAD = 'PAD', 7 | CROP = 'CROP', 8 | STRETCH = 'STRETCH' 9 | } 10 | 11 | export default AspectMode; 12 | 13 | -------------------------------------------------------------------------------- /src/models/EncodingType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum EncodingType { 6 | LIVE = 'LIVE', 7 | VOD = 'VOD', 8 | NONE = 'NONE' 9 | } 10 | 11 | export default EncodingType; 12 | 13 | -------------------------------------------------------------------------------- /src/models/Id3TagPositionMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum Id3TagPositionMode { 6 | TIME = 'TIME', 7 | FRAME = 'FRAME' 8 | } 9 | 10 | export default Id3TagPositionMode; 11 | 12 | -------------------------------------------------------------------------------- /src/models/StreamCaptionOutputFormat.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum StreamCaptionOutputFormat { 6 | WEBVTT = 'WEBVTT' 7 | } 8 | 9 | export default StreamCaptionOutputFormat; 10 | 11 | -------------------------------------------------------------------------------- /src/models/ThumbnailUnit.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum ThumbnailUnit { 6 | SECONDS = 'SECONDS', 7 | PERCENTS = 'PERCENTS' 8 | } 9 | 10 | export default ThumbnailUnit; 11 | 12 | -------------------------------------------------------------------------------- /src/models/AclPermission.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum AclPermission { 6 | PUBLIC_READ = 'PUBLIC_READ', 7 | PRIVATE = 'PRIVATE' 8 | } 9 | 10 | export default AclPermission; 11 | 12 | -------------------------------------------------------------------------------- /src/models/AdMarkersSource.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum AdMarkersSource { 6 | MANIFEST = 'MANIFEST', 7 | SEGMENTS = 'SEGMENTS' 8 | } 9 | 10 | export default AdMarkersSource; 11 | 12 | -------------------------------------------------------------------------------- /src/models/DolbyAtmosInputFormat.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DolbyAtmosInputFormat { 6 | DAMF = 'DAMF', 7 | ADM = 'ADM' 8 | } 9 | 10 | export default DolbyAtmosInputFormat; 11 | 12 | -------------------------------------------------------------------------------- /src/models/Policy.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * The policy for the permissions. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum Policy { 7 | ALLOW = 'ALLOW', 8 | DENY = 'DENY' 9 | } 10 | 11 | export default Policy; 12 | 13 | -------------------------------------------------------------------------------- /src/models/SmoothManifestDefaultVersion.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum SmoothManifestDefaultVersion { 6 | V1 = 'V1' 7 | } 8 | 9 | export default SmoothManifestDefaultVersion; 10 | 11 | -------------------------------------------------------------------------------- /src/models/AnalyticsExportType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum AnalyticsExportType { 6 | ADS = 'ADS', 7 | SESSIONS = 'SESSIONS' 8 | } 9 | 10 | export default AnalyticsExportType; 11 | 12 | -------------------------------------------------------------------------------- /src/models/DtsMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DtsMode { 6 | EXPRESS_AUDIO = 'EXPRESS_AUDIO', 7 | DIGITAL_SURROUND = 'DIGITAL_SURROUND' 8 | } 9 | 10 | export default DtsMode; 11 | 12 | -------------------------------------------------------------------------------- /src/models/NotificationStates.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum NotificationStates { 6 | FIRED = 'FIRED', 7 | RESOLVED = 'RESOLVED' 8 | } 9 | 10 | export default NotificationStates; 11 | 12 | -------------------------------------------------------------------------------- /src/models/PaddingDurationUnit.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum PaddingDurationUnit { 6 | SECONDS = 'SECONDS', 7 | FRAMES = 'FRAMES' 8 | } 9 | 10 | export default PaddingDurationUnit; 11 | 12 | -------------------------------------------------------------------------------- /src/models/PsnrPerStreamMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum PsnrPerStreamMode { 6 | DISABLED = 'DISABLED', 7 | ENABLED = 'ENABLED' 8 | } 9 | 10 | export default PsnrPerStreamMode; 11 | 12 | -------------------------------------------------------------------------------- /src/models/ChannelLayout.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum ChannelLayout { 6 | NONE = 'NONE', 7 | MONO = 'MONO', 8 | CL_STEREO = 'STEREO' 9 | } 10 | 11 | export default ChannelLayout; 12 | 13 | -------------------------------------------------------------------------------- /src/models/DashManifestDefaultVersion.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DashManifestDefaultVersion { 6 | V1 = 'V1', 7 | V2 = 'V2' 8 | } 9 | 10 | export default DashManifestDefaultVersion; 11 | 12 | -------------------------------------------------------------------------------- /src/models/EgressCategory.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum EgressCategory { 6 | TRANSFER_RETRY = 'TRANSFER_RETRY', 7 | TRANSFER = 'TRANSFER' 8 | } 9 | 10 | export default EgressCategory; 11 | 12 | -------------------------------------------------------------------------------- /src/models/Id3TagType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum Id3TagType { 6 | RAW = 'RAW', 7 | FRAME_ID = 'FRAME_ID', 8 | PLAIN_TEXT = 'PLAIN_TEXT' 9 | } 10 | 11 | export default Id3TagType; 12 | 13 | -------------------------------------------------------------------------------- /src/models/LiveEncodingCodec.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum LiveEncodingCodec { 6 | H264 = 'H264', 7 | H265 = 'H265', 8 | AAC = 'AAC' 9 | } 10 | 11 | export default LiveEncodingCodec; 12 | 13 | -------------------------------------------------------------------------------- /src/models/Marketplace.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Type of signup marketplace 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum Marketplace { 7 | AWS = 'AWS', 8 | AZURE = 'AZURE' 9 | } 10 | 11 | export default Marketplace; 12 | 13 | -------------------------------------------------------------------------------- /src/models/PositionMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum PositionMode { 6 | KEYFRAME = 'KEYFRAME', 7 | TIME = 'TIME', 8 | SEGMENT = 'SEGMENT' 9 | } 10 | 11 | export default PositionMode; 12 | 13 | -------------------------------------------------------------------------------- /src/models/EncryptionMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * The encryption method to use. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum EncryptionMode { 7 | CTR = 'CTR', 8 | CBC = 'CBC' 9 | } 10 | 11 | export default EncryptionMode; 12 | 13 | -------------------------------------------------------------------------------- /src/models/PcmSampleFormat.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum PcmSampleFormat { 6 | S16LE = 'S16LE', 7 | S24LE = 'S24LE', 8 | S32LE = 'S32LE' 9 | } 10 | 11 | export default PcmSampleFormat; 12 | 13 | -------------------------------------------------------------------------------- /src/models/PixelFormatBitDepth.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum PixelFormatBitDepth { 6 | EIGHT_BIT = 'EIGHT_BIT', 7 | TEN_BIT = 'TEN_BIT' 8 | } 9 | 10 | export default PixelFormatBitDepth; 11 | 12 | -------------------------------------------------------------------------------- /src/models/Cea608ChannelType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Subtitle channel track 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum Cea608ChannelType { 7 | CC1 = 'CC1', 8 | CC3 = 'CC3' 9 | } 10 | 11 | export default Cea608ChannelType; 12 | 13 | -------------------------------------------------------------------------------- /src/models/DashISO8601TimestampFormat.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DashISO8601TimestampFormat { 6 | LONG = 'LONG', 7 | SHORT = 'SHORT' 8 | } 9 | 10 | export default DashISO8601TimestampFormat; 11 | 12 | -------------------------------------------------------------------------------- /src/models/ExternalIdMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum ExternalIdMode { 6 | CUSTOM = 'CUSTOM', 7 | GLOBAL = 'GLOBAL', 8 | GENERATED = 'GENERATED' 9 | } 10 | 11 | export default ExternalIdMode; 12 | 13 | -------------------------------------------------------------------------------- /src/models/FileInputStreamType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum FileInputStreamType { 6 | TTML = 'TTML', 7 | WEBVTT = 'WEBVTT', 8 | SRT = 'SRT' 9 | } 10 | 11 | export default FileInputStreamType; 12 | 13 | -------------------------------------------------------------------------------- /src/models/ManifestType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum ManifestType { 6 | DASH = 'DASH', 7 | HLS = 'HLS', 8 | SMOOTH_STREAMING = 'SMOOTH_STREAMING' 9 | } 10 | 11 | export default ManifestType; 12 | 13 | -------------------------------------------------------------------------------- /src/models/NexGuardWatermarkingType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum NexGuardWatermarkingType { 6 | OTT = 'OTT', 7 | DUPLICATED = 'DUPLICATED' 8 | } 9 | 10 | export default NexGuardWatermarkingType; 11 | 12 | -------------------------------------------------------------------------------- /src/models/OciCloudRegion.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum OciCloudRegion { 6 | EU_FRANKFURT_1 = 'EU_FRANKFURT_1', 7 | US_ASHBURN_1 = 'US_ASHBURN_1' 8 | } 9 | 10 | export default OciCloudRegion; 11 | 12 | -------------------------------------------------------------------------------- /src/models/PTSAlignMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Alignmet mode for PTS 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum PTSAlignMode { 7 | ALIGN_ZERO_NEGATIVE_CTO = 'ALIGN_ZERO_NEGATIVE_CTO' 8 | } 9 | 10 | export default PTSAlignMode; 11 | 12 | -------------------------------------------------------------------------------- /src/models/PrewarmedEncoderPoolAction.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum PrewarmedEncoderPoolAction { 6 | START = 'START', 7 | STOP = 'STOP' 8 | } 9 | 10 | export default PrewarmedEncoderPoolAction; 11 | 12 | -------------------------------------------------------------------------------- /src/models/StreamsVideoStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum StreamsVideoStatus { 6 | PUBLISHED = 'PUBLISHED', 7 | UNPUBLISHED = 'UNPUBLISHED' 8 | } 9 | 10 | export default StreamsVideoStatus; 11 | 12 | -------------------------------------------------------------------------------- /src/models/AkamaiMslStreamFormat.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum AkamaiMslStreamFormat { 6 | DASH = 'DASH', 7 | HLS = 'HLS', 8 | CMAF = 'CMAF' 9 | } 10 | 11 | export default AkamaiMslStreamFormat; 12 | 13 | -------------------------------------------------------------------------------- /src/models/DolbyVisionPerStreamMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DolbyVisionPerStreamMode { 6 | DISABLED = 'DISABLED', 7 | ENABLED = 'ENABLED' 8 | } 9 | 10 | export default DolbyVisionPerStreamMode; 11 | 12 | -------------------------------------------------------------------------------- /src/models/DtsXChannelLayout.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Can be 5.1 or 5.1.4 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DtsXChannelLayout { 7 | CL_5_1 = '5.1', 8 | CL_5_1_4 = '5.1.4' 9 | } 10 | 11 | export default DtsXChannelLayout; 12 | 13 | -------------------------------------------------------------------------------- /src/models/StatisticsPerTitleStream.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum StatisticsPerTitleStream { 6 | DISABLED = 'DISABLED', 7 | ENABLED = 'ENABLED' 8 | } 9 | 10 | export default StatisticsPerTitleStream; 11 | 12 | -------------------------------------------------------------------------------- /src/models/ThumbnailAspectMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum ThumbnailAspectMode { 6 | PAD = 'PAD', 7 | CROP = 'CROP', 8 | STRETCH = 'STRETCH' 9 | } 10 | 11 | export default ThumbnailAspectMode; 12 | 13 | -------------------------------------------------------------------------------- /src/models/WatchFolderStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum WatchFolderStatus { 6 | STOPPED = 'STOPPED', 7 | STARTED = 'STARTED', 8 | ERROR = 'ERROR' 9 | } 10 | 11 | export default WatchFolderStatus; 12 | 13 | -------------------------------------------------------------------------------- /src/models/ConvertSccPositionMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum ConvertSccPositionMode { 6 | FULL = 'FULL', 7 | SIMPLE = 'SIMPLE', 8 | NONE = 'NONE' 9 | } 10 | 11 | export default ConvertSccPositionMode; 12 | 13 | -------------------------------------------------------------------------------- /src/models/PrewarmedEncoderPoolStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum PrewarmedEncoderPoolStatus { 6 | STARTED = 'STARTED', 7 | STOPPED = 'STOPPED' 8 | } 9 | 10 | export default PrewarmedEncoderPoolStatus; 11 | 12 | -------------------------------------------------------------------------------- /src/models/ProfileH264.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum ProfileH264 { 6 | BASELINE = 'BASELINE', 7 | MAIN = 'MAIN', 8 | HIGH = 'HIGH', 9 | HIGH422 = 'HIGH422' 10 | } 11 | 12 | export default ProfileH264; 13 | 14 | -------------------------------------------------------------------------------- /src/models/SidecarErrorMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum SidecarErrorMode { 6 | FAIL_ON_ERROR = 'FAIL_ON_ERROR', 7 | CONTINUE_ON_ERROR = 'CONTINUE_ON_ERROR' 8 | } 9 | 10 | export default SidecarErrorMode; 11 | 12 | -------------------------------------------------------------------------------- /src/models/SpriteCreationMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum SpriteCreationMode { 6 | INTERVAL_END = 'INTERVAL_END', 7 | INTERVAL_START = 'INTERVAL_START' 8 | } 9 | 10 | export default SpriteCreationMode; 11 | 12 | -------------------------------------------------------------------------------- /src/models/StreamConditionsMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum StreamConditionsMode { 6 | DROP_MUXING = 'DROP_MUXING', 7 | DROP_STREAM = 'DROP_STREAM' 8 | } 9 | 10 | export default StreamConditionsMode; 11 | 12 | -------------------------------------------------------------------------------- /src/models/StreamKeyConfigurationType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum StreamKeyConfigurationType { 6 | GENERATE = 'GENERATE', 7 | ASSIGN = 'ASSIGN' 8 | } 9 | 10 | export default StreamKeyConfigurationType; 11 | 12 | -------------------------------------------------------------------------------- /src/models/StreamKeyType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Type of the stream key 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum StreamKeyType { 7 | RESERVED = 'RESERVED', 8 | TEMPORARY = 'TEMPORARY' 9 | } 10 | 11 | export default StreamKeyType; 12 | 13 | -------------------------------------------------------------------------------- /src/models/StreamsVideoQuality.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum StreamsVideoQuality { 6 | NONE = 'NONE', 7 | PREVIEW = 'PREVIEW', 8 | DEFAULT = 'DEFAULT' 9 | } 10 | 11 | export default StreamsVideoQuality; 12 | 13 | -------------------------------------------------------------------------------- /src/models/BitrateSelectionMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum BitrateSelectionMode { 6 | OPTIMIZED = 'OPTIMIZED', 7 | COMPLEXITY_RANGE = 'COMPLEXITY_RANGE' 8 | } 9 | 10 | export default BitrateSelectionMode; 11 | 12 | -------------------------------------------------------------------------------- /src/models/ConditionType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Type of the condition 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum ConditionType { 7 | CONDITION = 'CONDITION', 8 | AND = 'AND', 9 | OR = 'OR' 10 | } 11 | 12 | export default ConditionType; 13 | 14 | -------------------------------------------------------------------------------- /src/models/DecodingErrorMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DecodingErrorMode { 6 | FAIL_ON_ERROR = 'FAIL_ON_ERROR', 7 | DUPLICATE_FRAMES = 'DUPLICATE_FRAMES' 8 | } 9 | 10 | export default DecodingErrorMode; 11 | 12 | -------------------------------------------------------------------------------- /src/models/EncodingTemplateType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * The Encoding Template type 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum EncodingTemplateType { 7 | VOD = 'VOD', 8 | LIVE = 'LIVE' 9 | } 10 | 11 | export default EncodingTemplateType; 12 | 13 | -------------------------------------------------------------------------------- /src/models/InvitationStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Status of the invitation 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum InvitationStatus { 7 | PENDING = 'PENDING', 8 | ACCEPTED = 'ACCEPTED' 9 | } 10 | 11 | export default InvitationStatus; 12 | 13 | -------------------------------------------------------------------------------- /src/models/MaxCtuSize.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Set the maximal CTU (Coding Tree Unit) size 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum MaxCtuSize { 7 | S16 = '16', 8 | S32 = '32', 9 | S64 = '64' 10 | } 11 | 12 | export default MaxCtuSize; 13 | 14 | -------------------------------------------------------------------------------- /src/models/NexGuardABWatermarkingFeature.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum NexGuardABWatermarkingFeature { 6 | OTT = 'OTT', 7 | DUPLICATED = 'DUPLICATED' 8 | } 9 | 10 | export default NexGuardABWatermarkingFeature; 11 | 12 | -------------------------------------------------------------------------------- /src/models/AnalyticsInterval.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum AnalyticsInterval { 6 | MINUTE = 'MINUTE', 7 | HOUR = 'HOUR', 8 | DAY = 'DAY', 9 | MONTH = 'MONTH' 10 | } 11 | 12 | export default AnalyticsInterval; 13 | 14 | -------------------------------------------------------------------------------- /src/models/DolbyVisionMetadataSource.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DolbyVisionMetadataSource { 6 | INPUT_STREAM = 'INPUT_STREAM', 7 | EMBEDDED = 'EMBEDDED' 8 | } 9 | 10 | export default DolbyVisionMetadataSource; 11 | 12 | -------------------------------------------------------------------------------- /src/models/H264DynamicRangeFormat.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Ouput should be in Standard Definition Range (SDR). 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum H264DynamicRangeFormat { 7 | SDR = 'SDR' 8 | } 9 | 10 | export default H264DynamicRangeFormat; 11 | 12 | -------------------------------------------------------------------------------- /src/models/MinCodingUnitSize.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum MinCodingUnitSize { 6 | MCU_8x8 = 'MCU_8x8', 7 | MCU_16x16 = 'MCU_16x16', 8 | MCU_32x32 = 'MCU_32x32' 9 | } 10 | 11 | export default MinCodingUnitSize; 12 | 13 | -------------------------------------------------------------------------------- /src/models/OrganizationType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum OrganizationType { 6 | ROOT_ORGANIZATION = 'ROOT_ORGANIZATION', 7 | SUB_ORGANIZATION = 'SUB_ORGANIZATION' 8 | } 9 | 10 | export default OrganizationType; 11 | 12 | -------------------------------------------------------------------------------- /src/models/PrewarmedEncoderDiskSize.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum PrewarmedEncoderDiskSize { 6 | GB_500 = '500', 7 | GB_1000 = '1000', 8 | GB_2000 = '2000' 9 | } 10 | 11 | export default PrewarmedEncoderDiskSize; 12 | 13 | -------------------------------------------------------------------------------- /src/models/StaticIpStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum StaticIpStatus { 6 | CREATING = 'CREATING', 7 | UNUSED = 'UNUSED', 8 | ERROR = 'ERROR', 9 | USED = 'USED' 10 | } 11 | 12 | export default StaticIpStatus; 13 | 14 | -------------------------------------------------------------------------------- /src/models/StatisticsResolution.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum StatisticsResolution { 6 | SD = 'SD', 7 | HD = 'HD', 8 | UHD = 'UHD', 9 | UHD_8K = 'UHD_8K' 10 | } 11 | 12 | export default StatisticsResolution; 13 | 14 | -------------------------------------------------------------------------------- /src/models/StreamKeyStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Status of the stream key 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum StreamKeyStatus { 7 | ASSIGNED = 'ASSIGNED', 8 | UNASSIGNED = 'UNASSIGNED' 9 | } 10 | 11 | export default StreamKeyStatus; 12 | 13 | -------------------------------------------------------------------------------- /src/models/StreamsEncodingProfile.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum StreamsEncodingProfile { 6 | PER_TITLE = 'PER_TITLE', 7 | FIXED_RESOLUTIONS = 'FIXED_RESOLUTIONS' 8 | } 9 | 10 | export default StreamsEncodingProfile; 11 | 12 | -------------------------------------------------------------------------------- /src/models/CencMarlin.ts: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * @export 4 | * @class CencMarlin 5 | */ 6 | export class CencMarlin { 7 | constructor(obj?: Partial) { 8 | if(!obj) { 9 | return; 10 | } 11 | } 12 | } 13 | 14 | export default CencMarlin; 15 | 16 | -------------------------------------------------------------------------------- /src/models/ColorRange.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * The color range to be applied 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum ColorRange { 7 | UNSPECIFIED = 'UNSPECIFIED', 8 | MPEG = 'MPEG', 9 | JPEG = 'JPEG' 10 | } 11 | 12 | export default ColorRange; 13 | 14 | -------------------------------------------------------------------------------- /src/models/DashRepresentationType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DashRepresentationType { 6 | TEMPLATE = 'TEMPLATE', 7 | LIST = 'LIST', 8 | TIMELINE = 'TIMELINE' 9 | } 10 | 11 | export default DashRepresentationType; 12 | 13 | -------------------------------------------------------------------------------- /src/models/H264BPyramid.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Keep some B-frames as references 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum H264BPyramid { 7 | NONE = 'NONE', 8 | STRICT = 'STRICT', 9 | NORMAL = 'NORMAL' 10 | } 11 | 12 | export default H264BPyramid; 13 | 14 | -------------------------------------------------------------------------------- /src/models/AdaptationSetType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum AdaptationSetType { 6 | VIDEO = 'VIDEO', 7 | AUDIO = 'AUDIO', 8 | IMAGE = 'IMAGE', 9 | SUBTITLE = 'SUBTITLE' 10 | } 11 | 12 | export default AdaptationSetType; 13 | 14 | -------------------------------------------------------------------------------- /src/models/AesEncryptionMethod.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Detailed encryption method 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum AesEncryptionMethod { 7 | SAMPLE_AES = 'SAMPLE_AES', 8 | AES_128 = 'AES_128' 9 | } 10 | 11 | export default AesEncryptionMethod; 12 | 13 | -------------------------------------------------------------------------------- /src/models/AudioVolumeUnit.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * The unit in which the audio volume should be changed 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum AudioVolumeUnit { 7 | PERCENT = 'PERCENT', 8 | DB = 'DB' 9 | } 10 | 11 | export default AudioVolumeUnit; 12 | 13 | -------------------------------------------------------------------------------- /src/models/HlsVersion.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum HlsVersion { 6 | HLS_V3 = '3', 7 | HLS_V4 = '4', 8 | HLS_V5 = '5', 9 | HLS_V6 = '6', 10 | HLS_V7 = '7', 11 | HLS_V8 = '8' 12 | } 13 | 14 | export default HlsVersion; 15 | 16 | -------------------------------------------------------------------------------- /src/models/LimitReferences.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum LimitReferences { 6 | DISABLED = 'DISABLED', 7 | DEPTH = 'DEPTH', 8 | CU = 'CU', 9 | DEPTH_AND_CU = 'DEPTH_AND_CU' 10 | } 11 | 12 | export default LimitReferences; 13 | 14 | -------------------------------------------------------------------------------- /src/models/LiveStandbyPoolStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Status of the live standby pool 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum LiveStandbyPoolStatus { 7 | HEALTHY = 'HEALTHY', 8 | ERROR = 'ERROR' 9 | } 10 | 11 | export default LiveStandbyPoolStatus; 12 | 13 | -------------------------------------------------------------------------------- /src/models/MessageType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum MessageType { 6 | ERROR = 'ERROR', 7 | WARNING = 'WARNING', 8 | INFO = 'INFO', 9 | DEBUG = 'DEBUG', 10 | TRACE = 'TRACE' 11 | } 12 | 13 | export default MessageType; 14 | 15 | -------------------------------------------------------------------------------- /src/models/PlayerThirdPartyLicensingErrorAction.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum PlayerThirdPartyLicensingErrorAction { 6 | ALLOW = 'ALLOW', 7 | DENY = 'DENY' 8 | } 9 | 10 | export default PlayerThirdPartyLicensingErrorAction; 11 | 12 | -------------------------------------------------------------------------------- /src/models/ResourceType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum ResourceType { 6 | ACCOUNT = 'account', 7 | ENCODING = 'encoding', 8 | PLAYER = 'player', 9 | ANALYTICS = 'analytics' 10 | } 11 | 12 | export default ResourceType; 13 | 14 | -------------------------------------------------------------------------------- /src/models/SmpteTimecodeFlavor.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum SmpteTimecodeFlavor { 6 | AUTO = 'AUTO', 7 | NON_DROP_FRAME = 'NON_DROP_FRAME', 8 | DROP_FRAME = 'DROP_FRAME' 9 | } 10 | 11 | export default SmpteTimecodeFlavor; 12 | 13 | -------------------------------------------------------------------------------- /src/models/TuInterDepth.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Extra recursion depth for intra coded units 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum TuInterDepth { 7 | D1 = '1', 8 | D2 = '2', 9 | D3 = '3', 10 | D4 = '4' 11 | } 12 | 13 | export default TuInterDepth; 14 | 15 | -------------------------------------------------------------------------------- /src/models/TuIntraDepth.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Extra recursion depth for inter coded units 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum TuIntraDepth { 7 | D1 = '1', 8 | D2 = '2', 9 | D3 = '3', 10 | D4 = '4' 11 | } 12 | 13 | export default TuIntraDepth; 14 | 15 | -------------------------------------------------------------------------------- /src/models/Vp8Quality.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Determines quality for the price of speed. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum Vp8Quality { 7 | REALTIME = 'REALTIME', 8 | GOOD = 'GOOD', 9 | BEST = 'BEST' 10 | } 11 | 12 | export default Vp8Quality; 13 | 14 | -------------------------------------------------------------------------------- /src/models/Vp9Quality.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Determines quality for the price of speed. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum Vp9Quality { 7 | REALTIME = 'REALTIME', 8 | GOOD = 'GOOD', 9 | BEST = 'BEST' 10 | } 11 | 12 | export default Vp9Quality; 13 | 14 | -------------------------------------------------------------------------------- /src/models/AnalyticsExportFileFormat.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Analytics Export File Format 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum AnalyticsExportFileFormat { 7 | CSV = 'CSV', 8 | PARQUET = 'PARQUET' 9 | } 10 | 11 | export default AnalyticsExportFileFormat; 12 | 13 | -------------------------------------------------------------------------------- /src/models/ErrorRetryHint.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum ErrorRetryHint { 6 | RETRY = 'RETRY', 7 | NO_RETRY = 'NO_RETRY', 8 | RETRY_IN_DIFFERENT_REGION = 'RETRY_IN_DIFFERENT_REGION' 9 | } 10 | 11 | export default ErrorRetryHint; 12 | 13 | -------------------------------------------------------------------------------- /src/models/H262PresetConfiguration.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Codec specific settings for XDCAM HD 422. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum H262PresetConfiguration { 7 | XDCAM_HD_422 = 'XDCAM_HD_422' 8 | } 9 | 10 | export default H262PresetConfiguration; 11 | 12 | -------------------------------------------------------------------------------- /src/models/StreamsVideoEncodingStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum StreamsVideoEncodingStatus { 6 | STARTED = 'STARTED', 7 | ERROR = 'ERROR', 8 | FINISHED = 'FINISHED' 9 | } 10 | 11 | export default StreamsVideoEncodingStatus; 12 | 13 | -------------------------------------------------------------------------------- /src/models/AzureSpeechToCaptionsProfanity.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum AzureSpeechToCaptionsProfanity { 6 | MASKED = 'MASKED', 7 | REMOVED = 'REMOVED', 8 | RAW = 'RAW' 9 | } 10 | 11 | export default AzureSpeechToCaptionsProfanity; 12 | 13 | -------------------------------------------------------------------------------- /src/models/DashOnDemandRepresentationType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DashOnDemandRepresentationType { 6 | SEGMENT_BASE = 'SEGMENT_BASE', 7 | SEGMENT_LIST = 'SEGMENT_LIST' 8 | } 9 | 10 | export default DashOnDemandRepresentationType; 11 | 12 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalLoudnessControlMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DolbyDigitalLoudnessControlMode { 6 | PASSTHROUGH = 'PASSTHROUGH', 7 | CORRECTION = 'CORRECTION' 8 | } 9 | 10 | export default DolbyDigitalLoudnessControlMode; 11 | 12 | -------------------------------------------------------------------------------- /src/models/EncodingMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum EncodingMode { 6 | STANDARD = 'STANDARD', 7 | SINGLE_PASS = 'SINGLE_PASS', 8 | TWO_PASS = 'TWO_PASS', 9 | THREE_PASS = 'THREE_PASS' 10 | } 11 | 12 | export default EncodingMode; 13 | 14 | -------------------------------------------------------------------------------- /src/models/PlayReadyEncryptionMethod.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Encryption method 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum PlayReadyEncryptionMethod { 7 | MPEG_CENC = 'MPEG_CENC', 8 | PIFF_CTR = 'PIFF_CTR' 9 | } 10 | 11 | export default PlayReadyEncryptionMethod; 12 | 13 | -------------------------------------------------------------------------------- /src/models/VariantStreamDroppingMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Variant stream dropping mode. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum VariantStreamDroppingMode { 7 | STREAM = 'STREAM', 8 | AUDIO = 'AUDIO' 9 | } 10 | 11 | export default VariantStreamDroppingMode; 12 | 13 | -------------------------------------------------------------------------------- /src/models/Vp8ArnrType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * altref noise reduction filter type 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum Vp8ArnrType { 7 | BACKWARD = 'BACKWARD', 8 | FORWARD = 'FORWARD', 9 | CENTERED = 'CENTERED' 10 | } 11 | 12 | export default Vp8ArnrType; 13 | 14 | -------------------------------------------------------------------------------- /src/models/Vp9ArnrType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * altref noise reduction filter type 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum Vp9ArnrType { 7 | BACKWARD = 'BACKWARD', 8 | FORWARD = 'FORWARD', 9 | CENTERED = 'CENTERED' 10 | } 11 | 12 | export default Vp9ArnrType; 13 | 14 | -------------------------------------------------------------------------------- /src/models/AnalyticsExportStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum AnalyticsExportStatus { 6 | STARTED = 'STARTED', 7 | FINISHED = 'FINISHED', 8 | QUEUED = 'QUEUED', 9 | ERROR = 'ERROR' 10 | } 11 | 12 | export default AnalyticsExportStatus; 13 | 14 | -------------------------------------------------------------------------------- /src/models/AvailabilityStartTimeMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum AvailabilityStartTimeMode { 6 | ON_FIRST_SEGMENT = 'ON_FIRST_SEGMENT', 7 | ON_STREAM_INGEST = 'ON_STREAM_INGEST' 8 | } 9 | 10 | export default AvailabilityStartTimeMode; 11 | 12 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalSurroundMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DolbyDigitalSurroundMode { 6 | ENABLED = 'ENABLED', 7 | DISABLED = 'DISABLED', 8 | NOT_INDICATED = 'NOT_INDICATED' 9 | } 10 | 11 | export default DolbyDigitalSurroundMode; 12 | 13 | -------------------------------------------------------------------------------- /src/models/ImscStylingMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Determines how IMSC styling is handled. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum ImscStylingMode { 7 | PASSTHROUGH = 'PASSTHROUGH', 8 | DROP_STYLING = 'DROP_STYLING' 9 | } 10 | 11 | export default ImscStylingMode; 12 | 13 | -------------------------------------------------------------------------------- /src/models/AnalyticsOutputType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum AnalyticsOutputType { 6 | S3_ROLE_BASED = 'S3_ROLE_BASED', 7 | GCS_SERVICE_ACCOUNT = 'GCS_SERVICE_ACCOUNT', 8 | AZURE = 'AZURE' 9 | } 10 | 11 | export default AnalyticsOutputType; 12 | 13 | -------------------------------------------------------------------------------- /src/models/Av1PresetConfiguration.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum Av1PresetConfiguration { 6 | VOD_QUALITY = 'VOD_QUALITY', 7 | VOD_STANDARD = 'VOD_STANDARD', 8 | VOD_SPEED = 'VOD_SPEED' 9 | } 10 | 11 | export default Av1PresetConfiguration; 12 | 13 | -------------------------------------------------------------------------------- /src/models/ChannelsAttributeForAudio.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum ChannelsAttributeForAudio { 6 | ALWAYS = 'ALWAYS', 7 | STANDARD_CONFORM = 'STANDARD_CONFORM', 8 | LEGACY = 'LEGACY' 9 | } 10 | 11 | export default ChannelsAttributeForAudio; 12 | 13 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalPlusLoudnessControlMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DolbyDigitalPlusLoudnessControlMode { 6 | PASSTHROUGH = 'PASSTHROUGH', 7 | CORRECTION = 'CORRECTION' 8 | } 9 | 10 | export default DolbyDigitalPlusLoudnessControlMode; 11 | 12 | -------------------------------------------------------------------------------- /src/models/HeAacV1Signaling.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum HeAacV1Signaling { 6 | IMPLICIT = 'IMPLICIT', 7 | EXPLICIT_SBR = 'EXPLICIT_SBR', 8 | EXPLICIT_HIERARCHICAL = 'EXPLICIT_HIERARCHICAL' 9 | } 10 | 11 | export default HeAacV1Signaling; 12 | 13 | -------------------------------------------------------------------------------- /src/models/HlsTargetDurationRoundingMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum HlsTargetDurationRoundingMode { 6 | UPWARD_ROUNDING = 'UPWARD_ROUNDING', 7 | NORMAL_ROUNDING = 'NORMAL_ROUNDING' 8 | } 9 | 10 | export default HlsTargetDurationRoundingMode; 11 | 12 | -------------------------------------------------------------------------------- /src/models/LiveStandbyPoolEncodingManifestType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Type of the manifest 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum LiveStandbyPoolEncodingManifestType { 7 | DASH = 'DASH', 8 | HLS = 'HLS' 9 | } 10 | 11 | export default LiveStandbyPoolEncodingManifestType; 12 | 13 | -------------------------------------------------------------------------------- /src/models/Permission.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Permission to assign. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum Permission { 7 | GET = 'GET', 8 | DELETE = 'DELETE', 9 | POST = 'POST', 10 | PUT = 'PUT', 11 | PATCH = 'PATCH' 12 | } 13 | 14 | export default Permission; 15 | 16 | -------------------------------------------------------------------------------- /src/models/S3AccessStyle.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Specifies whether to use path or virtual-hosted style access 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum S3AccessStyle { 7 | VIRTUAL_HOSTED = 'VIRTUAL_HOSTED', 8 | PATH = 'PATH' 9 | } 10 | 11 | export default S3AccessStyle; 12 | 13 | -------------------------------------------------------------------------------- /src/models/Vp9AqMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Adaptive quantization mode. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum Vp9AqMode { 7 | NONE = 'NONE', 8 | VARIANCE = 'VARIANCE', 9 | COMPLEXITY = 'COMPLEXITY', 10 | CYCLIC = 'CYCLIC' 11 | } 12 | 13 | export default Vp9AqMode; 14 | 15 | -------------------------------------------------------------------------------- /src/models/WebVttCueIdentifierPolicy.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum WebVttCueIdentifierPolicy { 6 | INCLUDE_IDENTIFIERS = 'INCLUDE_IDENTIFIERS', 7 | OMIT_IDENTIFIERS = 'OMIT_IDENTIFIERS' 8 | } 9 | 10 | export default WebVttCueIdentifierPolicy; 11 | 12 | -------------------------------------------------------------------------------- /src/models/WebVttStylingMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Determines how WebVTT styling is handled. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum WebVttStylingMode { 7 | PASSTHROUGH = 'PASSTHROUGH', 8 | DROP_STYLING = 'DROP_STYLING' 9 | } 10 | 11 | export default WebVttStylingMode; 12 | 13 | -------------------------------------------------------------------------------- /src/models/EnhancedDeinterlaceMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Specifies the method how fields are converted to frames 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum EnhancedDeinterlaceMode { 7 | FRAME = 'FRAME', 8 | FIELD = 'FIELD' 9 | } 10 | 11 | export default EnhancedDeinterlaceMode; 12 | 13 | -------------------------------------------------------------------------------- /src/models/InsertableContentStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum InsertableContentStatus { 6 | CREATED = 'CREATED', 7 | DOWNLOADING = 'DOWNLOADING', 8 | READY = 'READY', 9 | ERROR = 'ERROR' 10 | } 11 | 12 | export default InsertableContentStatus; 13 | 14 | -------------------------------------------------------------------------------- /src/models/MaxTransformUnitSize.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum MaxTransformUnitSize { 6 | MTU_4x4 = 'MTU_4x4', 7 | MTU_8x8 = 'MTU_8x8', 8 | MTU_16x16 = 'MTU_16x16', 9 | MTU_32x32 = 'MTU_32x32' 10 | } 11 | 12 | export default MaxTransformUnitSize; 13 | 14 | -------------------------------------------------------------------------------- /src/models/MotionSearch.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Set the Motion search method 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum MotionSearch { 7 | DIA = 'DIA', 8 | HEX = 'HEX', 9 | UMH = 'UMH', 10 | STAR = 'STAR', 11 | FULL = 'FULL' 12 | } 13 | 14 | export default MotionSearch; 15 | 16 | -------------------------------------------------------------------------------- /src/models/ProgramDateTimeSource.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Source for the EXT-X-PROGRAM-DATETIME tag 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum ProgramDateTimeSource { 7 | SYSTEM_CLOCK = 'SYSTEM_CLOCK', 8 | EMBEDDED = 'EMBEDDED' 9 | } 10 | 11 | export default ProgramDateTimeSource; 12 | 13 | -------------------------------------------------------------------------------- /src/models/RetryHint.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum RetryHint { 6 | RETRY = 'RETRY', 7 | RETRY_IN_DIFFERENT_REGION = 'RETRY_IN_DIFFERENT_REGION', 8 | NO_RETRY = 'NO_RETRY', 9 | UNDEFINED = 'UNDEFINED' 10 | } 11 | 12 | export default RetryHint; 13 | 14 | -------------------------------------------------------------------------------- /src/models/StreamsLiveLifeCycle.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum StreamsLiveLifeCycle { 6 | PROVISIONING = 'PROVISIONING', 7 | STOPPED = 'STOPPED', 8 | RUNNING = 'RUNNING', 9 | ERROR = 'ERROR' 10 | } 11 | 12 | export default StreamsLiveLifeCycle; 13 | 14 | -------------------------------------------------------------------------------- /src/common/NullLogger.ts: -------------------------------------------------------------------------------- 1 | import Logger from './Logger'; 2 | 3 | export class NullLogger implements Logger { 4 | public async logRequest(request: any) { 5 | return; 6 | } 7 | 8 | public async logResponse(response: any) { 9 | return; 10 | } 11 | } 12 | 13 | export default NullLogger; 14 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalPlusSurroundMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DolbyDigitalPlusSurroundMode { 6 | ENABLED = 'ENABLED', 7 | DISABLED = 'DISABLED', 8 | NOT_INDICATED = 'NOT_INDICATED' 9 | } 10 | 11 | export default DolbyDigitalPlusSurroundMode; 12 | 13 | -------------------------------------------------------------------------------- /src/models/DolbyVisionTrackSampleEntryName.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Dolby Vision track's sample entry name 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DolbyVisionTrackSampleEntryName { 7 | DVHE = 'DVHE', 8 | DVH1 = 'DVH1' 9 | } 10 | 11 | export default DolbyVisionTrackSampleEntryName; 12 | 13 | -------------------------------------------------------------------------------- /src/models/H264MotionEstimationMethod.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Integer pixel motion estimation method 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum H264MotionEstimationMethod { 7 | DIA = 'DIA', 8 | HEX = 'HEX', 9 | UMH = 'UMH' 10 | } 11 | 12 | export default H264MotionEstimationMethod; 13 | 14 | -------------------------------------------------------------------------------- /src/models/H264NalHrd.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Signal hypothetical reference decoder (HRD) information (requires bufsize to be set) 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum H264NalHrd { 7 | NONE = 'NONE', 8 | VBR = 'VBR', 9 | CBR = 'CBR' 10 | } 11 | 12 | export default H264NalHrd; 13 | 14 | -------------------------------------------------------------------------------- /src/models/MediaInfoType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum MediaInfoType { 6 | AUDIO = 'AUDIO', 7 | VIDEO = 'VIDEO', 8 | SUBTITLES = 'SUBTITLES', 9 | CLOSED_CAPTIONS = 'CLOSED_CAPTIONS', 10 | VTT = 'VTT' 11 | } 12 | 13 | export default MediaInfoType; 14 | 15 | -------------------------------------------------------------------------------- /src/models/VideoFormat.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum VideoFormat { 6 | UNDEFINED = 'UNDEFINED', 7 | COMPONENT = 'COMPONENT', 8 | PAL = 'PAL', 9 | NTSC = 'NTSC', 10 | SECAM = 'SECAM', 11 | MAC = 'MAC' 12 | } 13 | 14 | export default VideoFormat; 15 | 16 | -------------------------------------------------------------------------------- /src/models/AudioVideoSyncMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum AudioVideoSyncMode { 6 | STANDARD = 'STANDARD', 7 | RESYNC_AT_START = 'RESYNC_AT_START', 8 | RESYNC_AT_START_AND_END = 'RESYNC_AT_START_AND_END' 9 | } 10 | 11 | export default AudioVideoSyncMode; 12 | 13 | -------------------------------------------------------------------------------- /src/models/DeinterlaceFrameSelectionMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Specifies which frames to deinterlace 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DeinterlaceFrameSelectionMode { 7 | ALL = 'ALL', 8 | INTERLACED = 'INTERLACED' 9 | } 10 | 11 | export default DeinterlaceFrameSelectionMode; 12 | 13 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalLfeLowPassFilter.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Low frequency effects low pass filter 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DolbyDigitalLfeLowPassFilter { 7 | ENABLED = 'ENABLED', 8 | DISABLED = 'DISABLED' 9 | } 10 | 11 | export default DolbyDigitalLfeLowPassFilter; 12 | 13 | -------------------------------------------------------------------------------- /src/models/MvPredictionMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Motion vector prediction mode 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum MvPredictionMode { 7 | NONE = 'NONE', 8 | SPATIAL = 'SPATIAL', 9 | TEMPORAL = 'TEMPORAL', 10 | AUTO = 'AUTO' 11 | } 12 | 13 | export default MvPredictionMode; 14 | 15 | -------------------------------------------------------------------------------- /src/models/ClockSynchronizationMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Mode of clock synchronization for ad insertion 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum ClockSynchronizationMode { 7 | SYSTEM_CLOCK = 'SYSTEM_CLOCK', 8 | EMBEDDED = 'EMBEDDED' 9 | } 10 | 11 | export default ClockSynchronizationMode; 12 | 13 | -------------------------------------------------------------------------------- /src/models/DolbyVisionProfile.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DolbyVisionProfile { 6 | DVHE_04 = 'DVHE_04', 7 | DVHE_05 = 'DVHE_05', 8 | DVHE_07 = 'DVHE_07', 9 | HEV1_08 = 'HEV1_08', 10 | AVC3_09 = 'AVC3_09' 11 | } 12 | 13 | export default DolbyVisionProfile; 14 | 15 | -------------------------------------------------------------------------------- /src/models/LiveStandbyPoolEventLogType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Event log type of the standby pool 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum LiveStandbyPoolEventLogType { 7 | INFO = 'INFO', 8 | WARN = 'WARN', 9 | ERROR = 'ERROR' 10 | } 11 | 12 | export default LiveStandbyPoolEventLogType; 13 | 14 | -------------------------------------------------------------------------------- /src/models/DashRepresentationTypeMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DashRepresentationTypeMode { 6 | TEMPLATE_REPRESENTATION = 'TEMPLATE_REPRESENTATION', 7 | TEMPLATE_ADAPTATION_SET = 'TEMPLATE_ADAPTATION_SET' 8 | } 9 | 10 | export default DashRepresentationTypeMode; 11 | 12 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalPlusLfeLowPassFilter.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Low frequency effects low pass filter 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DolbyDigitalPlusLfeLowPassFilter { 7 | ENABLED = 'ENABLED', 8 | DISABLED = 'DISABLED' 9 | } 10 | 11 | export default DolbyDigitalPlusLfeLowPassFilter; 12 | 13 | -------------------------------------------------------------------------------- /src/models/SignupSource.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * platform which initiated the creation of the resource 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum SignupSource { 7 | AWS = 'AWS', 8 | AZURE = 'AZURE', 9 | BITMOVIN = 'BITMOVIN', 10 | GOOGLE = 'GOOGLE' 11 | } 12 | 13 | export default SignupSource; 14 | 15 | -------------------------------------------------------------------------------- /src/models/ForceFlushMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Force the encoder to flush frames. Default is DISABLED. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum ForceFlushMode { 7 | DISABLED = 'DISABLED', 8 | ALL_FRAMES = 'ALL_FRAMES', 9 | SLICE_TYPE = 'SLICE_TYPE' 10 | } 11 | 12 | export default ForceFlushMode; 13 | 14 | -------------------------------------------------------------------------------- /src/models/HeAacV2Signaling.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum HeAacV2Signaling { 6 | IMPLICIT = 'IMPLICIT', 7 | EXPLICIT_SBR = 'EXPLICIT_SBR', 8 | EXPLICIT_PS = 'EXPLICIT_PS', 9 | EXPLICIT_HIERARCHICAL = 'EXPLICIT_HIERARCHICAL' 10 | } 11 | 12 | export default HeAacV2Signaling; 13 | 14 | -------------------------------------------------------------------------------- /src/models/AdaptiveQuantMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum AdaptiveQuantMode { 6 | DISABLED = 'DISABLED', 7 | VARIANCE = 'VARIANCE', 8 | AUTO_VARIANCE = 'AUTO_VARIANCE', 9 | AUTO_VARIANCE_DARK_SCENES = 'AUTO_VARIANCE_DARK_SCENES' 10 | } 11 | 12 | export default AdaptiveQuantMode; 13 | 14 | -------------------------------------------------------------------------------- /src/models/StreamsTrimmingStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum StreamsTrimmingStatus { 6 | UNAVAILABLE = 'UNAVAILABLE', 7 | AVAILABLE = 'AVAILABLE', 8 | STARTED = 'STARTED', 9 | ERROR = 'ERROR', 10 | FINISHED = 'FINISHED' 11 | } 12 | 13 | export default StreamsTrimmingStatus; 14 | 15 | -------------------------------------------------------------------------------- /src/models/H264Trellis.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Enables or disables Trellis quantization. NOTE: This requires cabac 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum H264Trellis { 7 | DISABLED = 'DISABLED', 8 | ENABLED_FINAL_MB = 'ENABLED_FINAL_MB', 9 | ENABLED_ALL = 'ENABLED_ALL' 10 | } 11 | 12 | export default H264Trellis; 13 | 14 | -------------------------------------------------------------------------------- /src/models/RateDistortionLevelForQuantization.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum RateDistortionLevelForQuantization { 6 | DISABLED = 'DISABLED', 7 | LEVELS = 'LEVELS', 8 | LEVELS_AND_CODING_GROUPS = 'LEVELS_AND_CODING_GROUPS' 9 | } 10 | 11 | export default RateDistortionLevelForQuantization; 12 | 13 | -------------------------------------------------------------------------------- /src/models/VerticalLowPassFilteringMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Mode for vertical low pass filtering 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum VerticalLowPassFilteringMode { 7 | DISABLED = 'DISABLED', 8 | LOW_PASS = 'LOW_PASS', 9 | COMPLEX = 'COMPLEX' 10 | } 11 | 12 | export default VerticalLowPassFilteringMode; 13 | 14 | -------------------------------------------------------------------------------- /src/models/WeightedPredictionPFrames.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Defines the mode for weighted prediction for P-frames 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum WeightedPredictionPFrames { 7 | DISABLED = 'DISABLED', 8 | SIMPLE = 'SIMPLE', 9 | SMART = 'SMART' 10 | } 11 | 12 | export default WeightedPredictionPFrames; 13 | 14 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalEvolutionFrameworkControl.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Enable Dolby Evolution Framework control feature 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DolbyDigitalEvolutionFrameworkControl { 7 | ENABLED = 'ENABLED', 8 | DISABLED = 'DISABLED' 9 | } 10 | 11 | export default DolbyDigitalEvolutionFrameworkControl; 12 | 13 | -------------------------------------------------------------------------------- /src/models/Group.ts: -------------------------------------------------------------------------------- 1 | import BitmovinResource from './BitmovinResource'; 2 | 3 | /** 4 | * @export 5 | * @class Group 6 | */ 7 | export class Group extends BitmovinResource { 8 | constructor(obj?: Partial) { 9 | super(obj); 10 | if(!obj) { 11 | return; 12 | } 13 | } 14 | } 15 | 16 | export default Group; 17 | 18 | -------------------------------------------------------------------------------- /src/models/RateDistortionPenaltyMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Penalty for 32x32 intra transfer units in non-I slices. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum RateDistortionPenaltyMode { 7 | DISABLED = 'DISABLED', 8 | NORMAL = 'NORMAL', 9 | MAXIMUM = 'MAXIMUM' 10 | } 11 | 12 | export default RateDistortionPenaltyMode; 13 | 14 | -------------------------------------------------------------------------------- /src/models/Status.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum Status { 6 | CREATED = 'CREATED', 7 | QUEUED = 'QUEUED', 8 | RUNNING = 'RUNNING', 9 | FINISHED = 'FINISHED', 10 | ERROR = 'ERROR', 11 | CANCELED = 'CANCELED', 12 | TRANSFER_ERROR = 'TRANSFER_ERROR' 13 | } 14 | 15 | export default Status; 16 | 17 | -------------------------------------------------------------------------------- /src/common/Configuration.ts: -------------------------------------------------------------------------------- 1 | import {FetchAPI} from './RestClient'; 2 | import Logger from './Logger'; 3 | 4 | export interface Configuration { 5 | apiKey: string; 6 | tenantOrgId?: string; 7 | baseUrl?: string; 8 | fetch?: FetchAPI; 9 | logger?: Logger; 10 | headers?: Record; 11 | } 12 | 13 | export default Configuration; 14 | -------------------------------------------------------------------------------- /src/models/ChromaLocation.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum ChromaLocation { 6 | UNSPECIFIED = 'UNSPECIFIED', 7 | LEFT = 'LEFT', 8 | CENTER = 'CENTER', 9 | TOPLEFT = 'TOPLEFT', 10 | TOP = 'TOP', 11 | BOTTOMLEFT = 'BOTTOMLEFT', 12 | BOTTOM = 'BOTTOM' 13 | } 14 | 15 | export default ChromaLocation; 16 | 17 | -------------------------------------------------------------------------------- /src/models/NexGuardWatermarkingStrength.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum NexGuardWatermarkingStrength { 6 | LIGHTEST = 'LIGHTEST', 7 | LIGHTER = 'LIGHTER', 8 | DEFAULT = 'DEFAULT', 9 | STRONGER = 'STRONGER', 10 | STRONGEST = 'STRONGEST' 11 | } 12 | 13 | export default NexGuardWatermarkingStrength; 14 | 15 | -------------------------------------------------------------------------------- /src/models/Vp9DynamicRangeFormat.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Configures what kind of dynamic range the output should conform to. Can be used to convert from SDR to HLG, from HLG to SDR. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum Vp9DynamicRangeFormat { 7 | HLG = 'HLG', 8 | SDR = 'SDR' 9 | } 10 | 11 | export default Vp9DynamicRangeFormat; 12 | 13 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalPlusEvolutionFrameworkControl.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Enable Dolby Evolution Framework control feature 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DolbyDigitalPlusEvolutionFrameworkControl { 7 | ENABLED = 'ENABLED', 8 | DISABLED = 'DISABLED' 9 | } 10 | 11 | export default DolbyDigitalPlusEvolutionFrameworkControl; 12 | 13 | -------------------------------------------------------------------------------- /src/models/LevelH262.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Specified set of constraints that indicate a degree of required decoder performance for a profile, see: https://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Levels 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum LevelH262 { 7 | MAIN = 'MAIN', 8 | HIGH = 'HIGH' 9 | } 10 | 11 | export default LevelH262; 12 | 13 | -------------------------------------------------------------------------------- /src/models/TransformSkipMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Enable evaluation of transform skip (bypass DCT but still use quantization) coding for 4x4 TU coded blocks. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum TransformSkipMode { 7 | NONE = 'NONE', 8 | NORMAL = 'NORMAL', 9 | FAST = 'FAST' 10 | } 11 | 12 | export default TransformSkipMode; 13 | 14 | -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | "transform": { 3 | "^.+\\.ts$": "ts-jest" 4 | }, 5 | "testRegex": "/test/.*.test.ts$", 6 | "moduleFileExtensions": [ 7 | "ts", 8 | "js", 9 | "json" 10 | ], 11 | "globals": { 12 | "ts-jest": { 13 | "tsConfig": "tsconfig.json" 14 | }, 15 | "__VERSION__": "test" 16 | } 17 | }; 18 | -------------------------------------------------------------------------------- /src/models/DeinterlaceMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Specifies the method how fields are converted to frames 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DeinterlaceMode { 7 | FRAME = 'FRAME', 8 | FIELD = 'FIELD', 9 | FRAME_NOSPATIAL = 'FRAME_NOSPATIAL', 10 | FIELD_NOSPATIAL = 'FIELD_NOSPATIAL' 11 | } 12 | 13 | export default DeinterlaceMode; 14 | 15 | -------------------------------------------------------------------------------- /src/models/H262InterlaceMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Using TOP_FIELD_FIRST or BOTTOM_FIELD_FIRST will output interlaced video 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum H262InterlaceMode { 7 | NONE = 'NONE', 8 | TOP_FIELD_FIRST = 'TOP_FIELD_FIRST', 9 | BOTTOM_FIELD_FIRST = 'BOTTOM_FIELD_FIRST' 10 | } 11 | 12 | export default H262InterlaceMode; 13 | 14 | -------------------------------------------------------------------------------- /src/models/H264InterlaceMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Using TOP_FIELD_FIRST or BOTTOM_FIELD_FIRST will output interlaced video 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum H264InterlaceMode { 7 | NONE = 'NONE', 8 | TOP_FIELD_FIRST = 'TOP_FIELD_FIRST', 9 | BOTTOM_FIELD_FIRST = 'BOTTOM_FIELD_FIRST' 10 | } 11 | 12 | export default H264InterlaceMode; 13 | 14 | -------------------------------------------------------------------------------- /src/models/LiveEncodingHeartbeatEventType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum LiveEncodingHeartbeatEventType { 6 | FIRST_CONNECT = 'FIRST_CONNECT', 7 | DISCONNECT = 'DISCONNECT', 8 | RECONNECT = 'RECONNECT', 9 | WARNING = 'WARNING', 10 | ERROR = 'ERROR' 11 | } 12 | 13 | export default LiveEncodingHeartbeatEventType; 14 | 15 | -------------------------------------------------------------------------------- /src/models/EnhancedDeinterlaceParity.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Specifies which field of an interlaced frame is assumed to be the first one 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum EnhancedDeinterlaceParity { 7 | TOP_FIELD_FIRST = 'TOP_FIELD_FIRST', 8 | BOTTOM_FIELD_FIRST = 'BOTTOM_FIELD_FIRST' 9 | } 10 | 11 | export default EnhancedDeinterlaceParity; 12 | 13 | -------------------------------------------------------------------------------- /src/models/PictureFieldParity.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Specifies which field of an interlaced frame is assumed to be the first one 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum PictureFieldParity { 7 | AUTO = 'AUTO', 8 | TOP_FIELD_FIRST = 'TOP_FIELD_FIRST', 9 | BOTTOM_FIELD_FIRST = 'BOTTOM_FIELD_FIRST' 10 | } 11 | 12 | export default PictureFieldParity; 13 | 14 | -------------------------------------------------------------------------------- /src/models/AdaptationSetRole.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum AdaptationSetRole { 6 | ALTERNATE = 'ALTERNATE', 7 | CAPTION = 'CAPTION', 8 | COMMENTARY = 'COMMENTARY', 9 | DUB = 'DUB', 10 | MAIN = 'MAIN', 11 | SUBTITLE = 'SUBTITLE', 12 | SUPPLEMENTARY = 'SUPPLEMENTARY' 13 | } 14 | 15 | export default AdaptationSetRole; 16 | 17 | -------------------------------------------------------------------------------- /src/models/StreamSelectionMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum StreamSelectionMode { 6 | AUTO = 'AUTO', 7 | POSITION_ABSOLUTE = 'POSITION_ABSOLUTE', 8 | VIDEO_RELATIVE = 'VIDEO_RELATIVE', 9 | AUDIO_RELATIVE = 'AUDIO_RELATIVE', 10 | SUBTITLE_RELATIVE = 'SUBTITLE_RELATIVE' 11 | } 12 | 13 | export default StreamSelectionMode; 14 | 15 | -------------------------------------------------------------------------------- /src/models/Vp8NoiseSensitivity.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Noise sensitivity (frames to blur). 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum Vp8NoiseSensitivity { 7 | OFF = 'OFF', 8 | ON_Y_ONLY = 'ON_Y_ONLY', 9 | ON_YUV = 'ON_YUV', 10 | ON_YUV_AGGRESSIVE = 'ON_YUV_AGGRESSIVE', 11 | ADAPTIVE = 'ADAPTIVE' 12 | } 13 | 14 | export default Vp8NoiseSensitivity; 15 | 16 | -------------------------------------------------------------------------------- /src/models/AnalyticsQueryOperator.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum AnalyticsQueryOperator { 6 | IN = 'IN', 7 | EQ = 'EQ', 8 | NE = 'NE', 9 | LT = 'LT', 10 | LTE = 'LTE', 11 | GT = 'GT', 12 | GTE = 'GTE', 13 | CONTAINS = 'CONTAINS', 14 | NOTCONTAINS = 'NOTCONTAINS' 15 | } 16 | 17 | export default AnalyticsQueryOperator; 18 | 19 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalLoudnessControlRegulationType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DolbyDigitalLoudnessControlRegulationType { 6 | EBU_R128 = 'EBU_R128', 7 | ATSC_A85_FIXED = 'ATSC_A85_FIXED', 8 | ATSC_A85_AGILE = 'ATSC_A85_AGILE', 9 | MANUAL = 'MANUAL' 10 | } 11 | 12 | export default DolbyDigitalLoudnessControlRegulationType; 13 | 14 | -------------------------------------------------------------------------------- /src/models/InputColorRange.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Override the color range detected in the input file. If not set the input color range will be automatically detected if possible. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum InputColorRange { 7 | UNSPECIFIED = 'UNSPECIFIED', 8 | MPEG = 'MPEG', 9 | JPEG = 'JPEG' 10 | } 11 | 12 | export default InputColorRange; 13 | 14 | -------------------------------------------------------------------------------- /src/models/ScheduledInsertableContentStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum ScheduledInsertableContentStatus { 6 | CREATED = 'CREATED', 7 | SCHEDULED = 'SCHEDULED', 8 | TO_BE_DESCHEDULED = 'TO_BE_DESCHEDULED', 9 | DESCHEDULED = 'DESCHEDULED', 10 | ERROR = 'ERROR' 11 | } 12 | 13 | export default ScheduledInsertableContentStatus; 14 | 15 | -------------------------------------------------------------------------------- /src/models/EnhancedDeinterlaceAutoEnable.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Specifies if the Enhanced Deinterlace Filter should be applied unconditionally or only on demand. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum EnhancedDeinterlaceAutoEnable { 7 | ALWAYS_ON = 'ALWAYS_ON', 8 | META_DATA_BASED = 'META_DATA_BASED' 9 | } 10 | 11 | export default EnhancedDeinterlaceAutoEnable; 12 | 13 | -------------------------------------------------------------------------------- /src/models/ProgressiveWebmMuxingManifestType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Specifies the manifest type which will be allowed for the ProgressiveWebmMuxingManifestType Muxing. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum ProgressiveWebmMuxingManifestType { 7 | DASH_ON_DEMAND = 'DASH_ON_DEMAND', 8 | NONE = 'NONE' 9 | } 10 | 11 | export default ProgressiveWebmMuxingManifestType; 12 | 13 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalPlusLoudnessControlRegulationType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DolbyDigitalPlusLoudnessControlRegulationType { 6 | EBU_R128 = 'EBU_R128', 7 | ATSC_A85_FIXED = 'ATSC_A85_FIXED', 8 | ATSC_A85_AGILE = 'ATSC_A85_AGILE', 9 | MANUAL = 'MANUAL' 10 | } 11 | 12 | export default DolbyDigitalPlusLoudnessControlRegulationType; 13 | 14 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalSurroundMixLevel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DolbyDigitalSurroundMixLevel { 6 | MINUS_1_5_DB = 'MINUS_1_5_DB', 7 | MINUS_3_DB = 'MINUS_3_DB', 8 | MINUS_4_5_DB = 'MINUS_4_5_DB', 9 | MINUS_6_DB = 'MINUS_6_DB', 10 | MINUS_INFINITY_DB = 'MINUS_INFINITY_DB' 11 | } 12 | 13 | export default DolbyDigitalSurroundMixLevel; 14 | 15 | -------------------------------------------------------------------------------- /src/models/VideoMediaInfo.ts: -------------------------------------------------------------------------------- 1 | import StandardMediaInfo from './StandardMediaInfo'; 2 | 3 | /** 4 | * @export 5 | * @class VideoMediaInfo 6 | */ 7 | export class VideoMediaInfo extends StandardMediaInfo { 8 | constructor(obj?: Partial) { 9 | super(obj); 10 | if(!obj) { 11 | return; 12 | } 13 | } 14 | } 15 | 16 | export default VideoMediaInfo; 17 | 18 | -------------------------------------------------------------------------------- /src/models/BitmovinResponseList.ts: -------------------------------------------------------------------------------- 1 | import BitmovinResponse from './BitmovinResponse'; 2 | 3 | /** 4 | * @export 5 | * @class BitmovinResponseList 6 | */ 7 | export class BitmovinResponseList extends Array { 8 | constructor(obj?: any) { 9 | super(obj); 10 | if(!obj) { 11 | return; 12 | } 13 | } 14 | } 15 | 16 | export default BitmovinResponseList; 17 | 18 | -------------------------------------------------------------------------------- /src/models/ConditionOperator.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * The operator that should be used for the evaluation 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum ConditionOperator { 7 | EQUAL = '==', 8 | NOT_EQUAL = '!=', 9 | LESS_THAN_OR_EQUAL = '<=', 10 | LESS_THAN = '<', 11 | GREATER_THAN = '>', 12 | GREATER_THAN_OR_EQUAL = '>=' 13 | } 14 | 15 | export default ConditionOperator; 16 | 17 | -------------------------------------------------------------------------------- /src/models/ProgramDateTimePlacementMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Placement mode of the ProgramDateTime tag. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum ProgramDateTimePlacementMode { 7 | ONCE_PER_PLAYLIST = 'ONCE_PER_PLAYLIST', 8 | SEGMENTS_INTERVAL = 'SEGMENTS_INTERVAL', 9 | SECONDS_INTERVAL = 'SECONDS_INTERVAL' 10 | } 11 | 12 | export default ProgramDateTimePlacementMode; 13 | 14 | -------------------------------------------------------------------------------- /src/models/LiveEncodingStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum LiveEncodingStatus { 6 | CONNECTED = 'CONNECTED', 7 | DISCONNECTED = 'DISCONNECTED', 8 | WAITING_FOR_FIRST_CONNECT = 'WAITING_FOR_FIRST_CONNECT', 9 | ERROR = 'ERROR', 10 | NOT_AVAILABLE = 'NOT_AVAILABLE', 11 | FINISHED = 'FINISHED' 12 | } 13 | 14 | export default LiveEncodingStatus; 15 | 16 | -------------------------------------------------------------------------------- /src/models/RaiUnit.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Set the random access indicator (RAI) on appropriate access units (AUs). 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum RaiUnit { 7 | NONE = 'NONE', 8 | ALL_PES_PACKETS = 'ALL_PES_PACKETS', 9 | ACQUISITION_POINT_PACKETS = 'ACQUISITION_POINT_PACKETS', 10 | ACCORDING_TO_INPUT = 'ACCORDING_TO_INPUT' 11 | } 12 | 13 | export default RaiUnit; 14 | 15 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalPlusSurroundMixLevel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DolbyDigitalPlusSurroundMixLevel { 6 | MINUS_1_5_DB = 'MINUS_1_5_DB', 7 | MINUS_3_DB = 'MINUS_3_DB', 8 | MINUS_4_5_DB = 'MINUS_4_5_DB', 9 | MINUS_6_DB = 'MINUS_6_DB', 10 | MINUS_INFINITY_DB = 'MINUS_INFINITY_DB' 11 | } 12 | 13 | export default DolbyDigitalPlusSurroundMixLevel; 14 | 15 | -------------------------------------------------------------------------------- /src/models/AutoLevelSetup.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Enable/disable automatic calculation of level, maxBitrate, and bufsize based on the least level that satisfies maximum property values for picture resolution, frame rate, and bit rate. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum AutoLevelSetup { 7 | ENABLED = 'ENABLED', 8 | DISABLED = 'DISABLED' 9 | } 10 | 11 | export default AutoLevelSetup; 12 | 13 | -------------------------------------------------------------------------------- /src/models/DolbyAtmosDialogueIntelligence.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Whether to use the Dialogue Intelligence feature, which identifies and analyzes dialogue segments within audio as a basis for speech gating 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DolbyAtmosDialogueIntelligence { 7 | ENABLED = 'ENABLED', 8 | DISABLED = 'DISABLED' 9 | } 10 | 11 | export default DolbyAtmosDialogueIntelligence; 12 | 13 | -------------------------------------------------------------------------------- /src/models/DrmType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * The type of the drm 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DrmType { 7 | WIDEVINE = 'WIDEVINE', 8 | PLAYREADY = 'PLAYREADY', 9 | PRIMETIME = 'PRIMETIME', 10 | FAIRPLAY = 'FAIRPLAY', 11 | MARLIN = 'MARLIN', 12 | CLEARKEY = 'CLEARKEY', 13 | AES = 'AES', 14 | CENC = 'CENC', 15 | SPEKE = 'SPEKE' 16 | } 17 | 18 | export default DrmType; 19 | 20 | -------------------------------------------------------------------------------- /src/models/H264Partition.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Partitions to consider. Analyzing more partition options improves quality at the cost of speed. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum H264Partition { 7 | NONE = 'NONE', 8 | P8X8 = 'P8X8', 9 | P4X4 = 'P4X4', 10 | B8X8 = 'B8X8', 11 | I8X8 = 'I8X8', 12 | I4X4 = 'I4X4', 13 | ALL = 'ALL' 14 | } 15 | 16 | export default H264Partition; 17 | 18 | -------------------------------------------------------------------------------- /src/models/PassthroughMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Configure if the encoding should use the video stream as the passthrough mode or a dedicated caption stream. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum PassthroughMode { 7 | VIDEO_STREAM = 'VIDEO_STREAM', 8 | CAPTION_STREAM = 'CAPTION_STREAM', 9 | VIDEO_CAPTION_STREAM = 'VIDEO_CAPTION_STREAM' 10 | } 11 | 12 | export default PassthroughMode; 13 | 14 | -------------------------------------------------------------------------------- /src/models/PerTitleFixedResolutionAndBitrateConfigurationMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum PerTitleFixedResolutionAndBitrateConfigurationMode { 6 | LAST_CALCULATED_BITRATE = 'LAST_CALCULATED_BITRATE', 7 | MINIMUM = 'MINIMUM', 8 | MAXIMUM = 'MAXIMUM', 9 | AVERAGE = 'AVERAGE' 10 | } 11 | 12 | export default PerTitleFixedResolutionAndBitrateConfigurationMode; 13 | 14 | -------------------------------------------------------------------------------- /src/models/TextFilterFont.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum TextFilterFont { 6 | DEJAVUSANS = 'DEJAVUSANS', 7 | DEJAVUSERIF = 'DEJAVUSERIF', 8 | DEJAVUSANSMONO = 'DEJAVUSANSMONO', 9 | ROBOTOMONO = 'ROBOTOMONO', 10 | ROBOTOBLACK = 'ROBOTOBLACK', 11 | ROBOTO = 'ROBOTO', 12 | ROBOTOCONDENSED = 'ROBOTOCONDENSED' 13 | } 14 | 15 | export default TextFilterFont; 16 | 17 | -------------------------------------------------------------------------------- /src/models/DeinterlaceAutoEnable.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Specifies if the Deinterlace Filter should be applied unconditionally or only on demand. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DeinterlaceAutoEnable { 7 | ALWAYS_ON = 'ALWAYS_ON', 8 | META_DATA_BASED = 'META_DATA_BASED', 9 | META_DATA_AND_CONTENT_BASED = 'META_DATA_AND_CONTENT_BASED' 10 | } 11 | 12 | export default DeinterlaceAutoEnable; 13 | 14 | -------------------------------------------------------------------------------- /src/models/InterlaceMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * How to interleave the input frames 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum InterlaceMode { 7 | TOP = 'TOP', 8 | BOTTOM = 'BOTTOM', 9 | DROP_EVEN = 'DROP_EVEN', 10 | DROP_ODD = 'DROP_ODD', 11 | PAD = 'PAD', 12 | INTERLACE_X2 = 'INTERLACE_X2', 13 | MERGE = 'MERGE', 14 | MERGE_X2 = 'MERGE_X2' 15 | } 16 | 17 | export default InterlaceMode; 18 | 19 | -------------------------------------------------------------------------------- /src/models/AacChannelLayout.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum AacChannelLayout { 6 | NONE = 'NONE', 7 | MONO = 'MONO', 8 | CL_STEREO = 'STEREO', 9 | CL_SURROUND = 'SURROUND', 10 | CL_4_0 = '4.0', 11 | CL_5_0_BACK = '5.0_BACK', 12 | CL_5_1_BACK = '5.1_BACK', 13 | CL_7_1 = '7.1', 14 | CL_7_1_WIDE_BACK = '7.1_WIDE_BACK' 15 | } 16 | 17 | export default AacChannelLayout; 18 | 19 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalDialogueIntelligence.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Whether to use the Dolby Dialogue Intelligence feature, which identifies and analyzes dialogue segments within audio as a basis for speech gating 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DolbyDigitalDialogueIntelligence { 7 | ENABLED = 'ENABLED', 8 | DISABLED = 'DISABLED' 9 | } 10 | 11 | export default DolbyDigitalDialogueIntelligence; 12 | 13 | -------------------------------------------------------------------------------- /src/models/SubtitleConfiguration.ts: -------------------------------------------------------------------------------- 1 | import CodecConfiguration from './CodecConfiguration'; 2 | 3 | /** 4 | * @export 5 | * @class SubtitleConfiguration 6 | */ 7 | export class SubtitleConfiguration extends CodecConfiguration { 8 | constructor(obj?: Partial) { 9 | super(obj); 10 | if(!obj) { 11 | return; 12 | } 13 | } 14 | } 15 | 16 | export default SubtitleConfiguration; 17 | 18 | -------------------------------------------------------------------------------- /src/models/QuantizationGroupSize.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Enable adaptive quantization for sub-CTUs. This parameter specifies the minimum CU size at which QP can be adjusted. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum QuantizationGroupSize { 7 | QGS_8x8 = 'QGS_8x8', 8 | QGS_16x16 = 'QGS_16x16', 9 | QGS_32x32 = 'QGS_32x32', 10 | QGS_64x64 = 'QGS_64x64' 11 | } 12 | 13 | export default QuantizationGroupSize; 14 | 15 | -------------------------------------------------------------------------------- /src/models/DolbyAtmosMeteringMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Algorithm to be used for measuring loudness 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DolbyAtmosMeteringMode { 7 | ITU_R_BS_1770_1 = 'ITU-R BS.1770-1', 8 | ITU_R_BS_1770_2 = 'ITU-R BS.1770-2', 9 | ITU_R_BS_1770_3 = 'ITU-R BS.1770-3', 10 | ITU_R_BS_1770_4 = 'ITU-R BS.1770-4', 11 | LEQ_A = 'Leq (A)' 12 | } 13 | 14 | export default DolbyAtmosMeteringMode; 15 | 16 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalPlusDialogueIntelligence.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Whether to use the Dolby Dialogue Intelligence feature, which identifies and analyzes dialogue segments within audio as a basis for speech gating 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DolbyDigitalPlusDialogueIntelligence { 7 | ENABLED = 'ENABLED', 8 | DISABLED = 'DISABLED' 9 | } 10 | 11 | export default DolbyDigitalPlusDialogueIntelligence; 12 | 13 | -------------------------------------------------------------------------------- /src/models/OpusChannelLayout.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum OpusChannelLayout { 6 | NONE = 'NONE', 7 | MONO = 'MONO', 8 | CL_STEREO = 'STEREO', 9 | CL_SURROUND = 'SURROUND', 10 | CL_QUAD = 'QUAD', 11 | CL_4_1 = '4.1', 12 | CL_5_0_BACK = '5.0_BACK', 13 | XCL_5_1_BACK = '5.1_BACK', 14 | CL_6_1 = '6.1', 15 | CL_7_1 = '7.1' 16 | } 17 | 18 | export default OpusChannelLayout; 19 | 20 | -------------------------------------------------------------------------------- /src/models/MediaConfigBitrate.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * The supported bitrate 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum MediaConfigBitrate { 7 | MCB_160000 = '160000', 8 | MCB_192000 = '192000', 9 | MCB_224000 = '224000', 10 | MCB_256000 = '256000', 11 | MCB_288000 = '288000', 12 | MCB_320000 = '320000', 13 | MCB_384000 = '384000', 14 | MCB_448000 = '448000' 15 | } 16 | 17 | export default MediaConfigBitrate; 18 | 19 | -------------------------------------------------------------------------------- /src/models/VorbisChannelLayout.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum VorbisChannelLayout { 6 | NONE = 'NONE', 7 | MONO = 'MONO', 8 | CL_STEREO = 'STEREO', 9 | CL_SURROUND = 'SURROUND', 10 | CL_QUAD = 'QUAD', 11 | CL_2_1 = '2.1', 12 | CL_2_2 = '2.2', 13 | CL_3_1 = '3.1', 14 | CL_4_0 = '4.0', 15 | CL_5_1 = '5.1', 16 | CL_5_1_BACK = '5.1_BACK' 17 | } 18 | 19 | export default VorbisChannelLayout; 20 | 21 | -------------------------------------------------------------------------------- /src/models/H264SubMe.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Subpixel motion estimation and mode decision 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum H264SubMe { 7 | FULLPEL = 'FULLPEL', 8 | SAD = 'SAD', 9 | SATD = 'SATD', 10 | QPEL3 = 'QPEL3', 11 | QPEL4 = 'QPEL4', 12 | QPEL5 = 'QPEL5', 13 | RD_IP = 'RD_IP', 14 | RD_ALL = 'RD_ALL', 15 | RD_REF_IP = 'RD_REF_IP', 16 | RD_REF_ALL = 'RD_REF_ALL' 17 | } 18 | 19 | export default H264SubMe; 20 | 21 | -------------------------------------------------------------------------------- /src/models/LimitTransformUnitDepthRecursionMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Enables early exit from transform unit depth recursion, for inter coded blocks. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum LimitTransformUnitDepthRecursionMode { 7 | DISABLED = 'DISABLED', 8 | LEVEL_1 = 'LEVEL_1', 9 | LEVEL_2 = 'LEVEL_2', 10 | LEVEL_3 = 'LEVEL_3', 11 | LEVEL_4 = 'LEVEL_4' 12 | } 13 | 14 | export default LimitTransformUnitDepthRecursionMode; 15 | 16 | -------------------------------------------------------------------------------- /src/models/LiveEncodingEventName.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum LiveEncodingEventName { 6 | FIRST_CONNECT = 'FIRST_CONNECT', 7 | DISCONNECT = 'DISCONNECT', 8 | RECONNECT = 'RECONNECT', 9 | RESYNCING = 'RESYNCING', 10 | IDLE = 'IDLE', 11 | ERROR = 'ERROR', 12 | WARNING = 'WARNING', 13 | PICTURE_TIMING = 'PICTURE_TIMING', 14 | INFO = 'INFO' 15 | } 16 | 17 | export default LiveEncodingEventName; 18 | 19 | -------------------------------------------------------------------------------- /src/models/HlsManifestAdMarkerType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * HLS Manifest ad marker types 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum HlsManifestAdMarkerType { 7 | EXT_X_CUE_OUT_IN = 'EXT_X_CUE_OUT_IN', 8 | EXT_OATCLS_SCTE35 = 'EXT_OATCLS_SCTE35', 9 | EXT_X_SPLICEPOINT_SCTE35 = 'EXT_X_SPLICEPOINT_SCTE35', 10 | EXT_X_DATERANGE = 'EXT_X_DATERANGE', 11 | EXT_X_SCTE35 = 'EXT_X_SCTE35' 12 | } 13 | 14 | export default HlsManifestAdMarkerType; 15 | 16 | -------------------------------------------------------------------------------- /src/models/TsAudioStreamConfiguration.ts: -------------------------------------------------------------------------------- 1 | import TsStreamConfiguration from './TsStreamConfiguration'; 2 | 3 | /** 4 | * @export 5 | * @class TsAudioStreamConfiguration 6 | */ 7 | export class TsAudioStreamConfiguration extends TsStreamConfiguration { 8 | constructor(obj?: Partial) { 9 | super(obj); 10 | if(!obj) { 11 | return; 12 | } 13 | } 14 | } 15 | 16 | export default TsAudioStreamConfiguration; 17 | 18 | -------------------------------------------------------------------------------- /src/models/TsVideoStreamConfiguration.ts: -------------------------------------------------------------------------------- 1 | import TsStreamConfiguration from './TsStreamConfiguration'; 2 | 3 | /** 4 | * @export 5 | * @class TsVideoStreamConfiguration 6 | */ 7 | export class TsVideoStreamConfiguration extends TsStreamConfiguration { 8 | constructor(obj?: Partial) { 9 | super(obj); 10 | if(!obj) { 11 | return; 12 | } 13 | } 14 | } 15 | 16 | export default TsVideoStreamConfiguration; 17 | 18 | -------------------------------------------------------------------------------- /src/models/AudioVolumeFormat.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Audio volume format 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum AudioVolumeFormat { 7 | U8 = 'U8', 8 | S16 = 'S16', 9 | S32 = 'S32', 10 | U8P = 'U8P', 11 | S16P = 'S16P', 12 | S32P = 'S32P', 13 | S64 = 'S64', 14 | S64P = 'S64P', 15 | FLT = 'FLT', 16 | FLTP = 'FLTP', 17 | NONE = 'NONE', 18 | DBL = 'DBL', 19 | DBLP = 'DBLP' 20 | } 21 | 22 | export default AudioVolumeFormat; 23 | 24 | -------------------------------------------------------------------------------- /src/models/StreamMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum StreamMode { 6 | STANDARD = 'STANDARD', 7 | PER_TITLE_TEMPLATE = 'PER_TITLE_TEMPLATE', 8 | PER_TITLE_TEMPLATE_FIXED_RESOLUTION = 'PER_TITLE_TEMPLATE_FIXED_RESOLUTION', 9 | PER_TITLE_TEMPLATE_FIXED_RESOLUTION_AND_BITRATE = 'PER_TITLE_TEMPLATE_FIXED_RESOLUTION_AND_BITRATE', 10 | PER_TITLE_RESULT = 'PER_TITLE_RESULT' 11 | } 12 | 13 | export default StreamMode; 14 | 15 | -------------------------------------------------------------------------------- /src/models/EncodingErrorEmailNotification.ts: -------------------------------------------------------------------------------- 1 | import EmailNotification from './EmailNotification'; 2 | 3 | /** 4 | * @export 5 | * @class EncodingErrorEmailNotification 6 | */ 7 | export class EncodingErrorEmailNotification extends EmailNotification { 8 | constructor(obj?: Partial) { 9 | super(obj); 10 | if(!obj) { 11 | return; 12 | } 13 | } 14 | } 15 | 16 | export default EncodingErrorEmailNotification; 17 | 18 | -------------------------------------------------------------------------------- /src/models/AdPosition.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class AdPosition 6 | */ 7 | export class AdPosition { 8 | /** 9 | * @type {number} 10 | * @memberof AdPosition 11 | */ 12 | public position?: number; 13 | 14 | constructor(obj?: Partial) { 15 | if(!obj) { 16 | return; 17 | } 18 | this.position = map(obj.position); 19 | } 20 | } 21 | 22 | export default AdPosition; 23 | 24 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalCenterMixLevel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DolbyDigitalCenterMixLevel { 6 | PLUS_3_DB = 'PLUS_3_DB', 7 | PLUS_1_5_DB = 'PLUS_1_5_DB', 8 | ZERO_DB = 'ZERO_DB', 9 | MINUS_1_5_DB = 'MINUS_1_5_DB', 10 | MINUS_3_DB = 'MINUS_3_DB', 11 | MINUS_4_5_DB = 'MINUS_4_5_DB', 12 | MINUS_6_DB = 'MINUS_6_DB', 13 | MINUS_INFINITY_DB = 'MINUS_INFINITY_DB' 14 | } 15 | 16 | export default DolbyDigitalCenterMixLevel; 17 | 18 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalDynamicRangeCompressionMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Dynamic range compression processing mode 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DolbyDigitalDynamicRangeCompressionMode { 7 | NONE = 'NONE', 8 | FILM_STANDARD = 'FILM_STANDARD', 9 | FILM_LIGHT = 'FILM_LIGHT', 10 | MUSIC_STANDARD = 'MUSIC_STANDARD', 11 | MUSIC_LIGHT = 'MUSIC_LIGHT', 12 | SPEECH = 'SPEECH' 13 | } 14 | 15 | export default DolbyDigitalDynamicRangeCompressionMode; 16 | 17 | -------------------------------------------------------------------------------- /src/models/MuxingStream.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class MuxingStream 6 | */ 7 | export class MuxingStream { 8 | /** 9 | * @type {string} 10 | * @memberof MuxingStream 11 | */ 12 | public streamId?: string; 13 | 14 | constructor(obj?: Partial) { 15 | if(!obj) { 16 | return; 17 | } 18 | this.streamId = map(obj.streamId); 19 | } 20 | } 21 | 22 | export default MuxingStream; 23 | 24 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalPlusCenterMixLevel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DolbyDigitalPlusCenterMixLevel { 6 | PLUS_3_DB = 'PLUS_3_DB', 7 | PLUS_1_5_DB = 'PLUS_1_5_DB', 8 | ZERO_DB = 'ZERO_DB', 9 | MINUS_1_5_DB = 'MINUS_1_5_DB', 10 | MINUS_3_DB = 'MINUS_3_DB', 11 | MINUS_4_5_DB = 'MINUS_4_5_DB', 12 | MINUS_6_DB = 'MINUS_6_DB', 13 | MINUS_INFINITY_DB = 'MINUS_INFINITY_DB' 14 | } 15 | 16 | export default DolbyDigitalPlusCenterMixLevel; 17 | 18 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalPlusDynamicRangeCompressionMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Dynamic range compression processing mode 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DolbyDigitalPlusDynamicRangeCompressionMode { 7 | NONE = 'NONE', 8 | FILM_STANDARD = 'FILM_STANDARD', 9 | FILM_LIGHT = 'FILM_LIGHT', 10 | MUSIC_STANDARD = 'MUSIC_STANDARD', 11 | MUSIC_LIGHT = 'MUSIC_LIGHT', 12 | SPEECH = 'SPEECH' 13 | } 14 | 15 | export default DolbyDigitalPlusDynamicRangeCompressionMode; 16 | 17 | -------------------------------------------------------------------------------- /src/models/LiveStandbyPoolEncodingStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Status of the standby pool encoding 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum LiveStandbyPoolEncodingStatus { 7 | TO_BE_CREATED = 'TO_BE_CREATED', 8 | CREATING = 'CREATING', 9 | PREPARING = 'PREPARING', 10 | READY = 'READY', 11 | TO_BE_DELETED = 'TO_BE_DELETED', 12 | DELETING = 'DELETING', 13 | ACQUIRED = 'ACQUIRED', 14 | ERROR = 'ERROR' 15 | } 16 | 17 | export default LiveStandbyPoolEncodingStatus; 18 | 19 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalNinetyDegreePhaseShift.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * A 90° phase shift can be applied to the surround channels during encoding. This is useful for generating multichannel bitstreams which, when downmixed, can create a true Dolby Surround compatible output (Left/Right) 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DolbyDigitalNinetyDegreePhaseShift { 7 | ENABLED = 'ENABLED', 8 | DISABLED = 'DISABLED' 9 | } 10 | 11 | export default DolbyDigitalNinetyDegreePhaseShift; 12 | 13 | -------------------------------------------------------------------------------- /src/models/AkamaiCloudRegion.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum AkamaiCloudRegion { 6 | BR_GRU = 'BR_GRU', 7 | ES_MAD = 'ES_MAD', 8 | FR_PAR = 'FR_PAR', 9 | ID_CGK = 'ID_CGK', 10 | IN_MAA = 'IN_MAA', 11 | IT_MIL = 'IT_MIL', 12 | JP_OSA = 'JP_OSA', 13 | NL_AMS = 'NL_AMS', 14 | SE_STO = 'SE_STO', 15 | US_LAX = 'US_LAX', 16 | US_MIA = 'US_MIA', 17 | US_ORD = 'US_ORD', 18 | US_SEA = 'US_SEA' 19 | } 20 | 21 | export default AkamaiCloudRegion; 22 | 23 | -------------------------------------------------------------------------------- /src/models/DashScte35PeriodOption.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Controls how SCTE-35 signals are applied at the DASH period level.
  • SINGLE_PERIOD: Applies SCTE markers to a single DASH period.
  • MULTI_PERIOD: Multiple periods are created based on received SCTE-35 messages.
3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DashScte35PeriodOption { 7 | SINGLE_PERIOD = 'SINGLE_PERIOD', 8 | MULTI_PERIOD = 'MULTI_PERIOD' 9 | } 10 | 11 | export default DashScte35PeriodOption; 12 | 13 | -------------------------------------------------------------------------------- /src/models/SceneType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum SceneType { 6 | LOGO_IDENT = 'LOGO_IDENT', 7 | OPENING_CREDITS = 'OPENING_CREDITS', 8 | RECAP = 'RECAP', 9 | PREVIEW_THIS_TITLE = 'PREVIEW_THIS_TITLE', 10 | PROMOTION_OTHER_TITLE = 'PROMOTION_OTHER_TITLE', 11 | BREAK_BUMPER = 'BREAK_BUMPER', 12 | END_CREDITS = 'END_CREDITS', 13 | ADS = 'ADS', 14 | MAIN_CONTENT = 'MAIN_CONTENT', 15 | UNKNOWN = 'UNKNOWN' 16 | } 17 | 18 | export default SceneType; 19 | 20 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalPlusNinetyDegreePhaseShift.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * A 90° phase shift can be applied to the surround channels during encoding. This is useful for generating multichannel bitstreams which, when downmixed, can create a true Dolby Surround compatible output (Left/Right) 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DolbyDigitalPlusNinetyDegreePhaseShift { 7 | ENABLED = 'ENABLED', 8 | DISABLED = 'DISABLED' 9 | } 10 | 11 | export default DolbyDigitalPlusNinetyDegreePhaseShift; 12 | 13 | -------------------------------------------------------------------------------- /src/models/Ac3ChannelLayout.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum Ac3ChannelLayout { 6 | NONE = 'NONE', 7 | MONO = 'MONO', 8 | CL_STEREO = 'STEREO', 9 | CL_SURROUND = 'SURROUND', 10 | CL_QUAD = 'QUAD', 11 | CL_2_1 = '2.1', 12 | CL_2_2 = '2.2', 13 | CL_3_1 = '3.1', 14 | CL_4_0 = '4.0', 15 | CL_4_1 = '4.1', 16 | CL_5_0 = '5.0', 17 | CL_5_0_BACK = '5.0_BACK', 18 | CL_5_1 = '5.1', 19 | CL_5_1_BACK = '5.1_BACK' 20 | } 21 | 22 | export default Ac3ChannelLayout; 23 | 24 | -------------------------------------------------------------------------------- /src/models/ColorSpace.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * The color space to be applied 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum ColorSpace { 7 | UNSPECIFIED = 'UNSPECIFIED', 8 | RGB = 'RGB', 9 | BT709 = 'BT709', 10 | FCC = 'FCC', 11 | BT470BG = 'BT470BG', 12 | SMPTE170M = 'SMPTE170M', 13 | SMPTE240M = 'SMPTE240M', 14 | YCGCO = 'YCGCO', 15 | YCOCG = 'YCOCG', 16 | BT2020_NCL = 'BT2020_NCL', 17 | BT2020_CL = 'BT2020_CL', 18 | SMPTE2085 = 'SMPTE2085' 19 | } 20 | 21 | export default ColorSpace; 22 | 23 | -------------------------------------------------------------------------------- /src/models/CencWidevine.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class CencWidevine 6 | */ 7 | export class CencWidevine { 8 | /** 9 | * Base64 encoded pssh payload (required) 10 | * @type {string} 11 | * @memberof CencWidevine 12 | */ 13 | public pssh?: string; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.pssh = map(obj.pssh); 20 | } 21 | } 22 | 23 | export default CencWidevine; 24 | 25 | -------------------------------------------------------------------------------- /src/models/AudioMixChannelType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Type of this channel 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum AudioMixChannelType { 7 | CHANNEL_NUMBER = 'CHANNEL_NUMBER', 8 | FRONT_LEFT = 'FRONT_LEFT', 9 | FRONT_RIGHT = 'FRONT_RIGHT', 10 | CENTER = 'CENTER', 11 | LOW_FREQUENCY = 'LOW_FREQUENCY', 12 | BACK_LEFT = 'BACK_LEFT', 13 | BACK_RIGHT = 'BACK_RIGHT', 14 | SURROUND_LEFT = 'SURROUND_LEFT', 15 | SURROUND_RIGHT = 'SURROUND_RIGHT' 16 | } 17 | 18 | export default AudioMixChannelType; 19 | 20 | -------------------------------------------------------------------------------- /src/models/DomainList.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import Domain from './Domain'; 3 | 4 | /** 5 | * @export 6 | * @class DomainList 7 | */ 8 | export class DomainList { 9 | /** 10 | * @type {Domain[]} 11 | * @memberof DomainList 12 | */ 13 | public domains?: Domain[]; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.domains = mapArray(obj.domains, Domain); 20 | } 21 | } 22 | 23 | export default DomainList; 24 | 25 | -------------------------------------------------------------------------------- /src/models/SourceChannelType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Type of this source channel 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum SourceChannelType { 7 | CHANNEL_NUMBER = 'CHANNEL_NUMBER', 8 | FRONT_LEFT = 'FRONT_LEFT', 9 | FRONT_RIGHT = 'FRONT_RIGHT', 10 | CENTER = 'CENTER', 11 | LOW_FREQUENCY = 'LOW_FREQUENCY', 12 | BACK_LEFT = 'BACK_LEFT', 13 | BACK_RIGHT = 'BACK_RIGHT', 14 | SURROUND_LEFT = 'SURROUND_LEFT', 15 | SURROUND_RIGHT = 'SURROUND_RIGHT' 16 | } 17 | 18 | export default SourceChannelType; 19 | 20 | -------------------------------------------------------------------------------- /src/models/BitmovinResponse.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class BitmovinResponse 6 | */ 7 | export class BitmovinResponse { 8 | /** 9 | * Id of the resource (required) 10 | * @type {string} 11 | * @memberof BitmovinResponse 12 | */ 13 | public id?: string; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.id = map(obj.id); 20 | } 21 | } 22 | 23 | export default BitmovinResponse; 24 | 25 | -------------------------------------------------------------------------------- /src/models/ColorPrimaries.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum ColorPrimaries { 6 | UNSPECIFIED = 'UNSPECIFIED', 7 | BT709 = 'BT709', 8 | BT470M = 'BT470M', 9 | BT470BG = 'BT470BG', 10 | SMPTE170M = 'SMPTE170M', 11 | SMPTE240M = 'SMPTE240M', 12 | FILM = 'FILM', 13 | BT2020 = 'BT2020', 14 | SMPTE428 = 'SMPTE428', 15 | SMPTEST428_1 = 'SMPTEST428_1', 16 | SMPTE431 = 'SMPTE431', 17 | SMPTE432 = 'SMPTE432', 18 | JEDEC_P22 = 'JEDEC_P22' 19 | } 20 | 21 | export default ColorPrimaries; 22 | 23 | -------------------------------------------------------------------------------- /src/models/ImscStyling.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import ImscStylingMode from './ImscStylingMode'; 3 | 4 | /** 5 | * @export 6 | * @class ImscStyling 7 | */ 8 | export class ImscStyling { 9 | /** 10 | * @type {ImscStylingMode} 11 | * @memberof ImscStyling 12 | */ 13 | public mode?: ImscStylingMode; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.mode = map(obj.mode); 20 | } 21 | } 22 | 23 | export default ImscStyling; 24 | 25 | -------------------------------------------------------------------------------- /src/models/OutputType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum OutputType { 6 | AKAMAI_NETSTORAGE = 'AKAMAI_NETSTORAGE', 7 | AZURE = 'AZURE', 8 | GENERIC_S3 = 'GENERIC_S3', 9 | GCS = 'GCS', 10 | FTP = 'FTP', 11 | LOCAL = 'LOCAL', 12 | S3 = 'S3', 13 | S3_ROLE_BASED = 'S3_ROLE_BASED', 14 | SFTP = 'SFTP', 15 | AKAMAI_MSL = 'AKAMAI_MSL', 16 | LIVE_MEDIA_INGEST = 'LIVE_MEDIA_INGEST', 17 | GCS_SERVICE_ACCOUNT = 'GCS_SERVICE_ACCOUNT', 18 | CDN = 'CDN' 19 | } 20 | 21 | export default OutputType; 22 | 23 | -------------------------------------------------------------------------------- /src/models/AudioMixSourceChannelType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Type of this source channel 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum AudioMixSourceChannelType { 7 | CHANNEL_NUMBER = 'CHANNEL_NUMBER', 8 | FRONT_LEFT = 'FRONT_LEFT', 9 | FRONT_RIGHT = 'FRONT_RIGHT', 10 | CENTER = 'CENTER', 11 | LOW_FREQUENCY = 'LOW_FREQUENCY', 12 | BACK_LEFT = 'BACK_LEFT', 13 | BACK_RIGHT = 'BACK_RIGHT', 14 | SURROUND_LEFT = 'SURROUND_LEFT', 15 | SURROUND_RIGHT = 'SURROUND_RIGHT' 16 | } 17 | 18 | export default AudioMixSourceChannelType; 19 | 20 | -------------------------------------------------------------------------------- /src/models/RtmpInput.ts: -------------------------------------------------------------------------------- 1 | import Input from './Input'; 2 | import InputType from './InputType'; 3 | 4 | /** 5 | * @export 6 | * @class RtmpInput 7 | */ 8 | export class RtmpInput extends Input { 9 | /** 10 | * Discriminator property for Input 11 | * @type {string} 12 | * @memberof RtmpInput 13 | */ 14 | public readonly type: InputType = InputType.RTMP; 15 | 16 | constructor(obj?: Partial) { 17 | super(obj); 18 | if(!obj) { 19 | return; 20 | } 21 | } 22 | } 23 | 24 | export default RtmpInput; 25 | 26 | -------------------------------------------------------------------------------- /src/models/InputColorPrimaries.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum InputColorPrimaries { 6 | UNSPECIFIED = 'UNSPECIFIED', 7 | BT709 = 'BT709', 8 | BT470M = 'BT470M', 9 | BT470BG = 'BT470BG', 10 | SMPTE170M = 'SMPTE170M', 11 | SMPTE240M = 'SMPTE240M', 12 | FILM = 'FILM', 13 | BT2020 = 'BT2020', 14 | SMPTE428 = 'SMPTE428', 15 | SMPTEST428_1 = 'SMPTEST428_1', 16 | SMPTE431 = 'SMPTE431', 17 | SMPTE432 = 'SMPTE432', 18 | JEDEC_P22 = 'JEDEC_P22' 19 | } 20 | 21 | export default InputColorPrimaries; 22 | 23 | -------------------------------------------------------------------------------- /src/models/LiveOptionsEntry.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class LiveOptionsEntry 6 | */ 7 | export class LiveOptionsEntry { 8 | /** 9 | * Live option units used (required) 10 | * @type {number} 11 | * @memberof LiveOptionsEntry 12 | */ 13 | public unitsUsed?: number; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.unitsUsed = map(obj.unitsUsed); 20 | } 21 | } 22 | 23 | export default LiveOptionsEntry; 24 | 25 | -------------------------------------------------------------------------------- /src/models/DashRepresentationTypeDiscriminator.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DashRepresentationTypeDiscriminator { 6 | DRM_FMP4 = 'DRM_FMP4', 7 | FMP4 = 'FMP4', 8 | WEBM = 'WEBM', 9 | CMAF = 'CMAF', 10 | CHUNKED_TEXT = 'CHUNKED_TEXT', 11 | MP4 = 'MP4', 12 | DRM_MP4 = 'DRM_MP4', 13 | PROGRESSIVE_WEBM = 'PROGRESSIVE_WEBM', 14 | VTT = 'VTT', 15 | SPRITE = 'SPRITE', 16 | IMSC = 'IMSC', 17 | CONTENT_PROTECTION = 'CONTENT_PROTECTION' 18 | } 19 | 20 | export default DashRepresentationTypeDiscriminator; 21 | 22 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalChannelLayout.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DolbyDigitalChannelLayout { 6 | NONE = 'NONE', 7 | MONO = 'MONO', 8 | CL_STEREO = 'STEREO', 9 | CL_SURROUND = 'SURROUND', 10 | CL_3_1 = '3.1', 11 | CL_BACK_SURROUND = 'BACK_SURROUND', 12 | CL_BACK_SURROUND_LFE = 'BACK_SURROUND_LFE', 13 | CL_QUAD = 'QUAD', 14 | CL_QUAD_LFE = 'QUAD_LFE', 15 | CL_4_0 = '4.0', 16 | CL_4_1 = '4.1', 17 | CL_5_0 = '5.0', 18 | CL_5_1 = '5.1' 19 | } 20 | 21 | export default DolbyDigitalChannelLayout; 22 | 23 | -------------------------------------------------------------------------------- /src/models/WebVttStyling.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import WebVttStylingMode from './WebVttStylingMode'; 3 | 4 | /** 5 | * @export 6 | * @class WebVttStyling 7 | */ 8 | export class WebVttStyling { 9 | /** 10 | * @type {WebVttStylingMode} 11 | * @memberof WebVttStyling 12 | */ 13 | public mode?: WebVttStylingMode; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.mode = map(obj.mode); 20 | } 21 | } 22 | 23 | export default WebVttStyling; 24 | 25 | -------------------------------------------------------------------------------- /src/models/H265DynamicRangeFormat.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Configures what kind of dynamic range the output should conform to. Can be used to convert from SDR to HDR, from HDR to SDR or between different HDR formats 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum H265DynamicRangeFormat { 7 | DOLBY_VISION = 'DOLBY_VISION', 8 | DOLBY_VISION_PROFILE_5 = 'DOLBY_VISION_PROFILE_5', 9 | DOLBY_VISION_PROFILE_8_1 = 'DOLBY_VISION_PROFILE_8_1', 10 | HDR10 = 'HDR10', 11 | HLG = 'HLG', 12 | SDR = 'SDR' 13 | } 14 | 15 | export default H265DynamicRangeFormat; 16 | 17 | -------------------------------------------------------------------------------- /src/models/ManifestResource.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class ManifestResource 6 | */ 7 | export class ManifestResource { 8 | /** 9 | * Id of the manifest resource (required) 10 | * @type {string} 11 | * @memberof ManifestResource 12 | */ 13 | public manifestId?: string; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.manifestId = map(obj.manifestId); 20 | } 21 | } 22 | 23 | export default ManifestResource; 24 | 25 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalPlusChannelLayout.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum DolbyDigitalPlusChannelLayout { 6 | NONE = 'NONE', 7 | MONO = 'MONO', 8 | CL_STEREO = 'STEREO', 9 | CL_SURROUND = 'SURROUND', 10 | CL_3_1 = '3.1', 11 | CL_BACK_SURROUND = 'BACK_SURROUND', 12 | CL_BACK_SURROUND_LFE = 'BACK_SURROUND_LFE', 13 | CL_QUAD = 'QUAD', 14 | CL_QUAD_LFE = 'QUAD_LFE', 15 | CL_4_0 = '4.0', 16 | CL_4_1 = '4.1', 17 | CL_5_0 = '5.0', 18 | CL_5_1 = '5.1' 19 | } 20 | 21 | export default DolbyDigitalPlusChannelLayout; 22 | 23 | -------------------------------------------------------------------------------- /src/models/AnalyticsLicenseKey.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class AnalyticsLicenseKey 6 | */ 7 | export class AnalyticsLicenseKey { 8 | /** 9 | * Analytics License Key (required) 10 | * @type {string} 11 | * @memberof AnalyticsLicenseKey 12 | */ 13 | public licenseKey?: string; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.licenseKey = map(obj.licenseKey); 20 | } 21 | } 22 | 23 | export default AnalyticsLicenseKey; 24 | 25 | -------------------------------------------------------------------------------- /src/models/LevelH265.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Specified set of constraints that indicate a degree of required decoder performance for a profile, see: https://en.wikipedia.org/wiki/High_Efficiency_Video_Coding_tiers_and_levels 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum LevelH265 { 7 | L1 = '1', 8 | L2 = '2', 9 | L2_1 = '2.1', 10 | L3 = '3', 11 | L3_1 = '3.1', 12 | L4 = '4', 13 | L4_1 = '4.1', 14 | L5 = '5', 15 | L5_1 = '5.1', 16 | L5_2 = '5.2', 17 | L6 = '6', 18 | L6_1 = '6.1', 19 | L6_2 = '6.2' 20 | } 21 | 22 | export default LevelH265; 23 | 24 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalDownmixingPreferredMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * It indicates if downmixing mode is Dolby Surround compatible (`LT_RT`: Left total/Right total) or Dolby Pro Logic II (`PRO_LOGIC_II`). `LO_RO` for Left only/Right only: A downmix from a multichannel to a two‐channel output that is compatible for stereo or mono reproduction. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DolbyDigitalDownmixingPreferredMode { 7 | LO_RO = 'LO_RO', 8 | LT_RT = 'LT_RT', 9 | PRO_LOGIC_II = 'PRO_LOGIC_II' 10 | } 11 | 12 | export default DolbyDigitalDownmixingPreferredMode; 13 | 14 | -------------------------------------------------------------------------------- /src/models/InputTypeResponse.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import InputType from './InputType'; 3 | 4 | /** 5 | * @export 6 | * @class InputTypeResponse 7 | */ 8 | export class InputTypeResponse { 9 | /** 10 | * The type of the input 11 | * @type {InputType} 12 | * @memberof InputTypeResponse 13 | */ 14 | public type?: InputType; 15 | 16 | constructor(obj?: Partial) { 17 | if(!obj) { 18 | return; 19 | } 20 | this.type = map(obj.type); 21 | } 22 | } 23 | 24 | export default InputTypeResponse; 25 | 26 | -------------------------------------------------------------------------------- /src/models/SpriteJpegConfig.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class SpriteJpegConfig 6 | */ 7 | export class SpriteJpegConfig { 8 | /** 9 | * Quality of the JPEG file in percent. Allowed values 20 - 100 (required) 10 | * @type {number} 11 | * @memberof SpriteJpegConfig 12 | */ 13 | public quality?: number; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.quality = map(obj.quality); 20 | } 21 | } 22 | 23 | export default SpriteJpegConfig; 24 | 25 | -------------------------------------------------------------------------------- /src/models/Tenant.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import BitmovinResource from './BitmovinResource'; 3 | 4 | /** 5 | * @export 6 | * @class Tenant 7 | */ 8 | export class Tenant extends BitmovinResource { 9 | /** 10 | * Email address of the tenant. (required) 11 | * @type {string} 12 | * @memberof Tenant 13 | */ 14 | public eMail?: string; 15 | 16 | constructor(obj?: Partial) { 17 | super(obj); 18 | if(!obj) { 19 | return; 20 | } 21 | this.eMail = map(obj.eMail); 22 | } 23 | } 24 | 25 | export default Tenant; 26 | 27 | -------------------------------------------------------------------------------- /src/models/FragmentedMp4MuxingManifestType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Manifest type to be generated for the Fragmented MP4 Muxing. Only significant if a valid fragmentDuration is passed. If this is not set, Smooth Streaming is assumed. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum FragmentedMp4MuxingManifestType { 7 | SMOOTH = 'SMOOTH', 8 | DASH_ON_DEMAND = 'DASH_ON_DEMAND', 9 | HLS_BYTE_RANGES = 'HLS_BYTE_RANGES', 10 | NONE = 'NONE', 11 | HLS_BYTE_RANGES_AND_IFRAME_PLAYLIST = 'HLS_BYTE_RANGES_AND_IFRAME_PLAYLIST' 12 | } 13 | 14 | export default FragmentedMp4MuxingManifestType; 15 | 16 | -------------------------------------------------------------------------------- /src/models/LiveOptionsSummary.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import LiveOptionsEntry from './LiveOptionsEntry'; 3 | 4 | /** 5 | * @export 6 | * @class LiveOptionsSummary 7 | */ 8 | export class LiveOptionsSummary { 9 | /** 10 | * @type {LiveOptionsEntry} 11 | * @memberof LiveOptionsSummary 12 | */ 13 | public hd?: LiveOptionsEntry; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.hd = map(obj.hd, LiveOptionsEntry); 20 | } 21 | } 22 | 23 | export default LiveOptionsSummary; 24 | 25 | -------------------------------------------------------------------------------- /src/models/MuxingTypeResponse.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import MuxingType from './MuxingType'; 3 | 4 | /** 5 | * @export 6 | * @class MuxingTypeResponse 7 | */ 8 | export class MuxingTypeResponse { 9 | /** 10 | * The type of the Muxing 11 | * @type {MuxingType} 12 | * @memberof MuxingTypeResponse 13 | */ 14 | public type?: MuxingType; 15 | 16 | constructor(obj?: Partial) { 17 | if(!obj) { 18 | return; 19 | } 20 | this.type = map(obj.type); 21 | } 22 | } 23 | 24 | export default MuxingTypeResponse; 25 | 26 | -------------------------------------------------------------------------------- /src/models/OutputTypeResponse.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import OutputType from './OutputType'; 3 | 4 | /** 5 | * @export 6 | * @class OutputTypeResponse 7 | */ 8 | export class OutputTypeResponse { 9 | /** 10 | * The type of the output 11 | * @type {OutputType} 12 | * @memberof OutputTypeResponse 13 | */ 14 | public type?: OutputType; 15 | 16 | constructor(obj?: Partial) { 17 | if(!obj) { 18 | return; 19 | } 20 | this.type = map(obj.type); 21 | } 22 | } 23 | 24 | export default OutputTypeResponse; 25 | 26 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalPlusDownmixingPreferredMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * It indicates if downmixing mode is Dolby Surround compatible (`LT_RT`: Left total/Right total) or Dolby Pro Logic II (`PRO_LOGIC_II`). `LO_RO` for Left only/Right only: A downmix from a multichannel to a two‐channel output that is compatible for stereo or mono reproduction. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DolbyDigitalPlusDownmixingPreferredMode { 7 | LO_RO = 'LO_RO', 8 | LT_RT = 'LT_RT', 9 | PRO_LOGIC_II = 'PRO_LOGIC_II' 10 | } 11 | 12 | export default DolbyDigitalPlusDownmixingPreferredMode; 13 | 14 | -------------------------------------------------------------------------------- /src/models/Domain.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import BitmovinResource from './BitmovinResource'; 3 | 4 | /** 5 | * @export 6 | * @class Domain 7 | */ 8 | export class Domain extends BitmovinResource { 9 | /** 10 | * Host where the player is allowed to play (required) 11 | * @type {string} 12 | * @memberof Domain 13 | */ 14 | public url?: string; 15 | 16 | constructor(obj?: Partial) { 17 | super(obj); 18 | if(!obj) { 19 | return; 20 | } 21 | this.url = map(obj.url); 22 | } 23 | } 24 | 25 | export default Domain; 26 | 27 | -------------------------------------------------------------------------------- /src/models/PlayerLicenseAnalytics.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class PlayerLicenseAnalytics 6 | */ 7 | export class PlayerLicenseAnalytics { 8 | /** 9 | * Analytics License Key (required) 10 | * @type {string} 11 | * @memberof PlayerLicenseAnalytics 12 | */ 13 | public analyticsKey?: string; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.analyticsKey = map(obj.analyticsKey); 20 | } 21 | } 22 | 23 | export default PlayerLicenseAnalytics; 24 | 25 | -------------------------------------------------------------------------------- /src/models/PlayerLicenseUpdateRequest.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class PlayerLicenseUpdateRequest 6 | */ 7 | export class PlayerLicenseUpdateRequest { 8 | /** 9 | * Name of the License (required) 10 | * @type {string} 11 | * @memberof PlayerLicenseUpdateRequest 12 | */ 13 | public name?: string; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.name = map(obj.name); 20 | } 21 | } 22 | 23 | export default PlayerLicenseUpdateRequest; 24 | 25 | -------------------------------------------------------------------------------- /src/analytics/ads/AdsApi.ts: -------------------------------------------------------------------------------- 1 | import {BaseAPI} from '../../common/BaseAPI'; 2 | import Configuration from '../../common/Configuration'; 3 | import {map, mapArray} from '../../common/Mapper'; 4 | import QueriesApi from './queries/QueriesApi'; 5 | 6 | /** 7 | * AdsApi - object-oriented interface 8 | * @export 9 | * @class AdsApi 10 | * @extends {BaseAPI} 11 | */ 12 | export default class AdsApi extends BaseAPI { 13 | public queries: QueriesApi; 14 | 15 | constructor(configuration: Configuration) { 16 | super(configuration); 17 | this.queries = new QueriesApi(configuration); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/models/Fmp4MuxingInformation.ts: -------------------------------------------------------------------------------- 1 | import FragmentedMuxingInformation from './FragmentedMuxingInformation'; 2 | import MuxingInformationAudioTrack from './MuxingInformationAudioTrack'; 3 | import MuxingInformationVideoTrack from './MuxingInformationVideoTrack'; 4 | 5 | /** 6 | * @export 7 | * @class Fmp4MuxingInformation 8 | */ 9 | export class Fmp4MuxingInformation extends FragmentedMuxingInformation { 10 | constructor(obj?: Partial) { 11 | super(obj); 12 | if(!obj) { 13 | return; 14 | } 15 | } 16 | } 17 | 18 | export default Fmp4MuxingInformation; 19 | 20 | -------------------------------------------------------------------------------- /src/models/Mp3MuxingInformation.ts: -------------------------------------------------------------------------------- 1 | import MuxingInformationAudioTrack from './MuxingInformationAudioTrack'; 2 | import MuxingInformationVideoTrack from './MuxingInformationVideoTrack'; 3 | import ProgressiveMuxingInformation from './ProgressiveMuxingInformation'; 4 | 5 | /** 6 | * @export 7 | * @class Mp3MuxingInformation 8 | */ 9 | export class Mp3MuxingInformation extends ProgressiveMuxingInformation { 10 | constructor(obj?: Partial) { 11 | super(obj); 12 | if(!obj) { 13 | return; 14 | } 15 | } 16 | } 17 | 18 | export default Mp3MuxingInformation; 19 | 20 | -------------------------------------------------------------------------------- /src/models/Mp4MuxingInformation.ts: -------------------------------------------------------------------------------- 1 | import MuxingInformationAudioTrack from './MuxingInformationAudioTrack'; 2 | import MuxingInformationVideoTrack from './MuxingInformationVideoTrack'; 3 | import ProgressiveMuxingInformation from './ProgressiveMuxingInformation'; 4 | 5 | /** 6 | * @export 7 | * @class Mp4MuxingInformation 8 | */ 9 | export class Mp4MuxingInformation extends ProgressiveMuxingInformation { 10 | constructor(obj?: Partial) { 11 | super(obj); 12 | if(!obj) { 13 | return; 14 | } 15 | } 16 | } 17 | 18 | export default Mp4MuxingInformation; 19 | 20 | -------------------------------------------------------------------------------- /src/models/ScalingAlgorithm.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Determines the algorithm used for scaling 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum ScalingAlgorithm { 7 | FAST_BILINEAR = 'FAST_BILINEAR', 8 | BILINEAR = 'BILINEAR', 9 | BICUBIC = 'BICUBIC', 10 | EXPERIMENTAL = 'EXPERIMENTAL', 11 | NEAREST_NEIGHBOR = 'NEAREST_NEIGHBOR', 12 | AVERAGING_AREA = 'AVERAGING_AREA', 13 | BICUBIC_LUMA_BILINEAR_CHROMA = 'BICUBIC_LUMA_BILINEAR_CHROMA', 14 | GAUSS = 'GAUSS', 15 | SINC = 'SINC', 16 | LANCZOS = 'LANCZOS', 17 | SPLINE = 'SPLINE' 18 | } 19 | 20 | export default ScalingAlgorithm; 21 | 22 | -------------------------------------------------------------------------------- /src/encoding/statistics/cdn/CdnApi.ts: -------------------------------------------------------------------------------- 1 | import {BaseAPI} from '../../../common/BaseAPI'; 2 | import Configuration from '../../../common/Configuration'; 3 | import {map, mapArray} from '../../../common/Mapper'; 4 | import UsageApi from './usage/UsageApi'; 5 | 6 | /** 7 | * CdnApi - object-oriented interface 8 | * @export 9 | * @class CdnApi 10 | * @extends {BaseAPI} 11 | */ 12 | export default class CdnApi extends BaseAPI { 13 | public usage: UsageApi; 14 | 15 | constructor(configuration: Configuration) { 16 | super(configuration); 17 | this.usage = new UsageApi(configuration); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/models/EmailNotification.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import Notification from './Notification'; 3 | 4 | /** 5 | * @export 6 | * @class EmailNotification 7 | */ 8 | export class EmailNotification extends Notification { 9 | /** 10 | * @type {string[]} 11 | * @memberof EmailNotification 12 | */ 13 | public emails?: string[]; 14 | 15 | constructor(obj?: Partial) { 16 | super(obj); 17 | if(!obj) { 18 | return; 19 | } 20 | this.emails = mapArray(obj.emails); 21 | } 22 | } 23 | 24 | export default EmailNotification; 25 | 26 | -------------------------------------------------------------------------------- /src/encoding/encodings/streams/qc/QcApi.ts: -------------------------------------------------------------------------------- 1 | import {BaseAPI} from '../../../../common/BaseAPI'; 2 | import Configuration from '../../../../common/Configuration'; 3 | import {map, mapArray} from '../../../../common/Mapper'; 4 | import PsnrApi from './psnr/PsnrApi'; 5 | 6 | /** 7 | * QcApi - object-oriented interface 8 | * @export 9 | * @class QcApi 10 | * @extends {BaseAPI} 11 | */ 12 | export default class QcApi extends BaseAPI { 13 | public psnr: PsnrApi; 14 | 15 | constructor(configuration: Configuration) { 16 | super(configuration); 17 | this.psnr = new PsnrApi(configuration); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/models/EncodingTemplateRequest.ts: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * The template request object can be either a string (YAML/JSON) or a generic object that includes all the fields. Please note that when sending the request as an object, the order of the fields is important, as it determines the sequence in which the Encoding resources are created. 4 | * @export 5 | * @class EncodingTemplateRequest 6 | */ 7 | export class EncodingTemplateRequest { 8 | constructor(obj?: Partial) { 9 | if(!obj) { 10 | return; 11 | } 12 | } 13 | } 14 | 15 | export default EncodingTemplateRequest; 16 | 17 | -------------------------------------------------------------------------------- /src/models/Location.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class Location 6 | */ 7 | export class Location { 8 | /** 9 | * @type {string} 10 | * @memberof Location 11 | */ 12 | public name?: string; 13 | 14 | /** 15 | * @type {string} 16 | * @memberof Location 17 | */ 18 | public description?: string; 19 | 20 | constructor(obj?: Partial) { 21 | if(!obj) { 22 | return; 23 | } 24 | this.name = map(obj.name); 25 | this.description = map(obj.description); 26 | } 27 | } 28 | 29 | export default Location; 30 | 31 | -------------------------------------------------------------------------------- /src/models/ManifestTypeResponse.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import ManifestType from './ManifestType'; 3 | 4 | /** 5 | * @export 6 | * @class ManifestTypeResponse 7 | */ 8 | export class ManifestTypeResponse { 9 | /** 10 | * The type of the manifest 11 | * @type {ManifestType} 12 | * @memberof ManifestTypeResponse 13 | */ 14 | public type?: ManifestType; 15 | 16 | constructor(obj?: Partial) { 17 | if(!obj) { 18 | return; 19 | } 20 | this.type = map(obj.type); 21 | } 22 | } 23 | 24 | export default ManifestTypeResponse; 25 | 26 | -------------------------------------------------------------------------------- /src/encoding/encodings/captions/CaptionsApi.ts: -------------------------------------------------------------------------------- 1 | import {BaseAPI} from '../../../common/BaseAPI'; 2 | import Configuration from '../../../common/Configuration'; 3 | import {map, mapArray} from '../../../common/Mapper'; 4 | import SccApi from './scc/SccApi'; 5 | 6 | /** 7 | * CaptionsApi - object-oriented interface 8 | * @export 9 | * @class CaptionsApi 10 | * @extends {BaseAPI} 11 | */ 12 | export default class CaptionsApi extends BaseAPI { 13 | public scc: SccApi; 14 | 15 | constructor(configuration: Configuration) { 16 | super(configuration); 17 | this.scc = new SccApi(configuration); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/models/ReprioritizeEncodingRequest.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class ReprioritizeEncodingRequest 6 | */ 7 | export class ReprioritizeEncodingRequest { 8 | /** 9 | * Priority of the Encoding (required) 10 | * @type {number} 11 | * @memberof ReprioritizeEncodingRequest 12 | */ 13 | public priority?: number; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.priority = map(obj.priority); 20 | } 21 | } 22 | 23 | export default ReprioritizeEncodingRequest; 24 | 25 | -------------------------------------------------------------------------------- /src/player/customBuilds/CustomBuildsApi.ts: -------------------------------------------------------------------------------- 1 | import {BaseAPI} from '../../common/BaseAPI'; 2 | import Configuration from '../../common/Configuration'; 3 | import {map, mapArray} from '../../common/Mapper'; 4 | import WebApi from './web/WebApi'; 5 | 6 | /** 7 | * CustomBuildsApi - object-oriented interface 8 | * @export 9 | * @class CustomBuildsApi 10 | * @extends {BaseAPI} 11 | */ 12 | export default class CustomBuildsApi extends BaseAPI { 13 | public web: WebApi; 14 | 15 | constructor(configuration: Configuration) { 16 | super(configuration); 17 | this.web = new WebApi(configuration); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/models/EncodingTemplateUrlResponse.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class EncodingTemplateUrlResponse 6 | */ 7 | export class EncodingTemplateUrlResponse { 8 | /** 9 | * The download URL of the encoding template. (required) 10 | * @type {string} 11 | * @memberof EncodingTemplateUrlResponse 12 | */ 13 | public url?: string; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.url = map(obj.url); 20 | } 21 | } 22 | 23 | export default EncodingTemplateUrlResponse; 24 | 25 | -------------------------------------------------------------------------------- /src/models/Keyframe.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import BitmovinResource from './BitmovinResource'; 3 | 4 | /** 5 | * @export 6 | * @class Keyframe 7 | */ 8 | export class Keyframe extends BitmovinResource { 9 | /** 10 | * Time in seconds where the keyframe should be inserted (required) 11 | * @type {number} 12 | * @memberof Keyframe 13 | */ 14 | public time?: number; 15 | 16 | constructor(obj?: Partial) { 17 | super(obj); 18 | if(!obj) { 19 | return; 20 | } 21 | this.time = map(obj.time); 22 | } 23 | } 24 | 25 | export default Keyframe; 26 | 27 | -------------------------------------------------------------------------------- /src/models/Metadata.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class Metadata 6 | */ 7 | export class Metadata { 8 | /** 9 | * @type {string} 10 | * @memberof Metadata 11 | */ 12 | public version?: string; 13 | 14 | /** 15 | * @type {string} 16 | * @memberof Metadata 17 | */ 18 | public disclaimer?: string; 19 | 20 | constructor(obj?: Partial) { 21 | if(!obj) { 22 | return; 23 | } 24 | this.version = map(obj.version); 25 | this.disclaimer = map(obj.disclaimer); 26 | } 27 | } 28 | 29 | export default Metadata; 30 | 31 | -------------------------------------------------------------------------------- /src/models/PlayerChannel.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import BitmovinResponse from './BitmovinResponse'; 3 | 4 | /** 5 | * @export 6 | * @class PlayerChannel 7 | */ 8 | export class PlayerChannel extends BitmovinResponse { 9 | /** 10 | * Name of the resource (required) 11 | * @type {string} 12 | * @memberof PlayerChannel 13 | */ 14 | public name?: string; 15 | 16 | constructor(obj?: Partial) { 17 | super(obj); 18 | if(!obj) { 19 | return; 20 | } 21 | this.name = map(obj.name); 22 | } 23 | } 24 | 25 | export default PlayerChannel; 26 | 27 | -------------------------------------------------------------------------------- /src/encoding/encodings/muxings/packedAudio/drm/DrmApi.ts: -------------------------------------------------------------------------------- 1 | import {BaseAPI} from '../../../../../common/BaseAPI'; 2 | import Configuration from '../../../../../common/Configuration'; 3 | import {map, mapArray} from '../../../../../common/Mapper'; 4 | import AesApi from './aes/AesApi'; 5 | 6 | /** 7 | * DrmApi - object-oriented interface 8 | * @export 9 | * @class DrmApi 10 | * @extends {BaseAPI} 11 | */ 12 | export default class DrmApi extends BaseAPI { 13 | public aes: AesApi; 14 | 15 | constructor(configuration: Configuration) { 16 | super(configuration); 17 | this.aes = new AesApi(configuration); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/models/AnalyticsLicenseDomain.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import BitmovinResponse from './BitmovinResponse'; 3 | 4 | /** 5 | * @export 6 | * @class AnalyticsLicenseDomain 7 | */ 8 | export class AnalyticsLicenseDomain extends BitmovinResponse { 9 | /** 10 | * @type {string} 11 | * @memberof AnalyticsLicenseDomain 12 | */ 13 | public url?: string; 14 | 15 | constructor(obj?: Partial) { 16 | super(obj); 17 | if(!obj) { 18 | return; 19 | } 20 | this.url = map(obj.url); 21 | } 22 | } 23 | 24 | export default AnalyticsLicenseDomain; 25 | 26 | -------------------------------------------------------------------------------- /src/models/InputColorSpace.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Override the color space detected in the input file. If not set the input color space will be automatically detected if possible. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum InputColorSpace { 7 | UNSPECIFIED = 'UNSPECIFIED', 8 | RGB = 'RGB', 9 | BT709 = 'BT709', 10 | FCC = 'FCC', 11 | BT470BG = 'BT470BG', 12 | SMPTE170M = 'SMPTE170M', 13 | SMPTE240M = 'SMPTE240M', 14 | YCGCO = 'YCGCO', 15 | YCOCG = 'YCOCG', 16 | BT2020_NCL = 'BT2020_NCL', 17 | BT2020_CL = 'BT2020_CL', 18 | SMPTE2085 = 'SMPTE2085' 19 | } 20 | 21 | export default InputColorSpace; 22 | 23 | -------------------------------------------------------------------------------- /src/models/MediaInfoTypeResponse.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import MediaInfoType from './MediaInfoType'; 3 | 4 | /** 5 | * @export 6 | * @class MediaInfoTypeResponse 7 | */ 8 | export class MediaInfoTypeResponse { 9 | /** 10 | * The type of the media-info 11 | * @type {MediaInfoType} 12 | * @memberof MediaInfoTypeResponse 13 | */ 14 | public type?: MediaInfoType; 15 | 16 | constructor(obj?: Partial) { 17 | if(!obj) { 18 | return; 19 | } 20 | this.type = map(obj.type); 21 | } 22 | } 23 | 24 | export default MediaInfoTypeResponse; 25 | 26 | -------------------------------------------------------------------------------- /src/models/StreamKeysUnassignAction.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class StreamKeysUnassignAction 6 | */ 7 | export class StreamKeysUnassignAction { 8 | /** 9 | * Encoding ID for which stream keys should be unassigned 10 | * @type {string} 11 | * @memberof StreamKeysUnassignAction 12 | */ 13 | public encodingId?: string; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.encodingId = map(obj.encodingId); 20 | } 21 | } 22 | 23 | export default StreamKeysUnassignAction; 24 | 25 | -------------------------------------------------------------------------------- /src/models/StreamMetadata.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class StreamMetadata 6 | */ 7 | export class StreamMetadata { 8 | /** 9 | * Language of the media contained in the stream. If the value is not set, then no metadata tag is set for the media stream. 10 | * @type {string} 11 | * @memberof StreamMetadata 12 | */ 13 | public language?: string; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.language = map(obj.language); 20 | } 21 | } 22 | 23 | export default StreamMetadata; 24 | 25 | -------------------------------------------------------------------------------- /src/encoding/encodings/streams/captions/CaptionsApi.ts: -------------------------------------------------------------------------------- 1 | import {BaseAPI} from '../../../../common/BaseAPI'; 2 | import Configuration from '../../../../common/Configuration'; 3 | import {map, mapArray} from '../../../../common/Mapper'; 4 | import CeaApi from './cea/CeaApi'; 5 | 6 | /** 7 | * CaptionsApi - object-oriented interface 8 | * @export 9 | * @class CaptionsApi 10 | * @extends {BaseAPI} 11 | */ 12 | export default class CaptionsApi extends BaseAPI { 13 | public cea: CeaApi; 14 | 15 | constructor(configuration: Configuration) { 16 | super(configuration); 17 | this.cea = new CeaApi(configuration); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/models/MuxingType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum MuxingType { 6 | FMP4 = 'FMP4', 7 | CMAF = 'CMAF', 8 | MP4 = 'MP4', 9 | TS = 'TS', 10 | WEBM = 'WEBM', 11 | MP3 = 'MP3', 12 | MXF = 'MXF', 13 | PROGRESSIVE_WAV = 'PROGRESSIVE_WAV', 14 | PROGRESSIVE_WEBM = 'PROGRESSIVE_WEBM', 15 | PROGRESSIVE_MOV = 'PROGRESSIVE_MOV', 16 | PROGRESSIVE_TS = 'PROGRESSIVE_TS', 17 | BROADCAST_TS = 'BROADCAST_TS', 18 | CHUNKED_TEXT = 'CHUNKED_TEXT', 19 | TEXT = 'TEXT', 20 | SEGMENTED_RAW = 'SEGMENTED_RAW', 21 | PACKED_AUDIO = 'PACKED_AUDIO' 22 | } 23 | 24 | export default MuxingType; 25 | 26 | -------------------------------------------------------------------------------- /src/models/SceneAnalysisLanguagesResponse.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class SceneAnalysisLanguagesResponse 6 | */ 7 | export class SceneAnalysisLanguagesResponse { 8 | /** 9 | * @type {string[]} 10 | * @memberof SceneAnalysisLanguagesResponse 11 | */ 12 | public outputLanguageCodes?: string[]; 13 | 14 | constructor(obj?: Partial) { 15 | if(!obj) { 16 | return; 17 | } 18 | this.outputLanguageCodes = mapArray(obj.outputLanguageCodes); 19 | } 20 | } 21 | 22 | export default SceneAnalysisLanguagesResponse; 23 | 24 | -------------------------------------------------------------------------------- /src/models/StreamFilterList.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import StreamFilter from './StreamFilter'; 3 | 4 | /** 5 | * @export 6 | * @class StreamFilterList 7 | */ 8 | export class StreamFilterList { 9 | /** 10 | * List of stream filters (required) 11 | * @type {StreamFilter[]} 12 | * @memberof StreamFilterList 13 | */ 14 | public filters?: StreamFilter[]; 15 | 16 | constructor(obj?: Partial) { 17 | if(!obj) { 18 | return; 19 | } 20 | this.filters = mapArray(obj.filters, StreamFilter); 21 | } 22 | } 23 | 24 | export default StreamFilterList; 25 | 26 | -------------------------------------------------------------------------------- /src/models/AkamaiAccount.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import BitmovinResource from './BitmovinResource'; 3 | 4 | /** 5 | * @export 6 | * @class AkamaiAccount 7 | */ 8 | export class AkamaiAccount extends BitmovinResource { 9 | /** 10 | * Akamai/Linode API token (required) 11 | * @type {string} 12 | * @memberof AkamaiAccount 13 | */ 14 | public apiToken?: string; 15 | 16 | constructor(obj?: Partial) { 17 | super(obj); 18 | if(!obj) { 19 | return; 20 | } 21 | this.apiToken = map(obj.apiToken); 22 | } 23 | } 24 | 25 | export default AkamaiAccount; 26 | 27 | -------------------------------------------------------------------------------- /src/models/LevelH264.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Specified set of constraints that indicate a degree of required decoder performance for a profile, see: https://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Levels 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum LevelH264 { 7 | L1 = '1', 8 | L1b = '1b', 9 | L1_1 = '1.1', 10 | L1_2 = '1.2', 11 | L1_3 = '1.3', 12 | L2 = '2', 13 | L2_1 = '2.1', 14 | L2_2 = '2.2', 15 | L3 = '3', 16 | L3_1 = '3.1', 17 | L3_2 = '3.2', 18 | L4 = '4', 19 | L4_1 = '4.1', 20 | L4_2 = '4.2', 21 | L5 = '5', 22 | L5_1 = '5.1', 23 | L5_2 = '5.2' 24 | } 25 | 26 | export default LevelH264; 27 | 28 | -------------------------------------------------------------------------------- /src/models/PackedAudioMuxingInformation.ts: -------------------------------------------------------------------------------- 1 | import FragmentedMuxingInformation from './FragmentedMuxingInformation'; 2 | import MuxingInformationAudioTrack from './MuxingInformationAudioTrack'; 3 | import MuxingInformationVideoTrack from './MuxingInformationVideoTrack'; 4 | 5 | /** 6 | * @export 7 | * @class PackedAudioMuxingInformation 8 | */ 9 | export class PackedAudioMuxingInformation extends FragmentedMuxingInformation { 10 | constructor(obj?: Partial) { 11 | super(obj); 12 | if(!obj) { 13 | return; 14 | } 15 | } 16 | } 17 | 18 | export default PackedAudioMuxingInformation; 19 | 20 | -------------------------------------------------------------------------------- /src/notifications/webhooks/WebhooksApi.ts: -------------------------------------------------------------------------------- 1 | import {BaseAPI} from '../../common/BaseAPI'; 2 | import Configuration from '../../common/Configuration'; 3 | import {map, mapArray} from '../../common/Mapper'; 4 | import EncodingApi from './encoding/EncodingApi'; 5 | 6 | /** 7 | * WebhooksApi - object-oriented interface 8 | * @export 9 | * @class WebhooksApi 10 | * @extends {BaseAPI} 11 | */ 12 | export default class WebhooksApi extends BaseAPI { 13 | public encoding: EncodingApi; 14 | 15 | constructor(configuration: Configuration) { 16 | super(configuration); 17 | this.encoding = new EncodingApi(configuration); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/models/BroadcastTsMuxingInformation.ts: -------------------------------------------------------------------------------- 1 | import MuxingInformationAudioTrack from './MuxingInformationAudioTrack'; 2 | import MuxingInformationVideoTrack from './MuxingInformationVideoTrack'; 3 | import ProgressiveMuxingInformation from './ProgressiveMuxingInformation'; 4 | 5 | /** 6 | * @export 7 | * @class BroadcastTsMuxingInformation 8 | */ 9 | export class BroadcastTsMuxingInformation extends ProgressiveMuxingInformation { 10 | constructor(obj?: Partial) { 11 | super(obj); 12 | if(!obj) { 13 | return; 14 | } 15 | } 16 | } 17 | 18 | export default BroadcastTsMuxingInformation; 19 | 20 | -------------------------------------------------------------------------------- /src/aiSceneAnalysis/AiSceneAnalysisApi.ts: -------------------------------------------------------------------------------- 1 | import {BaseAPI} from '../common/BaseAPI'; 2 | import Configuration from '../common/Configuration'; 3 | import {map, mapArray} from '../common/Mapper'; 4 | import AnalysesApi from './analyses/AnalysesApi'; 5 | 6 | /** 7 | * AiSceneAnalysisApi - object-oriented interface 8 | * @export 9 | * @class AiSceneAnalysisApi 10 | * @extends {BaseAPI} 11 | */ 12 | export default class AiSceneAnalysisApi extends BaseAPI { 13 | public analyses: AnalysesApi; 14 | 15 | constructor(configuration: Configuration) { 16 | super(configuration); 17 | this.analyses = new AnalysesApi(configuration); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/models/CodecConfigTypeResponse.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import CodecConfigType from './CodecConfigType'; 3 | 4 | /** 5 | * @export 6 | * @class CodecConfigTypeResponse 7 | */ 8 | export class CodecConfigTypeResponse { 9 | /** 10 | * The type of the codec config 11 | * @type {CodecConfigType} 12 | * @memberof CodecConfigTypeResponse 13 | */ 14 | public type?: CodecConfigType; 15 | 16 | constructor(obj?: Partial) { 17 | if(!obj) { 18 | return; 19 | } 20 | this.type = map(obj.type); 21 | } 22 | } 23 | 24 | export default CodecConfigTypeResponse; 25 | 26 | -------------------------------------------------------------------------------- /src/models/EncodingTemplateStartResponse.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class EncodingTemplateStartResponse 6 | */ 7 | export class EncodingTemplateStartResponse { 8 | /** 9 | * Id of the Encoding that is created (required) 10 | * @type {string} 11 | * @memberof EncodingTemplateStartResponse 12 | */ 13 | public encodingId?: string; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.encodingId = map(obj.encodingId); 20 | } 21 | } 22 | 23 | export default EncodingTemplateStartResponse; 24 | 25 | -------------------------------------------------------------------------------- /src/models/InputStreamTypeResponse.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import InputStreamType from './InputStreamType'; 3 | 4 | /** 5 | * @export 6 | * @class InputStreamTypeResponse 7 | */ 8 | export class InputStreamTypeResponse { 9 | /** 10 | * The type of the input stream 11 | * @type {InputStreamType} 12 | * @memberof InputStreamTypeResponse 13 | */ 14 | public type?: InputStreamType; 15 | 16 | constructor(obj?: Partial) { 17 | if(!obj) { 18 | return; 19 | } 20 | this.type = map(obj.type); 21 | } 22 | } 23 | 24 | export default InputStreamTypeResponse; 25 | 26 | -------------------------------------------------------------------------------- /src/models/RescheduleEncodingRequest.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class RescheduleEncodingRequest 6 | */ 7 | export class RescheduleEncodingRequest { 8 | /** 9 | * Id of a custom infrastructure, e.g., AWS Cloud Connect 10 | * @type {string} 11 | * @memberof RescheduleEncodingRequest 12 | */ 13 | public infrastructureId?: string; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.infrastructureId = map(obj.infrastructureId); 20 | } 21 | } 22 | 23 | export default RescheduleEncodingRequest; 24 | 25 | -------------------------------------------------------------------------------- /src/models/SceneObject.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class SceneObject 6 | */ 7 | export class SceneObject { 8 | /** 9 | * @type {string} 10 | * @memberof SceneObject 11 | */ 12 | public description?: string; 13 | 14 | /** 15 | * @type {string} 16 | * @memberof SceneObject 17 | */ 18 | public category?: string; 19 | 20 | constructor(obj?: Partial) { 21 | if(!obj) { 22 | return; 23 | } 24 | this.description = map(obj.description); 25 | this.category = map(obj.category); 26 | } 27 | } 28 | 29 | export default SceneObject; 30 | 31 | -------------------------------------------------------------------------------- /src/models/StandardMediaInfo.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import SegmentsMediaInfo from './SegmentsMediaInfo'; 3 | 4 | /** 5 | * @export 6 | * @class StandardMediaInfo 7 | */ 8 | export class StandardMediaInfo extends SegmentsMediaInfo { 9 | /** 10 | * The URI of the Rendition (required) 11 | * @type {string} 12 | * @memberof StandardMediaInfo 13 | */ 14 | public uri?: string; 15 | 16 | constructor(obj?: Partial) { 17 | super(obj); 18 | if(!obj) { 19 | return; 20 | } 21 | this.uri = map(obj.uri); 22 | } 23 | } 24 | 25 | export default StandardMediaInfo; 26 | 27 | -------------------------------------------------------------------------------- /src/models/AccountApiKey.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import BitmovinResource from './BitmovinResource'; 3 | 4 | /** 5 | * @export 6 | * @class AccountApiKey 7 | */ 8 | export class AccountApiKey extends BitmovinResource { 9 | /** 10 | * Key value for authentication with the Bitmovin API (required) 11 | * @type {string} 12 | * @memberof AccountApiKey 13 | */ 14 | public value?: string; 15 | 16 | constructor(obj?: Partial) { 17 | super(obj); 18 | if(!obj) { 19 | return; 20 | } 21 | this.value = map(obj.value); 22 | } 23 | } 24 | 25 | export default AccountApiKey; 26 | 27 | -------------------------------------------------------------------------------- /src/models/AnalyticsImpressionListItem.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class AnalyticsImpressionListItem 6 | */ 7 | export class AnalyticsImpressionListItem { 8 | /** 9 | * Random UUID that is used to identify a session (required) 10 | * @type {string} 11 | * @memberof AnalyticsImpressionListItem 12 | */ 13 | public impressionId?: string; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.impressionId = map(obj.impressionId); 20 | } 21 | } 22 | 23 | export default AnalyticsImpressionListItem; 24 | 25 | -------------------------------------------------------------------------------- /src/models/AiSceneAnalysisOutputLanguageCodes.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class AiSceneAnalysisOutputLanguageCodes 6 | */ 7 | export class AiSceneAnalysisOutputLanguageCodes { 8 | /** 9 | * @type {string[]} 10 | * @memberof AiSceneAnalysisOutputLanguageCodes 11 | */ 12 | public outputLanguageCodes?: string[]; 13 | 14 | constructor(obj?: Partial) { 15 | if(!obj) { 16 | return; 17 | } 18 | this.outputLanguageCodes = mapArray(obj.outputLanguageCodes); 19 | } 20 | } 21 | 22 | export default AiSceneAnalysisOutputLanguageCodes; 23 | 24 | -------------------------------------------------------------------------------- /src/models/CacheControl.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class CacheControl 6 | */ 7 | export class CacheControl { 8 | /** 9 | * Cache control for storing data on CDN. Example \"public, max-age=0, no-cache\". Cache control is supported on S3, GCS and Azure output storage providers. 10 | * @type {string} 11 | * @memberof CacheControl 12 | */ 13 | public cacheControl?: string; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.cacheControl = map(obj.cacheControl); 20 | } 21 | } 22 | 23 | export default CacheControl; 24 | 25 | -------------------------------------------------------------------------------- /src/models/CustomXmlElement.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import BitmovinResponse from './BitmovinResponse'; 3 | 4 | /** 5 | * @export 6 | * @class CustomXmlElement 7 | */ 8 | export class CustomXmlElement extends BitmovinResponse { 9 | /** 10 | * String representation of the XML element (required) 11 | * @type {string} 12 | * @memberof CustomXmlElement 13 | */ 14 | public data?: string; 15 | 16 | constructor(obj?: Partial) { 17 | super(obj); 18 | if(!obj) { 19 | return; 20 | } 21 | this.data = map(obj.data); 22 | } 23 | } 24 | 25 | export default CustomXmlElement; 26 | 27 | -------------------------------------------------------------------------------- /src/models/IFramePlaylist.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import BitmovinResource from './BitmovinResource'; 3 | 4 | /** 5 | * @export 6 | * @class IFramePlaylist 7 | */ 8 | export class IFramePlaylist extends BitmovinResource { 9 | /** 10 | * The filename of your I-frame playlist (required) 11 | * @type {string} 12 | * @memberof IFramePlaylist 13 | */ 14 | public filename?: string; 15 | 16 | constructor(obj?: Partial) { 17 | super(obj); 18 | if(!obj) { 19 | return; 20 | } 21 | this.filename = map(obj.filename); 22 | } 23 | } 24 | 25 | export default IFramePlaylist; 26 | 27 | -------------------------------------------------------------------------------- /src/models/InputFactorCodec.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class InputFactorCodec 6 | */ 7 | export class InputFactorCodec { 8 | /** 9 | * @type {string} 10 | * @memberof InputFactorCodec 11 | */ 12 | public value?: string; 13 | 14 | /** 15 | * @type {number} 16 | * @memberof InputFactorCodec 17 | */ 18 | public factor?: number; 19 | 20 | constructor(obj?: Partial) { 21 | if(!obj) { 22 | return; 23 | } 24 | this.value = map(obj.value); 25 | this.factor = map(obj.factor); 26 | } 27 | } 28 | 29 | export default InputFactorCodec; 30 | 31 | -------------------------------------------------------------------------------- /src/models/Link.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class Link 6 | */ 7 | export class Link { 8 | /** 9 | * webpage target URL (required) 10 | * @type {string} 11 | * @memberof Link 12 | */ 13 | public href?: string; 14 | 15 | /** 16 | * Short description of the linked page 17 | * @type {string} 18 | * @memberof Link 19 | */ 20 | public title?: string; 21 | 22 | constructor(obj?: Partial) { 23 | if(!obj) { 24 | return; 25 | } 26 | this.href = map(obj.href); 27 | this.title = map(obj.title); 28 | } 29 | } 30 | 31 | export default Link; 32 | 33 | -------------------------------------------------------------------------------- /src/models/ProgressiveMovMuxingInformation.ts: -------------------------------------------------------------------------------- 1 | import MuxingInformationAudioTrack from './MuxingInformationAudioTrack'; 2 | import MuxingInformationVideoTrack from './MuxingInformationVideoTrack'; 3 | import ProgressiveMuxingInformation from './ProgressiveMuxingInformation'; 4 | 5 | /** 6 | * @export 7 | * @class ProgressiveMovMuxingInformation 8 | */ 9 | export class ProgressiveMovMuxingInformation extends ProgressiveMuxingInformation { 10 | constructor(obj?: Partial) { 11 | super(obj); 12 | if(!obj) { 13 | return; 14 | } 15 | } 16 | } 17 | 18 | export default ProgressiveMovMuxingInformation; 19 | 20 | -------------------------------------------------------------------------------- /src/models/ProgressiveWavMuxingInformation.ts: -------------------------------------------------------------------------------- 1 | import MuxingInformationAudioTrack from './MuxingInformationAudioTrack'; 2 | import MuxingInformationVideoTrack from './MuxingInformationVideoTrack'; 3 | import ProgressiveMuxingInformation from './ProgressiveMuxingInformation'; 4 | 5 | /** 6 | * @export 7 | * @class ProgressiveWavMuxingInformation 8 | */ 9 | export class ProgressiveWavMuxingInformation extends ProgressiveMuxingInformation { 10 | constructor(obj?: Partial) { 11 | super(obj); 12 | if(!obj) { 13 | return; 14 | } 15 | } 16 | } 17 | 18 | export default ProgressiveWavMuxingInformation; 19 | 20 | -------------------------------------------------------------------------------- /src/encoding/encodings/streams/hdr/HdrApi.ts: -------------------------------------------------------------------------------- 1 | import {BaseAPI} from '../../../../common/BaseAPI'; 2 | import Configuration from '../../../../common/Configuration'; 3 | import {map, mapArray} from '../../../../common/Mapper'; 4 | import DolbyVisionApi from './dolbyVision/DolbyVisionApi'; 5 | 6 | /** 7 | * HdrApi - object-oriented interface 8 | * @export 9 | * @class HdrApi 10 | * @extends {BaseAPI} 11 | */ 12 | export default class HdrApi extends BaseAPI { 13 | public dolbyVision: DolbyVisionApi; 14 | 15 | constructor(configuration: Configuration) { 16 | super(configuration); 17 | this.dolbyVision = new DolbyVisionApi(configuration); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/models/OttLoudnessMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Specifies the OTT loudness mode. If the mode is `DTSX_OTT_LOUDNESS_DETECT`, the `lkfs` value will be calculated internally and does not need to be provided. A provided `lkfs` value will be ignored. For the modes `DTSX_OTT_LOUDNESS_INPUT` and `DTSX_OTT_LOUDNESS_TARGET` an `lkfs` value must be provided by the user. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum OttLoudnessMode { 7 | DTSX_OTT_LOUDNESS_DETECT = 'DTSX_OTT_LOUDNESS_DETECT', 8 | DTSX_OTT_LOUDNESS_INPUT = 'DTSX_OTT_LOUDNESS_INPUT', 9 | DTSX_OTT_LOUDNESS_TARGET = 'DTSX_OTT_LOUDNESS_TARGET' 10 | } 11 | 12 | export default OttLoudnessMode; 13 | 14 | -------------------------------------------------------------------------------- /src/models/ProgressiveWebmMuxingInformation.ts: -------------------------------------------------------------------------------- 1 | import MuxingInformationAudioTrack from './MuxingInformationAudioTrack'; 2 | import MuxingInformationVideoTrack from './MuxingInformationVideoTrack'; 3 | import ProgressiveMuxingInformation from './ProgressiveMuxingInformation'; 4 | 5 | /** 6 | * @export 7 | * @class ProgressiveWebmMuxingInformation 8 | */ 9 | export class ProgressiveWebmMuxingInformation extends ProgressiveMuxingInformation { 10 | constructor(obj?: Partial) { 11 | super(obj); 12 | if(!obj) { 13 | return; 14 | } 15 | } 16 | } 17 | 18 | export default ProgressiveWebmMuxingInformation; 19 | 20 | -------------------------------------------------------------------------------- /src/models/TsProgramMapTableConfiguration.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class TsProgramMapTableConfiguration 6 | */ 7 | export class TsProgramMapTableConfiguration { 8 | /** 9 | * An integer value. Packet Identifier (PID) for the MPEG Transport Stream PMT. 10 | * @type {number} 11 | * @memberof TsProgramMapTableConfiguration 12 | */ 13 | public pid?: number; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.pid = map(obj.pid); 20 | } 21 | } 22 | 23 | export default TsProgramMapTableConfiguration; 24 | 25 | -------------------------------------------------------------------------------- /src/aiSceneAnalysis/analyses/AnalysesApi.ts: -------------------------------------------------------------------------------- 1 | import {BaseAPI} from '../../common/BaseAPI'; 2 | import Configuration from '../../common/Configuration'; 3 | import {map, mapArray} from '../../common/Mapper'; 4 | import ByEncodingIdApi from './byEncodingId/ByEncodingIdApi'; 5 | 6 | /** 7 | * AnalysesApi - object-oriented interface 8 | * @export 9 | * @class AnalysesApi 10 | * @extends {BaseAPI} 11 | */ 12 | export default class AnalysesApi extends BaseAPI { 13 | public byEncodingId: ByEncodingIdApi; 14 | 15 | constructor(configuration: Configuration) { 16 | super(configuration); 17 | this.byEncodingId = new ByEncodingIdApi(configuration); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/analytics/insights/InsightsApi.ts: -------------------------------------------------------------------------------- 1 | import {BaseAPI} from '../../common/BaseAPI'; 2 | import Configuration from '../../common/Configuration'; 3 | import {map, mapArray} from '../../common/Mapper'; 4 | import OrganizationsApi from './organizations/OrganizationsApi'; 5 | 6 | /** 7 | * InsightsApi - object-oriented interface 8 | * @export 9 | * @class InsightsApi 10 | * @extends {BaseAPI} 11 | */ 12 | export default class InsightsApi extends BaseAPI { 13 | public organizations: OrganizationsApi; 14 | 15 | constructor(configuration: Configuration) { 16 | super(configuration); 17 | this.organizations = new OrganizationsApi(configuration); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/encoding/manifests/smooth/representations/RepresentationsApi.ts: -------------------------------------------------------------------------------- 1 | import {BaseAPI} from '../../../../common/BaseAPI'; 2 | import Configuration from '../../../../common/Configuration'; 3 | import {map, mapArray} from '../../../../common/Mapper'; 4 | import Mp4Api from './mp4/Mp4Api'; 5 | 6 | /** 7 | * RepresentationsApi - object-oriented interface 8 | * @export 9 | * @class RepresentationsApi 10 | * @extends {BaseAPI} 11 | */ 12 | export default class RepresentationsApi extends BaseAPI { 13 | public mp4: Mp4Api; 14 | 15 | constructor(configuration: Configuration) { 16 | super(configuration); 17 | this.mp4 = new Mp4Api(configuration); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/general/GeneralApi.ts: -------------------------------------------------------------------------------- 1 | import {BaseAPI} from '../common/BaseAPI'; 2 | import Configuration from '../common/Configuration'; 3 | import {map, mapArray} from '../common/Mapper'; 4 | import ErrorDefinitionsApi from './errorDefinitions/ErrorDefinitionsApi'; 5 | 6 | /** 7 | * GeneralApi - object-oriented interface 8 | * @export 9 | * @class GeneralApi 10 | * @extends {BaseAPI} 11 | */ 12 | export default class GeneralApi extends BaseAPI { 13 | public errorDefinitions: ErrorDefinitionsApi; 14 | 15 | constructor(configuration: Configuration) { 16 | super(configuration); 17 | this.errorDefinitions = new ErrorDefinitionsApi(configuration); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/models/AdaptationSetTypeResponse.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import AdaptationSetType from './AdaptationSetType'; 3 | 4 | /** 5 | * @export 6 | * @class AdaptationSetTypeResponse 7 | */ 8 | export class AdaptationSetTypeResponse { 9 | /** 10 | * The type of the adaptation set 11 | * @type {AdaptationSetType} 12 | * @memberof AdaptationSetTypeResponse 13 | */ 14 | public type?: AdaptationSetType; 15 | 16 | constructor(obj?: Partial) { 17 | if(!obj) { 18 | return; 19 | } 20 | this.type = map(obj.type); 21 | } 22 | } 23 | 24 | export default AdaptationSetTypeResponse; 25 | 26 | -------------------------------------------------------------------------------- /src/models/AzureSpeechServicesCredentials.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class AzureSpeechServicesCredentials 6 | */ 7 | export class AzureSpeechServicesCredentials { 8 | /** 9 | * Azure Speech Services resource key (required) 10 | * @type {string} 11 | * @memberof AzureSpeechServicesCredentials 12 | */ 13 | public subscriptionKey?: string; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.subscriptionKey = map(obj.subscriptionKey); 20 | } 21 | } 22 | 23 | export default AzureSpeechServicesCredentials; 24 | 25 | -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": [ 3 | "tslint:recommended" 4 | ], 5 | "rules": { 6 | "quotemark": [true, "single", "avoid-escape"], 7 | "array-type": [true, "array"], 8 | "arrow-parens": false, 9 | "trailing-comma": false, 10 | "object-literal-sort-keys": false, 11 | "ordered-imports": false, 12 | "interface-name": false, 13 | "object-literal-key-quotes": [true, "consistent"], 14 | "object-literal-shorthand": false, 15 | "no-null-keyword": true, 16 | "no-empty-interface": false, 17 | "max-line-length": [false], 18 | "no-bitwise": false, 19 | "triple-equals": [true, "allow-undefined-check"] 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/models/AiSceneAnalysis.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import AiSceneAnalysisFeatures from './AiSceneAnalysisFeatures'; 3 | 4 | /** 5 | * @export 6 | * @class AiSceneAnalysis 7 | */ 8 | export class AiSceneAnalysis { 9 | /** 10 | * Features of the AI scene analysis 11 | * @type {AiSceneAnalysisFeatures} 12 | * @memberof AiSceneAnalysis 13 | */ 14 | public features?: AiSceneAnalysisFeatures; 15 | 16 | constructor(obj?: Partial) { 17 | if(!obj) { 18 | return; 19 | } 20 | this.features = map(obj.features, AiSceneAnalysisFeatures); 21 | } 22 | } 23 | 24 | export default AiSceneAnalysis; 25 | 26 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalThreeDbAttenuation.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * –3 dB attenuation can be used to reduce the levels of the surround channels to compensate between the calibration of film dubbing stages and consumer replay environments. The surround channels in film studios are set 3 dB lower than the front channels (unlike consumer applications of 5.1), leading to the level on tape being 3 dB higher. Apply the 3 dB attenuation when using a master mixed in a film room. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DolbyDigitalThreeDbAttenuation { 7 | ENABLED = 'ENABLED', 8 | DISABLED = 'DISABLED' 9 | } 10 | 11 | export default DolbyDigitalThreeDbAttenuation; 12 | 13 | -------------------------------------------------------------------------------- /src/models/InputFactorBitrate.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class InputFactorBitrate 6 | */ 7 | export class InputFactorBitrate { 8 | /** 9 | * @type {number} 10 | * @memberof InputFactorBitrate 11 | */ 12 | public value?: number; 13 | 14 | /** 15 | * @type {number} 16 | * @memberof InputFactorBitrate 17 | */ 18 | public factor?: number; 19 | 20 | constructor(obj?: Partial) { 21 | if(!obj) { 22 | return; 23 | } 24 | this.value = map(obj.value); 25 | this.factor = map(obj.factor); 26 | } 27 | } 28 | 29 | export default InputFactorBitrate; 30 | 31 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "moduleResolution": "node", 4 | "emitDecoratorMetadata": true, 5 | "experimentalDecorators": true, 6 | "removeComments": false, 7 | "noImplicitAny": false, 8 | "typeRoots": [ 9 | "./node_modules/@types" 10 | ], 11 | "strictNullChecks": true, 12 | "declaration": true, 13 | "declarationDir": "./dist", 14 | "outDir": "./dist", 15 | "target": "ES5", 16 | "lib": [ 17 | "DOM", 18 | "ES2015", 19 | "ES2016" 20 | ] 21 | }, 22 | "exclude": [ 23 | "node_modules", 24 | "tests", 25 | "examples", 26 | "scripts", 27 | "dist" 28 | ] 29 | } 30 | -------------------------------------------------------------------------------- /src/analytics/insights/organizations/OrganizationsApi.ts: -------------------------------------------------------------------------------- 1 | import {BaseAPI} from '../../../common/BaseAPI'; 2 | import Configuration from '../../../common/Configuration'; 3 | import {map, mapArray} from '../../../common/Mapper'; 4 | import SettingsApi from './settings/SettingsApi'; 5 | 6 | /** 7 | * OrganizationsApi - object-oriented interface 8 | * @export 9 | * @class OrganizationsApi 10 | * @extends {BaseAPI} 11 | */ 12 | export default class OrganizationsApi extends BaseAPI { 13 | public settings: SettingsApi; 14 | 15 | constructor(configuration: Configuration) { 16 | super(configuration); 17 | this.settings = new SettingsApi(configuration); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/models/AnalyticsColumnLabel.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class AnalyticsColumnLabel 6 | */ 7 | export class AnalyticsColumnLabel { 8 | /** 9 | * @type {string} 10 | * @memberof AnalyticsColumnLabel 11 | */ 12 | public key?: string; 13 | 14 | /** 15 | * @type {string} 16 | * @memberof AnalyticsColumnLabel 17 | */ 18 | public label?: string; 19 | 20 | constructor(obj?: Partial) { 21 | if(!obj) { 22 | return; 23 | } 24 | this.key = map(obj.key); 25 | this.label = map(obj.label); 26 | } 27 | } 28 | 29 | export default AnalyticsColumnLabel; 30 | 31 | -------------------------------------------------------------------------------- /src/models/ColorTransfer.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum ColorTransfer { 6 | UNSPECIFIED = 'UNSPECIFIED', 7 | BT709 = 'BT709', 8 | GAMMA22 = 'GAMMA22', 9 | GAMMA28 = 'GAMMA28', 10 | SMPTE170M = 'SMPTE170M', 11 | SMPTE240M = 'SMPTE240M', 12 | LINEAR = 'LINEAR', 13 | LOG = 'LOG', 14 | LOG_SQRT = 'LOG_SQRT', 15 | IEC61966_2_4 = 'IEC61966_2_4', 16 | BT1361_ECG = 'BT1361_ECG', 17 | IEC61966_2_1 = 'IEC61966_2_1', 18 | BT2020_10 = 'BT2020_10', 19 | BT2020_12 = 'BT2020_12', 20 | SMPTE2084 = 'SMPTE2084', 21 | SMPTE428 = 'SMPTE428', 22 | ARIB_STD_B67 = 'ARIB_STD_B67' 23 | } 24 | 25 | export default ColorTransfer; 26 | 27 | -------------------------------------------------------------------------------- /src/common/BaseAPI.ts: -------------------------------------------------------------------------------- 1 | import Configuration from './Configuration'; 2 | import {RestClient} from './RestClient'; 3 | 4 | /** 5 | * 6 | * @export 7 | * @class BaseAPI 8 | */ 9 | export class BaseAPI { 10 | protected restClient: RestClient; 11 | 12 | constructor(configuration: Configuration) { 13 | this.restClient = new RestClient(configuration); 14 | } 15 | } 16 | 17 | /** 18 | * 19 | * @export 20 | * @class RequiredError 21 | * @extends {Error} 22 | */ 23 | export class RequiredError extends Error { 24 | public name: 'RequiredError' = 'RequiredError'; 25 | constructor(public field: string, msg?: string) { 26 | super(msg); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/streams/config/ConfigApi.ts: -------------------------------------------------------------------------------- 1 | import {BaseAPI} from '../../common/BaseAPI'; 2 | import Configuration from '../../common/Configuration'; 3 | import {map, mapArray} from '../../common/Mapper'; 4 | import DomainRestrictionApi from './domainRestriction/DomainRestrictionApi'; 5 | 6 | /** 7 | * ConfigApi - object-oriented interface 8 | * @export 9 | * @class ConfigApi 10 | * @extends {BaseAPI} 11 | */ 12 | export default class ConfigApi extends BaseAPI { 13 | public domainRestriction: DomainRestrictionApi; 14 | 15 | constructor(configuration: Configuration) { 16 | super(configuration); 17 | this.domainRestriction = new DomainRestrictionApi(configuration); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/models/DolbyDigitalPlusThreeDbAttenuation.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * –3 dB attenuation can be used to reduce the levels of the surround channels to compensate between the calibration of film dubbing stages and consumer replay environments. The surround channels in film studios are set 3 dB lower than the front channels (unlike consumer applications of 5.1), leading to the level on tape being 3 dB higher. Apply the 3 dB attenuation when using a master mixed in a film room. 3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DolbyDigitalPlusThreeDbAttenuation { 7 | ENABLED = 'ENABLED', 8 | DISABLED = 'DISABLED' 9 | } 10 | 11 | export default DolbyDigitalPlusThreeDbAttenuation; 12 | 13 | -------------------------------------------------------------------------------- /src/models/InputType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum InputType { 6 | AKAMAI_NETSTORAGE = 'AKAMAI_NETSTORAGE', 7 | ASPERA = 'ASPERA', 8 | AZURE = 'AZURE', 9 | REDUNDANT_RTMP = 'REDUNDANT_RTMP', 10 | FTP = 'FTP', 11 | HLS = 'HLS', 12 | GENERIC_S3 = 'GENERIC_S3', 13 | GCS = 'GCS', 14 | HTTP = 'HTTP', 15 | HTTPS = 'HTTPS', 16 | LOCAL = 'LOCAL', 17 | RTMP = 'RTMP', 18 | S3 = 'S3', 19 | S3_ROLE_BASED = 'S3_ROLE_BASED', 20 | SFTP = 'SFTP', 21 | ZIXI = 'ZIXI', 22 | SRT = 'SRT', 23 | GCS_SERVICE_ACCOUNT = 'GCS_SERVICE_ACCOUNT', 24 | DIRECT_FILE_UPLOAD = 'DIRECT_FILE_UPLOAD' 25 | } 26 | 27 | export default InputType; 28 | 29 | -------------------------------------------------------------------------------- /src/models/InputColorTransfer.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum InputColorTransfer { 6 | UNSPECIFIED = 'UNSPECIFIED', 7 | BT709 = 'BT709', 8 | GAMMA22 = 'GAMMA22', 9 | GAMMA28 = 'GAMMA28', 10 | SMPTE170M = 'SMPTE170M', 11 | SMPTE240M = 'SMPTE240M', 12 | LINEAR = 'LINEAR', 13 | LOG = 'LOG', 14 | LOG_SQRT = 'LOG_SQRT', 15 | IEC61966_2_4 = 'IEC61966_2_4', 16 | BT1361_ECG = 'BT1361_ECG', 17 | IEC61966_2_1 = 'IEC61966_2_1', 18 | BT2020_10 = 'BT2020_10', 19 | BT2020_12 = 'BT2020_12', 20 | SMPTE2084 = 'SMPTE2084', 21 | SMPTE428 = 'SMPTE428', 22 | ARIB_STD_B67 = 'ARIB_STD_B67' 23 | } 24 | 25 | export default InputColorTransfer; 26 | 27 | -------------------------------------------------------------------------------- /src/encoding/encodings/inputStreams/subtitles/SubtitlesApi.ts: -------------------------------------------------------------------------------- 1 | import {BaseAPI} from '../../../../common/BaseAPI'; 2 | import Configuration from '../../../../common/Configuration'; 3 | import {map, mapArray} from '../../../../common/Mapper'; 4 | import DvbSubtitleApi from './dvbSubtitle/DvbSubtitleApi'; 5 | 6 | /** 7 | * SubtitlesApi - object-oriented interface 8 | * @export 9 | * @class SubtitlesApi 10 | * @extends {BaseAPI} 11 | */ 12 | export default class SubtitlesApi extends BaseAPI { 13 | public dvbSubtitle: DvbSubtitleApi; 14 | 15 | constructor(configuration: Configuration) { 16 | super(configuration); 17 | this.dvbSubtitle = new DvbSubtitleApi(configuration); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/models/AnalyticsAvgQueryRequest.ts: -------------------------------------------------------------------------------- 1 | import AnalyticsAbstractFilter from './AnalyticsAbstractFilter'; 2 | import AnalyticsAttribute from './AnalyticsAttribute'; 3 | import AnalyticsInterval from './AnalyticsInterval'; 4 | import AnalyticsOrderByEntry from './AnalyticsOrderByEntry'; 5 | import AnalyticsQueryRequest from './AnalyticsQueryRequest'; 6 | 7 | /** 8 | * @export 9 | * @class AnalyticsAvgQueryRequest 10 | */ 11 | export class AnalyticsAvgQueryRequest extends AnalyticsQueryRequest { 12 | constructor(obj?: Partial) { 13 | super(obj); 14 | if(!obj) { 15 | return; 16 | } 17 | } 18 | } 19 | 20 | export default AnalyticsAvgQueryRequest; 21 | 22 | -------------------------------------------------------------------------------- /src/models/AnalyticsMaxQueryRequest.ts: -------------------------------------------------------------------------------- 1 | import AnalyticsAbstractFilter from './AnalyticsAbstractFilter'; 2 | import AnalyticsAttribute from './AnalyticsAttribute'; 3 | import AnalyticsInterval from './AnalyticsInterval'; 4 | import AnalyticsOrderByEntry from './AnalyticsOrderByEntry'; 5 | import AnalyticsQueryRequest from './AnalyticsQueryRequest'; 6 | 7 | /** 8 | * @export 9 | * @class AnalyticsMaxQueryRequest 10 | */ 11 | export class AnalyticsMaxQueryRequest extends AnalyticsQueryRequest { 12 | constructor(obj?: Partial) { 13 | super(obj); 14 | if(!obj) { 15 | return; 16 | } 17 | } 18 | } 19 | 20 | export default AnalyticsMaxQueryRequest; 21 | 22 | -------------------------------------------------------------------------------- /src/models/AnalyticsMinQueryRequest.ts: -------------------------------------------------------------------------------- 1 | import AnalyticsAbstractFilter from './AnalyticsAbstractFilter'; 2 | import AnalyticsAttribute from './AnalyticsAttribute'; 3 | import AnalyticsInterval from './AnalyticsInterval'; 4 | import AnalyticsOrderByEntry from './AnalyticsOrderByEntry'; 5 | import AnalyticsQueryRequest from './AnalyticsQueryRequest'; 6 | 7 | /** 8 | * @export 9 | * @class AnalyticsMinQueryRequest 10 | */ 11 | export class AnalyticsMinQueryRequest extends AnalyticsQueryRequest { 12 | constructor(obj?: Partial) { 13 | super(obj); 14 | if(!obj) { 15 | return; 16 | } 17 | } 18 | } 19 | 20 | export default AnalyticsMinQueryRequest; 21 | 22 | -------------------------------------------------------------------------------- /src/models/AnalyticsSumQueryRequest.ts: -------------------------------------------------------------------------------- 1 | import AnalyticsAbstractFilter from './AnalyticsAbstractFilter'; 2 | import AnalyticsAttribute from './AnalyticsAttribute'; 3 | import AnalyticsInterval from './AnalyticsInterval'; 4 | import AnalyticsOrderByEntry from './AnalyticsOrderByEntry'; 5 | import AnalyticsQueryRequest from './AnalyticsQueryRequest'; 6 | 7 | /** 8 | * @export 9 | * @class AnalyticsSumQueryRequest 10 | */ 11 | export class AnalyticsSumQueryRequest extends AnalyticsQueryRequest { 12 | constructor(obj?: Partial) { 13 | super(obj); 14 | if(!obj) { 15 | return; 16 | } 17 | } 18 | } 19 | 20 | export default AnalyticsSumQueryRequest; 21 | 22 | -------------------------------------------------------------------------------- /src/models/InputPath.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class InputPath 6 | */ 7 | export class InputPath { 8 | /** 9 | * Id of input (required) 10 | * @type {string} 11 | * @memberof InputPath 12 | */ 13 | public inputId?: string; 14 | 15 | /** 16 | * Path to media file (required) 17 | * @type {string} 18 | * @memberof InputPath 19 | */ 20 | public inputPath?: string; 21 | 22 | constructor(obj?: Partial) { 23 | if(!obj) { 24 | return; 25 | } 26 | this.inputId = map(obj.inputId); 27 | this.inputPath = map(obj.inputPath); 28 | } 29 | } 30 | 31 | export default InputPath; 32 | 33 | -------------------------------------------------------------------------------- /src/models/OrConjunction.ts: -------------------------------------------------------------------------------- 1 | import AbstractCondition from './AbstractCondition'; 2 | import AbstractConjunction from './AbstractConjunction'; 3 | import ConditionType from './ConditionType'; 4 | 5 | /** 6 | * @export 7 | * @class OrConjunction 8 | */ 9 | export class OrConjunction extends AbstractConjunction { 10 | /** 11 | * Discriminator property for AbstractCondition 12 | * @type {string} 13 | * @memberof OrConjunction 14 | */ 15 | public readonly type: ConditionType = ConditionType.OR; 16 | 17 | constructor(obj?: Partial) { 18 | super(obj); 19 | if(!obj) { 20 | return; 21 | } 22 | } 23 | } 24 | 25 | export default OrConjunction; 26 | 27 | -------------------------------------------------------------------------------- /src/models/Scte35Trigger.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import BitmovinResponse from './BitmovinResponse'; 3 | 4 | /** 5 | * @export 6 | * @class Scte35Trigger 7 | */ 8 | export class Scte35Trigger extends BitmovinResponse { 9 | /** 10 | * The base 64 encoded data for the SCTE trigger (required) 11 | * @type {string} 12 | * @memberof Scte35Trigger 13 | */ 14 | public base64EncodedMetadata?: string; 15 | 16 | constructor(obj?: Partial) { 17 | super(obj); 18 | if(!obj) { 19 | return; 20 | } 21 | this.base64EncodedMetadata = map(obj.base64EncodedMetadata); 22 | } 23 | } 24 | 25 | export default Scte35Trigger; 26 | 27 | -------------------------------------------------------------------------------- /src/models/TenantGroupDetail.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class TenantGroupDetail 6 | */ 7 | export class TenantGroupDetail { 8 | /** 9 | * Id of Group 10 | * @type {string} 11 | * @memberof TenantGroupDetail 12 | */ 13 | public id?: string; 14 | 15 | /** 16 | * Name of Group 17 | * @type {string} 18 | * @memberof TenantGroupDetail 19 | */ 20 | public name?: string; 21 | 22 | constructor(obj?: Partial) { 23 | if(!obj) { 24 | return; 25 | } 26 | this.id = map(obj.id); 27 | this.name = map(obj.name); 28 | } 29 | } 30 | 31 | export default TenantGroupDetail; 32 | 33 | -------------------------------------------------------------------------------- /src/models/AndConjunction.ts: -------------------------------------------------------------------------------- 1 | import AbstractCondition from './AbstractCondition'; 2 | import AbstractConjunction from './AbstractConjunction'; 3 | import ConditionType from './ConditionType'; 4 | 5 | /** 6 | * @export 7 | * @class AndConjunction 8 | */ 9 | export class AndConjunction extends AbstractConjunction { 10 | /** 11 | * Discriminator property for AbstractCondition 12 | * @type {string} 13 | * @memberof AndConjunction 14 | */ 15 | public readonly type: ConditionType = ConditionType.AND; 16 | 17 | constructor(obj?: Partial) { 18 | super(obj); 19 | if(!obj) { 20 | return; 21 | } 22 | } 23 | } 24 | 25 | export default AndConjunction; 26 | 27 | -------------------------------------------------------------------------------- /src/models/AnalyticsCountQueryRequest.ts: -------------------------------------------------------------------------------- 1 | import AnalyticsAbstractFilter from './AnalyticsAbstractFilter'; 2 | import AnalyticsAttribute from './AnalyticsAttribute'; 3 | import AnalyticsInterval from './AnalyticsInterval'; 4 | import AnalyticsOrderByEntry from './AnalyticsOrderByEntry'; 5 | import AnalyticsQueryRequest from './AnalyticsQueryRequest'; 6 | 7 | /** 8 | * @export 9 | * @class AnalyticsCountQueryRequest 10 | */ 11 | export class AnalyticsCountQueryRequest extends AnalyticsQueryRequest { 12 | constructor(obj?: Partial) { 13 | super(obj); 14 | if(!obj) { 15 | return; 16 | } 17 | } 18 | } 19 | 20 | export default AnalyticsCountQueryRequest; 21 | 22 | -------------------------------------------------------------------------------- /src/models/AudioMediaInfo.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import StandardMediaInfo from './StandardMediaInfo'; 3 | 4 | /** 5 | * @export 6 | * @class AudioMediaInfo 7 | */ 8 | export class AudioMediaInfo extends StandardMediaInfo { 9 | /** 10 | * A value of true indicates that the Rendition contains content which is considered essential to play. 11 | * @type {boolean} 12 | * @memberof AudioMediaInfo 13 | */ 14 | public forced?: boolean; 15 | 16 | constructor(obj?: Partial) { 17 | super(obj); 18 | if(!obj) { 19 | return; 20 | } 21 | this.forced = map(obj.forced); 22 | } 23 | } 24 | 25 | export default AudioMediaInfo; 26 | 27 | -------------------------------------------------------------------------------- /src/models/AnalyticsMedianQueryRequest.ts: -------------------------------------------------------------------------------- 1 | import AnalyticsAbstractFilter from './AnalyticsAbstractFilter'; 2 | import AnalyticsAttribute from './AnalyticsAttribute'; 3 | import AnalyticsInterval from './AnalyticsInterval'; 4 | import AnalyticsOrderByEntry from './AnalyticsOrderByEntry'; 5 | import AnalyticsQueryRequest from './AnalyticsQueryRequest'; 6 | 7 | /** 8 | * @export 9 | * @class AnalyticsMedianQueryRequest 10 | */ 11 | export class AnalyticsMedianQueryRequest extends AnalyticsQueryRequest { 12 | constructor(obj?: Partial) { 13 | super(obj); 14 | if(!obj) { 15 | return; 16 | } 17 | } 18 | } 19 | 20 | export default AnalyticsMedianQueryRequest; 21 | 22 | -------------------------------------------------------------------------------- /src/models/AnalyticsStddevQueryRequest.ts: -------------------------------------------------------------------------------- 1 | import AnalyticsAbstractFilter from './AnalyticsAbstractFilter'; 2 | import AnalyticsAttribute from './AnalyticsAttribute'; 3 | import AnalyticsInterval from './AnalyticsInterval'; 4 | import AnalyticsOrderByEntry from './AnalyticsOrderByEntry'; 5 | import AnalyticsQueryRequest from './AnalyticsQueryRequest'; 6 | 7 | /** 8 | * @export 9 | * @class AnalyticsStddevQueryRequest 10 | */ 11 | export class AnalyticsStddevQueryRequest extends AnalyticsQueryRequest { 12 | constructor(obj?: Partial) { 13 | super(obj); 14 | if(!obj) { 15 | return; 16 | } 17 | } 18 | } 19 | 20 | export default AnalyticsStddevQueryRequest; 21 | 22 | -------------------------------------------------------------------------------- /src/models/AudioGroup.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class AudioGroup 6 | */ 7 | export class AudioGroup { 8 | /** 9 | * Name of the audio group (required) 10 | * @type {string} 11 | * @memberof AudioGroup 12 | */ 13 | public name?: string; 14 | 15 | /** 16 | * Priority of the audio group (required) 17 | * @type {number} 18 | * @memberof AudioGroup 19 | */ 20 | public priority?: number; 21 | 22 | constructor(obj?: Partial) { 23 | if(!obj) { 24 | return; 25 | } 26 | this.name = map(obj.name); 27 | this.priority = map(obj.priority); 28 | } 29 | } 30 | 31 | export default AudioGroup; 32 | 33 | -------------------------------------------------------------------------------- /src/models/AnalyticsErrorDetailsResponse.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import AnalyticsErrorDetail from './AnalyticsErrorDetail'; 3 | 4 | /** 5 | * @export 6 | * @class AnalyticsErrorDetailsResponse 7 | */ 8 | export class AnalyticsErrorDetailsResponse { 9 | /** 10 | * @type {AnalyticsErrorDetail[]} 11 | * @memberof AnalyticsErrorDetailsResponse 12 | */ 13 | public errorDetails?: AnalyticsErrorDetail[]; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.errorDetails = mapArray(obj.errorDetails, AnalyticsErrorDetail); 20 | } 21 | } 22 | 23 | export default AnalyticsErrorDetailsResponse; 24 | 25 | -------------------------------------------------------------------------------- /src/models/AwsCloudRegion.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum AwsCloudRegion { 6 | US_EAST_1 = 'US_EAST_1', 7 | US_EAST_2 = 'US_EAST_2', 8 | US_WEST_1 = 'US_WEST_1', 9 | US_WEST_2 = 'US_WEST_2', 10 | EU_WEST_1 = 'EU_WEST_1', 11 | EU_CENTRAL_1 = 'EU_CENTRAL_1', 12 | AP_SOUTHEAST_1 = 'AP_SOUTHEAST_1', 13 | AP_SOUTHEAST_2 = 'AP_SOUTHEAST_2', 14 | AP_NORTHEAST_1 = 'AP_NORTHEAST_1', 15 | AP_NORTHEAST_2 = 'AP_NORTHEAST_2', 16 | AP_SOUTH_1 = 'AP_SOUTH_1', 17 | SA_EAST_1 = 'SA_EAST_1', 18 | EU_WEST_2 = 'EU_WEST_2', 19 | EU_WEST_3 = 'EU_WEST_3', 20 | CA_CENTRAL_1 = 'CA_CENTRAL_1', 21 | EU_NORTH_1 = 'EU_NORTH_1' 22 | } 23 | 24 | export default AwsCloudRegion; 25 | 26 | -------------------------------------------------------------------------------- /src/models/DashScte35EventStreamSignalling.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Defines how SCTE-35 events are delivered using DASH EventStream.
  • XML: Events will contain an XML representation of a SCTE-35 cue message as a SpliceInfoSection element as defined in SCTE-35. The schemeIdUri will be \"urn:scte:scte35:2013:xml.
  • XML_BIN: Events will contain an XML representation of a SCTE-35 cue message as a Signal.Binary element as defined in SCTE-35. The schemeIdUri will be \"urn:scte:scte35:2014:xml+bin
3 | * @export 4 | * @enum {string} 5 | */ 6 | export enum DashScte35EventStreamSignalling { 7 | XML = 'XML', 8 | XML_BIN = 'XML_BIN' 9 | } 10 | 11 | export default DashScte35EventStreamSignalling; 12 | 13 | -------------------------------------------------------------------------------- /src/models/AnalyticsHttpRequestType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum AnalyticsHttpRequestType { 6 | DRM_LICENSE_WIDEVINE_ = 'DRM_LICENSE_WIDEVINE,', 7 | MEDIA_THUMBNAILS_ = 'MEDIA_THUMBNAILS,', 8 | MEDIA_VIDEO_ = 'MEDIA_VIDEO,', 9 | MEDIA_AUDIO_ = 'MEDIA_AUDIO,', 10 | MEDIA_PROGRESSIVE_ = 'MEDIA_PROGRESSIVE,', 11 | MEDIA_SUBTITLES_ = 'MEDIA_SUBTITLES,', 12 | MANIFEST_DASH_ = 'MANIFEST_DASH,', 13 | MANIFEST_HLS_MASTER_ = 'MANIFEST_HLS_MASTER,', 14 | MANIFEST_HLS_VARIANT_ = 'MANIFEST_HLS_VARIANT,', 15 | MANIFEST_SMOOTH_ = 'MANIFEST_SMOOTH,', 16 | KEY_HLS_AES_ = 'KEY_HLS_AES,', 17 | UNKNOWN = 'UNKNOWN' 18 | } 19 | 20 | export default AnalyticsHttpRequestType; 21 | 22 | -------------------------------------------------------------------------------- /src/models/AnalyticsVarianceQueryRequest.ts: -------------------------------------------------------------------------------- 1 | import AnalyticsAbstractFilter from './AnalyticsAbstractFilter'; 2 | import AnalyticsAttribute from './AnalyticsAttribute'; 3 | import AnalyticsInterval from './AnalyticsInterval'; 4 | import AnalyticsOrderByEntry from './AnalyticsOrderByEntry'; 5 | import AnalyticsQueryRequest from './AnalyticsQueryRequest'; 6 | 7 | /** 8 | * @export 9 | * @class AnalyticsVarianceQueryRequest 10 | */ 11 | export class AnalyticsVarianceQueryRequest extends AnalyticsQueryRequest { 12 | constructor(obj?: Partial) { 13 | super(obj); 14 | if(!obj) { 15 | return; 16 | } 17 | } 18 | } 19 | 20 | export default AnalyticsVarianceQueryRequest; 21 | 22 | -------------------------------------------------------------------------------- /src/models/FilterType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum FilterType { 6 | CROP = 'CROP', 7 | CONFORM = 'CONFORM', 8 | WATERMARK = 'WATERMARK', 9 | ENHANCED_WATERMARK = 'ENHANCED_WATERMARK', 10 | ROTATE = 'ROTATE', 11 | DEINTERLACE = 'DEINTERLACE', 12 | ENHANCED_DEINTERLACE = 'ENHANCED_DEINTERLACE', 13 | AUDIO_MIX = 'AUDIO_MIX', 14 | DENOISE_HQDN3D = 'DENOISE_HQDN3D', 15 | TEXT = 'TEXT', 16 | UNSHARP = 'UNSHARP', 17 | SCALE = 'SCALE', 18 | INTERLACE = 'INTERLACE', 19 | AUDIO_VOLUME = 'AUDIO_VOLUME', 20 | EBU_R128_SINGLE_PASS = 'EBU_R128_SINGLE_PASS', 21 | AZURE_SPEECH_TO_CAPTIONS = 'AZURE_SPEECH_TO_CAPTIONS' 22 | } 23 | 24 | export default FilterType; 25 | 26 | -------------------------------------------------------------------------------- /src/models/TimeSpan.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class TimeSpan 6 | */ 7 | export class TimeSpan { 8 | /** 9 | * Start offset of the time frame in milliseconds (required) 10 | * @type {number} 11 | * @memberof TimeSpan 12 | */ 13 | public from?: number; 14 | 15 | /** 16 | * End offset of the time frame in milliseconds (required) 17 | * @type {number} 18 | * @memberof TimeSpan 19 | */ 20 | public to?: number; 21 | 22 | constructor(obj?: Partial) { 23 | if(!obj) { 24 | return; 25 | } 26 | this.from = map(obj.from); 27 | this.to = map(obj.to); 28 | } 29 | } 30 | 31 | export default TimeSpan; 32 | 33 | -------------------------------------------------------------------------------- /src/models/AdAnalyticsAvgQueryRequest.ts: -------------------------------------------------------------------------------- 1 | import AdAnalyticsAbstractFilter from './AdAnalyticsAbstractFilter'; 2 | import AdAnalyticsAttribute from './AdAnalyticsAttribute'; 3 | import AdAnalyticsOrderByEntry from './AdAnalyticsOrderByEntry'; 4 | import AdAnalyticsQueryRequest from './AdAnalyticsQueryRequest'; 5 | import AnalyticsInterval from './AnalyticsInterval'; 6 | 7 | /** 8 | * @export 9 | * @class AdAnalyticsAvgQueryRequest 10 | */ 11 | export class AdAnalyticsAvgQueryRequest extends AdAnalyticsQueryRequest { 12 | constructor(obj?: Partial) { 13 | super(obj); 14 | if(!obj) { 15 | return; 16 | } 17 | } 18 | } 19 | 20 | export default AdAnalyticsAvgQueryRequest; 21 | 22 | -------------------------------------------------------------------------------- /src/models/AdAnalyticsMaxQueryRequest.ts: -------------------------------------------------------------------------------- 1 | import AdAnalyticsAbstractFilter from './AdAnalyticsAbstractFilter'; 2 | import AdAnalyticsAttribute from './AdAnalyticsAttribute'; 3 | import AdAnalyticsOrderByEntry from './AdAnalyticsOrderByEntry'; 4 | import AdAnalyticsQueryRequest from './AdAnalyticsQueryRequest'; 5 | import AnalyticsInterval from './AnalyticsInterval'; 6 | 7 | /** 8 | * @export 9 | * @class AdAnalyticsMaxQueryRequest 10 | */ 11 | export class AdAnalyticsMaxQueryRequest extends AdAnalyticsQueryRequest { 12 | constructor(obj?: Partial) { 13 | super(obj); 14 | if(!obj) { 15 | return; 16 | } 17 | } 18 | } 19 | 20 | export default AdAnalyticsMaxQueryRequest; 21 | 22 | -------------------------------------------------------------------------------- /src/models/AdAnalyticsMinQueryRequest.ts: -------------------------------------------------------------------------------- 1 | import AdAnalyticsAbstractFilter from './AdAnalyticsAbstractFilter'; 2 | import AdAnalyticsAttribute from './AdAnalyticsAttribute'; 3 | import AdAnalyticsOrderByEntry from './AdAnalyticsOrderByEntry'; 4 | import AdAnalyticsQueryRequest from './AdAnalyticsQueryRequest'; 5 | import AnalyticsInterval from './AnalyticsInterval'; 6 | 7 | /** 8 | * @export 9 | * @class AdAnalyticsMinQueryRequest 10 | */ 11 | export class AdAnalyticsMinQueryRequest extends AdAnalyticsQueryRequest { 12 | constructor(obj?: Partial) { 13 | super(obj); 14 | if(!obj) { 15 | return; 16 | } 17 | } 18 | } 19 | 20 | export default AdAnalyticsMinQueryRequest; 21 | 22 | -------------------------------------------------------------------------------- /src/models/AdAnalyticsSumQueryRequest.ts: -------------------------------------------------------------------------------- 1 | import AdAnalyticsAbstractFilter from './AdAnalyticsAbstractFilter'; 2 | import AdAnalyticsAttribute from './AdAnalyticsAttribute'; 3 | import AdAnalyticsOrderByEntry from './AdAnalyticsOrderByEntry'; 4 | import AdAnalyticsQueryRequest from './AdAnalyticsQueryRequest'; 5 | import AnalyticsInterval from './AnalyticsInterval'; 6 | 7 | /** 8 | * @export 9 | * @class AdAnalyticsSumQueryRequest 10 | */ 11 | export class AdAnalyticsSumQueryRequest extends AdAnalyticsQueryRequest { 12 | constructor(obj?: Partial) { 13 | super(obj); 14 | if(!obj) { 15 | return; 16 | } 17 | } 18 | } 19 | 20 | export default AdAnalyticsSumQueryRequest; 21 | 22 | -------------------------------------------------------------------------------- /src/models/CustomWebPlayerBuildDomain.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import BitmovinResource from './BitmovinResource'; 3 | 4 | /** 5 | * @export 6 | * @class CustomWebPlayerBuildDomain 7 | */ 8 | export class CustomWebPlayerBuildDomain extends BitmovinResource { 9 | /** 10 | * Domain where the player is allowed to play (required) 11 | * @type {string} 12 | * @memberof CustomWebPlayerBuildDomain 13 | */ 14 | public domain?: string; 15 | 16 | constructor(obj?: Partial) { 17 | super(obj); 18 | if(!obj) { 19 | return; 20 | } 21 | this.domain = map(obj.domain); 22 | } 23 | } 24 | 25 | export default CustomWebPlayerBuildDomain; 26 | 27 | -------------------------------------------------------------------------------- /src/models/DvbSubtitleConfiguration.ts: -------------------------------------------------------------------------------- 1 | import CodecConfigType from './CodecConfigType'; 2 | import SubtitleConfiguration from './SubtitleConfiguration'; 3 | 4 | /** 5 | * @export 6 | * @class DvbSubtitleConfiguration 7 | */ 8 | export class DvbSubtitleConfiguration extends SubtitleConfiguration { 9 | /** 10 | * Discriminator property for CodecConfiguration 11 | * @type {string} 12 | * @memberof DvbSubtitleConfiguration 13 | */ 14 | public readonly type: CodecConfigType = CodecConfigType.DVB_SUBTITLE; 15 | 16 | constructor(obj?: Partial) { 17 | super(obj); 18 | if(!obj) { 19 | return; 20 | } 21 | } 22 | } 23 | 24 | export default DvbSubtitleConfiguration; 25 | 26 | -------------------------------------------------------------------------------- /src/models/InputStreamType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @export 3 | * @enum {string} 4 | */ 5 | export enum InputStreamType { 6 | INGEST = 'INGEST', 7 | CONCATENATION = 'CONCATENATION', 8 | TRIMMING_TIME_BASED = 'TRIMMING_TIME_BASED', 9 | TRIMMING_TIME_CODE_TRACK = 'TRIMMING_TIME_CODE_TRACK', 10 | TRIMMING_H264_PICTURE_TIMING = 'TRIMMING_H264_PICTURE_TIMING', 11 | SIDECAR_DOLBY_VISION_METADATA = 'SIDECAR_DOLBY_VISION_METADATA', 12 | AUDIO_MIX = 'AUDIO_MIX', 13 | FILE = 'FILE', 14 | CAPTION_CEA608 = 'CAPTION_CEA608', 15 | CAPTION_CEA708 = 'CAPTION_CEA708', 16 | DVB_SUBTITLE = 'DVB_SUBTITLE', 17 | DOLBY_ATMOS = 'DOLBY_ATMOS', 18 | DOLBY_VISION = 'DOLBY_VISION' 19 | } 20 | 21 | export default InputStreamType; 22 | 23 | -------------------------------------------------------------------------------- /src/models/SubtitlesMediaInfo.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import StandardMediaInfo from './StandardMediaInfo'; 3 | 4 | /** 5 | * @export 6 | * @class SubtitlesMediaInfo 7 | */ 8 | export class SubtitlesMediaInfo extends StandardMediaInfo { 9 | /** 10 | * A value of true indicates that the Rendition contains content which is considered essential to play. 11 | * @type {boolean} 12 | * @memberof SubtitlesMediaInfo 13 | */ 14 | public forced?: boolean; 15 | 16 | constructor(obj?: Partial) { 17 | super(obj); 18 | if(!obj) { 19 | return; 20 | } 21 | this.forced = map(obj.forced); 22 | } 23 | } 24 | 25 | export default SubtitlesMediaInfo; 26 | 27 | -------------------------------------------------------------------------------- /src/models/Tweaks.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import AudioVideoSyncMode from './AudioVideoSyncMode'; 3 | 4 | /** 5 | * @export 6 | * @class Tweaks 7 | */ 8 | export class Tweaks { 9 | /** 10 | * Different modes for syncing the start and end of audio input streams with the video inputs. This feature does not work with Dolby Digital (Plus) or Dolby Atmos. 11 | * @type {AudioVideoSyncMode} 12 | * @memberof Tweaks 13 | */ 14 | public audioVideoSyncMode?: AudioVideoSyncMode; 15 | 16 | constructor(obj?: Partial) { 17 | if(!obj) { 18 | return; 19 | } 20 | this.audioVideoSyncMode = map(obj.audioVideoSyncMode); 21 | } 22 | } 23 | 24 | export default Tweaks; 25 | 26 | -------------------------------------------------------------------------------- /src/models/AbstractConjunction.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import AbstractCondition from './AbstractCondition'; 3 | 4 | /** 5 | * @export 6 | * @class AbstractConjunction 7 | */ 8 | export class AbstractConjunction extends AbstractCondition { 9 | /** 10 | * Array to perform the AND/OR evaluation on 11 | * @type {AbstractCondition[]} 12 | * @memberof AbstractConjunction 13 | */ 14 | public conditions?: AbstractCondition[]; 15 | 16 | constructor(obj?: Partial) { 17 | super(obj); 18 | if(!obj) { 19 | return; 20 | } 21 | this.conditions = mapArray(obj.conditions, AbstractCondition); 22 | } 23 | } 24 | 25 | export default AbstractConjunction; 26 | 27 | -------------------------------------------------------------------------------- /src/models/AdAnalyticsCountQueryRequest.ts: -------------------------------------------------------------------------------- 1 | import AdAnalyticsAbstractFilter from './AdAnalyticsAbstractFilter'; 2 | import AdAnalyticsAttribute from './AdAnalyticsAttribute'; 3 | import AdAnalyticsOrderByEntry from './AdAnalyticsOrderByEntry'; 4 | import AdAnalyticsQueryRequest from './AdAnalyticsQueryRequest'; 5 | import AnalyticsInterval from './AnalyticsInterval'; 6 | 7 | /** 8 | * @export 9 | * @class AdAnalyticsCountQueryRequest 10 | */ 11 | export class AdAnalyticsCountQueryRequest extends AdAnalyticsQueryRequest { 12 | constructor(obj?: Partial) { 13 | super(obj); 14 | if(!obj) { 15 | return; 16 | } 17 | } 18 | } 19 | 20 | export default AdAnalyticsCountQueryRequest; 21 | 22 | -------------------------------------------------------------------------------- /src/models/EncodingTemplateResponse.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import BitmovinResource from './BitmovinResource'; 3 | import EncodingTemplateType from './EncodingTemplateType'; 4 | 5 | /** 6 | * @export 7 | * @class EncodingTemplateResponse 8 | */ 9 | export class EncodingTemplateResponse extends BitmovinResource { 10 | /** 11 | * @type {EncodingTemplateType} 12 | * @memberof EncodingTemplateResponse 13 | */ 14 | public type?: EncodingTemplateType; 15 | 16 | constructor(obj?: Partial) { 17 | super(obj); 18 | if(!obj) { 19 | return; 20 | } 21 | this.type = map(obj.type); 22 | } 23 | } 24 | 25 | export default EncodingTemplateResponse; 26 | 27 | -------------------------------------------------------------------------------- /src/encoding/encodings/streams/captions/cea/CeaApi.ts: -------------------------------------------------------------------------------- 1 | import {BaseAPI} from '../../../../../common/BaseAPI'; 2 | import Configuration from '../../../../../common/Configuration'; 3 | import {map, mapArray} from '../../../../../common/Mapper'; 4 | import SccApi from './scc/SccApi'; 5 | import SrtApi from './srt/SrtApi'; 6 | 7 | /** 8 | * CeaApi - object-oriented interface 9 | * @export 10 | * @class CeaApi 11 | * @extends {BaseAPI} 12 | */ 13 | export default class CeaApi extends BaseAPI { 14 | public scc: SccApi; 15 | public srt: SrtApi; 16 | 17 | constructor(configuration: Configuration) { 18 | super(configuration); 19 | this.scc = new SccApi(configuration); 20 | this.srt = new SrtApi(configuration); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/models/AdAnalyticsMedianQueryRequest.ts: -------------------------------------------------------------------------------- 1 | import AdAnalyticsAbstractFilter from './AdAnalyticsAbstractFilter'; 2 | import AdAnalyticsAttribute from './AdAnalyticsAttribute'; 3 | import AdAnalyticsOrderByEntry from './AdAnalyticsOrderByEntry'; 4 | import AdAnalyticsQueryRequest from './AdAnalyticsQueryRequest'; 5 | import AnalyticsInterval from './AnalyticsInterval'; 6 | 7 | /** 8 | * @export 9 | * @class AdAnalyticsMedianQueryRequest 10 | */ 11 | export class AdAnalyticsMedianQueryRequest extends AdAnalyticsQueryRequest { 12 | constructor(obj?: Partial) { 13 | super(obj); 14 | if(!obj) { 15 | return; 16 | } 17 | } 18 | } 19 | 20 | export default AdAnalyticsMedianQueryRequest; 21 | 22 | -------------------------------------------------------------------------------- /src/models/AdAnalyticsStddevQueryRequest.ts: -------------------------------------------------------------------------------- 1 | import AdAnalyticsAbstractFilter from './AdAnalyticsAbstractFilter'; 2 | import AdAnalyticsAttribute from './AdAnalyticsAttribute'; 3 | import AdAnalyticsOrderByEntry from './AdAnalyticsOrderByEntry'; 4 | import AdAnalyticsQueryRequest from './AdAnalyticsQueryRequest'; 5 | import AnalyticsInterval from './AnalyticsInterval'; 6 | 7 | /** 8 | * @export 9 | * @class AdAnalyticsStddevQueryRequest 10 | */ 11 | export class AdAnalyticsStddevQueryRequest extends AdAnalyticsQueryRequest { 12 | constructor(obj?: Partial) { 13 | super(obj); 14 | if(!obj) { 15 | return; 16 | } 17 | } 18 | } 19 | 20 | export default AdAnalyticsStddevQueryRequest; 21 | 22 | -------------------------------------------------------------------------------- /src/models/Rating.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | 3 | /** 4 | * @export 5 | * @class Rating 6 | */ 7 | export class Rating { 8 | /** 9 | * @type {string} 10 | * @memberof Rating 11 | */ 12 | public region?: string; 13 | 14 | /** 15 | * @type {string} 16 | * @memberof Rating 17 | */ 18 | public system?: string; 19 | 20 | /** 21 | * @type {string} 22 | * @memberof Rating 23 | */ 24 | public rating?: string; 25 | 26 | constructor(obj?: Partial) { 27 | if(!obj) { 28 | return; 29 | } 30 | this.region = map(obj.region); 31 | this.system = map(obj.system); 32 | this.rating = map(obj.rating); 33 | } 34 | } 35 | 36 | export default Rating; 37 | 38 | -------------------------------------------------------------------------------- /src/models/StreamsPublicSigningKeyResponse.ts: -------------------------------------------------------------------------------- 1 | import {map, mapArray} from '../common/Mapper'; 2 | import StreamsPublicSigningKey from './StreamsPublicSigningKey'; 3 | 4 | /** 5 | * @export 6 | * @class StreamsPublicSigningKeyResponse 7 | */ 8 | export class StreamsPublicSigningKeyResponse { 9 | /** 10 | * @type {StreamsPublicSigningKey[]} 11 | * @memberof StreamsPublicSigningKeyResponse 12 | */ 13 | public publicKeys?: StreamsPublicSigningKey[]; 14 | 15 | constructor(obj?: Partial) { 16 | if(!obj) { 17 | return; 18 | } 19 | this.publicKeys = mapArray(obj.publicKeys, StreamsPublicSigningKey); 20 | } 21 | } 22 | 23 | export default StreamsPublicSigningKeyResponse; 24 | 25 | --------------------------------------------------------------------------------