/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v4-mini"; import { UpdateEntitlementRequest, UpdateEntitlementRequest$Outbound, UpdateEntitlementRequest$outboundSchema, } from "./update-entitlement-request.js"; export type UpdateEntitlementRequestRequest = { /** * Entitlement ID */ id: string; /** * Entitlement configuration */ body: UpdateEntitlementRequest; }; /** @internal */ export type UpdateEntitlementRequestRequest$Outbound = { id: string; body: UpdateEntitlementRequest$Outbound; }; /** @internal */ export const UpdateEntitlementRequestRequest$outboundSchema: z.ZodMiniType< UpdateEntitlementRequestRequest$Outbound, UpdateEntitlementRequestRequest > = z.object({ id: z.string(), body: UpdateEntitlementRequest$outboundSchema, }); export function updateEntitlementRequestRequestToJSON( updateEntitlementRequestRequest: UpdateEntitlementRequestRequest, ): string { return JSON.stringify( UpdateEntitlementRequestRequest$outboundSchema.parse( updateEntitlementRequestRequest, ), ); }