@launchdarkly/mcp-server
Version:
The local [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server for [LaunchDarkly](https://launchdarkly.com/) federal and European Union (EU) environments.
28 lines • 1.14 kB
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type PatchMetricRequest = {
/**
* The project key
*/
projectKey: string;
/**
* The metric key
*/
metricKey: string;
requestBody: Array<components.PatchOperation>;
};
/** @internal */
export declare const PatchMetricRequest$inboundSchema: z.ZodType<PatchMetricRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type PatchMetricRequest$Outbound = {
projectKey: string;
metricKey: string;
RequestBody: Array<components.PatchOperation$Outbound>;
};
/** @internal */
export declare const PatchMetricRequest$outboundSchema: z.ZodType<PatchMetricRequest$Outbound, z.ZodTypeDef, PatchMetricRequest>;
export declare function patchMetricRequestToJSON(patchMetricRequest: PatchMetricRequest): string;
export declare function patchMetricRequestFromJSON(jsonString: string): SafeParseResult<PatchMetricRequest, SDKValidationError>;
//# sourceMappingURL=patchmetric.d.ts.map