/* * 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 "./sdk-validation-error.js"; /** * Schedule Update Billing Period Request */ export type ScheduleUpdateBillingPeriodRequest = {}; /** * OK */ export type ScheduleUpdateBillingPeriodResponse = {}; /** @internal */ export type ScheduleUpdateBillingPeriodRequest$Outbound = {}; /** @internal */ export const ScheduleUpdateBillingPeriodRequest$outboundSchema: z.ZodMiniType< ScheduleUpdateBillingPeriodRequest$Outbound, ScheduleUpdateBillingPeriodRequest > = z.object({}); export function scheduleUpdateBillingPeriodRequestToJSON( scheduleUpdateBillingPeriodRequest: ScheduleUpdateBillingPeriodRequest, ): string { return JSON.stringify( ScheduleUpdateBillingPeriodRequest$outboundSchema.parse( scheduleUpdateBillingPeriodRequest, ), ); } /** @internal */ export const ScheduleUpdateBillingPeriodResponse$inboundSchema: z.ZodMiniType< ScheduleUpdateBillingPeriodResponse, unknown > = z.object({}); export function scheduleUpdateBillingPeriodResponseFromJSON( jsonString: string, ): SafeParseResult { return safeParse( jsonString, (x) => ScheduleUpdateBillingPeriodResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ScheduleUpdateBillingPeriodResponse' from JSON`, ); }