// This file is auto-generated by scripts/generate-schemas.ts // Do not edit manually. import { z } from "zod"; import { ChannelResourceIdentifierSchema, CountryCodeSchema, CustomerGroupResourceIdentifierSchema, CustomFieldsDraftSchema, DiscountedPriceDraftSchema, MoneySchema, PriceTierDraftSchema, RecurrencePolicyResourceIdentifierSchema, StagedPriceDraftSchema, } from "./common.ts"; export const StandalonePriceDraftSchema = z.object({ key: z.string().nullish(), sku: z.string(), value: MoneySchema, country: CountryCodeSchema.nullish(), customerGroup: CustomerGroupResourceIdentifierSchema.nullish(), channel: ChannelResourceIdentifierSchema.nullish(), validFrom: z.string().nullish(), validUntil: z.string().nullish(), tiers: z.array(PriceTierDraftSchema).nullish(), discounted: DiscountedPriceDraftSchema.nullish(), custom: CustomFieldsDraftSchema.nullish(), recurrencePolicy: RecurrencePolicyResourceIdentifierSchema.nullish(), staged: StagedPriceDraftSchema.nullish(), active: z.boolean().nullish(), });