Skip to content

Commit c20e1ba

Browse files
feat(api): OpenAPI spec update via Stainless API (#417)
1 parent 70b9899 commit c20e1ba

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 95
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mux%2Fmux-dcdbbcabe09e395ff040cb84826269403058791409156befca8dd464a877bd97.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mux%2Fmux-cc252d3a50f19e994036c9de866551c7872c9643bc64d9ba87e17901c057a5bb.yml

src/resources/shared.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ export interface PlaybackID {
1616
* details about creating tokens.
1717
*/
1818
policy: PlaybackPolicy;
19+
20+
/**
21+
* The DRM configuration used by this playback ID. Must only be set when `policy`
22+
* is set to `drm`.
23+
*/
24+
drm_configuration_id?: string;
1925
}
2026

2127
/**
@@ -27,4 +33,4 @@ export interface PlaybackID {
2733
* [Secure video playback](https://docs.mux.com/guides/secure-video-playback) for
2834
* details about creating tokens.
2935
*/
30-
export type PlaybackPolicy = 'public' | 'signed';
36+
export type PlaybackPolicy = 'public' | 'signed' | 'drm';

0 commit comments

Comments
 (0)