/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; import { remap as remap$ } from "../../lib/primitives.js"; export type ScheduleHolidaysPublicConfigV2 = { /** * ISO 3166-1 alpha-2 country codes for the countries that this schedule is configured to view holidays for */ countryCodes: Array; }; /** @internal */ export const ScheduleHolidaysPublicConfigV2$inboundSchema: z.ZodType< ScheduleHolidaysPublicConfigV2, z.ZodTypeDef, unknown > = z.object({ country_codes: z.array(z.string()), }).transform((v) => { return remap$(v, { "country_codes": "countryCodes", }); }); /** @internal */ export type ScheduleHolidaysPublicConfigV2$Outbound = { country_codes: Array; }; /** @internal */ export const ScheduleHolidaysPublicConfigV2$outboundSchema: z.ZodType< ScheduleHolidaysPublicConfigV2$Outbound, z.ZodTypeDef, ScheduleHolidaysPublicConfigV2 > = z.object({ countryCodes: z.array(z.string()), }).transform((v) => { return remap$(v, { countryCodes: "country_codes", }); }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace ScheduleHolidaysPublicConfigV2$ { /** @deprecated use `ScheduleHolidaysPublicConfigV2$inboundSchema` instead. */ export const inboundSchema = ScheduleHolidaysPublicConfigV2$inboundSchema; /** @deprecated use `ScheduleHolidaysPublicConfigV2$outboundSchema` instead. */ export const outboundSchema = ScheduleHolidaysPublicConfigV2$outboundSchema; /** @deprecated use `ScheduleHolidaysPublicConfigV2$Outbound` instead. */ export type Outbound = ScheduleHolidaysPublicConfigV2$Outbound; }