@@ -23,10 +23,6 @@ export class Webhooks extends APIResource {
2323 }
2424}
2525
26- /**
27- * Triggered when a post-transformation fails. The original file remains available,
28- * but the requested transformation could not be generated.
29- */
3026export interface UploadPostTransformErrorEvent {
3127 /**
3228 * Unique identifier for the event.
@@ -114,11 +110,6 @@ export namespace UploadPostTransformErrorEvent {
114110 }
115111}
116112
117- /**
118- * Triggered when a post-transformation completes successfully. The transformed
119- * version of the file is now ready and can be accessed via the provided URL. Note
120- * that each post-transformation generates a separate webhook event.
121- */
122113export interface UploadPostTransformSuccessEvent {
123114 /**
124115 * Unique identifier for the event.
@@ -184,10 +175,6 @@ export namespace UploadPostTransformSuccessEvent {
184175 }
185176}
186177
187- /**
188- * Triggered when a pre-transformation fails. The file upload may have been
189- * accepted, but the requested transformation could not be applied.
190- */
191178export interface UploadPreTransformErrorEvent {
192179 /**
193180 * Unique identifier for the event.
@@ -249,11 +236,6 @@ export namespace UploadPreTransformErrorEvent {
249236 }
250237}
251238
252- /**
253- * Triggered when a pre-transformation completes successfully. The file has been
254- * processed with the requested transformation and is now available in the Media
255- * Library.
256- */
257239export interface UploadPreTransformSuccessEvent {
258240 /**
259241 * Unique identifier for the event.
@@ -498,11 +480,6 @@ export namespace UploadPreTransformSuccessEvent {
498480 }
499481}
500482
501- /**
502- * Triggered when a new video transformation request is accepted for processing.
503- * This event confirms that ImageKit has received and queued your transformation
504- * request. Use this for debugging and tracking transformation lifecycle.
505- */
506483export interface VideoTransformationAcceptedEvent {
507484 /**
508485 * Unique identifier for the event.
@@ -632,12 +609,6 @@ export namespace VideoTransformationAcceptedEvent {
632609 }
633610}
634611
635- /**
636- * Triggered when an error occurs during video encoding. Listen to this webhook to
637- * log error reasons and debug issues. Check your origin and URL endpoint settings
638- * if the reason is related to download failure. For other errors, contact ImageKit
639- * support.
640- */
641612export interface VideoTransformationErrorEvent {
642613 /**
643614 * Unique identifier for the event.
@@ -780,12 +751,6 @@ export namespace VideoTransformationErrorEvent {
780751 }
781752}
782753
783- /**
784- * Triggered when video encoding is finished and the transformed resource is ready
785- * to be served. This is the key event to listen for - update your database or CMS
786- * flags when you receive this so your application can start showing the
787- * transformed video to users.
788- */
789754export interface VideoTransformationReadyEvent {
790755 /**
791756 * Unique identifier for the event.
@@ -977,11 +942,6 @@ export namespace VideoTransformationReadyEvent {
977942 }
978943}
979944
980- /**
981- * Triggered when a new video transformation request is accepted for processing.
982- * This event confirms that ImageKit has received and queued your transformation
983- * request. Use this for debugging and tracking transformation lifecycle.
984- */
985945export type UnsafeUnwrapWebhookEvent =
986946 | VideoTransformationAcceptedEvent
987947 | VideoTransformationReadyEvent
@@ -991,11 +951,6 @@ export type UnsafeUnwrapWebhookEvent =
991951 | UploadPostTransformSuccessEvent
992952 | UploadPostTransformErrorEvent ;
993953
994- /**
995- * Triggered when a new video transformation request is accepted for processing.
996- * This event confirms that ImageKit has received and queued your transformation
997- * request. Use this for debugging and tracking transformation lifecycle.
998- */
999954export type UnwrapWebhookEvent =
1000955 | VideoTransformationAcceptedEvent
1001956 | VideoTransformationReadyEvent
0 commit comments