From f6aa14f3e8480bcac30214dfbd63df162e0f3d72 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Fri, 6 Dec 2019 22:19:15 +0000 Subject: [PATCH] Generated from 91f73b4a5ce3fc0437cf2e95663a6a71c313ef3e Copy the samples encoding and platform repo. --- sdk/mediaservices/arm-mediaservices/README.md | 3 +- .../arm-mediaservices/package.json | 14 +-- .../arm-mediaservices/rollup.config.js | 2 +- .../src/models/accountFiltersMappers.ts | 1 + .../src/models/assetFiltersMappers.ts | 1 + .../src/models/assetsMappers.ts | 1 + .../src/models/contentKeyPoliciesMappers.ts | 1 + .../arm-mediaservices/src/models/index.ts | 119 +++++++++++++----- .../src/models/jobsMappers.ts | 1 + .../src/models/liveEventsMappers.ts | 1 + .../src/models/liveOutputsMappers.ts | 1 + .../arm-mediaservices/src/models/mappers.ts | 85 +++++++++++++ .../src/models/mediaservicesMappers.ts | 1 + .../src/models/streamingEndpointsMappers.ts | 1 + .../src/models/streamingLocatorsMappers.ts | 1 + .../src/models/streamingPoliciesMappers.ts | 1 + .../src/models/transformsMappers.ts | 1 + .../arm-mediaservices/tsconfig.json | 2 +- 18 files changed, 193 insertions(+), 44 deletions(-) diff --git a/sdk/mediaservices/arm-mediaservices/README.md b/sdk/mediaservices/arm-mediaservices/README.md index 0ce35a369655..45ed4d79553d 100644 --- a/sdk/mediaservices/arm-mediaservices/README.md +++ b/sdk/mediaservices/arm-mediaservices/README.md @@ -19,9 +19,8 @@ npm install @azure/arm-mediaservices ##### Install @azure/ms-rest-nodeauth -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. ```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" +npm install @azure/ms-rest-nodeauth ``` ##### Sample code diff --git a/sdk/mediaservices/arm-mediaservices/package.json b/sdk/mediaservices/arm-mediaservices/package.json index b8a439357990..317afb2bf998 100644 --- a/sdk/mediaservices/arm-mediaservices/package.json +++ b/sdk/mediaservices/arm-mediaservices/package.json @@ -4,9 +4,9 @@ "description": "AzureMediaServices Library with typescript type definitions for node.js and browser.", "version": "7.0.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", - "tslib": "^1.10.0" + "@azure/ms-rest-azure-js": "^1.3.2", + "@azure/ms-rest-js": "^1.8.1", + "tslib": "^1.9.3" }, "keywords": [ "node", @@ -20,11 +20,11 @@ "module": "./esm/azureMediaServices.js", "types": "./esm/azureMediaServices.d.ts", "devDependencies": { - "typescript": "^3.5.3", - "rollup": "^1.18.0", - "rollup-plugin-node-resolve": "^5.2.0", + "typescript": "^3.1.1", + "rollup": "^0.66.2", + "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", - "uglify-js": "^3.6.0" + "uglify-js": "^3.4.9" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/mediaservices/arm-mediaservices", "repository": { diff --git a/sdk/mediaservices/arm-mediaservices/rollup.config.js b/sdk/mediaservices/arm-mediaservices/rollup.config.js index 77c26ebad1ca..9d008e414b27 100644 --- a/sdk/mediaservices/arm-mediaservices/rollup.config.js +++ b/sdk/mediaservices/arm-mediaservices/rollup.config.js @@ -29,7 +29,7 @@ const config = { */` }, plugins: [ - nodeResolve({ mainFields: ['module', 'main'] }), + nodeResolve({ module: true }), sourcemaps() ] }; diff --git a/sdk/mediaservices/arm-mediaservices/src/models/accountFiltersMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/accountFiltersMappers.ts index 5881da916a0c..f806af744400 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/accountFiltersMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/accountFiltersMappers.ts @@ -32,6 +32,7 @@ export { ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyConfiguration, ContentKeyPolicyFairPlayConfiguration, + ContentKeyPolicyFairPlayOfflineRentalConfiguration, ContentKeyPolicyOpenRestriction, ContentKeyPolicyOption, ContentKeyPolicyPlayReadyConfiguration, diff --git a/sdk/mediaservices/arm-mediaservices/src/models/assetFiltersMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/assetFiltersMappers.ts index acbab081fd4f..574d26c75e74 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/assetFiltersMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/assetFiltersMappers.ts @@ -32,6 +32,7 @@ export { ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyConfiguration, ContentKeyPolicyFairPlayConfiguration, + ContentKeyPolicyFairPlayOfflineRentalConfiguration, ContentKeyPolicyOpenRestriction, ContentKeyPolicyOption, ContentKeyPolicyPlayReadyConfiguration, diff --git a/sdk/mediaservices/arm-mediaservices/src/models/assetsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/assetsMappers.ts index 500405edcb1e..e7ec775d858f 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/assetsMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/assetsMappers.ts @@ -35,6 +35,7 @@ export { ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyConfiguration, ContentKeyPolicyFairPlayConfiguration, + ContentKeyPolicyFairPlayOfflineRentalConfiguration, ContentKeyPolicyOpenRestriction, ContentKeyPolicyOption, ContentKeyPolicyPlayReadyConfiguration, diff --git a/sdk/mediaservices/arm-mediaservices/src/models/contentKeyPoliciesMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/contentKeyPoliciesMappers.ts index 19f169767d73..22df95767595 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/contentKeyPoliciesMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/contentKeyPoliciesMappers.ts @@ -32,6 +32,7 @@ export { ContentKeyPolicyCollection, ContentKeyPolicyConfiguration, ContentKeyPolicyFairPlayConfiguration, + ContentKeyPolicyFairPlayOfflineRentalConfiguration, ContentKeyPolicyOpenRestriction, ContentKeyPolicyOption, ContentKeyPolicyPlayReadyConfiguration, diff --git a/sdk/mediaservices/arm-mediaservices/src/models/index.ts b/sdk/mediaservices/arm-mediaservices/src/models/index.ts index 7d0ac41687e6..dba61af01a4c 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/index.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/index.ts @@ -958,6 +958,20 @@ export interface ContentKeyPolicyPlayReadyConfiguration { responseCustomData?: string; } +/** + * An interface representing ContentKeyPolicyFairPlayOfflineRentalConfiguration. + */ +export interface ContentKeyPolicyFairPlayOfflineRentalConfiguration { + /** + * Playback duration + */ + playbackDurationSeconds: number; + /** + * Storage duration + */ + storageDurationSeconds: number; +} + /** * Specifies a configuration for FairPlay licenses. */ @@ -980,7 +994,7 @@ export interface ContentKeyPolicyFairPlayConfiguration { */ fairPlayPfx: string; /** - * The rental and lease key type. Possible values include: 'Unknown', 'Undefined', + * The rental and lease key type. Possible values include: 'Unknown', 'Undefined', 'DualExpiry', * 'PersistentUnlimited', 'PersistentLimited' */ rentalAndLeaseKeyType: ContentKeyPolicyFairPlayRentalAndLeaseKeyType; @@ -988,6 +1002,10 @@ export interface ContentKeyPolicyFairPlayConfiguration { * The rental duration. Must be greater than or equal to 0. */ rentalDuration: number; + /** + * Offline rental policy + */ + offlineRentalConfiguration?: ContentKeyPolicyFairPlayOfflineRentalConfiguration; } /** @@ -1190,6 +1208,10 @@ export interface FaceDetectorPreset { * values include: 'SourceResolution', 'StandardDefinition' */ resolution?: AnalysisResolution; + /** + * Dictionary containing key value pairs for parameters not exposed in the preset itself + */ + experimentalOptions?: { [propertyName: string]: string }; } /** @@ -1209,20 +1231,20 @@ export interface AudioAnalyzerPreset { odatatype: "#Microsoft.Media.AudioAnalyzerPreset"; /** * The language for the audio payload in the input using the BCP-47 format of 'language - * tag-region' (e.g: 'en-US'). The list of supported languages are English ('en-US' and - * 'en-GB'), Spanish ('es-ES' and 'es-MX'), French ('fr-FR'), Italian ('it-IT'), Japanese - * ('ja-JP'), Portuguese ('pt-BR'), Chinese ('zh-CN'), German ('de-DE'), Arabic ('ar-EG' and - * 'ar-SY'), Russian ('ru-RU'), Hindi ('hi-IN'), and Korean ('ko-KR'). If you know the language - * of your content, it is recommended that you specify it. If the language isn't specified or set - * to null, automatic language detection will choose the first language detected and process with - * the selected language for the duration of the file. This language detection feature currently - * supports English, Chinese, French, German, Italian, Japanese, Spanish, Russian, and - * Portuguese. It does not currently support dynamically switching between languages after the - * first language is detected. The automatic detection works best with audio recordings with - * clearly discernable speech. If automatic detection fails to find the language, transcription - * would fallback to 'en-US'." + * tag-region' (e.g: 'en-US'). If you know the language of your content, it is recommended that + * you specify it. If the language isn't specified or set to null, automatic language detection + * will choose the first language detected and process with the selected language for the + * duration of the file. It does not currently support dynamically switching between languages + * after the first language is detected. The automatic detection works best with audio recordings + * with clearly discernable speech. If automatic detection fails to find the language, + * transcription would fallback to 'en-US'." The list of supported languages is available here: + * https://go.microsoft.com/fwlink/?linkid=2109463 */ audioLanguage?: string; + /** + * Dictionary containing key value pairs for parameters not exposed in the preset itself + */ + experimentalOptions?: { [propertyName: string]: string }; } /** @@ -2048,8 +2070,8 @@ export interface BuiltInStandardEncoderPreset { /** * The built-in preset to be used for encoding videos. Possible values include: * 'H264SingleBitrateSD', 'H264SingleBitrate720p', 'H264SingleBitrate1080p', 'AdaptiveStreaming', - * 'AACGoodQualityAudio', 'ContentAwareEncodingExperimental', 'H264MultipleBitrate1080p', - * 'H264MultipleBitrate720p', 'H264MultipleBitrateSD' + * 'AACGoodQualityAudio', 'ContentAwareEncodingExperimental', 'ContentAwareEncoding', + * 'H264MultipleBitrate1080p', 'H264MultipleBitrate720p', 'H264MultipleBitrateSD' */ presetName: EncoderNamedPreset; } @@ -2087,20 +2109,20 @@ export interface VideoAnalyzerPreset { odatatype: "#Microsoft.Media.VideoAnalyzerPreset"; /** * The language for the audio payload in the input using the BCP-47 format of 'language - * tag-region' (e.g: 'en-US'). The list of supported languages are English ('en-US' and - * 'en-GB'), Spanish ('es-ES' and 'es-MX'), French ('fr-FR'), Italian ('it-IT'), Japanese - * ('ja-JP'), Portuguese ('pt-BR'), Chinese ('zh-CN'), German ('de-DE'), Arabic ('ar-EG' and - * 'ar-SY'), Russian ('ru-RU'), Hindi ('hi-IN'), and Korean ('ko-KR'). If you know the language - * of your content, it is recommended that you specify it. If the language isn't specified or set - * to null, automatic language detection will choose the first language detected and process with - * the selected language for the duration of the file. This language detection feature currently - * supports English, Chinese, French, German, Italian, Japanese, Spanish, Russian, and - * Portuguese. It does not currently support dynamically switching between languages after the - * first language is detected. The automatic detection works best with audio recordings with - * clearly discernable speech. If automatic detection fails to find the language, transcription - * would fallback to 'en-US'." + * tag-region' (e.g: 'en-US'). If you know the language of your content, it is recommended that + * you specify it. If the language isn't specified or set to null, automatic language detection + * will choose the first language detected and process with the selected language for the + * duration of the file. It does not currently support dynamically switching between languages + * after the first language is detected. The automatic detection works best with audio recordings + * with clearly discernable speech. If automatic detection fails to find the language, + * transcription would fallback to 'en-US'." The list of supported languages is available here: + * https://go.microsoft.com/fwlink/?linkid=2109463 */ audioLanguage?: string; + /** + * Dictionary containing key value pairs for parameters not exposed in the preset itself + */ + experimentalOptions?: { [propertyName: string]: string }; /** * Defines the type of insights that you want the service to generate. The allowed values are * 'AudioInsightsOnly', 'VideoInsightsOnly', and 'AllInsights'. The default is AllInsights. If @@ -2521,6 +2543,16 @@ export interface JobOutput { * Transform. */ label?: string; + /** + * The UTC date and time at which this Job Output began processing. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly startTime?: Date; + /** + * The UTC date and time at which this Job Output finished processing. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly endTime?: Date; } /** @@ -2562,6 +2594,16 @@ export interface JobOutputAsset { * Transform. */ label?: string; + /** + * The UTC date and time at which this Job Output began processing. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly startTime?: Date; + /** + * The UTC date and time at which this Job Output finished processing. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly endTime?: Date; /** * The name of the output Asset. */ @@ -2611,6 +2653,16 @@ export interface Job extends ProxyResource { * Customer provided key, value pairs that will be returned in Job and JobOutput state events. */ correlationData?: { [propertyName: string]: string }; + /** + * The UTC date and time at which this Job began processing. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly startTime?: Date; + /** + * The UTC date and time at which this Job finished processing. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly endTime?: Date; } /** @@ -3483,7 +3535,7 @@ export interface ContentKeyPoliciesListOptionalParams extends msRest.RequestOpti */ top?: number; /** - * Specifies the key by which the result collection should be ordered. + * Specifies the the key by which the result collection should be ordered. */ orderby?: string; } @@ -3890,11 +3942,12 @@ export type ContentKeyPolicyRestrictionTokenType = 'Unknown' | 'Swt' | 'Jwt'; /** * Defines values for ContentKeyPolicyFairPlayRentalAndLeaseKeyType. - * Possible values include: 'Unknown', 'Undefined', 'PersistentUnlimited', 'PersistentLimited' + * Possible values include: 'Unknown', 'Undefined', 'DualExpiry', 'PersistentUnlimited', + * 'PersistentLimited' * @readonly * @enum {string} */ -export type ContentKeyPolicyFairPlayRentalAndLeaseKeyType = 'Unknown' | 'Undefined' | 'PersistentUnlimited' | 'PersistentLimited'; +export type ContentKeyPolicyFairPlayRentalAndLeaseKeyType = 'Unknown' | 'Undefined' | 'DualExpiry' | 'PersistentUnlimited' | 'PersistentLimited'; /** * Defines values for AacAudioProfile. @@ -3972,12 +4025,12 @@ export type H264Complexity = 'Speed' | 'Balanced' | 'Quality'; * Defines values for EncoderNamedPreset. * Possible values include: 'H264SingleBitrateSD', 'H264SingleBitrate720p', * 'H264SingleBitrate1080p', 'AdaptiveStreaming', 'AACGoodQualityAudio', - * 'ContentAwareEncodingExperimental', 'H264MultipleBitrate1080p', 'H264MultipleBitrate720p', - * 'H264MultipleBitrateSD' + * 'ContentAwareEncodingExperimental', 'ContentAwareEncoding', 'H264MultipleBitrate1080p', + * 'H264MultipleBitrate720p', 'H264MultipleBitrateSD' * @readonly * @enum {string} */ -export type EncoderNamedPreset = 'H264SingleBitrateSD' | 'H264SingleBitrate720p' | 'H264SingleBitrate1080p' | 'AdaptiveStreaming' | 'AACGoodQualityAudio' | 'ContentAwareEncodingExperimental' | 'H264MultipleBitrate1080p' | 'H264MultipleBitrate720p' | 'H264MultipleBitrateSD'; +export type EncoderNamedPreset = 'H264SingleBitrateSD' | 'H264SingleBitrate720p' | 'H264SingleBitrate1080p' | 'AdaptiveStreaming' | 'AACGoodQualityAudio' | 'ContentAwareEncodingExperimental' | 'ContentAwareEncoding' | 'H264MultipleBitrate1080p' | 'H264MultipleBitrate720p' | 'H264MultipleBitrateSD'; /** * Defines values for InsightsType. diff --git a/sdk/mediaservices/arm-mediaservices/src/models/jobsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/jobsMappers.ts index 4275d38d4230..c8ab11eb07b1 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/jobsMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/jobsMappers.ts @@ -31,6 +31,7 @@ export { ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyConfiguration, ContentKeyPolicyFairPlayConfiguration, + ContentKeyPolicyFairPlayOfflineRentalConfiguration, ContentKeyPolicyOpenRestriction, ContentKeyPolicyOption, ContentKeyPolicyPlayReadyConfiguration, diff --git a/sdk/mediaservices/arm-mediaservices/src/models/liveEventsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/liveEventsMappers.ts index a295e22af2cb..33ff3ad3e305 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/liveEventsMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/liveEventsMappers.ts @@ -31,6 +31,7 @@ export { ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyConfiguration, ContentKeyPolicyFairPlayConfiguration, + ContentKeyPolicyFairPlayOfflineRentalConfiguration, ContentKeyPolicyOpenRestriction, ContentKeyPolicyOption, ContentKeyPolicyPlayReadyConfiguration, diff --git a/sdk/mediaservices/arm-mediaservices/src/models/liveOutputsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/liveOutputsMappers.ts index 2dd919620d64..98d952aab9ef 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/liveOutputsMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/liveOutputsMappers.ts @@ -31,6 +31,7 @@ export { ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyConfiguration, ContentKeyPolicyFairPlayConfiguration, + ContentKeyPolicyFairPlayOfflineRentalConfiguration, ContentKeyPolicyOpenRestriction, ContentKeyPolicyOption, ContentKeyPolicyPlayReadyConfiguration, diff --git a/sdk/mediaservices/arm-mediaservices/src/models/mappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/mappers.ts index cfb48aa8c18c..e7406f2f05ee 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/mappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/mappers.ts @@ -1559,6 +1559,30 @@ export const ContentKeyPolicyPlayReadyConfiguration: msRest.CompositeMapper = { } }; +export const ContentKeyPolicyFairPlayOfflineRentalConfiguration: msRest.CompositeMapper = { + serializedName: "ContentKeyPolicyFairPlayOfflineRentalConfiguration", + type: { + name: "Composite", + className: "ContentKeyPolicyFairPlayOfflineRentalConfiguration", + modelProperties: { + playbackDurationSeconds: { + required: true, + serializedName: "playbackDurationSeconds", + type: { + name: "Number" + } + }, + storageDurationSeconds: { + required: true, + serializedName: "storageDurationSeconds", + type: { + name: "Number" + } + } + } + } +}; + export const ContentKeyPolicyFairPlayConfiguration: msRest.CompositeMapper = { serializedName: "#Microsoft.Media.ContentKeyPolicyFairPlayConfiguration", type: { @@ -1602,6 +1626,13 @@ export const ContentKeyPolicyFairPlayConfiguration: msRest.CompositeMapper = { type: { name: "Number" } + }, + offlineRentalConfiguration: { + serializedName: "offlineRentalConfiguration", + type: { + name: "Composite", + className: "ContentKeyPolicyFairPlayOfflineRentalConfiguration" + } } } } @@ -1868,6 +1899,17 @@ export const FaceDetectorPreset: msRest.CompositeMapper = { type: { name: "String" } + }, + experimentalOptions: { + serializedName: "experimentalOptions", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } } } } @@ -1887,6 +1929,17 @@ export const AudioAnalyzerPreset: msRest.CompositeMapper = { type: { name: "String" } + }, + experimentalOptions: { + serializedName: "experimentalOptions", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } } } } @@ -3023,6 +3076,22 @@ export const JobOutput: msRest.CompositeMapper = { name: "String" } }, + startTime: { + nullable: true, + readOnly: true, + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + endTime: { + nullable: true, + readOnly: true, + serializedName: "endTime", + type: { + name: "DateTime" + } + }, odatatype: { required: true, serializedName: "@odata\\.type", @@ -3128,6 +3197,22 @@ export const Job: msRest.CompositeMapper = { } } } + }, + startTime: { + nullable: true, + readOnly: true, + serializedName: "properties.startTime", + type: { + name: "DateTime" + } + }, + endTime: { + nullable: true, + readOnly: true, + serializedName: "properties.endTime", + type: { + name: "DateTime" + } } } } diff --git a/sdk/mediaservices/arm-mediaservices/src/models/mediaservicesMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/mediaservicesMappers.ts index a97801c7cb3e..77108f268767 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/mediaservicesMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/mediaservicesMappers.ts @@ -31,6 +31,7 @@ export { ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyConfiguration, ContentKeyPolicyFairPlayConfiguration, + ContentKeyPolicyFairPlayOfflineRentalConfiguration, ContentKeyPolicyOpenRestriction, ContentKeyPolicyOption, ContentKeyPolicyPlayReadyConfiguration, diff --git a/sdk/mediaservices/arm-mediaservices/src/models/streamingEndpointsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/streamingEndpointsMappers.ts index cb11ab9cd7ad..1c6e233f9108 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/streamingEndpointsMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/streamingEndpointsMappers.ts @@ -31,6 +31,7 @@ export { ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyConfiguration, ContentKeyPolicyFairPlayConfiguration, + ContentKeyPolicyFairPlayOfflineRentalConfiguration, ContentKeyPolicyOpenRestriction, ContentKeyPolicyOption, ContentKeyPolicyPlayReadyConfiguration, diff --git a/sdk/mediaservices/arm-mediaservices/src/models/streamingLocatorsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/streamingLocatorsMappers.ts index 78623db0db24..16896df144a6 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/streamingLocatorsMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/streamingLocatorsMappers.ts @@ -31,6 +31,7 @@ export { ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyConfiguration, ContentKeyPolicyFairPlayConfiguration, + ContentKeyPolicyFairPlayOfflineRentalConfiguration, ContentKeyPolicyOpenRestriction, ContentKeyPolicyOption, ContentKeyPolicyPlayReadyConfiguration, diff --git a/sdk/mediaservices/arm-mediaservices/src/models/streamingPoliciesMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/streamingPoliciesMappers.ts index 78f3bc5ef507..67c4d51eae14 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/streamingPoliciesMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/streamingPoliciesMappers.ts @@ -31,6 +31,7 @@ export { ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyConfiguration, ContentKeyPolicyFairPlayConfiguration, + ContentKeyPolicyFairPlayOfflineRentalConfiguration, ContentKeyPolicyOpenRestriction, ContentKeyPolicyOption, ContentKeyPolicyPlayReadyConfiguration, diff --git a/sdk/mediaservices/arm-mediaservices/src/models/transformsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/transformsMappers.ts index 304797f9003b..00d0e0dda60a 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/transformsMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/transformsMappers.ts @@ -31,6 +31,7 @@ export { ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyConfiguration, ContentKeyPolicyFairPlayConfiguration, + ContentKeyPolicyFairPlayOfflineRentalConfiguration, ContentKeyPolicyOpenRestriction, ContentKeyPolicyOption, ContentKeyPolicyPlayReadyConfiguration, diff --git a/sdk/mediaservices/arm-mediaservices/tsconfig.json b/sdk/mediaservices/arm-mediaservices/tsconfig.json index 422b584abd5e..87bbf5b5fa49 100644 --- a/sdk/mediaservices/arm-mediaservices/tsconfig.json +++ b/sdk/mediaservices/arm-mediaservices/tsconfig.json @@ -9,7 +9,7 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6", "dom"], + "lib": ["es6"], "declaration": true, "outDir": "./esm", "importHelpers": true