/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { remap as remap$ } from "../../lib/primitives.js"; import { lazySchema as lazySchema$ } from "../../lib/schemas.js"; export type DrivesFilter = { /** * ID of the drive group to filter on */ groupId?: string | undefined; }; /** @internal */ export type DrivesFilter$Outbound = { group_id?: string | undefined; }; /** @internal */ export const DrivesFilter$outboundSchema: z.ZodType< DrivesFilter$Outbound, z.ZodTypeDef, DrivesFilter > = /* @__PURE__ */ lazySchema$(() => z.object({ groupId: z.string().optional(), }).transform((v) => { return remap$(v, { groupId: "group_id", }); }) ); export function drivesFilterToJSON(drivesFilter: DrivesFilter): string { return JSON.stringify(DrivesFilter$outboundSchema.parse(drivesFilter)); }