@@ -24,10 +24,6 @@ export class Webhooks extends APIResource {
2424 }
2525}
2626
27- /**
28- * Triggered when a post-transformation fails. The original file remains available,
29- * but the requested transformation could not be generated.
30- */
3127export interface UploadPostTransformErrorEvent {
3228 /**
3329 * Unique identifier for the event.
@@ -115,11 +111,6 @@ export namespace UploadPostTransformErrorEvent {
115111 }
116112}
117113
118- /**
119- * Triggered when a post-transformation completes successfully. The transformed
120- * version of the file is now ready and can be accessed via the provided URL. Note
121- * that each post-transformation generates a separate webhook event.
122- */
123114export interface UploadPostTransformSuccessEvent {
124115 /**
125116 * Unique identifier for the event.
@@ -185,10 +176,6 @@ export namespace UploadPostTransformSuccessEvent {
185176 }
186177}
187178
188- /**
189- * Triggered when a pre-transformation fails. The file upload may have been
190- * accepted, but the requested transformation could not be applied.
191- */
192179export interface UploadPreTransformErrorEvent {
193180 /**
194181 * Unique identifier for the event.
@@ -250,11 +237,6 @@ export namespace UploadPreTransformErrorEvent {
250237 }
251238}
252239
253- /**
254- * Triggered when a pre-transformation completes successfully. The file has been
255- * processed with the requested transformation and is now available in the Media
256- * Library.
257- */
258240export interface UploadPreTransformSuccessEvent {
259241 /**
260242 * Unique identifier for the event.
@@ -499,11 +481,6 @@ export namespace UploadPreTransformSuccessEvent {
499481 }
500482}
501483
502- /**
503- * Triggered when a new video transformation request is accepted for processing.
504- * This event confirms that ImageKit has received and queued your transformation
505- * request. Use this for debugging and tracking transformation lifecycle.
506- */
507484export interface VideoTransformationAcceptedEvent {
508485 /**
509486 * Unique identifier for the event.
@@ -633,12 +610,6 @@ export namespace VideoTransformationAcceptedEvent {
633610 }
634611}
635612
636- /**
637- * Triggered when an error occurs during video encoding. Listen to this webhook to
638- * log error reasons and debug issues. Check your origin and URL endpoint settings
639- * if the reason is related to download failure. For other errors, contact ImageKit
640- * support.
641- */
642613export interface VideoTransformationErrorEvent {
643614 /**
644615 * Unique identifier for the event.
@@ -781,12 +752,6 @@ export namespace VideoTransformationErrorEvent {
781752 }
782753}
783754
784- /**
785- * Triggered when video encoding is finished and the transformed resource is ready
786- * to be served. This is the key event to listen for - update your database or CMS
787- * flags when you receive this so your application can start showing the
788- * transformed video to users.
789- */
790755export interface VideoTransformationReadyEvent {
791756 /**
792757 * Unique identifier for the event.
@@ -978,11 +943,6 @@ export namespace VideoTransformationReadyEvent {
978943 }
979944}
980945
981- /**
982- * Triggered when a new video transformation request is accepted for processing.
983- * This event confirms that ImageKit has received and queued your transformation
984- * request. Use this for debugging and tracking transformation lifecycle.
985- */
986946export type UnsafeUnwrapWebhookEvent =
987947 | VideoTransformationAcceptedEvent
988948 | VideoTransformationReadyEvent
@@ -992,11 +952,6 @@ export type UnsafeUnwrapWebhookEvent =
992952 | UploadPostTransformSuccessEvent
993953 | UploadPostTransformErrorEvent ;
994954
995- /**
996- * Triggered when a new video transformation request is accepted for processing.
997- * This event confirms that ImageKit has received and queued your transformation
998- * request. Use this for debugging and tracking transformation lifecycle.
999- */
1000955export type UnwrapWebhookEvent =
1001956 | VideoTransformationAcceptedEvent
1002957 | VideoTransformationReadyEvent
0 commit comments