Skip to content

Commit

Permalink
feat: Add video.asset.non_standard_input_detected webhook (#317) (#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Dec 20, 2024
1 parent 7993276 commit d39b407
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 88
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mux%2Fmux-e100077b52e5690f8fc094550ababf503ddad00c306e4f91158da474131595c0.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mux%2Fmux-17b941b5b216d2110d6b40c186362a7224f49e543241af6b52a712f99f1085df.yml
1 change: 1 addition & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ Types:
- <code><a href="./src/resources/webhooks.ts">VideoAssetTrackErroredWebhookEvent</a></code>
- <code><a href="./src/resources/webhooks.ts">VideoAssetTrackDeletedWebhookEvent</a></code>
- <code><a href="./src/resources/webhooks.ts">VideoAssetWarningWebhookEvent</a></code>
- <code><a href="./src/resources/webhooks.ts">VideoAssetNonStandardInputDetectedWebhookEvent</a></code>
- <code><a href="./src/resources/webhooks.ts">VideoUploadAssetCreatedWebhookEvent</a></code>
- <code><a href="./src/resources/webhooks.ts">VideoUploadCancelledWebhookEvent</a></code>
- <code><a href="./src/resources/webhooks.ts">VideoUploadCreatedWebhookEvent</a></code>
Expand Down
7 changes: 7 additions & 0 deletions src/resources/webhooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,12 @@ export interface VideoAssetWarningWebhookEvent extends BaseWebhookEvent {
type: 'video.asset.warning';
}

export interface VideoAssetNonStandardInputDetectedWebhookEvent extends BaseWebhookEvent {
data: AssetsAPI.Asset;

type: 'video.asset.non_standard_input_detected';
}

export interface VideoUploadAssetCreatedWebhookEvent extends BaseWebhookEvent {
data: UploadsAPI.Upload;

Expand Down Expand Up @@ -661,6 +667,7 @@ export type UnwrapWebhookEvent =
| VideoAssetTrackErroredWebhookEvent
| VideoAssetTrackDeletedWebhookEvent
| VideoAssetWarningWebhookEvent
| VideoAssetNonStandardInputDetectedWebhookEvent
| VideoUploadAssetCreatedWebhookEvent
| VideoUploadCancelledWebhookEvent
| VideoUploadCreatedWebhookEvent
Expand Down

0 comments on commit d39b407

Please sign in to comment.