UNPKG

@unkey/api

Version:

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

14 lines 613 B
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { UpdateKeyCreditsRefill$outboundSchema, } from "./updatekeycreditsrefill.js"; /** @internal */ export const UpdateKeyCreditsData$outboundSchema = z.object({ remaining: z.nullable(z.number().int()).optional(), refill: z.nullable(UpdateKeyCreditsRefill$outboundSchema).optional(), }); export function updateKeyCreditsDataToJSON(updateKeyCreditsData) { return JSON.stringify(UpdateKeyCreditsData$outboundSchema.parse(updateKeyCreditsData)); } //# sourceMappingURL=updatekeycreditsdata.js.map