UNPKG

@takashito/linode-mcp-server

Version:

MCP server for Linode API

338 lines (337 loc) 9.68 kB
import { z } from "zod"; export declare const linodeImageSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodNullable<z.ZodString>; created: z.ZodString; updated: z.ZodString; type: z.ZodEnum<["manual", "automatic"]>; status: z.ZodEnum<["available", "creating", "pending_upload", "deleted"]>; is_public: z.ZodEffects<z.ZodBoolean, boolean, unknown>; size: z.ZodNumber; created_by: z.ZodString; vendor: z.ZodNullable<z.ZodString>; deprecated: z.ZodEffects<z.ZodBoolean, boolean, unknown>; expiry: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { label: string; size: number; type: "manual" | "automatic"; status: "deleted" | "available" | "creating" | "pending_upload"; id: string; created: string; updated: string; deprecated: boolean; description: string | null; is_public: boolean; created_by: string; vendor: string | null; expiry: string | null; }, { label: string; size: number; type: "manual" | "automatic"; status: "deleted" | "available" | "creating" | "pending_upload"; id: string; created: string; updated: string; description: string | null; created_by: string; vendor: string | null; expiry: string | null; deprecated?: unknown; is_public?: unknown; }>; export declare const listImagesSchema: 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 getImageSchema: z.ZodObject<{ imageId: z.ZodString; }, "strip", z.ZodTypeAny, { imageId: string; }, { imageId: string; }>; export declare const createImageSchema: z.ZodObject<{ disk_id: z.ZodNumber; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { label: string; disk_id: number; description?: string | undefined; }, { label: string; disk_id: number; description?: string | undefined; }>; export declare const uploadImageSchema: z.ZodObject<{ label: z.ZodString; description: z.ZodOptional<z.ZodString>; region: z.ZodString; }, "strip", z.ZodTypeAny, { label: string; region: string; description?: string | undefined; }, { label: string; region: string; description?: string | undefined; }>; export declare const updateImageSchema: z.ZodObject<{ imageId: z.ZodString; label: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { imageId: string; label?: string | undefined; description?: string | undefined; }, { imageId: string; label?: string | undefined; description?: string | undefined; }>; export declare const deleteImageSchema: z.ZodObject<{ imageId: z.ZodString; }, "strip", z.ZodTypeAny, { imageId: string; }, { imageId: string; }>; export declare const replicateImageSchema: z.ZodObject<{ imageId: z.ZodString; regions: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { regions: string[]; imageId: string; }, { regions: string[]; imageId: string; }>; export declare const listImageSharegroupsSchema: 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 getImageSharegroupSchema: z.ZodObject<{ sharegroupId: z.ZodNumber; }, "strip", z.ZodTypeAny, { sharegroupId: number; }, { sharegroupId: number; }>; export declare const createImageSharegroupSchema: z.ZodObject<{ label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { label: string; description?: string | undefined; }, { label: string; description?: string | undefined; }>; export declare const updateImageSharegroupSchema: z.ZodObject<{ sharegroupId: z.ZodNumber; label: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { sharegroupId: number; label?: string | undefined; description?: string | undefined; }, { sharegroupId: number; label?: string | undefined; description?: string | undefined; }>; export declare const deleteImageSharegroupSchema: z.ZodObject<{ sharegroupId: z.ZodNumber; }, "strip", z.ZodTypeAny, { sharegroupId: number; }, { sharegroupId: number; }>; export declare const listSharegroupImagesSchema: z.ZodObject<{ sharegroupId: z.ZodNumber; page: z.ZodOptional<z.ZodNumber>; page_size: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { sharegroupId: number; page?: number | undefined; page_size?: number | undefined; }, { sharegroupId: number; page?: number | undefined; page_size?: number | undefined; }>; export declare const addSharegroupImagesSchema: z.ZodObject<{ sharegroupId: z.ZodNumber; images: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { sharegroupId: number; images: string[]; }, { sharegroupId: number; images: string[]; }>; export declare const updateSharegroupImageSchema: z.ZodObject<{ sharegroupId: z.ZodNumber; imageId: z.ZodString; }, "strip", z.ZodTypeAny, { imageId: string; sharegroupId: number; }, { imageId: string; sharegroupId: number; }>; export declare const removeSharegroupImageSchema: z.ZodObject<{ sharegroupId: z.ZodNumber; imageId: z.ZodString; }, "strip", z.ZodTypeAny, { imageId: string; sharegroupId: number; }, { imageId: string; sharegroupId: number; }>; export declare const listSharegroupMembersSchema: z.ZodObject<{ sharegroupId: z.ZodNumber; page: z.ZodOptional<z.ZodNumber>; page_size: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { sharegroupId: number; page?: number | undefined; page_size?: number | undefined; }, { sharegroupId: number; page?: number | undefined; page_size?: number | undefined; }>; export declare const getSharegroupMemberSchema: z.ZodObject<{ sharegroupId: z.ZodNumber; tokenUuid: z.ZodString; }, "strip", z.ZodTypeAny, { sharegroupId: number; tokenUuid: string; }, { sharegroupId: number; tokenUuid: string; }>; export declare const addSharegroupMembersSchema: z.ZodObject<{ sharegroupId: z.ZodNumber; data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>; }, "strip", z.ZodTypeAny, { sharegroupId: number; data?: Record<string, any> | undefined; }, { sharegroupId: number; data?: Record<string, any> | undefined; }>; export declare const updateSharegroupMemberSchema: z.ZodObject<{ sharegroupId: z.ZodNumber; tokenUuid: z.ZodString; data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>; }, "strip", z.ZodTypeAny, { sharegroupId: number; tokenUuid: string; data?: Record<string, any> | undefined; }, { sharegroupId: number; tokenUuid: string; data?: Record<string, any> | undefined; }>; export declare const removeSharegroupMemberSchema: z.ZodObject<{ sharegroupId: z.ZodNumber; tokenUuid: z.ZodString; }, "strip", z.ZodTypeAny, { sharegroupId: number; tokenUuid: string; }, { sharegroupId: number; tokenUuid: string; }>; export declare const listSharegroupTokensSchema: 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 getSharegroupTokenSchema: z.ZodObject<{ tokenUuid: z.ZodString; }, "strip", z.ZodTypeAny, { tokenUuid: string; }, { tokenUuid: string; }>; export declare const createSharegroupTokenSchema: z.ZodObject<{ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>; }, "strip", z.ZodTypeAny, { data?: Record<string, any> | undefined; }, { data?: Record<string, any> | undefined; }>; export declare const updateSharegroupTokenSchema: z.ZodObject<{ tokenUuid: z.ZodString; data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>; }, "strip", z.ZodTypeAny, { tokenUuid: string; data?: Record<string, any> | undefined; }, { tokenUuid: string; data?: Record<string, any> | undefined; }>; export declare const deleteSharegroupTokenSchema: z.ZodObject<{ tokenUuid: z.ZodString; }, "strip", z.ZodTypeAny, { tokenUuid: string; }, { tokenUuid: string; }>; export declare const getTokenSharegroupSchema: z.ZodObject<{ tokenUuid: z.ZodString; }, "strip", z.ZodTypeAny, { tokenUuid: string; }, { tokenUuid: string; }>; export declare const listTokenSharegroupImagesSchema: z.ZodObject<{ tokenUuid: z.ZodString; page: z.ZodOptional<z.ZodNumber>; page_size: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { tokenUuid: string; page?: number | undefined; page_size?: number | undefined; }, { tokenUuid: string; page?: number | undefined; page_size?: number | undefined; }>; export declare const listImageSharegroupsByImageSchema: z.ZodObject<{ imageId: z.ZodString; page: z.ZodOptional<z.ZodNumber>; page_size: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { imageId: string; page?: number | undefined; page_size?: number | undefined; }, { imageId: string; page?: number | undefined; page_size?: number | undefined; }>;