@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.
23 lines • 1.09 kB
JavaScript
/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
import * as z from "zod/v3";
import { safeParse } from "../../lib/schemas.js";
import { AiConfigsAccessAllowedReason$inboundSchema, AiConfigsAccessAllowedReason$outboundSchema, } from "./aiconfigsaccessallowedreason.js";
/** @internal */
export const AiConfigsAccessAllowedRep$inboundSchema = z.object({
action: z.string(),
reason: AiConfigsAccessAllowedReason$inboundSchema,
});
/** @internal */
export const AiConfigsAccessAllowedRep$outboundSchema = z.object({
action: z.string(),
reason: AiConfigsAccessAllowedReason$outboundSchema,
});
export function aiConfigsAccessAllowedRepToJSON(aiConfigsAccessAllowedRep) {
return JSON.stringify(AiConfigsAccessAllowedRep$outboundSchema.parse(aiConfigsAccessAllowedRep));
}
export function aiConfigsAccessAllowedRepFromJSON(jsonString) {
return safeParse(jsonString, (x) => AiConfigsAccessAllowedRep$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AiConfigsAccessAllowedRep' from JSON`);
}
//# sourceMappingURL=aiconfigsaccessallowedrep.js.map