UNPKG

@unkey/api

Version:

Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@unkey/api* API.

14 lines 575 B
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { safeParse } from "../../lib/schemas.js"; /** @internal */ export const V2KeysCreateKeyResponseData$inboundSchema = z.object({ keyId: z.string(), key: z.string(), }); export function v2KeysCreateKeyResponseDataFromJSON(jsonString) { return safeParse(jsonString, (x) => V2KeysCreateKeyResponseData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'V2KeysCreateKeyResponseData' from JSON`); } //# sourceMappingURL=v2keyscreatekeyresponsedata.js.map