Skip to content

Commit 600ecdf

Browse files
committed
"video.transformation.completed" -> "video.transformation.ready"
1 parent 5640c02 commit 600ecdf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

libs/interfaces/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { RenameFileOptions, RenameFileResponse } from "./Rename"
2020
import {
2121
WebhookEvent,
2222
WebhookEventVideoAccepted,
23-
WebhookEventVideoCompleted,
23+
WebhookEventVideoReady,
2424
WebhookEventVideoFailed,
2525
} from "./webhookEvent";
2626

@@ -64,7 +64,7 @@ export type {
6464
RenameFileResponse,
6565
WebhookEvent,
6666
WebhookEventVideoAccepted,
67-
WebhookEventVideoCompleted,
67+
WebhookEventVideoReady,
6868
WebhookEventVideoFailed,
6969
};
7070
export type { IKCallback } from "./IKCallback";

libs/interfaces/webhookEvent.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ export interface WebhookEventVideoAccepted extends WebhookEventVideoBase {
3636
};
3737
}
3838

39-
export interface WebhookEventVideoCompleted extends WebhookEventVideoBase {
40-
type: "video.transformation.completed";
39+
export interface WebhookEventVideoReady extends WebhookEventVideoBase {
40+
type: "video.transformation.ready";
4141
timings: {
4242
donwload_duration: number;
4343
encoding_duration: number;
@@ -76,5 +76,5 @@ export interface WebhookEventVideoFailed extends WebhookEventVideoBase {
7676

7777
export type WebhookEvent =
7878
| WebhookEventVideoAccepted
79-
| WebhookEventVideoCompleted
79+
| WebhookEventVideoReady
8080
| WebhookEventVideoFailed;

0 commit comments

Comments
 (0)