@imagekit/api-mcp 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +351 -0
- package/code-tool-paths.cjs +6 -0
- package/code-tool-paths.cjs.map +1 -0
- package/code-tool-paths.d.cts +2 -0
- package/code-tool-paths.d.cts.map +1 -0
- package/code-tool-types.d.mts +14 -0
- package/code-tool-types.d.mts.map +1 -0
- package/code-tool-types.d.ts +14 -0
- package/code-tool-types.d.ts.map +1 -0
- package/code-tool-types.js +4 -0
- package/code-tool-types.js.map +1 -0
- package/code-tool-types.mjs +3 -0
- package/code-tool-types.mjs.map +1 -0
- package/code-tool-worker.d.mts +5 -0
- package/code-tool-worker.d.mts.map +1 -0
- package/code-tool-worker.d.ts +5 -0
- package/code-tool-worker.d.ts.map +1 -0
- package/code-tool-worker.js +45 -0
- package/code-tool-worker.js.map +1 -0
- package/code-tool-worker.mjs +40 -0
- package/code-tool-worker.mjs.map +1 -0
- package/code-tool.d.mts +12 -0
- package/code-tool.d.mts.map +1 -0
- package/code-tool.d.ts +12 -0
- package/code-tool.d.ts.map +1 -0
- package/code-tool.js +159 -0
- package/code-tool.js.map +1 -0
- package/code-tool.mjs +123 -0
- package/code-tool.mjs.map +1 -0
- package/compat.d.mts +58 -0
- package/compat.d.mts.map +1 -0
- package/compat.d.ts +58 -0
- package/compat.d.ts.map +1 -0
- package/compat.js +387 -0
- package/compat.js.map +1 -0
- package/compat.mjs +378 -0
- package/compat.mjs.map +1 -0
- package/docs-search-tool.d.mts +44 -0
- package/docs-search-tool.d.mts.map +1 -0
- package/docs-search-tool.d.ts +44 -0
- package/docs-search-tool.d.ts.map +1 -0
- package/docs-search-tool.js +43 -0
- package/docs-search-tool.js.map +1 -0
- package/docs-search-tool.mjs +39 -0
- package/docs-search-tool.mjs.map +1 -0
- package/dynamic-tools.d.mts +12 -0
- package/dynamic-tools.d.mts.map +1 -0
- package/dynamic-tools.d.ts +12 -0
- package/dynamic-tools.d.ts.map +1 -0
- package/dynamic-tools.js +135 -0
- package/dynamic-tools.js.map +1 -0
- package/dynamic-tools.mjs +132 -0
- package/dynamic-tools.mjs.map +1 -0
- package/filtering.d.mts +2 -0
- package/filtering.d.mts.map +1 -0
- package/filtering.d.ts +2 -0
- package/filtering.d.ts.map +1 -0
- package/filtering.js +20 -0
- package/filtering.js.map +1 -0
- package/filtering.mjs +13 -0
- package/filtering.mjs.map +1 -0
- package/headers.d.mts +4 -0
- package/headers.d.mts.map +1 -0
- package/headers.d.ts +4 -0
- package/headers.d.ts.map +1 -0
- package/headers.js +29 -0
- package/headers.js.map +1 -0
- package/headers.mjs +25 -0
- package/headers.mjs.map +1 -0
- package/http.d.mts +9 -0
- package/http.d.mts.map +1 -0
- package/http.d.ts +9 -0
- package/http.d.ts.map +1 -0
- package/http.js +108 -0
- package/http.js.map +1 -0
- package/http.mjs +100 -0
- package/http.mjs.map +1 -0
- package/index.d.mts +3 -0
- package/index.d.mts.map +1 -0
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -0
- package/index.js +91 -0
- package/index.js.map +1 -0
- package/index.mjs +89 -0
- package/index.mjs.map +1 -0
- package/options.d.mts +20 -0
- package/options.d.mts.map +1 -0
- package/options.d.ts +20 -0
- package/options.d.ts.map +1 -0
- package/options.js +424 -0
- package/options.js.map +1 -0
- package/options.mjs +417 -0
- package/options.mjs.map +1 -0
- package/package.json +216 -0
- package/server.d.mts +35 -0
- package/server.d.mts.map +1 -0
- package/server.d.ts +35 -0
- package/server.d.ts.map +1 -0
- package/server.js +174 -0
- package/server.js.map +1 -0
- package/server.mjs +160 -0
- package/server.mjs.map +1 -0
- package/src/code-tool-paths.cts +3 -0
- package/src/code-tool-types.ts +14 -0
- package/src/code-tool-worker.ts +46 -0
- package/src/code-tool.ts +148 -0
- package/src/compat.ts +483 -0
- package/src/docs-search-tool.ts +48 -0
- package/src/dynamic-tools.ts +153 -0
- package/src/filtering.ts +14 -0
- package/src/headers.ts +31 -0
- package/src/http.ts +127 -0
- package/src/index.ts +108 -0
- package/src/options.ts +466 -0
- package/src/server.ts +207 -0
- package/src/stdio.ts +13 -0
- package/src/tools/accounts/origins/create-accounts-origins.ts +318 -0
- package/src/tools/accounts/origins/delete-accounts-origins.ts +43 -0
- package/src/tools/accounts/origins/get-accounts-origins.ts +41 -0
- package/src/tools/accounts/origins/list-accounts-origins.ts +35 -0
- package/src/tools/accounts/origins/update-accounts-origins.ts +360 -0
- package/src/tools/accounts/url-endpoints/create-accounts-url-endpoints.ts +103 -0
- package/src/tools/accounts/url-endpoints/delete-accounts-url-endpoints.ts +43 -0
- package/src/tools/accounts/url-endpoints/get-accounts-url-endpoints.ts +49 -0
- package/src/tools/accounts/url-endpoints/list-accounts-url-endpoints.ts +44 -0
- package/src/tools/accounts/url-endpoints/update-accounts-url-endpoints.ts +112 -0
- package/src/tools/accounts/usage/get-accounts-usage.ts +56 -0
- package/src/tools/assets/list-assets.ts +94 -0
- package/src/tools/beta/v2/files/upload-v2-beta-files.ts +316 -0
- package/src/tools/cache/invalidation/create-cache-invalidation.ts +46 -0
- package/src/tools/cache/invalidation/get-cache-invalidation.ts +47 -0
- package/src/tools/custom-metadata-fields/create-custom-metadata-fields.ts +154 -0
- package/src/tools/custom-metadata-fields/delete-custom-metadata-fields.ts +47 -0
- package/src/tools/custom-metadata-fields/list-custom-metadata-fields.ts +53 -0
- package/src/tools/custom-metadata-fields/update-custom-metadata-fields.ts +150 -0
- package/src/tools/files/bulk/add-tags-files-bulk.ts +56 -0
- package/src/tools/files/bulk/delete-files-bulk.ts +49 -0
- package/src/tools/files/bulk/remove-ai-tags-files-bulk.ts +56 -0
- package/src/tools/files/bulk/remove-tags-files-bulk.ts +56 -0
- package/src/tools/files/copy-files.ts +55 -0
- package/src/tools/files/delete-files.ts +41 -0
- package/src/tools/files/get-files.ts +47 -0
- package/src/tools/files/metadata/get-files-metadata.ts +47 -0
- package/src/tools/files/metadata/get-from-url-files-metadata.ts +48 -0
- package/src/tools/files/move-files.ts +50 -0
- package/src/tools/files/rename-files.ts +58 -0
- package/src/tools/files/update-files.ts +196 -0
- package/src/tools/files/upload-files.ts +332 -0
- package/src/tools/files/versions/delete-files-versions.ts +52 -0
- package/src/tools/files/versions/get-files-versions.ts +50 -0
- package/src/tools/files/versions/list-files-versions.ts +47 -0
- package/src/tools/files/versions/restore-files-versions.ts +52 -0
- package/src/tools/folders/copy-folders.ts +55 -0
- package/src/tools/folders/create-folders.ts +52 -0
- package/src/tools/folders/delete-folders.ts +48 -0
- package/src/tools/folders/job/get-folders-job.ts +47 -0
- package/src/tools/folders/move-folders.ts +50 -0
- package/src/tools/folders/rename-folders.ts +56 -0
- package/src/tools/index.ts +153 -0
- package/src/tools/types.ts +103 -0
- package/src/tools.ts +1 -0
- package/src/tsconfig.json +11 -0
- package/stdio.d.mts +3 -0
- package/stdio.d.mts.map +1 -0
- package/stdio.d.ts +3 -0
- package/stdio.d.ts.map +1 -0
- package/stdio.js +14 -0
- package/stdio.js.map +1 -0
- package/stdio.mjs +10 -0
- package/stdio.mjs.map +1 -0
- package/tools/accounts/origins/create-accounts-origins.d.mts +45 -0
- package/tools/accounts/origins/create-accounts-origins.d.mts.map +1 -0
- package/tools/accounts/origins/create-accounts-origins.d.ts +45 -0
- package/tools/accounts/origins/create-accounts-origins.d.ts.map +1 -0
- package/tools/accounts/origins/create-accounts-origins.js +314 -0
- package/tools/accounts/origins/create-accounts-origins.js.map +1 -0
- package/tools/accounts/origins/create-accounts-origins.mjs +310 -0
- package/tools/accounts/origins/create-accounts-origins.mjs.map +1 -0
- package/tools/accounts/origins/delete-accounts-origins.d.mts +45 -0
- package/tools/accounts/origins/delete-accounts-origins.d.mts.map +1 -0
- package/tools/accounts/origins/delete-accounts-origins.d.ts +45 -0
- package/tools/accounts/origins/delete-accounts-origins.d.ts.map +1 -0
- package/tools/accounts/origins/delete-accounts-origins.js +38 -0
- package/tools/accounts/origins/delete-accounts-origins.js.map +1 -0
- package/tools/accounts/origins/delete-accounts-origins.mjs +34 -0
- package/tools/accounts/origins/delete-accounts-origins.mjs.map +1 -0
- package/tools/accounts/origins/get-accounts-origins.d.mts +45 -0
- package/tools/accounts/origins/get-accounts-origins.d.mts.map +1 -0
- package/tools/accounts/origins/get-accounts-origins.d.ts +45 -0
- package/tools/accounts/origins/get-accounts-origins.d.ts.map +1 -0
- package/tools/accounts/origins/get-accounts-origins.js +37 -0
- package/tools/accounts/origins/get-accounts-origins.js.map +1 -0
- package/tools/accounts/origins/get-accounts-origins.mjs +33 -0
- package/tools/accounts/origins/get-accounts-origins.mjs.map +1 -0
- package/tools/accounts/origins/list-accounts-origins.d.mts +45 -0
- package/tools/accounts/origins/list-accounts-origins.d.mts.map +1 -0
- package/tools/accounts/origins/list-accounts-origins.d.ts +45 -0
- package/tools/accounts/origins/list-accounts-origins.d.ts.map +1 -0
- package/tools/accounts/origins/list-accounts-origins.js +31 -0
- package/tools/accounts/origins/list-accounts-origins.js.map +1 -0
- package/tools/accounts/origins/list-accounts-origins.mjs +27 -0
- package/tools/accounts/origins/list-accounts-origins.mjs.map +1 -0
- package/tools/accounts/origins/update-accounts-origins.d.mts +45 -0
- package/tools/accounts/origins/update-accounts-origins.d.mts.map +1 -0
- package/tools/accounts/origins/update-accounts-origins.d.ts +45 -0
- package/tools/accounts/origins/update-accounts-origins.d.ts.map +1 -0
- package/tools/accounts/origins/update-accounts-origins.js +348 -0
- package/tools/accounts/origins/update-accounts-origins.js.map +1 -0
- package/tools/accounts/origins/update-accounts-origins.mjs +344 -0
- package/tools/accounts/origins/update-accounts-origins.mjs.map +1 -0
- package/tools/accounts/url-endpoints/create-accounts-url-endpoints.d.mts +45 -0
- package/tools/accounts/url-endpoints/create-accounts-url-endpoints.d.mts.map +1 -0
- package/tools/accounts/url-endpoints/create-accounts-url-endpoints.d.ts +45 -0
- package/tools/accounts/url-endpoints/create-accounts-url-endpoints.d.ts.map +1 -0
- package/tools/accounts/url-endpoints/create-accounts-url-endpoints.js +95 -0
- package/tools/accounts/url-endpoints/create-accounts-url-endpoints.js.map +1 -0
- package/tools/accounts/url-endpoints/create-accounts-url-endpoints.mjs +91 -0
- package/tools/accounts/url-endpoints/create-accounts-url-endpoints.mjs.map +1 -0
- package/tools/accounts/url-endpoints/delete-accounts-url-endpoints.d.mts +45 -0
- package/tools/accounts/url-endpoints/delete-accounts-url-endpoints.d.mts.map +1 -0
- package/tools/accounts/url-endpoints/delete-accounts-url-endpoints.d.ts +45 -0
- package/tools/accounts/url-endpoints/delete-accounts-url-endpoints.d.ts.map +1 -0
- package/tools/accounts/url-endpoints/delete-accounts-url-endpoints.js +38 -0
- package/tools/accounts/url-endpoints/delete-accounts-url-endpoints.js.map +1 -0
- package/tools/accounts/url-endpoints/delete-accounts-url-endpoints.mjs +34 -0
- package/tools/accounts/url-endpoints/delete-accounts-url-endpoints.mjs.map +1 -0
- package/tools/accounts/url-endpoints/get-accounts-url-endpoints.d.mts +45 -0
- package/tools/accounts/url-endpoints/get-accounts-url-endpoints.d.mts.map +1 -0
- package/tools/accounts/url-endpoints/get-accounts-url-endpoints.d.ts +45 -0
- package/tools/accounts/url-endpoints/get-accounts-url-endpoints.d.ts.map +1 -0
- package/tools/accounts/url-endpoints/get-accounts-url-endpoints.js +43 -0
- package/tools/accounts/url-endpoints/get-accounts-url-endpoints.js.map +1 -0
- package/tools/accounts/url-endpoints/get-accounts-url-endpoints.mjs +39 -0
- package/tools/accounts/url-endpoints/get-accounts-url-endpoints.mjs.map +1 -0
- package/tools/accounts/url-endpoints/list-accounts-url-endpoints.d.mts +45 -0
- package/tools/accounts/url-endpoints/list-accounts-url-endpoints.d.mts.map +1 -0
- package/tools/accounts/url-endpoints/list-accounts-url-endpoints.d.ts +45 -0
- package/tools/accounts/url-endpoints/list-accounts-url-endpoints.d.ts.map +1 -0
- package/tools/accounts/url-endpoints/list-accounts-url-endpoints.js +39 -0
- package/tools/accounts/url-endpoints/list-accounts-url-endpoints.js.map +1 -0
- package/tools/accounts/url-endpoints/list-accounts-url-endpoints.mjs +35 -0
- package/tools/accounts/url-endpoints/list-accounts-url-endpoints.mjs.map +1 -0
- package/tools/accounts/url-endpoints/update-accounts-url-endpoints.d.mts +45 -0
- package/tools/accounts/url-endpoints/update-accounts-url-endpoints.d.mts.map +1 -0
- package/tools/accounts/url-endpoints/update-accounts-url-endpoints.d.ts +45 -0
- package/tools/accounts/url-endpoints/update-accounts-url-endpoints.d.ts.map +1 -0
- package/tools/accounts/url-endpoints/update-accounts-url-endpoints.js +101 -0
- package/tools/accounts/url-endpoints/update-accounts-url-endpoints.js.map +1 -0
- package/tools/accounts/url-endpoints/update-accounts-url-endpoints.mjs +97 -0
- package/tools/accounts/url-endpoints/update-accounts-url-endpoints.mjs.map +1 -0
- package/tools/accounts/usage/get-accounts-usage.d.mts +45 -0
- package/tools/accounts/usage/get-accounts-usage.d.mts.map +1 -0
- package/tools/accounts/usage/get-accounts-usage.d.ts +45 -0
- package/tools/accounts/usage/get-accounts-usage.d.ts.map +1 -0
- package/tools/accounts/usage/get-accounts-usage.js +49 -0
- package/tools/accounts/usage/get-accounts-usage.js.map +1 -0
- package/tools/accounts/usage/get-accounts-usage.mjs +45 -0
- package/tools/accounts/usage/get-accounts-usage.mjs.map +1 -0
- package/tools/assets/list-assets.d.mts +45 -0
- package/tools/assets/list-assets.d.mts.map +1 -0
- package/tools/assets/list-assets.d.ts +45 -0
- package/tools/assets/list-assets.d.ts.map +1 -0
- package/tools/assets/list-assets.js +85 -0
- package/tools/assets/list-assets.js.map +1 -0
- package/tools/assets/list-assets.mjs +81 -0
- package/tools/assets/list-assets.mjs.map +1 -0
- package/tools/beta/v2/files/upload-v2-beta-files.d.mts +45 -0
- package/tools/beta/v2/files/upload-v2-beta-files.d.mts.map +1 -0
- package/tools/beta/v2/files/upload-v2-beta-files.d.ts +45 -0
- package/tools/beta/v2/files/upload-v2-beta-files.d.ts.map +1 -0
- package/tools/beta/v2/files/upload-v2-beta-files.js +286 -0
- package/tools/beta/v2/files/upload-v2-beta-files.js.map +1 -0
- package/tools/beta/v2/files/upload-v2-beta-files.mjs +282 -0
- package/tools/beta/v2/files/upload-v2-beta-files.mjs.map +1 -0
- package/tools/cache/invalidation/create-cache-invalidation.d.mts +45 -0
- package/tools/cache/invalidation/create-cache-invalidation.d.mts.map +1 -0
- package/tools/cache/invalidation/create-cache-invalidation.d.ts +45 -0
- package/tools/cache/invalidation/create-cache-invalidation.d.ts.map +1 -0
- package/tools/cache/invalidation/create-cache-invalidation.js +41 -0
- package/tools/cache/invalidation/create-cache-invalidation.js.map +1 -0
- package/tools/cache/invalidation/create-cache-invalidation.mjs +37 -0
- package/tools/cache/invalidation/create-cache-invalidation.mjs.map +1 -0
- package/tools/cache/invalidation/get-cache-invalidation.d.mts +45 -0
- package/tools/cache/invalidation/get-cache-invalidation.d.mts.map +1 -0
- package/tools/cache/invalidation/get-cache-invalidation.d.ts +45 -0
- package/tools/cache/invalidation/get-cache-invalidation.d.ts.map +1 -0
- package/tools/cache/invalidation/get-cache-invalidation.js +42 -0
- package/tools/cache/invalidation/get-cache-invalidation.js.map +1 -0
- package/tools/cache/invalidation/get-cache-invalidation.mjs +38 -0
- package/tools/cache/invalidation/get-cache-invalidation.mjs.map +1 -0
- package/tools/custom-metadata-fields/create-custom-metadata-fields.d.mts +45 -0
- package/tools/custom-metadata-fields/create-custom-metadata-fields.d.mts.map +1 -0
- package/tools/custom-metadata-fields/create-custom-metadata-fields.d.ts +45 -0
- package/tools/custom-metadata-fields/create-custom-metadata-fields.d.ts.map +1 -0
- package/tools/custom-metadata-fields/create-custom-metadata-fields.js +139 -0
- package/tools/custom-metadata-fields/create-custom-metadata-fields.js.map +1 -0
- package/tools/custom-metadata-fields/create-custom-metadata-fields.mjs +135 -0
- package/tools/custom-metadata-fields/create-custom-metadata-fields.mjs.map +1 -0
- package/tools/custom-metadata-fields/delete-custom-metadata-fields.d.mts +45 -0
- package/tools/custom-metadata-fields/delete-custom-metadata-fields.d.mts.map +1 -0
- package/tools/custom-metadata-fields/delete-custom-metadata-fields.d.ts +45 -0
- package/tools/custom-metadata-fields/delete-custom-metadata-fields.d.ts.map +1 -0
- package/tools/custom-metadata-fields/delete-custom-metadata-fields.js +42 -0
- package/tools/custom-metadata-fields/delete-custom-metadata-fields.js.map +1 -0
- package/tools/custom-metadata-fields/delete-custom-metadata-fields.mjs +38 -0
- package/tools/custom-metadata-fields/delete-custom-metadata-fields.mjs.map +1 -0
- package/tools/custom-metadata-fields/list-custom-metadata-fields.d.mts +45 -0
- package/tools/custom-metadata-fields/list-custom-metadata-fields.d.mts.map +1 -0
- package/tools/custom-metadata-fields/list-custom-metadata-fields.d.ts +45 -0
- package/tools/custom-metadata-fields/list-custom-metadata-fields.d.ts.map +1 -0
- package/tools/custom-metadata-fields/list-custom-metadata-fields.js +47 -0
- package/tools/custom-metadata-fields/list-custom-metadata-fields.js.map +1 -0
- package/tools/custom-metadata-fields/list-custom-metadata-fields.mjs +43 -0
- package/tools/custom-metadata-fields/list-custom-metadata-fields.mjs.map +1 -0
- package/tools/custom-metadata-fields/update-custom-metadata-fields.d.mts +45 -0
- package/tools/custom-metadata-fields/update-custom-metadata-fields.d.mts.map +1 -0
- package/tools/custom-metadata-fields/update-custom-metadata-fields.d.ts +45 -0
- package/tools/custom-metadata-fields/update-custom-metadata-fields.d.ts.map +1 -0
- package/tools/custom-metadata-fields/update-custom-metadata-fields.js +133 -0
- package/tools/custom-metadata-fields/update-custom-metadata-fields.js.map +1 -0
- package/tools/custom-metadata-fields/update-custom-metadata-fields.mjs +129 -0
- package/tools/custom-metadata-fields/update-custom-metadata-fields.mjs.map +1 -0
- package/tools/files/bulk/add-tags-files-bulk.d.mts +45 -0
- package/tools/files/bulk/add-tags-files-bulk.d.mts.map +1 -0
- package/tools/files/bulk/add-tags-files-bulk.d.ts +45 -0
- package/tools/files/bulk/add-tags-files-bulk.d.ts.map +1 -0
- package/tools/files/bulk/add-tags-files-bulk.js +51 -0
- package/tools/files/bulk/add-tags-files-bulk.js.map +1 -0
- package/tools/files/bulk/add-tags-files-bulk.mjs +47 -0
- package/tools/files/bulk/add-tags-files-bulk.mjs.map +1 -0
- package/tools/files/bulk/delete-files-bulk.d.mts +45 -0
- package/tools/files/bulk/delete-files-bulk.d.mts.map +1 -0
- package/tools/files/bulk/delete-files-bulk.d.ts +45 -0
- package/tools/files/bulk/delete-files-bulk.d.ts.map +1 -0
- package/tools/files/bulk/delete-files-bulk.js +44 -0
- package/tools/files/bulk/delete-files-bulk.js.map +1 -0
- package/tools/files/bulk/delete-files-bulk.mjs +40 -0
- package/tools/files/bulk/delete-files-bulk.mjs.map +1 -0
- package/tools/files/bulk/remove-ai-tags-files-bulk.d.mts +45 -0
- package/tools/files/bulk/remove-ai-tags-files-bulk.d.mts.map +1 -0
- package/tools/files/bulk/remove-ai-tags-files-bulk.d.ts +45 -0
- package/tools/files/bulk/remove-ai-tags-files-bulk.d.ts.map +1 -0
- package/tools/files/bulk/remove-ai-tags-files-bulk.js +51 -0
- package/tools/files/bulk/remove-ai-tags-files-bulk.js.map +1 -0
- package/tools/files/bulk/remove-ai-tags-files-bulk.mjs +47 -0
- package/tools/files/bulk/remove-ai-tags-files-bulk.mjs.map +1 -0
- package/tools/files/bulk/remove-tags-files-bulk.d.mts +45 -0
- package/tools/files/bulk/remove-tags-files-bulk.d.mts.map +1 -0
- package/tools/files/bulk/remove-tags-files-bulk.d.ts +45 -0
- package/tools/files/bulk/remove-tags-files-bulk.d.ts.map +1 -0
- package/tools/files/bulk/remove-tags-files-bulk.js +51 -0
- package/tools/files/bulk/remove-tags-files-bulk.js.map +1 -0
- package/tools/files/bulk/remove-tags-files-bulk.mjs +47 -0
- package/tools/files/bulk/remove-tags-files-bulk.mjs.map +1 -0
- package/tools/files/copy-files.d.mts +45 -0
- package/tools/files/copy-files.d.mts.map +1 -0
- package/tools/files/copy-files.d.ts +45 -0
- package/tools/files/copy-files.d.ts.map +1 -0
- package/tools/files/copy-files.js +49 -0
- package/tools/files/copy-files.js.map +1 -0
- package/tools/files/copy-files.mjs +45 -0
- package/tools/files/copy-files.mjs.map +1 -0
- package/tools/files/delete-files.d.mts +45 -0
- package/tools/files/delete-files.d.mts.map +1 -0
- package/tools/files/delete-files.d.ts +45 -0
- package/tools/files/delete-files.d.ts.map +1 -0
- package/tools/files/delete-files.js +37 -0
- package/tools/files/delete-files.js.map +1 -0
- package/tools/files/delete-files.mjs +33 -0
- package/tools/files/delete-files.mjs.map +1 -0
- package/tools/files/get-files.d.mts +45 -0
- package/tools/files/get-files.d.mts.map +1 -0
- package/tools/files/get-files.d.ts +45 -0
- package/tools/files/get-files.d.ts.map +1 -0
- package/tools/files/get-files.js +42 -0
- package/tools/files/get-files.js.map +1 -0
- package/tools/files/get-files.mjs +38 -0
- package/tools/files/get-files.mjs.map +1 -0
- package/tools/files/metadata/get-files-metadata.d.mts +45 -0
- package/tools/files/metadata/get-files-metadata.d.mts.map +1 -0
- package/tools/files/metadata/get-files-metadata.d.ts +45 -0
- package/tools/files/metadata/get-files-metadata.d.ts.map +1 -0
- package/tools/files/metadata/get-files-metadata.js +42 -0
- package/tools/files/metadata/get-files-metadata.js.map +1 -0
- package/tools/files/metadata/get-files-metadata.mjs +38 -0
- package/tools/files/metadata/get-files-metadata.mjs.map +1 -0
- package/tools/files/metadata/get-from-url-files-metadata.d.mts +45 -0
- package/tools/files/metadata/get-from-url-files-metadata.d.mts.map +1 -0
- package/tools/files/metadata/get-from-url-files-metadata.d.ts +45 -0
- package/tools/files/metadata/get-from-url-files-metadata.d.ts.map +1 -0
- package/tools/files/metadata/get-from-url-files-metadata.js +43 -0
- package/tools/files/metadata/get-from-url-files-metadata.js.map +1 -0
- package/tools/files/metadata/get-from-url-files-metadata.mjs +39 -0
- package/tools/files/metadata/get-from-url-files-metadata.mjs.map +1 -0
- package/tools/files/move-files.d.mts +45 -0
- package/tools/files/move-files.d.mts.map +1 -0
- package/tools/files/move-files.d.ts +45 -0
- package/tools/files/move-files.d.ts.map +1 -0
- package/tools/files/move-files.js +45 -0
- package/tools/files/move-files.js.map +1 -0
- package/tools/files/move-files.mjs +41 -0
- package/tools/files/move-files.mjs.map +1 -0
- package/tools/files/rename-files.d.mts +45 -0
- package/tools/files/rename-files.d.mts.map +1 -0
- package/tools/files/rename-files.d.ts +45 -0
- package/tools/files/rename-files.d.ts.map +1 -0
- package/tools/files/rename-files.js +51 -0
- package/tools/files/rename-files.js.map +1 -0
- package/tools/files/rename-files.mjs +47 -0
- package/tools/files/rename-files.mjs.map +1 -0
- package/tools/files/update-files.d.mts +45 -0
- package/tools/files/update-files.d.mts.map +1 -0
- package/tools/files/update-files.d.ts +45 -0
- package/tools/files/update-files.d.ts.map +1 -0
- package/tools/files/update-files.js +181 -0
- package/tools/files/update-files.js.map +1 -0
- package/tools/files/update-files.mjs +177 -0
- package/tools/files/update-files.mjs.map +1 -0
- package/tools/files/upload-files.d.mts +45 -0
- package/tools/files/upload-files.d.mts.map +1 -0
- package/tools/files/upload-files.d.ts +45 -0
- package/tools/files/upload-files.d.ts.map +1 -0
- package/tools/files/upload-files.js +298 -0
- package/tools/files/upload-files.js.map +1 -0
- package/tools/files/upload-files.mjs +294 -0
- package/tools/files/upload-files.mjs.map +1 -0
- package/tools/files/versions/delete-files-versions.d.mts +45 -0
- package/tools/files/versions/delete-files-versions.d.mts.map +1 -0
- package/tools/files/versions/delete-files-versions.d.ts +45 -0
- package/tools/files/versions/delete-files-versions.d.ts.map +1 -0
- package/tools/files/versions/delete-files-versions.js +45 -0
- package/tools/files/versions/delete-files-versions.js.map +1 -0
- package/tools/files/versions/delete-files-versions.mjs +41 -0
- package/tools/files/versions/delete-files-versions.mjs.map +1 -0
- package/tools/files/versions/get-files-versions.d.mts +45 -0
- package/tools/files/versions/get-files-versions.d.mts.map +1 -0
- package/tools/files/versions/get-files-versions.d.ts +45 -0
- package/tools/files/versions/get-files-versions.d.ts.map +1 -0
- package/tools/files/versions/get-files-versions.js +45 -0
- package/tools/files/versions/get-files-versions.js.map +1 -0
- package/tools/files/versions/get-files-versions.mjs +41 -0
- package/tools/files/versions/get-files-versions.mjs.map +1 -0
- package/tools/files/versions/list-files-versions.d.mts +45 -0
- package/tools/files/versions/list-files-versions.d.mts.map +1 -0
- package/tools/files/versions/list-files-versions.d.ts +45 -0
- package/tools/files/versions/list-files-versions.d.ts.map +1 -0
- package/tools/files/versions/list-files-versions.js +42 -0
- package/tools/files/versions/list-files-versions.js.map +1 -0
- package/tools/files/versions/list-files-versions.mjs +38 -0
- package/tools/files/versions/list-files-versions.mjs.map +1 -0
- package/tools/files/versions/restore-files-versions.d.mts +45 -0
- package/tools/files/versions/restore-files-versions.d.mts.map +1 -0
- package/tools/files/versions/restore-files-versions.d.ts +45 -0
- package/tools/files/versions/restore-files-versions.d.ts.map +1 -0
- package/tools/files/versions/restore-files-versions.js +45 -0
- package/tools/files/versions/restore-files-versions.js.map +1 -0
- package/tools/files/versions/restore-files-versions.mjs +41 -0
- package/tools/files/versions/restore-files-versions.mjs.map +1 -0
- package/tools/folders/copy-folders.d.mts +45 -0
- package/tools/folders/copy-folders.d.mts.map +1 -0
- package/tools/folders/copy-folders.d.ts +45 -0
- package/tools/folders/copy-folders.d.ts.map +1 -0
- package/tools/folders/copy-folders.js +49 -0
- package/tools/folders/copy-folders.js.map +1 -0
- package/tools/folders/copy-folders.mjs +45 -0
- package/tools/folders/copy-folders.mjs.map +1 -0
- package/tools/folders/create-folders.d.mts +45 -0
- package/tools/folders/create-folders.d.mts.map +1 -0
- package/tools/folders/create-folders.d.ts +45 -0
- package/tools/folders/create-folders.d.ts.map +1 -0
- package/tools/folders/create-folders.js +45 -0
- package/tools/folders/create-folders.js.map +1 -0
- package/tools/folders/create-folders.mjs +41 -0
- package/tools/folders/create-folders.mjs.map +1 -0
- package/tools/folders/delete-folders.d.mts +45 -0
- package/tools/folders/delete-folders.d.mts.map +1 -0
- package/tools/folders/delete-folders.d.ts +45 -0
- package/tools/folders/delete-folders.d.ts.map +1 -0
- package/tools/folders/delete-folders.js +43 -0
- package/tools/folders/delete-folders.js.map +1 -0
- package/tools/folders/delete-folders.mjs +39 -0
- package/tools/folders/delete-folders.mjs.map +1 -0
- package/tools/folders/job/get-folders-job.d.mts +45 -0
- package/tools/folders/job/get-folders-job.d.mts.map +1 -0
- package/tools/folders/job/get-folders-job.d.ts +45 -0
- package/tools/folders/job/get-folders-job.d.ts.map +1 -0
- package/tools/folders/job/get-folders-job.js +42 -0
- package/tools/folders/job/get-folders-job.js.map +1 -0
- package/tools/folders/job/get-folders-job.mjs +38 -0
- package/tools/folders/job/get-folders-job.mjs.map +1 -0
- package/tools/folders/move-folders.d.mts +45 -0
- package/tools/folders/move-folders.d.mts.map +1 -0
- package/tools/folders/move-folders.d.ts +45 -0
- package/tools/folders/move-folders.d.ts.map +1 -0
- package/tools/folders/move-folders.js +45 -0
- package/tools/folders/move-folders.js.map +1 -0
- package/tools/folders/move-folders.mjs +41 -0
- package/tools/folders/move-folders.mjs.map +1 -0
- package/tools/folders/rename-folders.d.mts +45 -0
- package/tools/folders/rename-folders.d.mts.map +1 -0
- package/tools/folders/rename-folders.d.ts +45 -0
- package/tools/folders/rename-folders.d.ts.map +1 -0
- package/tools/folders/rename-folders.js +49 -0
- package/tools/folders/rename-folders.js.map +1 -0
- package/tools/folders/rename-folders.mjs +45 -0
- package/tools/folders/rename-folders.mjs.map +1 -0
- package/tools/index.d.mts +10 -0
- package/tools/index.d.mts.map +1 -0
- package/tools/index.d.ts +10 -0
- package/tools/index.d.ts.map +1 -0
- package/tools/index.js +137 -0
- package/tools/index.js.map +1 -0
- package/tools/index.mjs +130 -0
- package/tools/index.mjs.map +1 -0
- package/tools/types.d.mts +51 -0
- package/tools/types.d.mts.map +1 -0
- package/tools/types.d.ts +51 -0
- package/tools/types.d.ts.map +1 -0
- package/tools/types.js +46 -0
- package/tools/types.js.map +1 -0
- package/tools/types.mjs +42 -0
- package/tools/types.mjs.map +1 -0
- package/tools.d.mts +2 -0
- package/tools.d.mts.map +1 -0
- package/tools.d.ts +2 -0
- package/tools.d.ts.map +1 -0
- package/tools.js +18 -0
- package/tools.js.map +1 -0
- package/tools.mjs +2 -0
- package/tools.mjs.map +1 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Metadata } from '@imagekit/api-mcp/tools/types';
|
|
2
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import ImageKit from '@imagekit/nodejs';
|
|
4
|
+
export declare const metadata: Metadata;
|
|
5
|
+
export declare const tool: Tool;
|
|
6
|
+
export declare const handler: (client: ImageKit, args: Record<string, unknown> | undefined) => Promise<import("@imagekit/api-mcp/tools/types").ToolCallResult>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
tool: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
inputSchema: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
type: "object";
|
|
15
|
+
properties?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
annotations?: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
readOnlyHint?: boolean | undefined;
|
|
34
|
+
destructiveHint?: boolean | undefined;
|
|
35
|
+
idempotentHint?: boolean | undefined;
|
|
36
|
+
openWorldHint?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: (client: ImageKit, args: Record<string, unknown> | undefined) => Promise<import("@imagekit/api-mcp/tools/types").ToolCallResult>;
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
//# sourceMappingURL=restore-files-versions.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"restore-files-versions.d.mts","sourceRoot":"","sources":["../../../src/tools/files/versions/restore-files-versions.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,+BAA+B;OAEtE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,QAAQ,MAAM,kBAAkB;AAEvC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAyBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,oEAKxF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBALoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAOzF,wBAA2C"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Metadata } from '@imagekit/api-mcp/tools/types';
|
|
2
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import ImageKit from '@imagekit/nodejs';
|
|
4
|
+
export declare const metadata: Metadata;
|
|
5
|
+
export declare const tool: Tool;
|
|
6
|
+
export declare const handler: (client: ImageKit, args: Record<string, unknown> | undefined) => Promise<import("@imagekit/api-mcp/tools/types").ToolCallResult>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
tool: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
inputSchema: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
type: "object";
|
|
15
|
+
properties?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
annotations?: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
readOnlyHint?: boolean | undefined;
|
|
34
|
+
destructiveHint?: boolean | undefined;
|
|
35
|
+
idempotentHint?: boolean | undefined;
|
|
36
|
+
openWorldHint?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: (client: ImageKit, args: Record<string, unknown> | undefined) => Promise<import("@imagekit/api-mcp/tools/types").ToolCallResult>;
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
//# sourceMappingURL=restore-files-versions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"restore-files-versions.d.ts","sourceRoot":"","sources":["../../../src/tools/files/versions/restore-files-versions.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,+BAA+B;OAEtE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,QAAQ,MAAM,kBAAkB;AAEvC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAyBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,oEAKxF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBALoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAOzF,wBAA2C"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.handler = exports.tool = exports.metadata = void 0;
|
|
5
|
+
const filtering_1 = require("@imagekit/api-mcp/filtering");
|
|
6
|
+
const types_1 = require("@imagekit/api-mcp/tools/types");
|
|
7
|
+
exports.metadata = {
|
|
8
|
+
resource: 'files.versions',
|
|
9
|
+
operation: 'write',
|
|
10
|
+
tags: [],
|
|
11
|
+
httpMethod: 'put',
|
|
12
|
+
httpPath: '/v1/files/{fileId}/versions/{versionId}/restore',
|
|
13
|
+
operationId: 'restore-file-version',
|
|
14
|
+
};
|
|
15
|
+
exports.tool = {
|
|
16
|
+
name: 'restore_files_versions',
|
|
17
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nThis API restores a file version as the current file version.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/file',\n $defs: {\n file: {\n type: 'object',\n title: 'File & File Version',\n description: 'Object containing details of a file or file version.',\n properties: {\n AITags: {\n type: 'array',\n description: 'An array of tags assigned to the file by auto tagging.\\n',\n items: {\n type: 'object',\n properties: {\n confidence: {\n type: 'number',\n description: 'Confidence score of the tag.'\n },\n name: {\n type: 'string',\n description: 'Name of the tag.'\n },\n source: {\n type: 'string',\n description: 'Source of the tag. Possible values are `google-auto-tagging` and `aws-auto-tagging`.'\n }\n }\n }\n },\n createdAt: {\n type: 'string',\n description: 'Date and time when the file was uploaded. The date and time is in ISO8601 format.\\n',\n format: 'date-time'\n },\n customCoordinates: {\n type: 'string',\n description: 'An string with custom coordinates of the file.\\n'\n },\n customMetadata: {\n type: 'object',\n description: 'An object with custom metadata for the file.\\n',\n additionalProperties: true\n },\n description: {\n type: 'string',\n description: 'Optional text to describe the contents of the file. Can be set by the user or the ai-auto-description extension.\\n'\n },\n fileId: {\n type: 'string',\n description: 'Unique identifier of the asset.'\n },\n filePath: {\n type: 'string',\n description: 'Path of the file. This is the path you would use in the URL to access the file. For example, if the file is at the root of the media library, the path will be `/file.jpg`. If the file is inside a folder named `images`, the path will be `/images/file.jpg`.\\n'\n },\n fileType: {\n type: 'string',\n description: 'Type of the file. Possible values are `image`, `non-image`.\\n'\n },\n hasAlpha: {\n type: 'boolean',\n description: 'Specifies if the image has an alpha channel.\\n'\n },\n height: {\n type: 'number',\n description: 'Height of the file.\\n'\n },\n isPrivateFile: {\n type: 'boolean',\n description: 'Specifies if the file is private or not.\\n'\n },\n isPublished: {\n type: 'boolean',\n description: 'Specifies if the file is published or not.\\n'\n },\n mime: {\n type: 'string',\n description: 'MIME type of the file.\\n'\n },\n name: {\n type: 'string',\n description: 'Name of the asset.'\n },\n selectedFieldsSchema: {\n type: 'object',\n description: 'This field is included in the response only if the Path policy feature is available in the plan.\\nIt contains schema definitions for the custom metadata fields selected for the specified file path.\\nField selection can only be done when the Path policy feature is enabled.\\n\\nKeys are the names of the custom metadata fields; the value object has details about the custom metadata schema.\\n',\n additionalProperties: true\n },\n size: {\n type: 'number',\n description: 'Size of the file in bytes.\\n'\n },\n tags: {\n type: 'array',\n description: 'An array of tags assigned to the file. Tags are used to search files in the media library.\\n',\n items: {\n type: 'string'\n }\n },\n thumbnail: {\n type: 'string',\n description: 'URL of the thumbnail image. This URL is used to access the thumbnail image of the file in the media library.\\n'\n },\n type: {\n type: 'string',\n description: 'Type of the asset.',\n enum: [ 'file',\n 'file-version'\n ]\n },\n updatedAt: {\n type: 'string',\n description: 'Date and time when the file was last updated. The date and time is in ISO8601 format.\\n',\n format: 'date-time'\n },\n url: {\n type: 'string',\n description: 'URL of the file.\\n'\n },\n versionInfo: {\n type: 'object',\n description: 'An object with details of the file version.\\n',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier of the file version.'\n },\n name: {\n type: 'string',\n description: 'Name of the file version.'\n }\n }\n },\n width: {\n type: 'number',\n description: 'Width of the file.\\n'\n }\n }\n }\n }\n}\n```",
|
|
18
|
+
inputSchema: {
|
|
19
|
+
type: 'object',
|
|
20
|
+
properties: {
|
|
21
|
+
fileId: {
|
|
22
|
+
type: 'string',
|
|
23
|
+
},
|
|
24
|
+
versionId: {
|
|
25
|
+
type: 'string',
|
|
26
|
+
},
|
|
27
|
+
jq_filter: {
|
|
28
|
+
type: 'string',
|
|
29
|
+
title: 'jq Filter',
|
|
30
|
+
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
required: ['fileId', 'versionId'],
|
|
34
|
+
},
|
|
35
|
+
annotations: {
|
|
36
|
+
idempotentHint: true,
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
const handler = async (client, args) => {
|
|
40
|
+
const { versionId, jq_filter, ...body } = args;
|
|
41
|
+
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.files.versions.restore(versionId, body)));
|
|
42
|
+
};
|
|
43
|
+
exports.handler = handler;
|
|
44
|
+
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
45
|
+
//# sourceMappingURL=restore-files-versions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"restore-files-versions.js","sourceRoot":"","sources":["../../../src/tools/files/versions/restore-files-versions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAA0D;AAC1D,yDAA8E;AAKjE,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,gBAAgB;IAC1B,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,iDAAiD;IAC3D,WAAW,EAAE,sBAAsB;CACpC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EACT,kwKAAkwK;IACpwK,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;aACf;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;aACf;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,QAAQ,EAAE,WAAW,CAAC;KAClC;IACD,WAAW,EAAE;QACX,cAAc,EAAE,IAAI;KACrB;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IACtD,OAAO,IAAA,2BAAmB,EACxB,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC,CACnF,CAAC;AACJ,CAAC,CAAC;AALW,QAAA,OAAO,WAKlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { maybeFilter } from '@imagekit/api-mcp/filtering';
|
|
3
|
+
import { asTextContentResult } from '@imagekit/api-mcp/tools/types';
|
|
4
|
+
export const metadata = {
|
|
5
|
+
resource: 'files.versions',
|
|
6
|
+
operation: 'write',
|
|
7
|
+
tags: [],
|
|
8
|
+
httpMethod: 'put',
|
|
9
|
+
httpPath: '/v1/files/{fileId}/versions/{versionId}/restore',
|
|
10
|
+
operationId: 'restore-file-version',
|
|
11
|
+
};
|
|
12
|
+
export const tool = {
|
|
13
|
+
name: 'restore_files_versions',
|
|
14
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nThis API restores a file version as the current file version.\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/file',\n $defs: {\n file: {\n type: 'object',\n title: 'File & File Version',\n description: 'Object containing details of a file or file version.',\n properties: {\n AITags: {\n type: 'array',\n description: 'An array of tags assigned to the file by auto tagging.\\n',\n items: {\n type: 'object',\n properties: {\n confidence: {\n type: 'number',\n description: 'Confidence score of the tag.'\n },\n name: {\n type: 'string',\n description: 'Name of the tag.'\n },\n source: {\n type: 'string',\n description: 'Source of the tag. Possible values are `google-auto-tagging` and `aws-auto-tagging`.'\n }\n }\n }\n },\n createdAt: {\n type: 'string',\n description: 'Date and time when the file was uploaded. The date and time is in ISO8601 format.\\n',\n format: 'date-time'\n },\n customCoordinates: {\n type: 'string',\n description: 'An string with custom coordinates of the file.\\n'\n },\n customMetadata: {\n type: 'object',\n description: 'An object with custom metadata for the file.\\n',\n additionalProperties: true\n },\n description: {\n type: 'string',\n description: 'Optional text to describe the contents of the file. Can be set by the user or the ai-auto-description extension.\\n'\n },\n fileId: {\n type: 'string',\n description: 'Unique identifier of the asset.'\n },\n filePath: {\n type: 'string',\n description: 'Path of the file. This is the path you would use in the URL to access the file. For example, if the file is at the root of the media library, the path will be `/file.jpg`. If the file is inside a folder named `images`, the path will be `/images/file.jpg`.\\n'\n },\n fileType: {\n type: 'string',\n description: 'Type of the file. Possible values are `image`, `non-image`.\\n'\n },\n hasAlpha: {\n type: 'boolean',\n description: 'Specifies if the image has an alpha channel.\\n'\n },\n height: {\n type: 'number',\n description: 'Height of the file.\\n'\n },\n isPrivateFile: {\n type: 'boolean',\n description: 'Specifies if the file is private or not.\\n'\n },\n isPublished: {\n type: 'boolean',\n description: 'Specifies if the file is published or not.\\n'\n },\n mime: {\n type: 'string',\n description: 'MIME type of the file.\\n'\n },\n name: {\n type: 'string',\n description: 'Name of the asset.'\n },\n selectedFieldsSchema: {\n type: 'object',\n description: 'This field is included in the response only if the Path policy feature is available in the plan.\\nIt contains schema definitions for the custom metadata fields selected for the specified file path.\\nField selection can only be done when the Path policy feature is enabled.\\n\\nKeys are the names of the custom metadata fields; the value object has details about the custom metadata schema.\\n',\n additionalProperties: true\n },\n size: {\n type: 'number',\n description: 'Size of the file in bytes.\\n'\n },\n tags: {\n type: 'array',\n description: 'An array of tags assigned to the file. Tags are used to search files in the media library.\\n',\n items: {\n type: 'string'\n }\n },\n thumbnail: {\n type: 'string',\n description: 'URL of the thumbnail image. This URL is used to access the thumbnail image of the file in the media library.\\n'\n },\n type: {\n type: 'string',\n description: 'Type of the asset.',\n enum: [ 'file',\n 'file-version'\n ]\n },\n updatedAt: {\n type: 'string',\n description: 'Date and time when the file was last updated. The date and time is in ISO8601 format.\\n',\n format: 'date-time'\n },\n url: {\n type: 'string',\n description: 'URL of the file.\\n'\n },\n versionInfo: {\n type: 'object',\n description: 'An object with details of the file version.\\n',\n properties: {\n id: {\n type: 'string',\n description: 'Unique identifier of the file version.'\n },\n name: {\n type: 'string',\n description: 'Name of the file version.'\n }\n }\n },\n width: {\n type: 'number',\n description: 'Width of the file.\\n'\n }\n }\n }\n }\n}\n```",
|
|
15
|
+
inputSchema: {
|
|
16
|
+
type: 'object',
|
|
17
|
+
properties: {
|
|
18
|
+
fileId: {
|
|
19
|
+
type: 'string',
|
|
20
|
+
},
|
|
21
|
+
versionId: {
|
|
22
|
+
type: 'string',
|
|
23
|
+
},
|
|
24
|
+
jq_filter: {
|
|
25
|
+
type: 'string',
|
|
26
|
+
title: 'jq Filter',
|
|
27
|
+
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
required: ['fileId', 'versionId'],
|
|
31
|
+
},
|
|
32
|
+
annotations: {
|
|
33
|
+
idempotentHint: true,
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
export const handler = async (client, args) => {
|
|
37
|
+
const { versionId, jq_filter, ...body } = args;
|
|
38
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.files.versions.restore(versionId, body)));
|
|
39
|
+
};
|
|
40
|
+
export default { metadata, tool, handler };
|
|
41
|
+
//# sourceMappingURL=restore-files-versions.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"restore-files-versions.mjs","sourceRoot":"","sources":["../../../src/tools/files/versions/restore-files-versions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,6BAA6B;OAClD,EAAY,mBAAmB,EAAE,MAAM,+BAA+B;AAK7E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,gBAAgB;IAC1B,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,iDAAiD;IAC3D,WAAW,EAAE,sBAAsB;CACpC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EACT,kwKAAkwK;IACpwK,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;aACf;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;aACf;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,QAAQ,EAAE,WAAW,CAAC;KAClC;IACD,WAAW,EAAE;QACX,cAAc,EAAE,IAAI;KACrB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IACtD,OAAO,mBAAmB,CACxB,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC,CACnF,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Metadata } from '@imagekit/api-mcp/tools/types';
|
|
2
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import ImageKit from '@imagekit/nodejs';
|
|
4
|
+
export declare const metadata: Metadata;
|
|
5
|
+
export declare const tool: Tool;
|
|
6
|
+
export declare const handler: (client: ImageKit, args: Record<string, unknown> | undefined) => Promise<import("@imagekit/api-mcp/tools/types").ToolCallResult>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
tool: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
inputSchema: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
type: "object";
|
|
15
|
+
properties?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
annotations?: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
readOnlyHint?: boolean | undefined;
|
|
34
|
+
destructiveHint?: boolean | undefined;
|
|
35
|
+
idempotentHint?: boolean | undefined;
|
|
36
|
+
openWorldHint?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: (client: ImageKit, args: Record<string, unknown> | undefined) => Promise<import("@imagekit/api-mcp/tools/types").ToolCallResult>;
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
//# sourceMappingURL=copy-folders.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copy-folders.d.mts","sourceRoot":"","sources":["../../src/tools/folders/copy-folders.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,+BAA+B;OAEtE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,QAAQ,MAAM,kBAAkB;AAEvC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA8BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,oEAGxF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKzF,wBAA2C"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Metadata } from '@imagekit/api-mcp/tools/types';
|
|
2
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import ImageKit from '@imagekit/nodejs';
|
|
4
|
+
export declare const metadata: Metadata;
|
|
5
|
+
export declare const tool: Tool;
|
|
6
|
+
export declare const handler: (client: ImageKit, args: Record<string, unknown> | undefined) => Promise<import("@imagekit/api-mcp/tools/types").ToolCallResult>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
tool: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
inputSchema: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
type: "object";
|
|
15
|
+
properties?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
annotations?: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
readOnlyHint?: boolean | undefined;
|
|
34
|
+
destructiveHint?: boolean | undefined;
|
|
35
|
+
idempotentHint?: boolean | undefined;
|
|
36
|
+
openWorldHint?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: (client: ImageKit, args: Record<string, unknown> | undefined) => Promise<import("@imagekit/api-mcp/tools/types").ToolCallResult>;
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
//# sourceMappingURL=copy-folders.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copy-folders.d.ts","sourceRoot":"","sources":["../../src/tools/folders/copy-folders.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,+BAA+B;OAEtE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,QAAQ,MAAM,kBAAkB;AAEvC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA8BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,oEAGxF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKzF,wBAA2C"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.handler = exports.tool = exports.metadata = void 0;
|
|
5
|
+
const filtering_1 = require("@imagekit/api-mcp/filtering");
|
|
6
|
+
const types_1 = require("@imagekit/api-mcp/tools/types");
|
|
7
|
+
exports.metadata = {
|
|
8
|
+
resource: 'folders',
|
|
9
|
+
operation: 'write',
|
|
10
|
+
tags: [],
|
|
11
|
+
httpMethod: 'post',
|
|
12
|
+
httpPath: '/v1/bulkJobs/copyFolder',
|
|
13
|
+
operationId: 'copy-folder',
|
|
14
|
+
};
|
|
15
|
+
exports.tool = {
|
|
16
|
+
name: 'copy_folders',
|
|
17
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nThis will copy one folder into another. The selected folder, its nested folders, files, and their versions (in `includeVersions` is set to true) are copied in this operation. Note: If any file at the destination has the same name as the source file, then the source file and its versions will be appended to the destination file version history.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n title: 'Async Bulk Job Response',\n description: 'Job submitted successfully. A `jobId` will be returned.',\n properties: {\n jobId: {\n type: 'string',\n description: 'Unique identifier of the bulk job. This can be used to check the status of the bulk job.\\n'\n }\n },\n required: [ 'jobId'\n ]\n}\n```",
|
|
18
|
+
inputSchema: {
|
|
19
|
+
type: 'object',
|
|
20
|
+
properties: {
|
|
21
|
+
destinationPath: {
|
|
22
|
+
type: 'string',
|
|
23
|
+
description: 'Full path to the destination folder where you want to copy the source folder into.\n',
|
|
24
|
+
},
|
|
25
|
+
sourceFolderPath: {
|
|
26
|
+
type: 'string',
|
|
27
|
+
description: 'The full path to the source folder you want to copy.\n',
|
|
28
|
+
},
|
|
29
|
+
includeVersions: {
|
|
30
|
+
type: 'boolean',
|
|
31
|
+
description: 'Option to copy all versions of files that are nested inside the selected folder. By default, only the current version of each file will be copied. When set to true, all versions of each file will be copied. Default value - `false`.\n',
|
|
32
|
+
},
|
|
33
|
+
jq_filter: {
|
|
34
|
+
type: 'string',
|
|
35
|
+
title: 'jq Filter',
|
|
36
|
+
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
required: ['destinationPath', 'sourceFolderPath'],
|
|
40
|
+
},
|
|
41
|
+
annotations: {},
|
|
42
|
+
};
|
|
43
|
+
const handler = async (client, args) => {
|
|
44
|
+
const { jq_filter, ...body } = args;
|
|
45
|
+
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.folders.copy(body)));
|
|
46
|
+
};
|
|
47
|
+
exports.handler = handler;
|
|
48
|
+
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
49
|
+
//# sourceMappingURL=copy-folders.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copy-folders.js","sourceRoot":"","sources":["../../src/tools/folders/copy-folders.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAA0D;AAC1D,yDAA8E;AAKjE,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,SAAS;IACnB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,yBAAyB;IACnC,WAAW,EAAE,aAAa;CAC3B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,cAAc;IACpB,WAAW,EACT,q4BAAq4B;IACv4B,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,eAAe,EAAE;gBACf,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,sFAAsF;aACpG;YACD,gBAAgB,EAAE;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wDAAwD;aACtE;YACD,eAAe,EAAE;gBACf,IAAI,EAAE,SAAS;gBACf,WAAW,EACT,2OAA2O;aAC9O;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;KAClD;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC5F,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { maybeFilter } from '@imagekit/api-mcp/filtering';
|
|
3
|
+
import { asTextContentResult } from '@imagekit/api-mcp/tools/types';
|
|
4
|
+
export const metadata = {
|
|
5
|
+
resource: 'folders',
|
|
6
|
+
operation: 'write',
|
|
7
|
+
tags: [],
|
|
8
|
+
httpMethod: 'post',
|
|
9
|
+
httpPath: '/v1/bulkJobs/copyFolder',
|
|
10
|
+
operationId: 'copy-folder',
|
|
11
|
+
};
|
|
12
|
+
export const tool = {
|
|
13
|
+
name: 'copy_folders',
|
|
14
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nThis will copy one folder into another. The selected folder, its nested folders, files, and their versions (in `includeVersions` is set to true) are copied in this operation. Note: If any file at the destination has the same name as the source file, then the source file and its versions will be appended to the destination file version history.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n title: 'Async Bulk Job Response',\n description: 'Job submitted successfully. A `jobId` will be returned.',\n properties: {\n jobId: {\n type: 'string',\n description: 'Unique identifier of the bulk job. This can be used to check the status of the bulk job.\\n'\n }\n },\n required: [ 'jobId'\n ]\n}\n```",
|
|
15
|
+
inputSchema: {
|
|
16
|
+
type: 'object',
|
|
17
|
+
properties: {
|
|
18
|
+
destinationPath: {
|
|
19
|
+
type: 'string',
|
|
20
|
+
description: 'Full path to the destination folder where you want to copy the source folder into.\n',
|
|
21
|
+
},
|
|
22
|
+
sourceFolderPath: {
|
|
23
|
+
type: 'string',
|
|
24
|
+
description: 'The full path to the source folder you want to copy.\n',
|
|
25
|
+
},
|
|
26
|
+
includeVersions: {
|
|
27
|
+
type: 'boolean',
|
|
28
|
+
description: 'Option to copy all versions of files that are nested inside the selected folder. By default, only the current version of each file will be copied. When set to true, all versions of each file will be copied. Default value - `false`.\n',
|
|
29
|
+
},
|
|
30
|
+
jq_filter: {
|
|
31
|
+
type: 'string',
|
|
32
|
+
title: 'jq Filter',
|
|
33
|
+
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
required: ['destinationPath', 'sourceFolderPath'],
|
|
37
|
+
},
|
|
38
|
+
annotations: {},
|
|
39
|
+
};
|
|
40
|
+
export const handler = async (client, args) => {
|
|
41
|
+
const { jq_filter, ...body } = args;
|
|
42
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.folders.copy(body)));
|
|
43
|
+
};
|
|
44
|
+
export default { metadata, tool, handler };
|
|
45
|
+
//# sourceMappingURL=copy-folders.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copy-folders.mjs","sourceRoot":"","sources":["../../src/tools/folders/copy-folders.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,6BAA6B;OAClD,EAAY,mBAAmB,EAAE,MAAM,+BAA+B;AAK7E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,SAAS;IACnB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,yBAAyB;IACnC,WAAW,EAAE,aAAa;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,cAAc;IACpB,WAAW,EACT,q4BAAq4B;IACv4B,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,eAAe,EAAE;gBACf,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,sFAAsF;aACpG;YACD,gBAAgB,EAAE;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wDAAwD;aACtE;YACD,eAAe,EAAE;gBACf,IAAI,EAAE,SAAS;gBACf,WAAW,EACT,2OAA2O;aAC9O;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;KAClD;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC5F,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Metadata } from '@imagekit/api-mcp/tools/types';
|
|
2
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import ImageKit from '@imagekit/nodejs';
|
|
4
|
+
export declare const metadata: Metadata;
|
|
5
|
+
export declare const tool: Tool;
|
|
6
|
+
export declare const handler: (client: ImageKit, args: Record<string, unknown> | undefined) => Promise<import("@imagekit/api-mcp/tools/types").ToolCallResult>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
tool: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
inputSchema: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
type: "object";
|
|
15
|
+
properties?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
annotations?: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
readOnlyHint?: boolean | undefined;
|
|
34
|
+
destructiveHint?: boolean | undefined;
|
|
35
|
+
idempotentHint?: boolean | undefined;
|
|
36
|
+
openWorldHint?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: (client: ImageKit, args: Record<string, unknown> | undefined) => Promise<import("@imagekit/api-mcp/tools/types").ToolCallResult>;
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
//# sourceMappingURL=create-folders.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-folders.d.mts","sourceRoot":"","sources":["../../src/tools/folders/create-folders.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,+BAA+B;OAEtE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,QAAQ,MAAM,kBAAkB;AAEvC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA2BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,oEAGxF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKzF,wBAA2C"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Metadata } from '@imagekit/api-mcp/tools/types';
|
|
2
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import ImageKit from '@imagekit/nodejs';
|
|
4
|
+
export declare const metadata: Metadata;
|
|
5
|
+
export declare const tool: Tool;
|
|
6
|
+
export declare const handler: (client: ImageKit, args: Record<string, unknown> | undefined) => Promise<import("@imagekit/api-mcp/tools/types").ToolCallResult>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
tool: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
inputSchema: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
type: "object";
|
|
15
|
+
properties?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
annotations?: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
readOnlyHint?: boolean | undefined;
|
|
34
|
+
destructiveHint?: boolean | undefined;
|
|
35
|
+
idempotentHint?: boolean | undefined;
|
|
36
|
+
openWorldHint?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: (client: ImageKit, args: Record<string, unknown> | undefined) => Promise<import("@imagekit/api-mcp/tools/types").ToolCallResult>;
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
//# sourceMappingURL=create-folders.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-folders.d.ts","sourceRoot":"","sources":["../../src/tools/folders/create-folders.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,+BAA+B;OAEtE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,QAAQ,MAAM,kBAAkB;AAEvC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA2BlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,oEAGxF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKzF,wBAA2C"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.handler = exports.tool = exports.metadata = void 0;
|
|
5
|
+
const filtering_1 = require("@imagekit/api-mcp/filtering");
|
|
6
|
+
const types_1 = require("@imagekit/api-mcp/tools/types");
|
|
7
|
+
exports.metadata = {
|
|
8
|
+
resource: 'folders',
|
|
9
|
+
operation: 'write',
|
|
10
|
+
tags: [],
|
|
11
|
+
httpMethod: 'post',
|
|
12
|
+
httpPath: '/v1/folder',
|
|
13
|
+
operationId: 'create-folder',
|
|
14
|
+
};
|
|
15
|
+
exports.tool = {
|
|
16
|
+
name: 'create_folders',
|
|
17
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nThis will create a new folder. You can specify the folder name and location of the parent folder where this new folder should be created.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
|
|
18
|
+
inputSchema: {
|
|
19
|
+
type: 'object',
|
|
20
|
+
properties: {
|
|
21
|
+
folderName: {
|
|
22
|
+
type: 'string',
|
|
23
|
+
description: 'The folder will be created with this name. \n\nAll characters except alphabets and numbers (inclusive of unicode letters, marks, and numerals in other languages) will be replaced by an underscore i.e. `_`.\n',
|
|
24
|
+
},
|
|
25
|
+
parentFolderPath: {
|
|
26
|
+
type: 'string',
|
|
27
|
+
description: "The folder where the new folder should be created, for root use `/` else the path e.g. `containing/folder/`.\n\nNote: If any folder(s) is not present in the parentFolderPath parameter, it will be automatically created. For example, if you pass `/product/images/summer`, then `product`, `images`, and `summer` folders will be created if they don't already exist.\n",
|
|
28
|
+
},
|
|
29
|
+
jq_filter: {
|
|
30
|
+
type: 'string',
|
|
31
|
+
title: 'jq Filter',
|
|
32
|
+
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
required: ['folderName', 'parentFolderPath'],
|
|
36
|
+
},
|
|
37
|
+
annotations: {},
|
|
38
|
+
};
|
|
39
|
+
const handler = async (client, args) => {
|
|
40
|
+
const { jq_filter, ...body } = args;
|
|
41
|
+
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.folders.create(body)));
|
|
42
|
+
};
|
|
43
|
+
exports.handler = handler;
|
|
44
|
+
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
45
|
+
//# sourceMappingURL=create-folders.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-folders.js","sourceRoot":"","sources":["../../src/tools/folders/create-folders.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAA0D;AAC1D,yDAA8E;AAKjE,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,SAAS;IACnB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,eAAe;CAC7B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,gBAAgB;IACtB,WAAW,EACT,mYAAmY;IACrY,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,iNAAiN;aACpN;YACD,gBAAgB,EAAE;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,6WAA6W;aAChX;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,YAAY,EAAE,kBAAkB,CAAC;KAC7C;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC9F,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { maybeFilter } from '@imagekit/api-mcp/filtering';
|
|
3
|
+
import { asTextContentResult } from '@imagekit/api-mcp/tools/types';
|
|
4
|
+
export const metadata = {
|
|
5
|
+
resource: 'folders',
|
|
6
|
+
operation: 'write',
|
|
7
|
+
tags: [],
|
|
8
|
+
httpMethod: 'post',
|
|
9
|
+
httpPath: '/v1/folder',
|
|
10
|
+
operationId: 'create-folder',
|
|
11
|
+
};
|
|
12
|
+
export const tool = {
|
|
13
|
+
name: 'create_folders',
|
|
14
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nThis will create a new folder. You can specify the folder name and location of the parent folder where this new folder should be created.\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {}\n}\n```",
|
|
15
|
+
inputSchema: {
|
|
16
|
+
type: 'object',
|
|
17
|
+
properties: {
|
|
18
|
+
folderName: {
|
|
19
|
+
type: 'string',
|
|
20
|
+
description: 'The folder will be created with this name. \n\nAll characters except alphabets and numbers (inclusive of unicode letters, marks, and numerals in other languages) will be replaced by an underscore i.e. `_`.\n',
|
|
21
|
+
},
|
|
22
|
+
parentFolderPath: {
|
|
23
|
+
type: 'string',
|
|
24
|
+
description: "The folder where the new folder should be created, for root use `/` else the path e.g. `containing/folder/`.\n\nNote: If any folder(s) is not present in the parentFolderPath parameter, it will be automatically created. For example, if you pass `/product/images/summer`, then `product`, `images`, and `summer` folders will be created if they don't already exist.\n",
|
|
25
|
+
},
|
|
26
|
+
jq_filter: {
|
|
27
|
+
type: 'string',
|
|
28
|
+
title: 'jq Filter',
|
|
29
|
+
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
required: ['folderName', 'parentFolderPath'],
|
|
33
|
+
},
|
|
34
|
+
annotations: {},
|
|
35
|
+
};
|
|
36
|
+
export const handler = async (client, args) => {
|
|
37
|
+
const { jq_filter, ...body } = args;
|
|
38
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.folders.create(body)));
|
|
39
|
+
};
|
|
40
|
+
export default { metadata, tool, handler };
|
|
41
|
+
//# sourceMappingURL=create-folders.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-folders.mjs","sourceRoot":"","sources":["../../src/tools/folders/create-folders.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,6BAA6B;OAClD,EAAY,mBAAmB,EAAE,MAAM,+BAA+B;AAK7E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,SAAS;IACnB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,eAAe;CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,gBAAgB;IACtB,WAAW,EACT,mYAAmY;IACrY,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,iNAAiN;aACpN;YACD,gBAAgB,EAAE;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,6WAA6W;aAChX;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,YAAY,EAAE,kBAAkB,CAAC;KAC7C;IACD,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IAC3C,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC9F,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|