Skip to content

Commit 35f18e1

Browse files
author
stlc-bot
committed
Build SDK
Stainless-Generated-From: 08336a3
1 parent e7a32bb commit 35f18e1

17 files changed

Lines changed: 20 additions & 17 deletions

‎src/imagekitio/types/base_webhook_event.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@
88
class BaseWebhookEvent(BaseModel):
99
id: str
1010
"""Unique identifier for the event."""
11+
12+
type: str
13+
"""The type of webhook event."""

‎src/imagekitio/types/file_create_event.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ class FileCreateEvent(BaseWebhookEvent):
1818
data: File
1919
"""Object containing details of a file or file version."""
2020

21-
type: Literal["file.created"]
21+
type: Literal["file.created"] # type: ignore
2222
"""Type of the webhook event."""

‎src/imagekitio/types/file_delete_event.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ class FileDeleteEvent(BaseWebhookEvent):
2424

2525
data: FileDeleteEventData
2626

27-
type: Literal["file.deleted"]
27+
type: Literal["file.deleted"] # type: ignore
2828
"""Type of the webhook event."""

‎src/imagekitio/types/file_update_event.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ class FileUpdateEvent(BaseWebhookEvent):
1818
data: File
1919
"""Object containing details of a file or file version."""
2020

21-
type: Literal["file.updated"]
21+
type: Literal["file.updated"] # type: ignore
2222
"""Type of the webhook event."""

‎src/imagekitio/types/file_version_create_event.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ class FileVersionCreateEvent(BaseWebhookEvent):
1818
data: File
1919
"""Object containing details of a file or file version."""
2020

21-
type: Literal["file-version.created"]
21+
type: Literal["file-version.created"] # type: ignore
2222
"""Type of the webhook event."""

‎src/imagekitio/types/file_version_delete_event.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ class FileVersionDeleteEvent(BaseWebhookEvent):
2727

2828
data: FileVersionDeleteEventData
2929

30-
type: Literal["file-version.deleted"]
30+
type: Literal["file-version.deleted"] # type: ignore
3131
"""Type of the webhook event."""

‎src/imagekitio/types/folder_create_event.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ class FolderCreateEvent(BaseWebhookEvent):
1919

2020
data: Folder
2121

22-
type: Literal["folder.created"]
22+
type: Literal["folder.created"] # type: ignore
2323
"""Type of the webhook event."""

‎src/imagekitio/types/folder_delete_event.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ class FolderDeleteEvent(BaseWebhookEvent):
2727

2828
data: FolderDeleteEventData
2929

30-
type: Literal["folder.deleted"]
30+
type: Literal["folder.deleted"] # type: ignore
3131
"""Type of the webhook event."""

‎src/imagekitio/types/folder_update_event.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ class FolderUpdateEvent(BaseWebhookEvent):
1919

2020
data: Folder
2121

22-
type: Literal["folder.updated"]
22+
type: Literal["folder.updated"] # type: ignore
2323
"""Type of the webhook event."""

‎src/imagekitio/types/upload_post_transform_error_event.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ class UploadPostTransformErrorEvent(BaseWebhookEvent):
7575

7676
request: UploadPostTransformErrorEventRequest
7777

78-
type: Literal["upload.post-transform.error"]
78+
type: Literal["upload.post-transform.error"] # type: ignore

0 commit comments

Comments
 (0)