/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */

import * as z from "zod/v4-mini";

/**
 * Properties for creating a benefit of type `custom`.
 */
export type BenefitCustomCreateProperties = {
  note?: string | null | undefined;
};

/** @internal */
export type BenefitCustomCreateProperties$Outbound = {
  note?: string | null | undefined;
};

/** @internal */
export const BenefitCustomCreateProperties$outboundSchema: z.ZodMiniType<
  BenefitCustomCreateProperties$Outbound,
  BenefitCustomCreateProperties
> = z.object({
  note: z.optional(z.nullable(z.string())),
});

export function benefitCustomCreatePropertiesToJSON(
  benefitCustomCreateProperties: BenefitCustomCreateProperties,
): string {
  return JSON.stringify(
    BenefitCustomCreateProperties$outboundSchema.parse(
      benefitCustomCreateProperties,
    ),
  );
}
