@bitmovin/api-sdk 1.97.0 → 1.101.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/bitmovin-api-sdk.browser.js +1793 -290
- package/dist/bitmovin-api-sdk.browser.js.map +1 -1
- package/dist/bitmovin-api-sdk.browser.min.js +2 -2
- package/dist/common/RestClient.js +1 -1
- package/dist/common/RestClient.js.map +1 -1
- package/dist/encoding/EncodingApi.d.ts +2 -0
- package/dist/encoding/EncodingApi.js +2 -0
- package/dist/encoding/EncodingApi.js.map +1 -1
- package/dist/encoding/encodings/live/insertableContent/stop/StopApi.d.ts +1 -1
- package/dist/encoding/encodings/live/insertableContent/stop/StopApi.js +1 -1
- package/dist/encoding/encodings/muxings/MuxingsApi.d.ts +2 -0
- package/dist/encoding/encodings/muxings/MuxingsApi.js +2 -0
- package/dist/encoding/encodings/muxings/MuxingsApi.js.map +1 -1
- package/dist/encoding/encodings/muxings/type/TypeApi.d.ts +20 -0
- package/dist/encoding/encodings/muxings/type/TypeApi.js +49 -0
- package/dist/encoding/encodings/muxings/type/TypeApi.js.map +1 -0
- package/dist/encoding/{statistics/daily/DailyStatisticsListByDateRangeQueryParams.d.ts → manifests/dash/periods/adaptationsets/AdaptationSetListQueryParams.d.ts} +5 -5
- package/dist/encoding/manifests/dash/periods/adaptationsets/AdaptationSetListQueryParams.js +30 -0
- package/dist/encoding/manifests/dash/periods/adaptationsets/AdaptationSetListQueryParams.js.map +1 -0
- package/dist/encoding/manifests/dash/periods/adaptationsets/AdaptationsetsApi.d.ts +14 -0
- package/dist/encoding/manifests/dash/periods/adaptationsets/AdaptationsetsApi.js +29 -0
- package/dist/encoding/manifests/dash/periods/adaptationsets/AdaptationsetsApi.js.map +1 -1
- package/dist/encoding/{statistics/encodings/live/daily/EncodingStatisticsLiveListByDateRangeQueryParams.d.ts → manifests/dash/periods/adaptationsets/representations/DashRepresentationListQueryParams.d.ts} +5 -5
- package/dist/encoding/manifests/dash/periods/adaptationsets/representations/DashRepresentationListQueryParams.js +30 -0
- package/dist/encoding/manifests/dash/periods/adaptationsets/representations/DashRepresentationListQueryParams.js.map +1 -0
- package/dist/encoding/manifests/dash/periods/adaptationsets/representations/RepresentationsApi.d.ts +15 -0
- package/dist/encoding/manifests/dash/periods/adaptationsets/representations/RepresentationsApi.js +31 -0
- package/dist/encoding/manifests/dash/periods/adaptationsets/representations/RepresentationsApi.js.map +1 -1
- package/dist/encoding/manifests/dash/periods/adaptationsets/representations/imsc/ImscApi.d.ts +2 -2
- package/dist/encoding/manifests/dash/periods/adaptationsets/representations/imsc/ImscApi.js +2 -2
- package/dist/encoding/manifests/dash/periods/adaptationsets/representations/sprite/SpriteApi.d.ts +1 -1
- package/dist/encoding/manifests/dash/periods/adaptationsets/representations/sprite/SpriteApi.js +1 -1
- package/dist/encoding/manifests/dash/periods/adaptationsets/representations/type/DashRepresentationTypeResponseGetQueryParams.d.ts +28 -0
- package/dist/encoding/manifests/dash/periods/adaptationsets/representations/type/DashRepresentationTypeResponseGetQueryParams.js +30 -0
- package/dist/encoding/manifests/dash/periods/adaptationsets/representations/type/DashRepresentationTypeResponseGetQueryParams.js.map +1 -0
- package/dist/encoding/manifests/dash/periods/adaptationsets/representations/type/TypeApi.d.ts +24 -0
- package/dist/encoding/manifests/dash/periods/adaptationsets/representations/type/TypeApi.js +62 -0
- package/dist/encoding/manifests/dash/periods/adaptationsets/representations/type/TypeApi.js.map +1 -0
- package/dist/encoding/manifests/dash/periods/adaptationsets/type/TypeApi.d.ts +21 -0
- package/dist/encoding/manifests/dash/periods/adaptationsets/type/TypeApi.js +51 -0
- package/dist/encoding/manifests/dash/periods/adaptationsets/type/TypeApi.js.map +1 -0
- package/dist/encoding/simple/SimpleApi.d.ts +13 -0
- package/dist/encoding/simple/SimpleApi.js +34 -0
- package/dist/encoding/simple/SimpleApi.js.map +1 -0
- package/dist/encoding/simple/jobs/JobsApi.d.ts +13 -0
- package/dist/encoding/simple/jobs/JobsApi.js +34 -0
- package/dist/encoding/simple/jobs/JobsApi.js.map +1 -0
- package/dist/encoding/simple/jobs/vod/SimpleEncodingVodJobResponseListQueryParams.d.ts +50 -0
- package/dist/encoding/simple/jobs/vod/SimpleEncodingVodJobResponseListQueryParams.js +46 -0
- package/dist/encoding/simple/jobs/vod/SimpleEncodingVodJobResponseListQueryParams.js.map +1 -0
- package/dist/encoding/simple/jobs/vod/VodApi.d.ts +36 -0
- package/dist/encoding/simple/jobs/vod/VodApi.js +78 -0
- package/dist/encoding/simple/jobs/vod/VodApi.js.map +1 -0
- package/dist/encoding/statistics/daily/DailyApi.d.ts +1 -3
- package/dist/encoding/statistics/daily/DailyApi.js +2 -11
- package/dist/encoding/statistics/daily/DailyApi.js.map +1 -1
- package/dist/encoding/statistics/encodings/live/daily/DailyApi.d.ts +1 -3
- package/dist/encoding/statistics/encodings/live/daily/DailyApi.js +2 -11
- package/dist/encoding/statistics/encodings/live/daily/DailyApi.js.map +1 -1
- package/dist/encoding/statistics/encodings/vod/VodApi.d.ts +2 -0
- package/dist/encoding/statistics/encodings/vod/VodApi.js +4 -1
- package/dist/encoding/statistics/encodings/vod/VodApi.js.map +1 -1
- package/dist/encoding/statistics/encodings/vod/daily/DailyApi.d.ts +21 -0
- package/dist/encoding/statistics/encodings/vod/daily/DailyApi.js +49 -0
- package/dist/encoding/statistics/encodings/vod/daily/DailyApi.js.map +1 -0
- package/dist/models/AacAudioConfiguration.d.ts +1 -1
- package/dist/models/AacAudioConfiguration.js.map +1 -1
- package/dist/models/Ac3AudioConfiguration.d.ts +1 -1
- package/dist/models/Ac3AudioConfiguration.js.map +1 -1
- package/dist/models/AdAnalyticsContainsFilter.d.ts +1 -1
- package/dist/models/AdAnalyticsContainsFilter.js.map +1 -1
- package/dist/models/AdAnalyticsEqualFilter.d.ts +1 -1
- package/dist/models/AdAnalyticsEqualFilter.js.map +1 -1
- package/dist/models/AdAnalyticsGreaterThanFilter.d.ts +1 -1
- package/dist/models/AdAnalyticsGreaterThanFilter.js.map +1 -1
- package/dist/models/AdAnalyticsGreaterThanOrEqualFilter.d.ts +1 -1
- package/dist/models/AdAnalyticsGreaterThanOrEqualFilter.js.map +1 -1
- package/dist/models/AdAnalyticsInFilter.d.ts +1 -1
- package/dist/models/AdAnalyticsInFilter.js.map +1 -1
- package/dist/models/AdAnalyticsLessThanFilter.d.ts +1 -1
- package/dist/models/AdAnalyticsLessThanFilter.js.map +1 -1
- package/dist/models/AdAnalyticsLessThanOrEqualFilter.d.ts +1 -1
- package/dist/models/AdAnalyticsLessThanOrEqualFilter.js.map +1 -1
- package/dist/models/AdAnalyticsNotContainsFilter.d.ts +1 -1
- package/dist/models/AdAnalyticsNotContainsFilter.js.map +1 -1
- package/dist/models/AdAnalyticsNotEqualFilter.d.ts +1 -1
- package/dist/models/AdAnalyticsNotEqualFilter.js.map +1 -1
- package/dist/models/AdaptationSet.d.ts +10 -0
- package/dist/models/AdaptationSet.js +7 -0
- package/dist/models/AdaptationSet.js.map +1 -1
- package/dist/models/AdaptationSetType.d.ts +11 -0
- package/dist/models/AdaptationSetType.js +16 -0
- package/dist/models/AdaptationSetType.js.map +1 -0
- package/dist/models/AdaptationSetTypeResponse.d.ts +15 -0
- package/dist/models/AdaptationSetTypeResponse.js +20 -0
- package/dist/models/AdaptationSetTypeResponse.js.map +1 -0
- package/dist/models/AesEncryptionDrm.d.ts +1 -1
- package/dist/models/AesEncryptionDrm.js.map +1 -1
- package/dist/models/AkamaiMslOutput.d.ts +1 -1
- package/dist/models/AkamaiMslOutput.js.map +1 -1
- package/dist/models/AkamaiNetStorageInput.d.ts +1 -1
- package/dist/models/AkamaiNetStorageInput.js.map +1 -1
- package/dist/models/AkamaiNetStorageOutput.d.ts +1 -1
- package/dist/models/AkamaiNetStorageOutput.js.map +1 -1
- package/dist/models/AnalyticsAzureOutput.d.ts +1 -1
- package/dist/models/AnalyticsAzureOutput.js.map +1 -1
- package/dist/models/AnalyticsContainsFilter.d.ts +1 -1
- package/dist/models/AnalyticsContainsFilter.js.map +1 -1
- package/dist/models/AnalyticsEqualFilter.d.ts +1 -1
- package/dist/models/AnalyticsEqualFilter.js.map +1 -1
- package/dist/models/AnalyticsExportFileFormat.d.ts +10 -0
- package/dist/models/AnalyticsExportFileFormat.js +15 -0
- package/dist/models/AnalyticsExportFileFormat.js.map +1 -0
- package/dist/models/AnalyticsExportTask.d.ts +7 -0
- package/dist/models/AnalyticsExportTask.js +1 -0
- package/dist/models/AnalyticsExportTask.js.map +1 -1
- package/dist/models/AnalyticsGcsServiceAccountOutput.d.ts +1 -1
- package/dist/models/AnalyticsGcsServiceAccountOutput.js.map +1 -1
- package/dist/models/AnalyticsGreaterThanFilter.d.ts +1 -1
- package/dist/models/AnalyticsGreaterThanFilter.js.map +1 -1
- package/dist/models/AnalyticsGreaterThanOrEqualFilter.d.ts +1 -1
- package/dist/models/AnalyticsGreaterThanOrEqualFilter.js.map +1 -1
- package/dist/models/AnalyticsInFilter.d.ts +1 -1
- package/dist/models/AnalyticsInFilter.js.map +1 -1
- package/dist/models/AnalyticsLessThanFilter.d.ts +1 -1
- package/dist/models/AnalyticsLessThanFilter.js.map +1 -1
- package/dist/models/AnalyticsLessThanOrEqualFilter.d.ts +1 -1
- package/dist/models/AnalyticsLessThanOrEqualFilter.js.map +1 -1
- package/dist/models/AnalyticsLicenseCustomDataFieldLabels.d.ts +25 -25
- package/dist/models/AnalyticsNotContainsFilter.d.ts +1 -1
- package/dist/models/AnalyticsNotContainsFilter.js.map +1 -1
- package/dist/models/AnalyticsNotEqualFilter.d.ts +1 -1
- package/dist/models/AnalyticsNotEqualFilter.js.map +1 -1
- package/dist/models/AnalyticsS3RoleBasedOutput.d.ts +1 -1
- package/dist/models/AnalyticsS3RoleBasedOutput.js.map +1 -1
- package/dist/models/AnalyticsVirtualLicense.d.ts +13 -0
- package/dist/models/AnalyticsVirtualLicense.js +3 -0
- package/dist/models/AnalyticsVirtualLicense.js.map +1 -1
- package/dist/models/AnalyticsVirtualLicenseRequest.d.ts +7 -0
- package/dist/models/AnalyticsVirtualLicenseRequest.js +2 -0
- package/dist/models/AnalyticsVirtualLicenseRequest.js.map +1 -1
- package/dist/models/AndConjunction.d.ts +1 -1
- package/dist/models/AndConjunction.js.map +1 -1
- package/dist/models/AsperaInput.d.ts +1 -1
- package/dist/models/AsperaInput.js.map +1 -1
- package/dist/models/AudioAdaptationSet.d.ts +7 -0
- package/dist/models/AudioAdaptationSet.js +7 -0
- package/dist/models/AudioAdaptationSet.js.map +1 -1
- package/dist/models/AudioMixFilter.d.ts +1 -1
- package/dist/models/AudioMixFilter.js.map +1 -1
- package/dist/models/AudioMixInputStream.d.ts +1 -1
- package/dist/models/AudioMixInputStream.js.map +1 -1
- package/dist/models/AudioVolumeFilter.d.ts +1 -1
- package/dist/models/AudioVolumeFilter.js.map +1 -1
- package/dist/models/Av1VideoConfiguration.d.ts +1 -1
- package/dist/models/Av1VideoConfiguration.js.map +1 -1
- package/dist/models/AzureInput.d.ts +1 -1
- package/dist/models/AzureInput.js.map +1 -1
- package/dist/models/AzureOutput.d.ts +1 -1
- package/dist/models/AzureOutput.js.map +1 -1
- package/dist/models/BroadcastTsMuxing.d.ts +1 -1
- package/dist/models/BroadcastTsMuxing.js.map +1 -1
- package/dist/models/Cea608CaptionInputStream.d.ts +1 -1
- package/dist/models/Cea608CaptionInputStream.js.map +1 -1
- package/dist/models/Cea708CaptionInputStream.d.ts +1 -1
- package/dist/models/Cea708CaptionInputStream.js.map +1 -1
- package/dist/models/CencDrm.d.ts +1 -1
- package/dist/models/CencDrm.js.map +1 -1
- package/dist/models/ChunkedTextMuxing.d.ts +1 -1
- package/dist/models/ChunkedTextMuxing.js.map +1 -1
- package/dist/models/ClearKeyDrm.d.ts +1 -1
- package/dist/models/ClearKeyDrm.js.map +1 -1
- package/dist/models/CmafMuxing.d.ts +1 -1
- package/dist/models/CmafMuxing.js.map +1 -1
- package/dist/models/ConcatenationInputStream.d.ts +1 -1
- package/dist/models/ConcatenationInputStream.js.map +1 -1
- package/dist/models/Condition.d.ts +1 -1
- package/dist/models/Condition.js.map +1 -1
- package/dist/models/ConformFilter.d.ts +1 -1
- package/dist/models/ConformFilter.js.map +1 -1
- package/dist/models/ContentProtection.d.ts +9 -2
- package/dist/models/ContentProtection.js +9 -2
- package/dist/models/ContentProtection.js.map +1 -1
- package/dist/models/CropFilter.d.ts +1 -1
- package/dist/models/CropFilter.js.map +1 -1
- package/dist/models/DashChunkedTextRepresentation.d.ts +7 -0
- package/dist/models/DashChunkedTextRepresentation.js +7 -0
- package/dist/models/DashChunkedTextRepresentation.js.map +1 -1
- package/dist/models/DashCmafRepresentation.d.ts +7 -0
- package/dist/models/DashCmafRepresentation.js +7 -0
- package/dist/models/DashCmafRepresentation.js.map +1 -1
- package/dist/models/DashFmp4DrmRepresentation.d.ts +7 -0
- package/dist/models/DashFmp4DrmRepresentation.js +7 -0
- package/dist/models/DashFmp4DrmRepresentation.js.map +1 -1
- package/dist/models/DashFmp4Representation.d.ts +7 -0
- package/dist/models/DashFmp4Representation.js +7 -0
- package/dist/models/DashFmp4Representation.js.map +1 -1
- package/dist/models/DashImscRepresentation.d.ts +9 -2
- package/dist/models/DashImscRepresentation.js +9 -2
- package/dist/models/DashImscRepresentation.js.map +1 -1
- package/dist/models/DashMp4DrmRepresentation.d.ts +7 -0
- package/dist/models/DashMp4DrmRepresentation.js +7 -0
- package/dist/models/DashMp4DrmRepresentation.js.map +1 -1
- package/dist/models/DashMp4Representation.d.ts +9 -2
- package/dist/models/DashMp4Representation.js +9 -2
- package/dist/models/DashMp4Representation.js.map +1 -1
- package/dist/models/DashMuxingRepresentation.d.ts +27 -0
- package/dist/models/DashMuxingRepresentation.js +39 -0
- package/dist/models/DashMuxingRepresentation.js.map +1 -0
- package/dist/models/DashProgressiveWebmRepresentation.d.ts +9 -2
- package/dist/models/DashProgressiveWebmRepresentation.js +9 -2
- package/dist/models/DashProgressiveWebmRepresentation.js.map +1 -1
- package/dist/models/DashRepresentation.d.ts +18 -18
- package/dist/models/DashRepresentation.js +15 -4
- package/dist/models/DashRepresentation.js.map +1 -1
- package/dist/models/DashRepresentationTypeDiscriminator.d.ts +19 -0
- package/dist/models/DashRepresentationTypeDiscriminator.js +24 -0
- package/dist/models/DashRepresentationTypeDiscriminator.js.map +1 -0
- package/dist/models/DashRepresentationTypeResponse.d.ts +15 -0
- package/dist/models/DashRepresentationTypeResponse.js +20 -0
- package/dist/models/DashRepresentationTypeResponse.js.map +1 -0
- package/dist/models/DashSegmentedRepresentation.d.ts +2 -2
- package/dist/models/DashSegmentedRepresentation.js +2 -2
- package/dist/models/DashSegmentedRepresentation.js.map +1 -1
- package/dist/models/DashVttRepresentation.d.ts +9 -2
- package/dist/models/DashVttRepresentation.js +9 -2
- package/dist/models/DashVttRepresentation.js.map +1 -1
- package/dist/models/DashWebmRepresentation.d.ts +7 -0
- package/dist/models/DashWebmRepresentation.js +7 -0
- package/dist/models/DashWebmRepresentation.js.map +1 -1
- package/dist/models/DefaultManifestAndCondition.d.ts +1 -1
- package/dist/models/DefaultManifestAndCondition.js.map +1 -1
- package/dist/models/DefaultManifestAttributeCondition.d.ts +1 -1
- package/dist/models/DefaultManifestAttributeCondition.js.map +1 -1
- package/dist/models/DefaultManifestOrCondition.d.ts +1 -1
- package/dist/models/DefaultManifestOrCondition.js.map +1 -1
- package/dist/models/DeinterlaceFilter.d.ts +1 -1
- package/dist/models/DeinterlaceFilter.js.map +1 -1
- package/dist/models/DenoiseHqdn3dFilter.d.ts +1 -1
- package/dist/models/DenoiseHqdn3dFilter.js.map +1 -1
- package/dist/models/DolbyAtmosAudioConfiguration.d.ts +1 -1
- package/dist/models/DolbyAtmosAudioConfiguration.js.map +1 -1
- package/dist/models/DolbyAtmosIngestInputStream.d.ts +1 -1
- package/dist/models/DolbyAtmosIngestInputStream.js.map +1 -1
- package/dist/models/DolbyDigitalAudioConfiguration.d.ts +1 -1
- package/dist/models/DolbyDigitalAudioConfiguration.js.map +1 -1
- package/dist/models/DolbyDigitalPlusAudioConfiguration.d.ts +1 -1
- package/dist/models/DolbyDigitalPlusAudioConfiguration.js.map +1 -1
- package/dist/models/DolbyVisionInputStream.d.ts +1 -1
- package/dist/models/DolbyVisionInputStream.js.map +1 -1
- package/dist/models/DolbyVisionMetadataIngestInputStream.d.ts +1 -1
- package/dist/models/DolbyVisionMetadataIngestInputStream.js.map +1 -1
- package/dist/models/DtsAudioConfiguration.d.ts +1 -1
- package/dist/models/DtsAudioConfiguration.js.map +1 -1
- package/dist/models/DtsPassthroughAudioConfiguration.d.ts +1 -1
- package/dist/models/DtsPassthroughAudioConfiguration.js.map +1 -1
- package/dist/models/DtsXAudioConfiguration.d.ts +1 -1
- package/dist/models/DtsXAudioConfiguration.js.map +1 -1
- package/dist/models/DvbSubtitleConfiguration.d.ts +1 -1
- package/dist/models/DvbSubtitleConfiguration.js.map +1 -1
- package/dist/models/DvbSubtitleInputStream.d.ts +1 -1
- package/dist/models/DvbSubtitleInputStream.js.map +1 -1
- package/dist/models/DvbTeletextInputStream.d.ts +1 -1
- package/dist/models/DvbTeletextInputStream.js.map +1 -1
- package/dist/models/Eac3AudioConfiguration.d.ts +1 -1
- package/dist/models/Eac3AudioConfiguration.js.map +1 -1
- package/dist/models/EbuR128SinglePassFilter.d.ts +1 -1
- package/dist/models/EbuR128SinglePassFilter.js.map +1 -1
- package/dist/models/EnhancedDeinterlaceFilter.d.ts +1 -1
- package/dist/models/EnhancedDeinterlaceFilter.js.map +1 -1
- package/dist/models/EnhancedWatermarkFilter.d.ts +1 -1
- package/dist/models/EnhancedWatermarkFilter.js.map +1 -1
- package/dist/models/FairPlayDrm.d.ts +1 -1
- package/dist/models/FairPlayDrm.js.map +1 -1
- package/dist/models/FileInputStream.d.ts +1 -1
- package/dist/models/FileInputStream.js.map +1 -1
- package/dist/models/Fmp4Muxing.d.ts +8 -1
- package/dist/models/Fmp4Muxing.js +1 -0
- package/dist/models/Fmp4Muxing.js.map +1 -1
- package/dist/models/FrameIdId3Tag.d.ts +1 -1
- package/dist/models/FrameIdId3Tag.js.map +1 -1
- package/dist/models/FtpInput.d.ts +1 -1
- package/dist/models/FtpInput.js.map +1 -1
- package/dist/models/FtpOutput.d.ts +1 -1
- package/dist/models/FtpOutput.js.map +1 -1
- package/dist/models/GcsInput.d.ts +1 -1
- package/dist/models/GcsInput.js.map +1 -1
- package/dist/models/GcsOutput.d.ts +1 -1
- package/dist/models/GcsOutput.js.map +1 -1
- package/dist/models/GcsServiceAccountInput.d.ts +1 -1
- package/dist/models/GcsServiceAccountInput.js.map +1 -1
- package/dist/models/GcsServiceAccountOutput.d.ts +1 -1
- package/dist/models/GcsServiceAccountOutput.js.map +1 -1
- package/dist/models/GenericS3Input.d.ts +1 -1
- package/dist/models/GenericS3Input.js.map +1 -1
- package/dist/models/GenericS3Output.d.ts +1 -1
- package/dist/models/GenericS3Output.js.map +1 -1
- package/dist/models/H262VideoConfiguration.d.ts +1 -1
- package/dist/models/H262VideoConfiguration.js.map +1 -1
- package/dist/models/H264PictureTimingTrimmingInputStream.d.ts +1 -1
- package/dist/models/H264PictureTimingTrimmingInputStream.js.map +1 -1
- package/dist/models/H264VideoConfiguration.d.ts +1 -1
- package/dist/models/H264VideoConfiguration.js.map +1 -1
- package/dist/models/H265VideoConfiguration.d.ts +1 -1
- package/dist/models/H265VideoConfiguration.js.map +1 -1
- package/dist/models/HeAacV1AudioConfiguration.d.ts +1 -1
- package/dist/models/HeAacV1AudioConfiguration.js.map +1 -1
- package/dist/models/HeAacV2AudioConfiguration.d.ts +1 -1
- package/dist/models/HeAacV2AudioConfiguration.js.map +1 -1
- package/dist/models/HttpInput.d.ts +1 -1
- package/dist/models/HttpInput.js.map +1 -1
- package/dist/models/HttpsInput.d.ts +1 -1
- package/dist/models/HttpsInput.js.map +1 -1
- package/dist/models/ImageAdaptationSet.d.ts +7 -0
- package/dist/models/ImageAdaptationSet.js +7 -0
- package/dist/models/ImageAdaptationSet.js.map +1 -1
- package/dist/models/ImscConfiguration.d.ts +1 -1
- package/dist/models/ImscConfiguration.js.map +1 -1
- package/dist/models/IngestInputStream.d.ts +1 -1
- package/dist/models/IngestInputStream.js.map +1 -1
- package/dist/models/InterlaceFilter.d.ts +1 -1
- package/dist/models/InterlaceFilter.js.map +1 -1
- package/dist/models/LiveMediaIngestOutput.d.ts +1 -1
- package/dist/models/LiveMediaIngestOutput.js.map +1 -1
- package/dist/models/LocalInput.d.ts +1 -1
- package/dist/models/LocalInput.js.map +1 -1
- package/dist/models/LocalOutput.d.ts +1 -1
- package/dist/models/LocalOutput.js.map +1 -1
- package/dist/models/MarlinDrm.d.ts +1 -1
- package/dist/models/MarlinDrm.js.map +1 -1
- package/dist/models/MjpegVideoConfiguration.d.ts +1 -1
- package/dist/models/MjpegVideoConfiguration.js.map +1 -1
- package/dist/models/Mp2AudioConfiguration.d.ts +1 -1
- package/dist/models/Mp2AudioConfiguration.js.map +1 -1
- package/dist/models/Mp3AudioConfiguration.d.ts +1 -1
- package/dist/models/Mp3AudioConfiguration.js.map +1 -1
- package/dist/models/Mp3Muxing.d.ts +1 -1
- package/dist/models/Mp3Muxing.js.map +1 -1
- package/dist/models/Mp4Muxing.d.ts +1 -1
- package/dist/models/Mp4Muxing.js.map +1 -1
- package/dist/models/MuxingTypeResponse.d.ts +15 -0
- package/dist/models/MuxingTypeResponse.js +20 -0
- package/dist/models/MuxingTypeResponse.js.map +1 -0
- package/dist/models/MxfMuxing.d.ts +1 -1
- package/dist/models/MxfMuxing.js.map +1 -1
- package/dist/models/OpusAudioConfiguration.d.ts +1 -1
- package/dist/models/OpusAudioConfiguration.js.map +1 -1
- package/dist/models/OrConjunction.d.ts +1 -1
- package/dist/models/OrConjunction.js.map +1 -1
- package/dist/models/PTSAlignMode.d.ts +9 -0
- package/dist/models/PTSAlignMode.js +14 -0
- package/dist/models/PTSAlignMode.js.map +1 -0
- package/dist/models/PackedAudioMuxing.d.ts +1 -1
- package/dist/models/PackedAudioMuxing.js.map +1 -1
- package/dist/models/PcmAudioConfiguration.d.ts +1 -1
- package/dist/models/PcmAudioConfiguration.js.map +1 -1
- package/dist/models/PlaintextId3Tag.d.ts +1 -1
- package/dist/models/PlaintextId3Tag.js.map +1 -1
- package/dist/models/PlayReadyDrm.d.ts +1 -1
- package/dist/models/PlayReadyDrm.js.map +1 -1
- package/dist/models/PrimeTimeDrm.d.ts +1 -1
- package/dist/models/PrimeTimeDrm.js.map +1 -1
- package/dist/models/ProgressiveMovMuxing.d.ts +1 -1
- package/dist/models/ProgressiveMovMuxing.js.map +1 -1
- package/dist/models/ProgressiveTsMuxing.d.ts +1 -1
- package/dist/models/ProgressiveTsMuxing.js.map +1 -1
- package/dist/models/ProgressiveWebmMuxing.d.ts +1 -1
- package/dist/models/ProgressiveWebmMuxing.js.map +1 -1
- package/dist/models/RawId3Tag.d.ts +1 -1
- package/dist/models/RawId3Tag.js.map +1 -1
- package/dist/models/RedundantRtmpInput.d.ts +1 -1
- package/dist/models/RedundantRtmpInput.js.map +1 -1
- package/dist/models/RotateFilter.d.ts +1 -1
- package/dist/models/RotateFilter.js.map +1 -1
- package/dist/models/RtmpInput.d.ts +1 -1
- package/dist/models/RtmpInput.js.map +1 -1
- package/dist/models/S3Input.d.ts +1 -1
- package/dist/models/S3Input.js.map +1 -1
- package/dist/models/S3Output.d.ts +1 -1
- package/dist/models/S3Output.js.map +1 -1
- package/dist/models/S3RoleBasedInput.d.ts +1 -1
- package/dist/models/S3RoleBasedInput.js.map +1 -1
- package/dist/models/S3RoleBasedOutput.d.ts +1 -1
- package/dist/models/S3RoleBasedOutput.js.map +1 -1
- package/dist/models/ScaleFilter.d.ts +1 -1
- package/dist/models/ScaleFilter.js.map +1 -1
- package/dist/models/SegmentedRawMuxing.d.ts +1 -1
- package/dist/models/SegmentedRawMuxing.js.map +1 -1
- package/dist/models/SftpInput.d.ts +1 -1
- package/dist/models/SftpInput.js.map +1 -1
- package/dist/models/SftpOutput.d.ts +1 -1
- package/dist/models/SftpOutput.js.map +1 -1
- package/dist/models/SimpleEncodingVodJobAccessKeyCredentials.d.ts +21 -0
- package/dist/models/SimpleEncodingVodJobAccessKeyCredentials.js +38 -0
- package/dist/models/SimpleEncodingVodJobAccessKeyCredentials.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobAzureCredentials.d.ts +15 -0
- package/dist/models/SimpleEncodingVodJobAzureCredentials.js +37 -0
- package/dist/models/SimpleEncodingVodJobAzureCredentials.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobCredentials.d.ts +8 -0
- package/dist/models/SimpleEncodingVodJobCredentials.js +18 -0
- package/dist/models/SimpleEncodingVodJobCredentials.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobErrors.d.ts +26 -0
- package/dist/models/SimpleEncodingVodJobErrors.js +22 -0
- package/dist/models/SimpleEncodingVodJobErrors.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobGcsServiceAccountCredentials.d.ts +15 -0
- package/dist/models/SimpleEncodingVodJobGcsServiceAccountCredentials.js +37 -0
- package/dist/models/SimpleEncodingVodJobGcsServiceAccountCredentials.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobInputType.d.ts +11 -0
- package/dist/models/SimpleEncodingVodJobInputType.js +16 -0
- package/dist/models/SimpleEncodingVodJobInputType.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobRequest.d.ts +26 -0
- package/dist/models/SimpleEncodingVodJobRequest.js +24 -0
- package/dist/models/SimpleEncodingVodJobRequest.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobResponse.d.ts +64 -0
- package/dist/models/SimpleEncodingVodJobResponse.js +31 -0
- package/dist/models/SimpleEncodingVodJobResponse.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobS3RoleBasedCredentials.d.ts +21 -0
- package/dist/models/SimpleEncodingVodJobS3RoleBasedCredentials.js +38 -0
- package/dist/models/SimpleEncodingVodJobS3RoleBasedCredentials.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobStatus.d.ts +14 -0
- package/dist/models/SimpleEncodingVodJobStatus.js +19 -0
- package/dist/models/SimpleEncodingVodJobStatus.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobUrlInput.d.ts +34 -0
- package/dist/models/SimpleEncodingVodJobUrlInput.js +24 -0
- package/dist/models/SimpleEncodingVodJobUrlInput.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobUrlOutput.d.ts +27 -0
- package/dist/models/SimpleEncodingVodJobUrlOutput.js +23 -0
- package/dist/models/SimpleEncodingVodJobUrlOutput.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobUsernamePasswordCredentials.d.ts +21 -0
- package/dist/models/SimpleEncodingVodJobUsernamePasswordCredentials.js +38 -0
- package/dist/models/SimpleEncodingVodJobUsernamePasswordCredentials.js.map +1 -0
- package/dist/models/SpekeDrm.d.ts +1 -1
- package/dist/models/SpekeDrm.js.map +1 -1
- package/dist/models/SpriteRepresentation.d.ts +9 -2
- package/dist/models/SpriteRepresentation.js +9 -2
- package/dist/models/SpriteRepresentation.js.map +1 -1
- package/dist/models/SrtInput.d.ts +1 -1
- package/dist/models/SrtInput.js.map +1 -1
- package/dist/models/SubtitleAdaptationSet.d.ts +7 -0
- package/dist/models/SubtitleAdaptationSet.js +7 -0
- package/dist/models/SubtitleAdaptationSet.js.map +1 -1
- package/dist/models/TcpInput.d.ts +1 -1
- package/dist/models/TcpInput.js.map +1 -1
- package/dist/models/TextFilter.d.ts +1 -1
- package/dist/models/TextFilter.js.map +1 -1
- package/dist/models/TextMuxing.d.ts +1 -1
- package/dist/models/TextMuxing.js.map +1 -1
- package/dist/models/TimeBasedTrimmingInputStream.d.ts +1 -1
- package/dist/models/TimeBasedTrimmingInputStream.js.map +1 -1
- package/dist/models/TimecodeTrackTrimmingInputStream.d.ts +1 -1
- package/dist/models/TimecodeTrackTrimmingInputStream.js.map +1 -1
- package/dist/models/TsMuxing.d.ts +1 -1
- package/dist/models/TsMuxing.js.map +1 -1
- package/dist/models/UdpInput.d.ts +1 -1
- package/dist/models/UdpInput.js.map +1 -1
- package/dist/models/UdpMulticastInput.d.ts +1 -1
- package/dist/models/UdpMulticastInput.js.map +1 -1
- package/dist/models/UnsharpFilter.d.ts +1 -1
- package/dist/models/UnsharpFilter.js.map +1 -1
- package/dist/models/VideoAdaptationSet.d.ts +7 -0
- package/dist/models/VideoAdaptationSet.js +7 -0
- package/dist/models/VideoAdaptationSet.js.map +1 -1
- package/dist/models/VorbisAudioConfiguration.d.ts +1 -1
- package/dist/models/VorbisAudioConfiguration.js.map +1 -1
- package/dist/models/Vp8VideoConfiguration.d.ts +1 -1
- package/dist/models/Vp8VideoConfiguration.js.map +1 -1
- package/dist/models/Vp9VideoConfiguration.d.ts +1 -1
- package/dist/models/Vp9VideoConfiguration.js.map +1 -1
- package/dist/models/WatermarkFilter.d.ts +1 -1
- package/dist/models/WatermarkFilter.js.map +1 -1
- package/dist/models/WebVttConfiguration.d.ts +1 -1
- package/dist/models/WebVttConfiguration.js.map +1 -1
- package/dist/models/WebVttSidecarFile.d.ts +1 -1
- package/dist/models/WebVttSidecarFile.js.map +1 -1
- package/dist/models/WebmMuxing.d.ts +1 -1
- package/dist/models/WebmMuxing.js.map +1 -1
- package/dist/models/WidevineDrm.d.ts +1 -1
- package/dist/models/WidevineDrm.js.map +1 -1
- package/dist/models/ZixiInput.d.ts +1 -1
- package/dist/models/ZixiInput.js.map +1 -1
- package/dist/models/index.d.ts +21 -0
- package/dist/models/index.js +21 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/encoding/statistics/daily/DailyStatisticsListByDateRangeQueryParams.js +0 -30
- package/dist/encoding/statistics/daily/DailyStatisticsListByDateRangeQueryParams.js.map +0 -1
- package/dist/encoding/statistics/encodings/live/daily/EncodingStatisticsLiveListByDateRangeQueryParams.js +0 -30
- package/dist/encoding/statistics/encodings/live/daily/EncodingStatisticsLiveListByDateRangeQueryParams.js.map +0 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface DashRepresentationTypeResponseGetQueryParams {
|
|
2
|
+
/**
|
|
3
|
+
* Index of the first item to return, starting at 0. Default is 0
|
|
4
|
+
* @type {number}
|
|
5
|
+
* @memberof DashRepresentationTypeResponseGetQueryParams
|
|
6
|
+
*/
|
|
7
|
+
offset?: number | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Maximum number of items to return. Default is 25, maximum is 100
|
|
10
|
+
* @type {number}
|
|
11
|
+
* @memberof DashRepresentationTypeResponseGetQueryParams
|
|
12
|
+
*/
|
|
13
|
+
limit?: number | undefined;
|
|
14
|
+
}
|
|
15
|
+
export declare class DashRepresentationTypeResponseGetQueryParamsBuilder {
|
|
16
|
+
private internalParams;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
20
|
+
*/
|
|
21
|
+
offset(offset: number): this;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
25
|
+
*/
|
|
26
|
+
limit(limit: number): this;
|
|
27
|
+
buildQueryParams(): DashRepresentationTypeResponseGetQueryParams;
|
|
28
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DashRepresentationTypeResponseGetQueryParamsBuilder = void 0;
|
|
4
|
+
var DashRepresentationTypeResponseGetQueryParamsBuilder = /** @class */ (function () {
|
|
5
|
+
function DashRepresentationTypeResponseGetQueryParamsBuilder() {
|
|
6
|
+
this.internalParams = {};
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
11
|
+
*/
|
|
12
|
+
DashRepresentationTypeResponseGetQueryParamsBuilder.prototype.offset = function (offset) {
|
|
13
|
+
this.internalParams.offset = offset;
|
|
14
|
+
return this;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
19
|
+
*/
|
|
20
|
+
DashRepresentationTypeResponseGetQueryParamsBuilder.prototype.limit = function (limit) {
|
|
21
|
+
this.internalParams.limit = limit;
|
|
22
|
+
return this;
|
|
23
|
+
};
|
|
24
|
+
DashRepresentationTypeResponseGetQueryParamsBuilder.prototype.buildQueryParams = function () {
|
|
25
|
+
return this.internalParams;
|
|
26
|
+
};
|
|
27
|
+
return DashRepresentationTypeResponseGetQueryParamsBuilder;
|
|
28
|
+
}());
|
|
29
|
+
exports.DashRepresentationTypeResponseGetQueryParamsBuilder = DashRepresentationTypeResponseGetQueryParamsBuilder;
|
|
30
|
+
//# sourceMappingURL=DashRepresentationTypeResponseGetQueryParams.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DashRepresentationTypeResponseGetQueryParams.js","sourceRoot":"","sources":["../../../../../../../../src/encoding/manifests/dash/periods/adaptationsets/representations/type/DashRepresentationTypeResponseGetQueryParams.ts"],"names":[],"mappings":";;;AAkBA;IAAA;QACY,mBAAc,GAAiD,EAAE,CAAC;IAuB9E,CAAC;IArBG;;;OAGG;IACI,oEAAM,GAAb,UAAc,MAAc;QACxB,IAAI,CAAC,cAAc,CAAC,MAAM,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,mEAAK,GAAZ,UAAa,KAAa;QACtB,IAAI,CAAC,cAAc,CAAC,KAAK,GAAG,KAAK,CAAC;QAClC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,8EAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,cAAc,CAAC;IAC/B,CAAC;IACL,0DAAC;AAAD,CAAC,AAxBD,IAwBC;AAxBY,kHAAmD"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BaseAPI } from '../../../../../../../common/BaseAPI';
|
|
2
|
+
import Configuration from '../../../../../../../common/Configuration';
|
|
3
|
+
import DashRepresentationTypeResponse from '../../../../../../../models/DashRepresentationTypeResponse';
|
|
4
|
+
import { DashRepresentationTypeResponseGetQueryParams, DashRepresentationTypeResponseGetQueryParamsBuilder } from './DashRepresentationTypeResponseGetQueryParams';
|
|
5
|
+
/**
|
|
6
|
+
* TypeApi - object-oriented interface
|
|
7
|
+
* @export
|
|
8
|
+
* @class TypeApi
|
|
9
|
+
* @extends {BaseAPI}
|
|
10
|
+
*/
|
|
11
|
+
export default class TypeApi extends BaseAPI {
|
|
12
|
+
constructor(configuration: Configuration);
|
|
13
|
+
/**
|
|
14
|
+
* @summary Get DASH representation type
|
|
15
|
+
* @param {string} manifestId Id of the manifest
|
|
16
|
+
* @param {string} periodId Id of the period
|
|
17
|
+
* @param {string} adaptationsetId Id of the adaptation set
|
|
18
|
+
* @param {string} representationId Id of the representation
|
|
19
|
+
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
20
|
+
* @throws {BitmovinError}
|
|
21
|
+
* @memberof TypeApi
|
|
22
|
+
*/
|
|
23
|
+
get(manifestId: string, periodId: string, adaptationsetId: string, representationId: string, queryParameters?: DashRepresentationTypeResponseGetQueryParams | ((q: DashRepresentationTypeResponseGetQueryParamsBuilder) => DashRepresentationTypeResponseGetQueryParamsBuilder)): Promise<DashRepresentationTypeResponse>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
extendStatics(d, b);
|
|
11
|
+
function __() { this.constructor = d; }
|
|
12
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
|
+
};
|
|
14
|
+
})();
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
var BaseAPI_1 = require("../../../../../../../common/BaseAPI");
|
|
17
|
+
var Mapper_1 = require("../../../../../../../common/Mapper");
|
|
18
|
+
var DashRepresentationTypeResponse_1 = require("../../../../../../../models/DashRepresentationTypeResponse");
|
|
19
|
+
var DashRepresentationTypeResponseGetQueryParams_1 = require("./DashRepresentationTypeResponseGetQueryParams");
|
|
20
|
+
/**
|
|
21
|
+
* TypeApi - object-oriented interface
|
|
22
|
+
* @export
|
|
23
|
+
* @class TypeApi
|
|
24
|
+
* @extends {BaseAPI}
|
|
25
|
+
*/
|
|
26
|
+
var TypeApi = /** @class */ (function (_super) {
|
|
27
|
+
__extends(TypeApi, _super);
|
|
28
|
+
function TypeApi(configuration) {
|
|
29
|
+
return _super.call(this, configuration) || this;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @summary Get DASH representation type
|
|
33
|
+
* @param {string} manifestId Id of the manifest
|
|
34
|
+
* @param {string} periodId Id of the period
|
|
35
|
+
* @param {string} adaptationsetId Id of the adaptation set
|
|
36
|
+
* @param {string} representationId Id of the representation
|
|
37
|
+
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
38
|
+
* @throws {BitmovinError}
|
|
39
|
+
* @memberof TypeApi
|
|
40
|
+
*/
|
|
41
|
+
TypeApi.prototype.get = function (manifestId, periodId, adaptationsetId, representationId, queryParameters) {
|
|
42
|
+
var pathParamMap = {
|
|
43
|
+
manifest_id: manifestId,
|
|
44
|
+
period_id: periodId,
|
|
45
|
+
adaptationset_id: adaptationsetId,
|
|
46
|
+
representation_id: representationId
|
|
47
|
+
};
|
|
48
|
+
var queryParams = {};
|
|
49
|
+
if (typeof queryParameters === 'function') {
|
|
50
|
+
queryParams = queryParameters(new DashRepresentationTypeResponseGetQueryParams_1.DashRepresentationTypeResponseGetQueryParamsBuilder()).buildQueryParams();
|
|
51
|
+
}
|
|
52
|
+
else if (queryParameters) {
|
|
53
|
+
queryParams = queryParameters;
|
|
54
|
+
}
|
|
55
|
+
return this.restClient.get('/encoding/manifests/dash/{manifest_id}/periods/{period_id}/adaptationsets/{adaptationset_id}/representations/{representation_id}/type', pathParamMap, queryParams).then(function (response) {
|
|
56
|
+
return Mapper_1.map(response, DashRepresentationTypeResponse_1.default);
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
return TypeApi;
|
|
60
|
+
}(BaseAPI_1.BaseAPI));
|
|
61
|
+
exports.default = TypeApi;
|
|
62
|
+
//# sourceMappingURL=TypeApi.js.map
|
package/dist/encoding/manifests/dash/periods/adaptationsets/representations/type/TypeApi.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypeApi.js","sourceRoot":"","sources":["../../../../../../../../src/encoding/manifests/dash/periods/adaptationsets/representations/type/TypeApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAA4D;AAE5D,6DAAiE;AACjE,6GAAwG;AACxG,+GAAiK;AAEjK;;;;;GAKG;AACH;IAAqC,2BAAO;IAE1C,iBAAY,aAA4B;eACtC,kBAAM,aAAa,CAAC;IACtB,CAAC;IAED;;;;;;;;;OASG;IACI,qBAAG,GAAV,UAAW,UAAkB,EAAE,QAAgB,EAAE,eAAuB,EAAE,gBAAwB,EAAE,eAAkL;QACpR,IAAM,YAAY,GAAG;YACnB,WAAW,EAAE,UAAU;YACvB,SAAS,EAAE,QAAQ;YACnB,gBAAgB,EAAE,eAAe;YACjC,iBAAiB,EAAE,gBAAgB;SACpC,CAAC;QACF,IAAI,WAAW,GAAiD,EAAE,CAAC;QACnE,IAAI,OAAO,eAAe,KAAK,UAAU,EAAE;YACzC,WAAW,GAAG,eAAe,CAAC,IAAI,kGAAmD,EAAE,CAAC,CAAC,gBAAgB,EAAE,CAAC;SAC7G;aAAM,IAAI,eAAe,EAAE;YAC1B,WAAW,GAAG,eAAe,CAAC;SAC/B;QACD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAiC,uIAAuI,EAAE,YAAY,EAAE,WAAW,CAAC,CAAC,IAAI,CAAC,UAAC,QAAQ;YAC3O,OAAO,YAAG,CAAC,QAAQ,EAAE,wCAA8B,CAAC,CAAC;QACvD,CAAC,CAAC,CAAC;IACL,CAAC;IACH,cAAC;AAAD,CAAC,AAjCD,CAAqC,iBAAO,GAiC3C"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BaseAPI } from '../../../../../../common/BaseAPI';
|
|
2
|
+
import Configuration from '../../../../../../common/Configuration';
|
|
3
|
+
import AdaptationSetTypeResponse from '../../../../../../models/AdaptationSetTypeResponse';
|
|
4
|
+
/**
|
|
5
|
+
* TypeApi - object-oriented interface
|
|
6
|
+
* @export
|
|
7
|
+
* @class TypeApi
|
|
8
|
+
* @extends {BaseAPI}
|
|
9
|
+
*/
|
|
10
|
+
export default class TypeApi extends BaseAPI {
|
|
11
|
+
constructor(configuration: Configuration);
|
|
12
|
+
/**
|
|
13
|
+
* @summary Get adaptation set type
|
|
14
|
+
* @param {string} manifestId Id of the manifest
|
|
15
|
+
* @param {string} periodId Id of the period
|
|
16
|
+
* @param {string} adaptationsetId Id of the adaptation set
|
|
17
|
+
* @throws {BitmovinError}
|
|
18
|
+
* @memberof TypeApi
|
|
19
|
+
*/
|
|
20
|
+
get(manifestId: string, periodId: string, adaptationsetId: string): Promise<AdaptationSetTypeResponse>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
extendStatics(d, b);
|
|
11
|
+
function __() { this.constructor = d; }
|
|
12
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
|
+
};
|
|
14
|
+
})();
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
var BaseAPI_1 = require("../../../../../../common/BaseAPI");
|
|
17
|
+
var Mapper_1 = require("../../../../../../common/Mapper");
|
|
18
|
+
var AdaptationSetTypeResponse_1 = require("../../../../../../models/AdaptationSetTypeResponse");
|
|
19
|
+
/**
|
|
20
|
+
* TypeApi - object-oriented interface
|
|
21
|
+
* @export
|
|
22
|
+
* @class TypeApi
|
|
23
|
+
* @extends {BaseAPI}
|
|
24
|
+
*/
|
|
25
|
+
var TypeApi = /** @class */ (function (_super) {
|
|
26
|
+
__extends(TypeApi, _super);
|
|
27
|
+
function TypeApi(configuration) {
|
|
28
|
+
return _super.call(this, configuration) || this;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @summary Get adaptation set type
|
|
32
|
+
* @param {string} manifestId Id of the manifest
|
|
33
|
+
* @param {string} periodId Id of the period
|
|
34
|
+
* @param {string} adaptationsetId Id of the adaptation set
|
|
35
|
+
* @throws {BitmovinError}
|
|
36
|
+
* @memberof TypeApi
|
|
37
|
+
*/
|
|
38
|
+
TypeApi.prototype.get = function (manifestId, periodId, adaptationsetId) {
|
|
39
|
+
var pathParamMap = {
|
|
40
|
+
manifest_id: manifestId,
|
|
41
|
+
period_id: periodId,
|
|
42
|
+
adaptationset_id: adaptationsetId
|
|
43
|
+
};
|
|
44
|
+
return this.restClient.get('/encoding/manifests/dash/{manifest_id}/periods/{period_id}/adaptationsets/{adaptationset_id}/type', pathParamMap).then(function (response) {
|
|
45
|
+
return Mapper_1.map(response, AdaptationSetTypeResponse_1.default);
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
return TypeApi;
|
|
49
|
+
}(BaseAPI_1.BaseAPI));
|
|
50
|
+
exports.default = TypeApi;
|
|
51
|
+
//# sourceMappingURL=TypeApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypeApi.js","sourceRoot":"","sources":["../../../../../../../src/encoding/manifests/dash/periods/adaptationsets/type/TypeApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,4DAAyD;AAEzD,0DAA8D;AAC9D,gGAA2F;AAE3F;;;;;GAKG;AACH;IAAqC,2BAAO;IAE1C,iBAAY,aAA4B;eACtC,kBAAM,aAAa,CAAC;IACtB,CAAC;IAED;;;;;;;OAOG;IACI,qBAAG,GAAV,UAAW,UAAkB,EAAE,QAAgB,EAAE,eAAuB;QACtE,IAAM,YAAY,GAAG;YACnB,WAAW,EAAE,UAAU;YACvB,SAAS,EAAE,QAAQ;YACnB,gBAAgB,EAAE,eAAe;SAClC,CAAC;QACF,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAA4B,mGAAmG,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,UAAC,QAAQ;YACrL,OAAO,YAAG,CAAC,QAAQ,EAAE,mCAAyB,CAAC,CAAC;QAClD,CAAC,CAAC,CAAC;IACL,CAAC;IACH,cAAC;AAAD,CAAC,AAxBD,CAAqC,iBAAO,GAwB3C"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseAPI } from '../../common/BaseAPI';
|
|
2
|
+
import Configuration from '../../common/Configuration';
|
|
3
|
+
import JobsApi from './jobs/JobsApi';
|
|
4
|
+
/**
|
|
5
|
+
* SimpleApi - object-oriented interface
|
|
6
|
+
* @export
|
|
7
|
+
* @class SimpleApi
|
|
8
|
+
* @extends {BaseAPI}
|
|
9
|
+
*/
|
|
10
|
+
export default class SimpleApi extends BaseAPI {
|
|
11
|
+
jobs: JobsApi;
|
|
12
|
+
constructor(configuration: Configuration);
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
extendStatics(d, b);
|
|
11
|
+
function __() { this.constructor = d; }
|
|
12
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
|
+
};
|
|
14
|
+
})();
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
var BaseAPI_1 = require("../../common/BaseAPI");
|
|
17
|
+
var JobsApi_1 = require("./jobs/JobsApi");
|
|
18
|
+
/**
|
|
19
|
+
* SimpleApi - object-oriented interface
|
|
20
|
+
* @export
|
|
21
|
+
* @class SimpleApi
|
|
22
|
+
* @extends {BaseAPI}
|
|
23
|
+
*/
|
|
24
|
+
var SimpleApi = /** @class */ (function (_super) {
|
|
25
|
+
__extends(SimpleApi, _super);
|
|
26
|
+
function SimpleApi(configuration) {
|
|
27
|
+
var _this = _super.call(this, configuration) || this;
|
|
28
|
+
_this.jobs = new JobsApi_1.default(configuration);
|
|
29
|
+
return _this;
|
|
30
|
+
}
|
|
31
|
+
return SimpleApi;
|
|
32
|
+
}(BaseAPI_1.BaseAPI));
|
|
33
|
+
exports.default = SimpleApi;
|
|
34
|
+
//# sourceMappingURL=SimpleApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleApi.js","sourceRoot":"","sources":["../../../src/encoding/simple/SimpleApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gDAA6C;AAG7C,0CAAqC;AAErC;;;;;GAKG;AACH;IAAuC,6BAAO;IAG5C,mBAAY,aAA4B;QAAxC,YACE,kBAAM,aAAa,CAAC,SAErB;QADC,KAAI,CAAC,IAAI,GAAG,IAAI,iBAAO,CAAC,aAAa,CAAC,CAAC;;IACzC,CAAC;IACH,gBAAC;AAAD,CAAC,AAPD,CAAuC,iBAAO,GAO7C"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseAPI } from '../../../common/BaseAPI';
|
|
2
|
+
import Configuration from '../../../common/Configuration';
|
|
3
|
+
import VodApi from './vod/VodApi';
|
|
4
|
+
/**
|
|
5
|
+
* JobsApi - object-oriented interface
|
|
6
|
+
* @export
|
|
7
|
+
* @class JobsApi
|
|
8
|
+
* @extends {BaseAPI}
|
|
9
|
+
*/
|
|
10
|
+
export default class JobsApi extends BaseAPI {
|
|
11
|
+
vod: VodApi;
|
|
12
|
+
constructor(configuration: Configuration);
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
extendStatics(d, b);
|
|
11
|
+
function __() { this.constructor = d; }
|
|
12
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
|
+
};
|
|
14
|
+
})();
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
var BaseAPI_1 = require("../../../common/BaseAPI");
|
|
17
|
+
var VodApi_1 = require("./vod/VodApi");
|
|
18
|
+
/**
|
|
19
|
+
* JobsApi - object-oriented interface
|
|
20
|
+
* @export
|
|
21
|
+
* @class JobsApi
|
|
22
|
+
* @extends {BaseAPI}
|
|
23
|
+
*/
|
|
24
|
+
var JobsApi = /** @class */ (function (_super) {
|
|
25
|
+
__extends(JobsApi, _super);
|
|
26
|
+
function JobsApi(configuration) {
|
|
27
|
+
var _this = _super.call(this, configuration) || this;
|
|
28
|
+
_this.vod = new VodApi_1.default(configuration);
|
|
29
|
+
return _this;
|
|
30
|
+
}
|
|
31
|
+
return JobsApi;
|
|
32
|
+
}(BaseAPI_1.BaseAPI));
|
|
33
|
+
exports.default = JobsApi;
|
|
34
|
+
//# sourceMappingURL=JobsApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JobsApi.js","sourceRoot":"","sources":["../../../../src/encoding/simple/jobs/JobsApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,mDAAgD;AAGhD,uCAAkC;AAElC;;;;;GAKG;AACH;IAAqC,2BAAO;IAG1C,iBAAY,aAA4B;QAAxC,YACE,kBAAM,aAAa,CAAC,SAErB;QADC,KAAI,CAAC,GAAG,GAAG,IAAI,gBAAM,CAAC,aAAa,CAAC,CAAC;;IACvC,CAAC;IACH,cAAC;AAAD,CAAC,AAPD,CAAqC,iBAAO,GAO3C"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export interface SimpleEncodingVodJobResponseListQueryParams {
|
|
2
|
+
/**
|
|
3
|
+
* Index of the first item to return, starting at 0. Default is 0
|
|
4
|
+
* @type {number}
|
|
5
|
+
* @memberof SimpleEncodingVodJobResponseListQueryParams
|
|
6
|
+
*/
|
|
7
|
+
offset?: number | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Maximum number of items to return. Default is 25, maximum is 100
|
|
10
|
+
* @type {number}
|
|
11
|
+
* @memberof SimpleEncodingVodJobResponseListQueryParams
|
|
12
|
+
*/
|
|
13
|
+
limit?: number | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Order list result according to a Simple Encoding VOD Job attribute. The fields that can be used for sorting are: + `createdAt`
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof SimpleEncodingVodJobResponseListQueryParams
|
|
18
|
+
*/
|
|
19
|
+
sort?: string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Filter Simple Encoding VOD Jobs to only show the ones with the status specified.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof SimpleEncodingVodJobResponseListQueryParams
|
|
24
|
+
*/
|
|
25
|
+
status?: string | undefined;
|
|
26
|
+
}
|
|
27
|
+
export declare class SimpleEncodingVodJobResponseListQueryParamsBuilder {
|
|
28
|
+
private internalParams;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
32
|
+
*/
|
|
33
|
+
offset(offset: number): this;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
37
|
+
*/
|
|
38
|
+
limit(limit: number): this;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @param sort Order list result according to a Simple Encoding VOD Job attribute. The fields that can be used for sorting are: + `createdAt`
|
|
42
|
+
*/
|
|
43
|
+
sort(sort: string): this;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @param status Filter Simple Encoding VOD Jobs to only show the ones with the status specified.
|
|
47
|
+
*/
|
|
48
|
+
status(status: string): this;
|
|
49
|
+
buildQueryParams(): SimpleEncodingVodJobResponseListQueryParams;
|
|
50
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SimpleEncodingVodJobResponseListQueryParamsBuilder = void 0;
|
|
4
|
+
var SimpleEncodingVodJobResponseListQueryParamsBuilder = /** @class */ (function () {
|
|
5
|
+
function SimpleEncodingVodJobResponseListQueryParamsBuilder() {
|
|
6
|
+
this.internalParams = {};
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
11
|
+
*/
|
|
12
|
+
SimpleEncodingVodJobResponseListQueryParamsBuilder.prototype.offset = function (offset) {
|
|
13
|
+
this.internalParams.offset = offset;
|
|
14
|
+
return this;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
19
|
+
*/
|
|
20
|
+
SimpleEncodingVodJobResponseListQueryParamsBuilder.prototype.limit = function (limit) {
|
|
21
|
+
this.internalParams.limit = limit;
|
|
22
|
+
return this;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @param sort Order list result according to a Simple Encoding VOD Job attribute. The fields that can be used for sorting are: + `createdAt`
|
|
27
|
+
*/
|
|
28
|
+
SimpleEncodingVodJobResponseListQueryParamsBuilder.prototype.sort = function (sort) {
|
|
29
|
+
this.internalParams.sort = sort;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @param status Filter Simple Encoding VOD Jobs to only show the ones with the status specified.
|
|
35
|
+
*/
|
|
36
|
+
SimpleEncodingVodJobResponseListQueryParamsBuilder.prototype.status = function (status) {
|
|
37
|
+
this.internalParams.status = status;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
SimpleEncodingVodJobResponseListQueryParamsBuilder.prototype.buildQueryParams = function () {
|
|
41
|
+
return this.internalParams;
|
|
42
|
+
};
|
|
43
|
+
return SimpleEncodingVodJobResponseListQueryParamsBuilder;
|
|
44
|
+
}());
|
|
45
|
+
exports.SimpleEncodingVodJobResponseListQueryParamsBuilder = SimpleEncodingVodJobResponseListQueryParamsBuilder;
|
|
46
|
+
//# sourceMappingURL=SimpleEncodingVodJobResponseListQueryParams.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleEncodingVodJobResponseListQueryParams.js","sourceRoot":"","sources":["../../../../../src/encoding/simple/jobs/vod/SimpleEncodingVodJobResponseListQueryParams.ts"],"names":[],"mappings":";;;AAgCA;IAAA;QACY,mBAAc,GAAgD,EAAE,CAAC;IAyC7E,CAAC;IAvCG;;;OAGG;IACI,mEAAM,GAAb,UAAc,MAAc;QACxB,IAAI,CAAC,cAAc,CAAC,MAAM,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,kEAAK,GAAZ,UAAa,KAAa;QACtB,IAAI,CAAC,cAAc,CAAC,KAAK,GAAG,KAAK,CAAC;QAClC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,iEAAI,GAAX,UAAY,IAAY;QACpB,IAAI,CAAC,cAAc,CAAC,IAAI,GAAG,IAAI,CAAC;QAChC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,mEAAM,GAAb,UAAc,MAAc;QACxB,IAAI,CAAC,cAAc,CAAC,MAAM,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6EAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,cAAc,CAAC;IAC/B,CAAC;IACL,yDAAC;AAAD,CAAC,AA1CD,IA0CC;AA1CY,gHAAkD"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { BaseAPI } from '../../../../common/BaseAPI';
|
|
2
|
+
import Configuration from '../../../../common/Configuration';
|
|
3
|
+
import SimpleEncodingVodJobRequest from '../../../../models/SimpleEncodingVodJobRequest';
|
|
4
|
+
import SimpleEncodingVodJobResponse from '../../../../models/SimpleEncodingVodJobResponse';
|
|
5
|
+
import PaginationResponse from '../../../../models/PaginationResponse';
|
|
6
|
+
import { SimpleEncodingVodJobResponseListQueryParams, SimpleEncodingVodJobResponseListQueryParamsBuilder } from './SimpleEncodingVodJobResponseListQueryParams';
|
|
7
|
+
/**
|
|
8
|
+
* VodApi - object-oriented interface
|
|
9
|
+
* @export
|
|
10
|
+
* @class VodApi
|
|
11
|
+
* @extends {BaseAPI}
|
|
12
|
+
*/
|
|
13
|
+
export default class VodApi extends BaseAPI {
|
|
14
|
+
constructor(configuration: Configuration);
|
|
15
|
+
/**
|
|
16
|
+
* @summary Create a Simple Encoding VOD Job
|
|
17
|
+
* @param {SimpleEncodingVodJobRequest} simpleEncodingVodJobRequest The Simple Encoding VOD Job to be created. Check out our [Simple Encoding API Documentation](https://bitmovin.com/docs/encoding/articles/simple-encoding-api) for additional information about the Simple Encoding API.
|
|
18
|
+
* @throws {BitmovinError}
|
|
19
|
+
* @memberof VodApi
|
|
20
|
+
*/
|
|
21
|
+
create(simpleEncodingVodJobRequest?: SimpleEncodingVodJobRequest): Promise<SimpleEncodingVodJobResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* @summary Simple Encoding VOD Job details
|
|
24
|
+
* @param {string} simpleEncodingJobId Id of the Simple Encoding VOD Job
|
|
25
|
+
* @throws {BitmovinError}
|
|
26
|
+
* @memberof VodApi
|
|
27
|
+
*/
|
|
28
|
+
get(simpleEncodingJobId: string): Promise<SimpleEncodingVodJobResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* @summary List all Simple Encoding VOD Jobs
|
|
31
|
+
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
32
|
+
* @throws {BitmovinError}
|
|
33
|
+
* @memberof VodApi
|
|
34
|
+
*/
|
|
35
|
+
list(queryParameters?: SimpleEncodingVodJobResponseListQueryParams | ((q: SimpleEncodingVodJobResponseListQueryParamsBuilder) => SimpleEncodingVodJobResponseListQueryParamsBuilder)): Promise<PaginationResponse<SimpleEncodingVodJobResponse>>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
extendStatics(d, b);
|
|
11
|
+
function __() { this.constructor = d; }
|
|
12
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
|
+
};
|
|
14
|
+
})();
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
var BaseAPI_1 = require("../../../../common/BaseAPI");
|
|
17
|
+
var Mapper_1 = require("../../../../common/Mapper");
|
|
18
|
+
var SimpleEncodingVodJobResponse_1 = require("../../../../models/SimpleEncodingVodJobResponse");
|
|
19
|
+
var PaginationResponse_1 = require("../../../../models/PaginationResponse");
|
|
20
|
+
var SimpleEncodingVodJobResponseListQueryParams_1 = require("./SimpleEncodingVodJobResponseListQueryParams");
|
|
21
|
+
/**
|
|
22
|
+
* VodApi - object-oriented interface
|
|
23
|
+
* @export
|
|
24
|
+
* @class VodApi
|
|
25
|
+
* @extends {BaseAPI}
|
|
26
|
+
*/
|
|
27
|
+
var VodApi = /** @class */ (function (_super) {
|
|
28
|
+
__extends(VodApi, _super);
|
|
29
|
+
function VodApi(configuration) {
|
|
30
|
+
return _super.call(this, configuration) || this;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @summary Create a Simple Encoding VOD Job
|
|
34
|
+
* @param {SimpleEncodingVodJobRequest} simpleEncodingVodJobRequest The Simple Encoding VOD Job to be created. Check out our [Simple Encoding API Documentation](https://bitmovin.com/docs/encoding/articles/simple-encoding-api) for additional information about the Simple Encoding API.
|
|
35
|
+
* @throws {BitmovinError}
|
|
36
|
+
* @memberof VodApi
|
|
37
|
+
*/
|
|
38
|
+
VodApi.prototype.create = function (simpleEncodingVodJobRequest) {
|
|
39
|
+
return this.restClient.post('/encoding/simple/jobs/vod', {}, simpleEncodingVodJobRequest).then(function (response) {
|
|
40
|
+
return Mapper_1.map(response, SimpleEncodingVodJobResponse_1.default);
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* @summary Simple Encoding VOD Job details
|
|
45
|
+
* @param {string} simpleEncodingJobId Id of the Simple Encoding VOD Job
|
|
46
|
+
* @throws {BitmovinError}
|
|
47
|
+
* @memberof VodApi
|
|
48
|
+
*/
|
|
49
|
+
VodApi.prototype.get = function (simpleEncodingJobId) {
|
|
50
|
+
var pathParamMap = {
|
|
51
|
+
simple_encoding_job_id: simpleEncodingJobId
|
|
52
|
+
};
|
|
53
|
+
return this.restClient.get('/encoding/simple/jobs/vod/{simple_encoding_job_id}', pathParamMap).then(function (response) {
|
|
54
|
+
return Mapper_1.map(response, SimpleEncodingVodJobResponse_1.default);
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* @summary List all Simple Encoding VOD Jobs
|
|
59
|
+
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
60
|
+
* @throws {BitmovinError}
|
|
61
|
+
* @memberof VodApi
|
|
62
|
+
*/
|
|
63
|
+
VodApi.prototype.list = function (queryParameters) {
|
|
64
|
+
var queryParams = {};
|
|
65
|
+
if (typeof queryParameters === 'function') {
|
|
66
|
+
queryParams = queryParameters(new SimpleEncodingVodJobResponseListQueryParams_1.SimpleEncodingVodJobResponseListQueryParamsBuilder()).buildQueryParams();
|
|
67
|
+
}
|
|
68
|
+
else if (queryParameters) {
|
|
69
|
+
queryParams = queryParameters;
|
|
70
|
+
}
|
|
71
|
+
return this.restClient.get('/encoding/simple/jobs/vod', {}, queryParams).then(function (response) {
|
|
72
|
+
return new PaginationResponse_1.default(response, SimpleEncodingVodJobResponse_1.default);
|
|
73
|
+
});
|
|
74
|
+
};
|
|
75
|
+
return VodApi;
|
|
76
|
+
}(BaseAPI_1.BaseAPI));
|
|
77
|
+
exports.default = VodApi;
|
|
78
|
+
//# sourceMappingURL=VodApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VodApi.js","sourceRoot":"","sources":["../../../../../src/encoding/simple/jobs/vod/VodApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sDAAmD;AAEnD,oDAAwD;AAExD,gGAA2F;AAC3F,4EAAuE;AACvE,6GAA8J;AAE9J;;;;;GAKG;AACH;IAAoC,0BAAO;IAEzC,gBAAY,aAA4B;eACtC,kBAAM,aAAa,CAAC;IACtB,CAAC;IAED;;;;;OAKG;IACI,uBAAM,GAAb,UAAc,2BAAyD;QACrE,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,CAA+B,2BAA2B,EAAE,EAAE,EAAE,2BAA2B,CAAC,CAAC,IAAI,CAAC,UAAC,QAAQ;YACpI,OAAO,YAAG,CAAC,QAAQ,EAAE,sCAA4B,CAAC,CAAC;QACrD,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACI,oBAAG,GAAV,UAAW,mBAA2B;QACpC,IAAM,YAAY,GAAG;YACnB,sBAAsB,EAAE,mBAAmB;SAC5C,CAAC;QACF,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAA+B,oDAAoD,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,UAAC,QAAQ;YACzI,OAAO,YAAG,CAAC,QAAQ,EAAE,sCAA4B,CAAC,CAAC;QACrD,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACI,qBAAI,GAAX,UAAY,eAA+K;QACzL,IAAI,WAAW,GAAgD,EAAE,CAAC;QAClE,IAAI,OAAO,eAAe,KAAK,UAAU,EAAE;YACzC,WAAW,GAAG,eAAe,CAAC,IAAI,gGAAkD,EAAE,CAAC,CAAC,gBAAgB,EAAE,CAAC;SAC5G;aAAM,IAAI,eAAe,EAAE;YAC1B,WAAW,GAAG,eAAe,CAAC;SAC/B;QACD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAmD,2BAA2B,EAAE,EAAE,EAAE,WAAW,CAAC,CAAC,IAAI,CAAC,UAAC,QAAQ;YACvI,OAAO,IAAI,4BAAkB,CAA+B,QAAQ,EAAE,sCAA4B,CAAC,CAAC;QACtG,CAAC,CAAC,CAAC;IACL,CAAC;IACH,aAAC;AAAD,CAAC,AAlDD,CAAoC,iBAAO,GAkD1C"}
|
|
@@ -3,7 +3,6 @@ import Configuration from '../../../common/Configuration';
|
|
|
3
3
|
import DailyStatistics from '../../../models/DailyStatistics';
|
|
4
4
|
import PaginationResponse from '../../../models/PaginationResponse';
|
|
5
5
|
import { DailyStatisticsListQueryParams, DailyStatisticsListQueryParamsBuilder } from './DailyStatisticsListQueryParams';
|
|
6
|
-
import { DailyStatisticsListByDateRangeQueryParams, DailyStatisticsListByDateRangeQueryParamsBuilder } from './DailyStatisticsListByDateRangeQueryParams';
|
|
7
6
|
/**
|
|
8
7
|
* DailyApi - object-oriented interface
|
|
9
8
|
* @export
|
|
@@ -23,9 +22,8 @@ export default class DailyApi extends BaseAPI {
|
|
|
23
22
|
* @summary List daily statistics within specific dates
|
|
24
23
|
* @param {Date} from Start date, format: yyyy-MM-dd
|
|
25
24
|
* @param {Date} to End date, format: yyyy-MM-dd
|
|
26
|
-
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
27
25
|
* @throws {BitmovinError}
|
|
28
26
|
* @memberof DailyApi
|
|
29
27
|
*/
|
|
30
|
-
listByDateRange(from: Date, to: Date
|
|
28
|
+
listByDateRange(from: Date, to: Date): Promise<PaginationResponse<DailyStatistics>>;
|
|
31
29
|
}
|
|
@@ -17,7 +17,6 @@ var BaseAPI_1 = require("../../../common/BaseAPI");
|
|
|
17
17
|
var DailyStatistics_1 = require("../../../models/DailyStatistics");
|
|
18
18
|
var PaginationResponse_1 = require("../../../models/PaginationResponse");
|
|
19
19
|
var DailyStatisticsListQueryParams_1 = require("./DailyStatisticsListQueryParams");
|
|
20
|
-
var DailyStatisticsListByDateRangeQueryParams_1 = require("./DailyStatisticsListByDateRangeQueryParams");
|
|
21
20
|
/**
|
|
22
21
|
* DailyApi - object-oriented interface
|
|
23
22
|
* @export
|
|
@@ -51,23 +50,15 @@ var DailyApi = /** @class */ (function (_super) {
|
|
|
51
50
|
* @summary List daily statistics within specific dates
|
|
52
51
|
* @param {Date} from Start date, format: yyyy-MM-dd
|
|
53
52
|
* @param {Date} to End date, format: yyyy-MM-dd
|
|
54
|
-
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
55
53
|
* @throws {BitmovinError}
|
|
56
54
|
* @memberof DailyApi
|
|
57
55
|
*/
|
|
58
|
-
DailyApi.prototype.listByDateRange = function (from, to
|
|
56
|
+
DailyApi.prototype.listByDateRange = function (from, to) {
|
|
59
57
|
var pathParamMap = {
|
|
60
58
|
from: from,
|
|
61
59
|
to: to
|
|
62
60
|
};
|
|
63
|
-
|
|
64
|
-
if (typeof queryParameters === 'function') {
|
|
65
|
-
queryParams = queryParameters(new DailyStatisticsListByDateRangeQueryParams_1.DailyStatisticsListByDateRangeQueryParamsBuilder()).buildQueryParams();
|
|
66
|
-
}
|
|
67
|
-
else if (queryParameters) {
|
|
68
|
-
queryParams = queryParameters;
|
|
69
|
-
}
|
|
70
|
-
return this.restClient.get('/encoding/statistics/daily/{from}/{to}', pathParamMap, queryParams).then(function (response) {
|
|
61
|
+
return this.restClient.get('/encoding/statistics/daily/{from}/{to}', pathParamMap).then(function (response) {
|
|
71
62
|
return new PaginationResponse_1.default(response, DailyStatistics_1.default);
|
|
72
63
|
});
|
|
73
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DailyApi.js","sourceRoot":"","sources":["../../../../src/encoding/statistics/daily/DailyApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,mDAAgD;AAGhD,mEAA8D;AAC9D,yEAAoE;AACpE,mFAAuH;
|
|
1
|
+
{"version":3,"file":"DailyApi.js","sourceRoot":"","sources":["../../../../src/encoding/statistics/daily/DailyApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,mDAAgD;AAGhD,mEAA8D;AAC9D,yEAAoE;AACpE,mFAAuH;AAEvH;;;;;GAKG;AACH;IAAsC,4BAAO;IAE3C,kBAAY,aAA4B;eACtC,kBAAM,aAAa,CAAC;IACtB,CAAC;IAED;;;;;OAKG;IACI,uBAAI,GAAX,UAAY,eAAwI;QAClJ,IAAI,WAAW,GAAmC,EAAE,CAAC;QACrD,IAAI,OAAO,eAAe,KAAK,UAAU,EAAE;YACzC,WAAW,GAAG,eAAe,CAAC,IAAI,sEAAqC,EAAE,CAAC,CAAC,gBAAgB,EAAE,CAAC;SAC/F;aAAM,IAAI,eAAe,EAAE;YAC1B,WAAW,GAAG,eAAe,CAAC;SAC/B;QACD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAsC,4BAA4B,EAAE,EAAE,EAAE,WAAW,CAAC,CAAC,IAAI,CAAC,UAAC,QAAQ;YAC3H,OAAO,IAAI,4BAAkB,CAAkB,QAAQ,EAAE,yBAAe,CAAC,CAAC;QAC5E,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACI,kCAAe,GAAtB,UAAuB,IAAU,EAAE,EAAQ;QACzC,IAAM,YAAY,GAAG;YACnB,IAAI,EAAE,IAAI;YACV,EAAE,EAAE,EAAE;SACP,CAAC;QACF,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAsC,wCAAwC,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,UAAC,QAAQ;YACpI,OAAO,IAAI,4BAAkB,CAAkB,QAAQ,EAAE,yBAAe,CAAC,CAAC;QAC5E,CAAC,CAAC,CAAC;IACL,CAAC;IACH,eAAC;AAAD,CAAC,AAxCD,CAAsC,iBAAO,GAwC5C"}
|