UNPKG

@takashito/linode-mcp-server

Version:

MCP server for Linode API

396 lines (395 loc) 12 kB
import { z } from "zod"; export declare const listEndpointsSchema: z.ZodObject<{ page: z.ZodOptional<z.ZodNumber>; page_size: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { page?: number | undefined; page_size?: number | undefined; }, { page?: number | undefined; page_size?: number | undefined; }>; export declare const listBucketsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const getBucketSchema: z.ZodObject<{ region: z.ZodString; bucket: z.ZodString; }, "strip", z.ZodTypeAny, { region: string; bucket: string; }, { region: string; bucket: string; }>; export declare const createBucketSchema: z.ZodObject<{ label: z.ZodString; region: z.ZodString; endpoint_type: z.ZodOptional<z.ZodEnum<["E0", "E1", "E2", "E3"]>>; acl: z.ZodOptional<z.ZodEnum<["private", "public-read", "authenticated-read", "public-read-write"]>>; cors_enabled: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>; }, "strip", z.ZodTypeAny, { label: string; region: string; acl?: "private" | "public-read" | "authenticated-read" | "public-read-write" | undefined; endpoint_type?: "E0" | "E1" | "E2" | "E3" | undefined; cors_enabled?: boolean | undefined; }, { label: string; region: string; acl?: "private" | "public-read" | "authenticated-read" | "public-read-write" | undefined; endpoint_type?: "E0" | "E1" | "E2" | "E3" | undefined; cors_enabled?: unknown; }>; export declare const deleteBucketSchema: z.ZodObject<{ region: z.ZodString; bucket: z.ZodString; }, "strip", z.ZodTypeAny, { region: string; bucket: string; }, { region: string; bucket: string; }>; export declare const getBucketAccessSchema: z.ZodObject<{ region: z.ZodString; bucket: z.ZodString; }, "strip", z.ZodTypeAny, { region: string; bucket: string; }, { region: string; bucket: string; }>; export declare const updateBucketAccessSchema: z.ZodObject<{ region: z.ZodString; bucket: z.ZodString; acl: z.ZodOptional<z.ZodEnum<["private", "public-read", "authenticated-read", "public-read-write"]>>; cors_enabled: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>; }, "strip", z.ZodTypeAny, { region: string; bucket: string; acl?: "private" | "public-read" | "authenticated-read" | "public-read-write" | undefined; cors_enabled?: boolean | undefined; }, { region: string; bucket: string; acl?: "private" | "public-read" | "authenticated-read" | "public-read-write" | undefined; cors_enabled?: unknown; }>; export declare const listObjectsSchema: z.ZodObject<{ page: z.ZodOptional<z.ZodNumber>; page_size: z.ZodOptional<z.ZodNumber>; region: z.ZodString; bucket: z.ZodString; }, "strip", z.ZodTypeAny, { region: string; bucket: string; page?: number | undefined; page_size?: number | undefined; }, { region: string; bucket: string; page?: number | undefined; page_size?: number | undefined; }>; export declare const getBucketCertificateSchema: z.ZodObject<{ region: z.ZodString; bucket: z.ZodString; }, "strip", z.ZodTypeAny, { region: string; bucket: string; }, { region: string; bucket: string; }>; export declare const uploadBucketCertificateSchema: z.ZodObject<{ region: z.ZodString; bucket: z.ZodString; certificate: z.ZodString; private_key: z.ZodString; }, "strip", z.ZodTypeAny, { region: string; bucket: string; certificate: string; private_key: string; }, { region: string; bucket: string; certificate: string; private_key: string; }>; export declare const deleteBucketCertificateSchema: z.ZodObject<{ region: z.ZodString; bucket: z.ZodString; }, "strip", z.ZodTypeAny, { region: string; bucket: string; }, { region: string; bucket: string; }>; export declare const listKeysSchema: z.ZodObject<{ page: z.ZodOptional<z.ZodNumber>; page_size: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { page?: number | undefined; page_size?: number | undefined; }, { page?: number | undefined; page_size?: number | undefined; }>; export declare const getKeySchema: z.ZodObject<{ id: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: number; }, { id: number; }>; export declare const createKeySchema: z.ZodObject<{ label: z.ZodString; bucket_access: z.ZodOptional<z.ZodArray<z.ZodObject<{ region: z.ZodString; bucket_name: z.ZodString; permissions: z.ZodEnum<["read_only", "read_write"]>; }, "strip", z.ZodTypeAny, { region: string; bucket_name: string; permissions: "read_only" | "read_write"; }, { region: string; bucket_name: string; permissions: "read_only" | "read_write"; }>, "many">>; regions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { label: string; bucket_access?: { region: string; bucket_name: string; permissions: "read_only" | "read_write"; }[] | undefined; regions?: string[] | undefined; }, { label: string; bucket_access?: { region: string; bucket_name: string; permissions: "read_only" | "read_write"; }[] | undefined; regions?: string[] | undefined; }>; export declare const updateKeySchema: z.ZodObject<{ id: z.ZodNumber; label: z.ZodOptional<z.ZodString>; bucket_access: z.ZodOptional<z.ZodArray<z.ZodObject<{ region: z.ZodString; bucket_name: z.ZodString; permissions: z.ZodEnum<["read_only", "read_write"]>; }, "strip", z.ZodTypeAny, { region: string; bucket_name: string; permissions: "read_only" | "read_write"; }, { region: string; bucket_name: string; permissions: "read_only" | "read_write"; }>, "many">>; }, "strip", z.ZodTypeAny, { id: number; label?: string | undefined; bucket_access?: { region: string; bucket_name: string; permissions: "read_only" | "read_write"; }[] | undefined; }, { id: number; label?: string | undefined; bucket_access?: { region: string; bucket_name: string; permissions: "read_only" | "read_write"; }[] | undefined; }>; export declare const deleteKeySchema: z.ZodObject<{ id: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: number; }, { id: number; }>; export declare const updateObjectACLSchema: z.ZodObject<{ region: z.ZodString; bucket: z.ZodString; name: z.ZodString; acl: z.ZodEnum<["private", "public-read", "authenticated-read", "public-read-write", "custom"]>; }, "strip", z.ZodTypeAny, { name: string; acl: "private" | "public-read" | "authenticated-read" | "public-read-write" | "custom"; region: string; bucket: string; }, { name: string; acl: "private" | "public-read" | "authenticated-read" | "public-read-write" | "custom"; region: string; bucket: string; }>; export declare const getObjectURLSchema: z.ZodObject<{ region: z.ZodString; bucket: z.ZodString; name: z.ZodString; method: z.ZodOptional<z.ZodEnum<["GET", "PUT", "POST", "DELETE"]>>; expires_in: z.ZodOptional<z.ZodNumber>; content_type: z.ZodOptional<z.ZodString>; content_disposition: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name: string; region: string; bucket: string; method?: "GET" | "PUT" | "POST" | "DELETE" | undefined; expires_in?: number | undefined; content_type?: string | undefined; content_disposition?: string | undefined; }, { name: string; region: string; bucket: string; method?: "GET" | "PUT" | "POST" | "DELETE" | undefined; expires_in?: number | undefined; content_type?: string | undefined; content_disposition?: string | undefined; }>; export declare const uploadObjectSchema: z.ZodObject<{ region: z.ZodString; bucket: z.ZodString; object_path: z.ZodString; source: z.ZodString; content_type: z.ZodOptional<z.ZodString>; acl: z.ZodOptional<z.ZodEnum<["private", "public-read", "authenticated-read", "public-read-write", "custom"]>>; expires_in: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { region: string; bucket: string; object_path: string; source: string; acl?: "private" | "public-read" | "authenticated-read" | "public-read-write" | "custom" | undefined; expires_in?: number | undefined; content_type?: string | undefined; }, { region: string; bucket: string; object_path: string; source: string; acl?: "private" | "public-read" | "authenticated-read" | "public-read-write" | "custom" | undefined; expires_in?: number | undefined; content_type?: string | undefined; }>; export declare const downloadObjectSchema: z.ZodObject<{ region: z.ZodString; bucket: z.ZodString; object_path: z.ZodString; destination: z.ZodOptional<z.ZodString>; expires_in: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { region: string; bucket: string; object_path: string; expires_in?: number | undefined; destination?: string | undefined; }, { region: string; bucket: string; object_path: string; expires_in?: number | undefined; destination?: string | undefined; }>; export declare const deleteObjectSchema: z.ZodObject<{ region: z.ZodString; bucket: z.ZodString; object_path: z.ZodString; expires_in: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { region: string; bucket: string; object_path: string; expires_in?: number | undefined; }, { region: string; bucket: string; object_path: string; expires_in?: number | undefined; }>; export declare const listBucketsInRegionSchema: z.ZodObject<{ page: z.ZodOptional<z.ZodNumber>; page_size: z.ZodOptional<z.ZodNumber>; regionId: z.ZodString; }, "strip", z.ZodTypeAny, { regionId: string; page?: number | undefined; page_size?: number | undefined; }, { regionId: string; page?: number | undefined; page_size?: number | undefined; }>; export declare const getObjectACLSchema: z.ZodObject<{ regionId: z.ZodString; bucket: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; regionId: string; bucket: string; }, { name: string; regionId: string; bucket: string; }>; export declare const putBucketAccessSchema: z.ZodObject<{ regionId: z.ZodString; bucket: z.ZodString; acl: z.ZodOptional<z.ZodString>; cors_enabled: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>; }, "strip", z.ZodTypeAny, { regionId: string; bucket: string; acl?: string | undefined; cors_enabled?: boolean | undefined; }, { regionId: string; bucket: string; acl?: string | undefined; cors_enabled?: unknown; }>; export declare const listObjectStorageQuotasSchema: z.ZodObject<{ page: z.ZodOptional<z.ZodNumber>; page_size: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { page?: number | undefined; page_size?: number | undefined; }, { page?: number | undefined; page_size?: number | undefined; }>; export declare const getObjectStorageQuotaSchema: z.ZodObject<{ objQuotaId: z.ZodString; }, "strip", z.ZodTypeAny, { objQuotaId: string; }, { objQuotaId: string; }>; export declare const getObjectStorageQuotaUsageSchema: z.ZodObject<{ objQuotaId: z.ZodString; }, "strip", z.ZodTypeAny, { objQuotaId: string; }, { objQuotaId: string; }>; export declare const getTransferStatsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const listObjectStorageTypesSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const cancelObjectStorageSchema: z.ZodObject<{ id: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: number; }, { id: number; }>;