@@ -17,15 +17,15 @@ interface WebhookEventBase {
1717}
1818
1919/** WebhookEvent for "video.transformation.*" type */
20- interface WebhookEventVideoBase extends WebhookEventBase {
20+ interface WebhookEventVideoTransformationBase extends WebhookEventBase {
2121 request : {
2222 x_request_id : string ;
2323 url : string ;
2424 user_agent : string ;
2525 } ;
2626}
2727
28- export interface WebhookEventVideoAccepted extends WebhookEventVideoBase {
28+ export interface WebhookEventVideoTransformationAccepted extends WebhookEventVideoTransformationBase {
2929 type : "video.transformation.accepted" ;
3030 data : {
3131 asset : Asset ;
@@ -36,7 +36,7 @@ export interface WebhookEventVideoAccepted extends WebhookEventVideoBase {
3636 } ;
3737}
3838
39- export interface WebhookEventVideoReady extends WebhookEventVideoBase {
39+ export interface WebhookEventVideoTransformationReady extends WebhookEventVideoTransformationBase {
4040 type : "video.transformation.ready" ;
4141 timings : {
4242 donwload_duration : number ;
@@ -60,7 +60,7 @@ export interface WebhookEventVideoReady extends WebhookEventVideoBase {
6060 } ;
6161}
6262
63- export interface WebhookEventVideoError extends WebhookEventVideoBase {
63+ export interface WebhookEventVideoTransformationError extends WebhookEventVideoTransformationBase {
6464 type : "video.transformation.error" ;
6565 data : {
6666 asset : Asset ;
@@ -75,6 +75,6 @@ export interface WebhookEventVideoError extends WebhookEventVideoBase {
7575}
7676
7777export type WebhookEvent =
78- | WebhookEventVideoAccepted
79- | WebhookEventVideoReady
80- | WebhookEventVideoError ;
78+ | WebhookEventVideoTransformationAccepted
79+ | WebhookEventVideoTransformationReady
80+ | WebhookEventVideoTransformationError ;
0 commit comments