// This file is auto-generated by scripts/generate-schemas.ts // Do not edit manually. import { z } from "zod"; import { ChannelResourceIdentifierSchema, CustomFieldsDraftSchema, LocaleSchema, LocalizedStringSchema, ProductSelectionSettingDraftSchema, StoreCountrySchema, StorefrontSchema, } from "./common.ts"; export const StoreDraftSchema = z.object({ key: z.string(), name: LocalizedStringSchema.nullish(), languages: z.array(LocaleSchema).nullish(), countries: z.array(StoreCountrySchema).nullish(), distributionChannels: z.array(ChannelResourceIdentifierSchema).nullish(), supplyChannels: z.array(ChannelResourceIdentifierSchema).nullish(), productSelections: z.array(ProductSelectionSettingDraftSchema).nullish(), custom: CustomFieldsDraftSchema.nullish(), storefront: StorefrontSchema.nullish(), });