/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; export type ScheduleLayerCreatePayloadV2 = { /** * Unique identifier of the layer */ id?: string | undefined; /** * Name of the layer */ name: string; }; /** @internal */ export const ScheduleLayerCreatePayloadV2$inboundSchema: z.ZodType< ScheduleLayerCreatePayloadV2, z.ZodTypeDef, unknown > = z.object({ id: z.string().optional(), name: z.string(), }); /** @internal */ export type ScheduleLayerCreatePayloadV2$Outbound = { id?: string | undefined; name: string; }; /** @internal */ export const ScheduleLayerCreatePayloadV2$outboundSchema: z.ZodType< ScheduleLayerCreatePayloadV2$Outbound, z.ZodTypeDef, ScheduleLayerCreatePayloadV2 > = z.object({ id: z.string().optional(), name: z.string(), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace ScheduleLayerCreatePayloadV2$ { /** @deprecated use `ScheduleLayerCreatePayloadV2$inboundSchema` instead. */ export const inboundSchema = ScheduleLayerCreatePayloadV2$inboundSchema; /** @deprecated use `ScheduleLayerCreatePayloadV2$outboundSchema` instead. */ export const outboundSchema = ScheduleLayerCreatePayloadV2$outboundSchema; /** @deprecated use `ScheduleLayerCreatePayloadV2$Outbound` instead. */ export type Outbound = ScheduleLayerCreatePayloadV2$Outbound; }