Skip to content

Commit 80976db

Browse files
feat(api): manual updates
1 parent 23143db commit 80976db

File tree

8 files changed

+303
-41
lines changed

8 files changed

+303
-41
lines changed

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 42
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-e798e75f763868cfd2babe250a0d880a651b19f9e1b9a3b567d629eea9893147.yml
3-
openapi_spec_hash: 45341845beb1363b7dcb4050934b9cf0
4-
config_hash: 62e43a8e96bb82f754e37a0e0c264f1e
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-863564701f791fdf016f7321fce445de5e368c474b06b135aaac16214f4f6416.yml
3+
openapi_spec_hash: e3bb05601081de07084edf79cf3a2d63
4+
config_hash: 4947aef92e0f986b21a473329de4a647

api.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,12 @@ Methods:
187187

188188
Types:
189189

190-
- <code><a href="./src/resources/webhooks.ts">VideoTransformationAcceptedEvent</a></code>
191-
- <code><a href="./src/resources/webhooks.ts">VideoTransformationErrorEvent</a></code>
192-
- <code><a href="./src/resources/webhooks.ts">VideoTransformationReadyEvent</a></code>
190+
- <code><a href="./src/resources/webhooks.ts">VideoTransformationAcceptedWebhookEvent</a></code>
191+
- <code><a href="./src/resources/webhooks.ts">VideoTransformationReadyWebhookEvent</a></code>
192+
- <code><a href="./src/resources/webhooks.ts">VideoTransformationErrorWebhookEvent</a></code>
193+
- <code><a href="./src/resources/webhooks.ts">VideoTransformationAcceptedWebhookEvent</a></code>
194+
- <code><a href="./src/resources/webhooks.ts">VideoTransformationReadyWebhookEvent</a></code>
195+
- <code><a href="./src/resources/webhooks.ts">VideoTransformationErrorWebhookEvent</a></code>
193196
- <code><a href="./src/resources/webhooks.ts">UnsafeUnwrapWebhookEvent</a></code>
194197
- <code><a href="./src/resources/webhooks.ts">UnwrapWebhookEvent</a></code>
195198

packages/mcp-server/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ The following tools are available in this MCP server.
253253

254254
Note: The old URLs will stop working. The file/file version URLs cached on CDN will continue to work unless a purge is requested.
255255

256-
- `upload_files` (`write`): ImageKit.io allows you to upload files directly from both the server and client sides. For server-side uploads, private API key authentication is used. For client-side uploads, generate a one-time `token`, `signature`, and `expiration` from your secure backend using private API. [Learn more](/docs/api-reference/upload-file/upload-file#how-to-implement-client-side-file-upload) about how to implement client-side file upload.
256+
- `upload_files` (`write`): ImageKit.io allows you to upload files directly from both the server and client sides. For server-side uploads, private API key authentication is used. For client-side uploads, generate a one-time `token`, `signature`, and `expire` from your secure backend using private API. [Learn more](/docs/api-reference/upload-file/upload-file#how-to-implement-client-side-file-upload) about how to implement client-side file upload.
257257

258258
The [V2 API](/docs/api-reference/upload-file/upload-file-v2) enhances security by verifying the entire payload using JWT.
259259

packages/mcp-server/src/tools/files/upload-files.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const metadata: Metadata = {
1717
export const tool: Tool = {
1818
name: 'upload_files',
1919
description:
20-
'ImageKit.io allows you to upload files directly from both the server and client sides. For server-side uploads, private API key authentication is used. For client-side uploads, generate a one-time `token`, `signature`, and `expiration` from your secure backend using private API. [Learn more](/docs/api-reference/upload-file/upload-file#how-to-implement-client-side-file-upload) about how to implement client-side file upload.\n\nThe [V2 API](/docs/api-reference/upload-file/upload-file-v2) enhances security by verifying the entire payload using JWT.\n\n**File size limit** \\\nOn the free plan, the maximum upload file sizes are 20MB for images, audio, and raw files and 100MB for videos. On the paid plan, these limits increase to 40MB for images, audio, and raw files and 2GB for videos. These limits can be further increased with higher-tier plans.\n\n**Version limit** \\\nA file can have a maximum of 100 versions.\n\n**Demo applications**\n\n- A full-fledged [upload widget using Uppy](https://github.com/imagekit-samples/uppy-uploader), supporting file selections from local storage, URL, Dropbox, Google Drive, Instagram, and more.\n- [Quick start guides](/docs/quick-start-guides) for various frameworks and technologies.\n',
20+
'ImageKit.io allows you to upload files directly from both the server and client sides. For server-side uploads, private API key authentication is used. For client-side uploads, generate a one-time `token`, `signature`, and `expire` from your secure backend using private API. [Learn more](/docs/api-reference/upload-file/upload-file#how-to-implement-client-side-file-upload) about how to implement client-side file upload.\n\nThe [V2 API](/docs/api-reference/upload-file/upload-file-v2) enhances security by verifying the entire payload using JWT.\n\n**File size limit** \\\nOn the free plan, the maximum upload file sizes are 20MB for images, audio, and raw files and 100MB for videos. On the paid plan, these limits increase to 40MB for images, audio, and raw files and 2GB for videos. These limits can be further increased with higher-tier plans.\n\n**Version limit** \\\nA file can have a maximum of 100 versions.\n\n**Demo applications**\n\n- A full-fledged [upload widget using Uppy](https://github.com/imagekit-samples/uppy-uploader), supporting file selections from local storage, URL, Dropbox, Google Drive, Instagram, and more.\n- [Quick start guides](/docs/quick-start-guides) for various frameworks and technologies.\n',
2121
inputSchema: {
2222
type: 'object',
2323
properties: {

src/client.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ import {
2929
import {
3030
UnsafeUnwrapWebhookEvent,
3131
UnwrapWebhookEvent,
32-
VideoTransformationAcceptedEvent,
33-
VideoTransformationErrorEvent,
34-
VideoTransformationReadyEvent,
32+
VideoTransformationAcceptedWebhookEvent,
33+
VideoTransformationErrorWebhookEvent,
34+
VideoTransformationReadyWebhookEvent,
3535
Webhooks,
3636
} from './resources/webhooks';
3737
import { Accounts } from './resources/accounts/accounts';
@@ -871,9 +871,9 @@ export declare namespace ImageKit {
871871

872872
export {
873873
Webhooks as Webhooks,
874-
type VideoTransformationAcceptedEvent as VideoTransformationAcceptedEvent,
875-
type VideoTransformationErrorEvent as VideoTransformationErrorEvent,
876-
type VideoTransformationReadyEvent as VideoTransformationReadyEvent,
874+
type VideoTransformationAcceptedWebhookEvent as VideoTransformationAcceptedWebhookEvent,
875+
type VideoTransformationReadyWebhookEvent as VideoTransformationReadyWebhookEvent,
876+
type VideoTransformationErrorWebhookEvent as VideoTransformationErrorWebhookEvent,
877877
type UnsafeUnwrapWebhookEvent as UnsafeUnwrapWebhookEvent,
878878
type UnwrapWebhookEvent as UnwrapWebhookEvent,
879879
};

src/resources/files/files.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ export class Files extends APIResource {
146146
/**
147147
* ImageKit.io allows you to upload files directly from both the server and client
148148
* sides. For server-side uploads, private API key authentication is used. For
149-
* client-side uploads, generate a one-time `token`, `signature`, and `expiration`
150-
* from your secure backend using private API.
149+
* client-side uploads, generate a one-time `token`, `signature`, and `expire` from
150+
* your secure backend using private API.
151151
* [Learn more](/docs/api-reference/upload-file/upload-file#how-to-implement-client-side-file-upload)
152152
* about how to implement client-side file upload.
153153
*

src/resources/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ export {
4444
} from './folders/folders';
4545
export {
4646
Webhooks,
47-
type VideoTransformationAcceptedEvent,
48-
type VideoTransformationErrorEvent,
49-
type VideoTransformationReadyEvent,
47+
type VideoTransformationAcceptedWebhookEvent,
48+
type VideoTransformationReadyWebhookEvent,
49+
type VideoTransformationErrorWebhookEvent,
5050
type UnsafeUnwrapWebhookEvent,
5151
type UnwrapWebhookEvent,
5252
} from './webhooks';

0 commit comments

Comments
 (0)