/*
 * 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 BenefitSlackSharedChannelSubscriberProperties = {};

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

export function benefitSlackSharedChannelSubscriberPropertiesFromJSON(
  jsonString: string,
): SafeParseResult<
  BenefitSlackSharedChannelSubscriberProperties,
  SDKValidationError
> {
  return safeParse(
    jsonString,
    (x) =>
      BenefitSlackSharedChannelSubscriberProperties$inboundSchema.parse(
        JSON.parse(x),
      ),
    `Failed to parse 'BenefitSlackSharedChannelSubscriberProperties' from JSON`,
  );
}
