/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type TrustlyOptions = { /** * Indicates to Gr4vy whether or not the stored Trustly agreement needs refreshing. */ refreshSplitToken?: boolean | null | undefined; }; /** @internal */ export type TrustlyOptions$Outbound = { refreshSplitToken?: boolean | null | undefined; }; /** @internal */ export const TrustlyOptions$outboundSchema: z.ZodType< TrustlyOptions$Outbound, z.ZodTypeDef, TrustlyOptions > = z.object({ refreshSplitToken: z.nullable(z.boolean()).optional(), }); export function trustlyOptionsToJSON(trustlyOptions: TrustlyOptions): string { return JSON.stringify(TrustlyOptions$outboundSchema.parse(trustlyOptions)); }