Skip to content

Commit e7a32bb

Browse files
author
stlc-bot
committed
Build SDK
Stainless-Generated-From: a1af22d
1 parent ce2cb78 commit e7a32bb

17 files changed

Lines changed: 17 additions & 20 deletions

‎src/imagekitio/types/base_webhook_event.py‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,3 @@
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"] # type: ignore
21+
type: Literal["file.created"]
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"] # type: ignore
27+
type: Literal["file.deleted"]
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"] # type: ignore
21+
type: Literal["file.updated"]
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"] # type: ignore
21+
type: Literal["file-version.created"]
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"] # type: ignore
30+
type: Literal["file-version.deleted"]
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"] # type: ignore
22+
type: Literal["folder.created"]
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"] # type: ignore
30+
type: Literal["folder.deleted"]
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"] # type: ignore
22+
type: Literal["folder.updated"]
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"] # type: ignore
78+
type: Literal["upload.post-transform.error"]

0 commit comments

Comments
 (0)