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

import * as z from "zod/v4-mini";
import { safeParse } from "../../lib/schemas.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";

export type BenefitGrantFeatureFlagProperties = {};

/** @internal */
export const BenefitGrantFeatureFlagProperties$inboundSchema: z.ZodMiniType<
  BenefitGrantFeatureFlagProperties,
  unknown
> = z.object({});
/** @internal */
export type BenefitGrantFeatureFlagProperties$Outbound = {};

/** @internal */
export const BenefitGrantFeatureFlagProperties$outboundSchema: z.ZodMiniType<
  BenefitGrantFeatureFlagProperties$Outbound,
  BenefitGrantFeatureFlagProperties
> = z.object({});

export function benefitGrantFeatureFlagPropertiesToJSON(
  benefitGrantFeatureFlagProperties: BenefitGrantFeatureFlagProperties,
): string {
  return JSON.stringify(
    BenefitGrantFeatureFlagProperties$outboundSchema.parse(
      benefitGrantFeatureFlagProperties,
    ),
  );
}
export function benefitGrantFeatureFlagPropertiesFromJSON(
  jsonString: string,
): SafeParseResult<BenefitGrantFeatureFlagProperties, SDKValidationError> {
  return safeParse(
    jsonString,
    (x) => BenefitGrantFeatureFlagProperties$inboundSchema.parse(JSON.parse(x)),
    `Failed to parse 'BenefitGrantFeatureFlagProperties' from JSON`,
  );
}
