import { ZodTypeAny, z } from 'zod'; interface ILogger { debug: (message?: any, ...optionalParams: any[]) => void; log: (message?: any, ...optionalParams: any[]) => void; warn: (message?: any, ...optionalParams: any[]) => void; error: (message?: any, ...optionalParams: any[]) => void; } declare enum LogLevel { Debug = 0, Information = 1, Warn = 2, Error = 3 } declare class ConsoleLogger implements ILogger { private readonly level; constructor(level?: LogLevel); debug(message?: any, ...optionalParams: any[]): void; log(message?: any, ...optionalParams: any[]): void; warn(message?: any, ...optionalParams: any[]): void; error(message?: any, ...optionalParams: any[]): void; } interface IStore { get: (key: string) => TItem | null; set: (key: string, item: TItem) => void; remove: (key: string) => void; listen: (key: string, callback: (item: TItem | null) => void) => void; } declare class LocalStorageStore implements IStore { get(key: string): TItem | null; set(key: string, item: TItem): void; remove(key: string): void; listen(key: string, callback: (item: TItem | null) => void): void; } declare class InMemoryStore implements IStore { private readonly store; private readonly listeners; get(key: string): TItem | null; set(key: string, item: TItem): void; remove(key: string): void; listen(key: string, callback: (item: TItem | null) => void): void; } type IdentityWithExpiry = Identity & { expiresAt: Date; }; interface ITokenStore { get user(): User | null; getAccessToken: () => Promise; setUser: (user: Identity | User) => User | null; clear: () => void; } declare class TokenStore implements ITokenStore { private configuration; private tokens; private refreshTimeoutId; private refreshPromise; private readonly store; static readonly storageKey = "moonbase_auth"; constructor(configuration: MoonbaseConfiguration); get user(): User | null; getAccessToken(): Promise; setUser(user: Identity | User): IdentityWithExpiry | null; clear(): null; private get isExpired(); private refreshTokens; private handleStorageUpdate; } type HttpMethods = 'GET' | 'POST' | 'PATCH' | 'PUT' | 'DELETE'; interface Response { data: T; headers: Record; status: number; } interface FetchOptions { method?: HttpMethods; body?: any; contentType?: string; abort?: AbortSignal; } declare function objectToQuery(obj?: Record): string; declare class MoonbaseApi { baseUrl: string; private tokenStore; private logger; constructor(baseUrl: string, tokenStore: ITokenStore, logger: ILogger); authenticatedFetch(path: string, schema: T | null, options?: FetchOptions): Promise>>; fetch(path: string, schema: T | null, options?: FetchOptions): Promise>>; private reportParsingProblem; private reportRequestProblem; } declare const activationRequestSchema: z.ZodObject<{ id: z.ZodString; status: z.ZodNativeEnum; product: z.ZodObject<{ id: z.ZodString; name: z.ZodString; tagline: z.ZodString; description: z.ZodString; iconUrl: z.ZodNullable; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>; fulfillmentType: z.ZodOptional>; trialEligibility: z.ZodOptional>; licenseEligibility: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; status: ActivationRequestStatus; product: { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; fulfillmentType?: ActivationRequestFulfillmentType | undefined; trialEligibility?: { eligible: boolean; existing: boolean; requiresAccount: boolean; requiresNewsletterOptIn: boolean; numberOfDaysPerProduct: number; numberOfDaysRemaining: number; } | undefined; licenseEligibility?: { eligible: boolean; } | undefined; }, { id: string; status: ActivationRequestStatus; product: { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; fulfillmentType?: ActivationRequestFulfillmentType | undefined; trialEligibility?: { eligible: boolean; existing: boolean; requiresAccount: boolean; requiresNewsletterOptIn: boolean; numberOfDaysPerProduct: number; numberOfDaysRemaining: number; } | undefined; licenseEligibility?: { eligible: boolean; } | undefined; }>; declare const schemas$b_activationRequestSchema: typeof activationRequestSchema; declare namespace schemas$b { export { schemas$b_activationRequestSchema as activationRequestSchema }; } declare enum ActivationRequestFulfillmentType { License = "License", Trial = "Trial" } declare enum ActivationRequestStatus { Requested = "Requested", Fulfilled = "Fulfilled", Completed = "Completed", Cancelled = "Cancelled" } type ActivationRequest = z.infer; declare class ActivationRequestEndpoints { private api; constructor(api: MoonbaseApi); get(requestId: string): Promise; isCompleted(requestId: string): Promise; fulfillLicense(requestId: string): Promise; fulfillTrial(requestId: string): Promise; cancel(requestId: string): Promise; } declare const subscribeResponseSchema: z.ZodObject<{ status: z.ZodEnum<["subscribed", "confirmation_sent"]>; }, "strip", z.ZodTypeAny, { status: "subscribed" | "confirmation_sent"; }, { status: "subscribed" | "confirmation_sent"; }>; declare const communicationPreferencesViewSchema: z.ZodObject<{ email: z.ZodString; name: z.ZodOptional>; newsletter: z.ZodBoolean; productUpdates: z.ZodBoolean; }, "strip", z.ZodTypeAny, { email: string; newsletter: boolean; productUpdates: boolean; name?: string | null | undefined; }, { email: string; newsletter: boolean; productUpdates: boolean; name?: string | null | undefined; }>; declare const schemas$a_communicationPreferencesViewSchema: typeof communicationPreferencesViewSchema; declare const schemas$a_subscribeResponseSchema: typeof subscribeResponseSchema; declare namespace schemas$a { export { schemas$a_communicationPreferencesViewSchema as communicationPreferencesViewSchema, schemas$a_subscribeResponseSchema as subscribeResponseSchema }; } type SubscribeResponse = z.infer; type CommunicationPreferencesView = z.infer; interface SubscribeInput { email: string; name?: string | null; newsletter?: boolean; productUpdates?: boolean; } interface CommunicationPreferencesInput { newsletter: boolean; productUpdates: boolean; } declare class CommunicationsEndpoints { private api; constructor(api: MoonbaseApi); subscribe(input: SubscribeInput): Promise; confirm(email: string, token: string): Promise; getPreferences(email: string, token: string): Promise; updatePreferences(email: string, token: string, preferences: CommunicationPreferencesInput): Promise; unsubscribe(email: string, token: string): Promise; } declare const addressSchema: z.ZodObject<{ countryCode: z.ZodString; streetAddress1: z.ZodString; streetAddress2: z.ZodNullable; locality: z.ZodNullable; region: z.ZodNullable; postCode: z.ZodNullable; }, "strip", z.ZodTypeAny, { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; }, { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; }>; declare const communicationPreferencesSchema: z.ZodObject<{ newsletterOptIn: z.ZodBoolean; productUpdatesOptIn: z.ZodDefault; }, "strip", z.ZodTypeAny, { newsletterOptIn: boolean; productUpdatesOptIn: boolean; }, { newsletterOptIn: boolean; productUpdatesOptIn?: boolean | undefined; }>; declare const ilokConnectedAccountSchema: z.ZodObject<{ provider: z.ZodLiteral; isConnected: z.ZodBoolean; pendingLicenseFulfillments: z.ZodBoolean; accountId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { provider: ConnectableAccountProvider; isConnected: boolean; pendingLicenseFulfillments: boolean; accountId?: string | null | undefined; }, { provider: ConnectableAccountProvider; isConnected: boolean; pendingLicenseFulfillments: boolean; accountId?: string | null | undefined; }>; declare const connectedAccountSchema: z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{ provider: z.ZodLiteral; isConnected: z.ZodBoolean; pendingLicenseFulfillments: z.ZodBoolean; accountId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { provider: ConnectableAccountProvider; isConnected: boolean; pendingLicenseFulfillments: boolean; accountId?: string | null | undefined; }, { provider: ConnectableAccountProvider; isConnected: boolean; pendingLicenseFulfillments: boolean; accountId?: string | null | undefined; }>]>; declare const connectionUrlSchema: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; declare const userSchema: z.ZodObject<{ id: z.ZodString; email: z.ZodString; name: z.ZodNullable; tenantId: z.ZodString; address: z.ZodOptional; locality: z.ZodNullable; region: z.ZodNullable; postCode: z.ZodNullable; }, "strip", z.ZodTypeAny, { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; }, { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; }>>; phone: z.ZodOptional; communicationPreferences: z.ZodObject<{ newsletterOptIn: z.ZodBoolean; productUpdatesOptIn: z.ZodDefault; }, "strip", z.ZodTypeAny, { newsletterOptIn: boolean; productUpdatesOptIn: boolean; }, { newsletterOptIn: boolean; productUpdatesOptIn?: boolean | undefined; }>; ownedProducts: z.ZodOptional>; subscribedProducts: z.ZodOptional>; confirmedAccount: z.ZodOptional; hasProducts: z.ZodOptional>; hasSubscriptions: z.ZodOptional>; connectedAccounts: z.ZodDefault; isConnected: z.ZodBoolean; pendingLicenseFulfillments: z.ZodBoolean; accountId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { provider: ConnectableAccountProvider; isConnected: boolean; pendingLicenseFulfillments: boolean; accountId?: string | null | undefined; }, { provider: ConnectableAccountProvider; isConnected: boolean; pendingLicenseFulfillments: boolean; accountId?: string | null | undefined; }>]>, "many">>; }, "strip", z.ZodTypeAny, { id: string; email: string; name: string | null; tenantId: string; communicationPreferences: { newsletterOptIn: boolean; productUpdatesOptIn: boolean; }; connectedAccounts: { provider: ConnectableAccountProvider; isConnected: boolean; pendingLicenseFulfillments: boolean; accountId?: string | null | undefined; }[]; address?: { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; } | undefined; phone?: string | undefined; ownedProducts?: string[] | undefined; subscribedProducts?: string[] | undefined; confirmedAccount?: boolean | undefined; hasProducts?: boolean | null | undefined; hasSubscriptions?: boolean | null | undefined; }, { id: string; email: string; name: string | null; tenantId: string; communicationPreferences: { newsletterOptIn: boolean; productUpdatesOptIn?: boolean | undefined; }; address?: { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; } | undefined; phone?: string | undefined; ownedProducts?: string[] | undefined; subscribedProducts?: string[] | undefined; confirmedAccount?: boolean | undefined; hasProducts?: boolean | null | undefined; hasSubscriptions?: boolean | null | undefined; connectedAccounts?: { provider: ConnectableAccountProvider; isConnected: boolean; pendingLicenseFulfillments: boolean; accountId?: string | null | undefined; }[] | undefined; }>; declare const identitySchema: z.ZodIntersection; tenantId: z.ZodString; address: z.ZodOptional; locality: z.ZodNullable; region: z.ZodNullable; postCode: z.ZodNullable; }, "strip", z.ZodTypeAny, { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; }, { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; }>>; phone: z.ZodOptional; communicationPreferences: z.ZodObject<{ newsletterOptIn: z.ZodBoolean; productUpdatesOptIn: z.ZodDefault; }, "strip", z.ZodTypeAny, { newsletterOptIn: boolean; productUpdatesOptIn: boolean; }, { newsletterOptIn: boolean; productUpdatesOptIn?: boolean | undefined; }>; ownedProducts: z.ZodOptional>; subscribedProducts: z.ZodOptional>; confirmedAccount: z.ZodOptional; hasProducts: z.ZodOptional>; hasSubscriptions: z.ZodOptional>; connectedAccounts: z.ZodDefault; isConnected: z.ZodBoolean; pendingLicenseFulfillments: z.ZodBoolean; accountId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { provider: ConnectableAccountProvider; isConnected: boolean; pendingLicenseFulfillments: boolean; accountId?: string | null | undefined; }, { provider: ConnectableAccountProvider; isConnected: boolean; pendingLicenseFulfillments: boolean; accountId?: string | null | undefined; }>]>, "many">>; }, "strip", z.ZodTypeAny, { id: string; email: string; name: string | null; tenantId: string; communicationPreferences: { newsletterOptIn: boolean; productUpdatesOptIn: boolean; }; connectedAccounts: { provider: ConnectableAccountProvider; isConnected: boolean; pendingLicenseFulfillments: boolean; accountId?: string | null | undefined; }[]; address?: { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; } | undefined; phone?: string | undefined; ownedProducts?: string[] | undefined; subscribedProducts?: string[] | undefined; confirmedAccount?: boolean | undefined; hasProducts?: boolean | null | undefined; hasSubscriptions?: boolean | null | undefined; }, { id: string; email: string; name: string | null; tenantId: string; communicationPreferences: { newsletterOptIn: boolean; productUpdatesOptIn?: boolean | undefined; }; address?: { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; } | undefined; phone?: string | undefined; ownedProducts?: string[] | undefined; subscribedProducts?: string[] | undefined; confirmedAccount?: boolean | undefined; hasProducts?: boolean | null | undefined; hasSubscriptions?: boolean | null | undefined; connectedAccounts?: { provider: ConnectableAccountProvider; isConnected: boolean; pendingLicenseFulfillments: boolean; accountId?: string | null | undefined; }[] | undefined; }>, z.ZodObject<{ accessToken: z.ZodString; refreshToken: z.ZodString; }, "strip", z.ZodTypeAny, { accessToken: string; refreshToken: string; }, { accessToken: string; refreshToken: string; }>>; declare const userAccountConfirmedStatusSchema: z.ZodEnum<["PasswordSetupRequired", "SignedIn"]>; declare const userAccountConfirmedSchema: z.ZodIntersection; tenantId: z.ZodString; address: z.ZodOptional; locality: z.ZodNullable; region: z.ZodNullable; postCode: z.ZodNullable; }, "strip", z.ZodTypeAny, { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; }, { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; }>>; phone: z.ZodOptional; communicationPreferences: z.ZodObject<{ newsletterOptIn: z.ZodBoolean; productUpdatesOptIn: z.ZodDefault; }, "strip", z.ZodTypeAny, { newsletterOptIn: boolean; productUpdatesOptIn: boolean; }, { newsletterOptIn: boolean; productUpdatesOptIn?: boolean | undefined; }>; ownedProducts: z.ZodOptional>; subscribedProducts: z.ZodOptional>; confirmedAccount: z.ZodOptional; hasProducts: z.ZodOptional>; hasSubscriptions: z.ZodOptional>; connectedAccounts: z.ZodDefault; isConnected: z.ZodBoolean; pendingLicenseFulfillments: z.ZodBoolean; accountId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { provider: ConnectableAccountProvider; isConnected: boolean; pendingLicenseFulfillments: boolean; accountId?: string | null | undefined; }, { provider: ConnectableAccountProvider; isConnected: boolean; pendingLicenseFulfillments: boolean; accountId?: string | null | undefined; }>]>, "many">>; }, "strip", z.ZodTypeAny, { id: string; email: string; name: string | null; tenantId: string; communicationPreferences: { newsletterOptIn: boolean; productUpdatesOptIn: boolean; }; connectedAccounts: { provider: ConnectableAccountProvider; isConnected: boolean; pendingLicenseFulfillments: boolean; accountId?: string | null | undefined; }[]; address?: { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; } | undefined; phone?: string | undefined; ownedProducts?: string[] | undefined; subscribedProducts?: string[] | undefined; confirmedAccount?: boolean | undefined; hasProducts?: boolean | null | undefined; hasSubscriptions?: boolean | null | undefined; }, { id: string; email: string; name: string | null; tenantId: string; communicationPreferences: { newsletterOptIn: boolean; productUpdatesOptIn?: boolean | undefined; }; address?: { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; } | undefined; phone?: string | undefined; ownedProducts?: string[] | undefined; subscribedProducts?: string[] | undefined; confirmedAccount?: boolean | undefined; hasProducts?: boolean | null | undefined; hasSubscriptions?: boolean | null | undefined; connectedAccounts?: { provider: ConnectableAccountProvider; isConnected: boolean; pendingLicenseFulfillments: boolean; accountId?: string | null | undefined; }[] | undefined; }>, z.ZodObject<{ status: z.ZodEnum<["PasswordSetupRequired", "SignedIn"]>; resetPasswordToken: z.ZodOptional>; accessToken: z.ZodOptional>; refreshToken: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: "PasswordSetupRequired" | "SignedIn"; accessToken?: string | null | undefined; refreshToken?: string | null | undefined; resetPasswordToken?: string | null | undefined; }, { status: "PasswordSetupRequired" | "SignedIn"; accessToken?: string | null | undefined; refreshToken?: string | null | undefined; resetPasswordToken?: string | null | undefined; }>>; declare const pendingActivationSchema: z.ZodObject<{ status: z.ZodLiteral<"activation_pending">; email: z.ZodString; }, "strip", z.ZodTypeAny, { email: string; status: "activation_pending"; }, { email: string; status: "activation_pending"; }>; declare const schemas$9_addressSchema: typeof addressSchema; declare const schemas$9_communicationPreferencesSchema: typeof communicationPreferencesSchema; declare const schemas$9_connectedAccountSchema: typeof connectedAccountSchema; declare const schemas$9_connectionUrlSchema: typeof connectionUrlSchema; declare const schemas$9_identitySchema: typeof identitySchema; declare const schemas$9_ilokConnectedAccountSchema: typeof ilokConnectedAccountSchema; declare const schemas$9_pendingActivationSchema: typeof pendingActivationSchema; declare const schemas$9_userAccountConfirmedSchema: typeof userAccountConfirmedSchema; declare const schemas$9_userAccountConfirmedStatusSchema: typeof userAccountConfirmedStatusSchema; declare const schemas$9_userSchema: typeof userSchema; declare namespace schemas$9 { export { schemas$9_addressSchema as addressSchema, schemas$9_communicationPreferencesSchema as communicationPreferencesSchema, schemas$9_connectedAccountSchema as connectedAccountSchema, schemas$9_connectionUrlSchema as connectionUrlSchema, schemas$9_identitySchema as identitySchema, schemas$9_ilokConnectedAccountSchema as ilokConnectedAccountSchema, schemas$9_pendingActivationSchema as pendingActivationSchema, schemas$9_userAccountConfirmedSchema as userAccountConfirmedSchema, schemas$9_userAccountConfirmedStatusSchema as userAccountConfirmedStatusSchema, schemas$9_userSchema as userSchema }; } type CommunicationPreferences = z.infer; declare enum ConnectableAccountProvider { iLok = "iLok" } type ConnectedAccount = z.infer; type User = z.infer; type Identity = z.infer; type Address = z.infer; type UserAccountConfirmedStatus = z.infer; type UserAccountConfirmed = z.infer; type SignUpResult = { status: 'signed-in'; user: User; } | { status: 'activation-pending'; email: string; }; declare class IdentityEndpoints { private api; private tokenStore; private logger; constructor(api: MoonbaseApi, tokenStore: ITokenStore, logger: ILogger); get(): Promise; signIn(email: string, password: string): Promise; signUp(name: string, email: string, password: string, address: Address | null | undefined, acceptedPrivacyPolicy: boolean, acceptedTermsAndConditions: boolean, communicationOptIn?: boolean): Promise; signOut(): Promise; update(name: string | null, email: string, emailConfirmationToken?: string, communicationPreferences?: CommunicationPreferences): Promise<{ needsEmailConfirmationToken: boolean; user: { id: string; email: string; name: string | null; tenantId: string; communicationPreferences: { newsletterOptIn: boolean; productUpdatesOptIn: boolean; }; connectedAccounts: { provider: ConnectableAccountProvider; isConnected: boolean; pendingLicenseFulfillments: boolean; accountId?: string | null | undefined; }[]; address?: { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; } | undefined; phone?: string | undefined; ownedProducts?: string[] | undefined; subscribedProducts?: string[] | undefined; confirmedAccount?: boolean | undefined; hasProducts?: boolean | null | undefined; hasSubscriptions?: boolean | null | undefined; }; }>; setPassword(currentPassword: string, newPassword: string): Promise; forgotPassword(email: string): Promise; resetPassword(email: string, newPassword: string, code: string): Promise; confirmAccount(email: string, code: string): Promise; confirmEmail(email: string, code: string): Promise; confirmEmailChange(email: string, code: string): Promise; getConnectionUrl(provider: ConnectableAccountProvider, redirectUri: string, loginId?: string): Promise; disconnectAccount(provider: ConnectableAccountProvider): Promise; } declare const externalLicenseContent: z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"file">; fileName: z.ZodString; contentType: z.ZodString; data: z.ZodString; }, "strip", z.ZodTypeAny, { type: "file"; data: string; fileName: string; contentType: string; }, { type: "file"; data: string; fileName: string; contentType: string; }>, z.ZodObject<{ type: z.ZodLiteral<"iLok">; }, "strip", z.ZodTypeAny, { type: "iLok"; }, { type: "iLok"; }>]>]>; type ExternalLicenseContent = z.infer; declare const licenseSchema: z.ZodObject<{ id: z.ZodString; status: z.ZodNativeEnum; product: z.ZodObject<{ id: z.ZodString; name: z.ZodString; tagline: z.ZodString; description: z.ZodOptional>; website: z.ZodOptional; iconUrl: z.ZodOptional; numberOfLicenses: z.ZodOptional; numberOfTrials: z.ZodOptional; currentActivations: z.ZodOptional; maxActivations: z.ZodOptional; externalLicenses: z.ZodOptional; subscriptionLicenses: z.ZodOptional; currentVersion: z.ZodNullable; version: z.ZodOptional; prerelease: z.ZodOptional; releaseDescription: z.ZodOptional; downloadsNeedsUser: z.ZodBoolean; downloadsNeedsOwnership: z.ZodBoolean; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; currentVersion: string | null; downloadsNeedsUser: boolean; downloadsNeedsOwnership: boolean; description?: string | null | undefined; website?: string | undefined; iconUrl?: string | undefined; numberOfLicenses?: number | undefined; numberOfTrials?: number | undefined; currentActivations?: number | undefined; maxActivations?: number | undefined; externalLicenses?: number | undefined; subscriptionLicenses?: number | undefined; version?: string | undefined; prerelease?: boolean | undefined; releaseDescription?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; }, { id: string; name: string; tagline: string; currentVersion: string | null; downloadsNeedsUser: boolean; downloadsNeedsOwnership: boolean; description?: string | null | undefined; website?: string | undefined; iconUrl?: string | undefined; numberOfLicenses?: number | undefined; numberOfTrials?: number | undefined; currentActivations?: number | undefined; maxActivations?: number | undefined; externalLicenses?: number | undefined; subscriptionLicenses?: number | undefined; version?: string | undefined; prerelease?: boolean | undefined; releaseDescription?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; }>; activeNumberOfActivations: z.ZodNumber; maxNumberOfActivations: z.ZodNumber; externalFulfillment: z.ZodOptional; fileName: z.ZodString; contentType: z.ZodString; data: z.ZodString; }, "strip", z.ZodTypeAny, { type: "file"; data: string; fileName: string; contentType: string; }, { type: "file"; data: string; fileName: string; contentType: string; }>, z.ZodObject<{ type: z.ZodLiteral<"iLok">; }, "strip", z.ZodTypeAny, { type: "iLok"; }, { type: "iLok"; }>]>]>>; requiredConnectedAccount: z.ZodOptional>>; fulfillmentMessage: z.ZodOptional; properties: z.ZodOptional>>>; expiresAt: z.ZodOptional; createdAt: z.ZodDate; }, "strip", z.ZodTypeAny, { id: string; status: LicenseStatus; product: { id: string; name: string; tagline: string; currentVersion: string | null; downloadsNeedsUser: boolean; downloadsNeedsOwnership: boolean; description?: string | null | undefined; website?: string | undefined; iconUrl?: string | undefined; numberOfLicenses?: number | undefined; numberOfTrials?: number | undefined; currentActivations?: number | undefined; maxActivations?: number | undefined; externalLicenses?: number | undefined; subscriptionLicenses?: number | undefined; version?: string | undefined; prerelease?: boolean | undefined; releaseDescription?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; }; activeNumberOfActivations: number; maxNumberOfActivations: number; createdAt: Date; expiresAt?: Date | undefined; properties?: Record | null | undefined; externalFulfillment?: string | { type: "file"; data: string; fileName: string; contentType: string; } | { type: "iLok"; } | undefined; requiredConnectedAccount?: ConnectableAccountProvider | null | undefined; fulfillmentMessage?: string | undefined; }, { id: string; status: LicenseStatus; product: { id: string; name: string; tagline: string; currentVersion: string | null; downloadsNeedsUser: boolean; downloadsNeedsOwnership: boolean; description?: string | null | undefined; website?: string | undefined; iconUrl?: string | undefined; numberOfLicenses?: number | undefined; numberOfTrials?: number | undefined; currentActivations?: number | undefined; maxActivations?: number | undefined; externalLicenses?: number | undefined; subscriptionLicenses?: number | undefined; version?: string | undefined; prerelease?: boolean | undefined; releaseDescription?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; }; activeNumberOfActivations: number; maxNumberOfActivations: number; createdAt: Date; expiresAt?: Date | undefined; properties?: Record | null | undefined; externalFulfillment?: string | { type: "file"; data: string; fileName: string; contentType: string; } | { type: "iLok"; } | undefined; requiredConnectedAccount?: ConnectableAccountProvider | null | undefined; fulfillmentMessage?: string | undefined; }>; declare const activationSchema: z.ZodObject<{ id: z.ZodString; licenseId: z.ZodString; name: z.ZodString; status: z.ZodNativeEnum; activationMethod: z.ZodNativeEnum; firstValidatedAt: z.ZodDate; lastValidatedAt: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; name: string; status: ActivationStatus; licenseId: string; activationMethod: ActivationMethod; firstValidatedAt: Date; lastValidatedAt: Date | null; }, { id: string; name: string; status: ActivationStatus; licenseId: string; activationMethod: ActivationMethod; firstValidatedAt: Date; lastValidatedAt: Date | null; }>; type schemas$8_ExternalLicenseContent = ExternalLicenseContent; declare const schemas$8_activationSchema: typeof activationSchema; declare const schemas$8_externalLicenseContent: typeof externalLicenseContent; declare const schemas$8_licenseSchema: typeof licenseSchema; declare namespace schemas$8 { export { type schemas$8_ExternalLicenseContent as ExternalLicenseContent, schemas$8_activationSchema as activationSchema, schemas$8_externalLicenseContent as externalLicenseContent, schemas$8_licenseSchema as licenseSchema }; } declare enum LicenseStatus { Active = "Active", Pending = "Pending", Revoked = "Revoked" } declare enum ActivationStatus { Active = "Active", Revoked = "Revoked" } declare enum ActivationMethod { Online = "Online", Offline = "Offline" } type License = z.infer; type Activation = z.infer; declare class ActivationEndpoints { private readonly api; private readonly configuration; constructor(api: MoonbaseApi, configuration: MoonbaseConfiguration); activate(deviceToken: string, activationMethod: ActivationMethod): Promise<{ license: License; url: string; }>; } declare const moneySchema: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; declare const discountSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"PercentageOffDiscount">; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>; declare const recurrenceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; declare const pricingTierSchema: z.ZodObject<{ minQuantity: z.ZodNumber; originalPrice: z.ZodRecord; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>; declare const pricingVariationSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; originalPrice: z.ZodRecord; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>; type Discount = z.infer; type PricingVariation = z.infer; type PricingTier = z.infer; interface Page { items: Array; hasMore: boolean; next: string | null; } interface Quantifiable { value: T; quantity: number; } type SingleOrMultiple = T | T[]; interface RawPropertyObject { [key: string]: RawPropertyValue; } type RawPropertyArray = RawPropertyValue[]; type RawPropertyValue = string | number | boolean | RawPropertyObject | RawPropertyArray; declare enum CycleLength { Daily = "Daily", Weekly = "Weekly", Monthly = "Monthly", Quarterly = "Quarterly", Yearly = "Yearly" } type IRecurrence = z.infer; type Money = z.infer; declare enum MarketingConsentType { OptIn = "OptIn", OptedInByDefault = "OptedInByDefault", OptOut = "OptOut" } /** * A money collection is a dict of currency to amount */ type MoneyCollection = Record; interface UrchinTrackingModule { source?: string; medium?: string; campaign?: string; term?: string; content?: string; referrer?: string; } declare function utmToObject(utm?: UrchinTrackingModule): Record; declare class LicenseEndpoints { private readonly api; private readonly configuration; constructor(api: MoonbaseApi, configuration: MoonbaseConfiguration); get(nextUrl?: string): Promise>; getActivations(licenseId: string, nextUrl?: string): Promise>; revokeActivation(licenseId: string, activationId: string): Promise; } declare const manifestSchema: z.ZodObject<{ files: z.ZodArray, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>; declare const downloadSchema: z.ZodObject<{ name: z.ZodString; key: z.ZodString; platform: z.ZodNativeEnum; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>; declare const productSummarySchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; tagline: z.ZodString; description: z.ZodOptional>; website: z.ZodOptional; iconUrl: z.ZodOptional; numberOfLicenses: z.ZodOptional; numberOfTrials: z.ZodOptional; currentActivations: z.ZodOptional; maxActivations: z.ZodOptional; externalLicenses: z.ZodOptional; subscriptionLicenses: z.ZodOptional; currentVersion: z.ZodNullable; version: z.ZodOptional; prerelease: z.ZodOptional; releaseDescription: z.ZodOptional; downloadsNeedsUser: z.ZodBoolean; downloadsNeedsOwnership: z.ZodBoolean; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; currentVersion: string | null; downloadsNeedsUser: boolean; downloadsNeedsOwnership: boolean; description?: string | null | undefined; website?: string | undefined; iconUrl?: string | undefined; numberOfLicenses?: number | undefined; numberOfTrials?: number | undefined; currentActivations?: number | undefined; maxActivations?: number | undefined; externalLicenses?: number | undefined; subscriptionLicenses?: number | undefined; version?: string | undefined; prerelease?: boolean | undefined; releaseDescription?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; }, { id: string; name: string; tagline: string; currentVersion: string | null; downloadsNeedsUser: boolean; downloadsNeedsOwnership: boolean; description?: string | null | undefined; website?: string | undefined; iconUrl?: string | undefined; numberOfLicenses?: number | undefined; numberOfTrials?: number | undefined; currentActivations?: number | undefined; maxActivations?: number | undefined; externalLicenses?: number | undefined; subscriptionLicenses?: number | undefined; version?: string | undefined; prerelease?: boolean | undefined; releaseDescription?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; }>; declare const schemas$7_downloadSchema: typeof downloadSchema; declare const schemas$7_manifestSchema: typeof manifestSchema; declare const schemas$7_productSummarySchema: typeof productSummarySchema; declare namespace schemas$7 { export { schemas$7_downloadSchema as downloadSchema, schemas$7_manifestSchema as manifestSchema, schemas$7_productSummarySchema as productSummarySchema }; } declare enum Platform { Universal = "Universal", Windows = "Windows", Linux = "Linux", Mac = "Mac", iOS = "iOS", Android = "Android" } declare enum Architecture { Unknown = "Unknown", Universal = "Universal", X86 = "X86", X64 = "X64", Arm = "Arm", Arm64 = "Arm64" } type DownloadManifest = z.infer; type Download = z.infer; type OwnedProduct = z.infer; declare class ProductEndpoints { private readonly api; private readonly configuration; constructor(api: MoonbaseApi, configuration: MoonbaseConfiguration); get(productId: string, version?: string): Promise; getOwned(nextUrl?: string): Promise>; getLicenses(productId: string, nextUrl?: string): Promise>; getActivations(productId: string, nextUrl?: string): Promise>; getDownloadUrl(path: string): Promise; } declare const milestoneProgressSchema: z.ZodObject<{ title: z.ZodString; description: z.ZodOptional>; currentCycleNumber: z.ZodNumber; currentNormalizedCycleNumber: z.ZodNumber; currentCycleIsCompleted: z.ZodBoolean; fromCycleNumber: z.ZodNumber; fromNormalizedCycleNumber: z.ZodNumber; toCycleNumber: z.ZodNumber; toNormalizedCycleNumber: z.ZodNumber; events: z.ZodRecord; }, { type: z.ZodLiteral<"CouponCodeMilestone">; code: z.ZodOptional; redeemed: z.ZodOptional; }>, "strip", z.ZodTypeAny, { type: "CouponCodeMilestone"; milestoneId: string; fulfilled: boolean; afterCycleNumber: number; afterNormalizedCycleNumber: number; code?: string | undefined; message?: string | undefined; redeemed?: boolean | undefined; }, { type: "CouponCodeMilestone"; milestoneId: string; fulfilled: boolean; afterCycleNumber: number; afterNormalizedCycleNumber: number; code?: string | undefined; message?: string | undefined; redeemed?: boolean | undefined; }>, z.ZodObject; }, { type: z.ZodLiteral<"PerpetualLicenseConversionMilestone">; }>, "strip", z.ZodTypeAny, { type: "PerpetualLicenseConversionMilestone"; milestoneId: string; fulfilled: boolean; afterCycleNumber: number; afterNormalizedCycleNumber: number; message?: string | undefined; }, { type: "PerpetualLicenseConversionMilestone"; milestoneId: string; fulfilled: boolean; afterCycleNumber: number; afterNormalizedCycleNumber: number; message?: string | undefined; }>]>, "many">>; }, "strip", z.ZodTypeAny, { title: string; currentCycleNumber: number; currentNormalizedCycleNumber: number; currentCycleIsCompleted: boolean; fromCycleNumber: number; fromNormalizedCycleNumber: number; toCycleNumber: number; toNormalizedCycleNumber: number; events: Record; description?: string | null | undefined; }, { title: string; currentCycleNumber: number; currentNormalizedCycleNumber: number; currentCycleIsCompleted: boolean; fromCycleNumber: number; fromNormalizedCycleNumber: number; toCycleNumber: number; toNormalizedCycleNumber: number; events: Record; description?: string | null | undefined; }>; declare const subscriptionSchema: z.ZodObject<{ id: z.ZodString; status: z.ZodNativeEnum; hasPaymentMethod: z.ZodBoolean; cancellable: z.ZodBoolean; expiresAt: z.ZodDate; renewedAt: z.ZodNullable; nextPaymentScheduledAt: z.ZodNullable; startedAt: z.ZodDate; total: z.ZodObject<{ original: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; taxes: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>; cycleLength: z.ZodNativeEnum; paymentMethod: z.ZodOptional; milestoneProgress: z.ZodOptional>; currentCycleNumber: z.ZodNumber; currentNormalizedCycleNumber: z.ZodNumber; currentCycleIsCompleted: z.ZodBoolean; fromCycleNumber: z.ZodNumber; fromNormalizedCycleNumber: z.ZodNumber; toCycleNumber: z.ZodNumber; toNormalizedCycleNumber: z.ZodNumber; events: z.ZodRecord; }, { type: z.ZodLiteral<"CouponCodeMilestone">; code: z.ZodOptional; redeemed: z.ZodOptional; }>, "strip", z.ZodTypeAny, { type: "CouponCodeMilestone"; milestoneId: string; fulfilled: boolean; afterCycleNumber: number; afterNormalizedCycleNumber: number; code?: string | undefined; message?: string | undefined; redeemed?: boolean | undefined; }, { type: "CouponCodeMilestone"; milestoneId: string; fulfilled: boolean; afterCycleNumber: number; afterNormalizedCycleNumber: number; code?: string | undefined; message?: string | undefined; redeemed?: boolean | undefined; }>, z.ZodObject; }, { type: z.ZodLiteral<"PerpetualLicenseConversionMilestone">; }>, "strip", z.ZodTypeAny, { type: "PerpetualLicenseConversionMilestone"; milestoneId: string; fulfilled: boolean; afterCycleNumber: number; afterNormalizedCycleNumber: number; message?: string | undefined; }, { type: "PerpetualLicenseConversionMilestone"; milestoneId: string; fulfilled: boolean; afterCycleNumber: number; afterNormalizedCycleNumber: number; message?: string | undefined; }>]>, "many">>; }, "strip", z.ZodTypeAny, { title: string; currentCycleNumber: number; currentNormalizedCycleNumber: number; currentCycleIsCompleted: boolean; fromCycleNumber: number; fromNormalizedCycleNumber: number; toCycleNumber: number; toNormalizedCycleNumber: number; events: Record; description?: string | null | undefined; }, { title: string; currentCycleNumber: number; currentNormalizedCycleNumber: number; currentCycleIsCompleted: boolean; fromCycleNumber: number; fromNormalizedCycleNumber: number; toCycleNumber: number; toNormalizedCycleNumber: number; events: Record; description?: string | null | undefined; }>>>; embeddedUpdatePaymentUrl: z.ZodOptional; content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"Product">; quantity: z.ZodNumber; product: z.ZodObject<{ id: z.ZodString; name: z.ZodString; tagline: z.ZodString; description: z.ZodString; iconUrl: z.ZodNullable; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>; }, "strip", z.ZodTypeAny, { type: "Product"; quantity: number; product: { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; }, { type: "Product"; quantity: number; product: { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; }>, z.ZodObject<{ type: z.ZodLiteral<"Bundle">; quantity: z.ZodNumber; bundle: z.ZodObject<{ id: z.ZodString; name: z.ZodString; tagline: z.ZodString; description: z.ZodString; iconUrl: z.ZodNullable; owned: z.ZodBoolean; partial: z.ZodBoolean; products: z.ZodArray; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>, z.ZodObject<{ included: z.ZodOptional; }, "strip", z.ZodTypeAny, { included?: boolean | undefined; }, { included?: boolean | undefined; }>>, "many">; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Bundle">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>; }, "strip", z.ZodTypeAny, { type: "Bundle"; quantity: number; bundle: { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; }, { type: "Bundle"; quantity: number; bundle: { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; }>]>; }, "strip", z.ZodTypeAny, { id: string; status: SubscriptionStatus; expiresAt: Date; total: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }; cycleLength: CycleLength; hasPaymentMethod: boolean; cancellable: boolean; renewedAt: Date | null; nextPaymentScheduledAt: Date | null; startedAt: Date; content: { type: "Product"; quantity: number; product: { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; } | { type: "Bundle"; quantity: number; bundle: { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; }; paymentMethod?: string | undefined; milestoneProgress?: { title: string; currentCycleNumber: number; currentNormalizedCycleNumber: number; currentCycleIsCompleted: boolean; fromCycleNumber: number; fromNormalizedCycleNumber: number; toCycleNumber: number; toNormalizedCycleNumber: number; events: Record; description?: string | null | undefined; } | null | undefined; embeddedUpdatePaymentUrl?: string | undefined; }, { id: string; status: SubscriptionStatus; expiresAt: Date; total: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }; cycleLength: CycleLength; hasPaymentMethod: boolean; cancellable: boolean; renewedAt: Date | null; nextPaymentScheduledAt: Date | null; startedAt: Date; content: { type: "Product"; quantity: number; product: { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; } | { type: "Bundle"; quantity: number; bundle: { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; }; paymentMethod?: string | undefined; milestoneProgress?: { title: string; currentCycleNumber: number; currentNormalizedCycleNumber: number; currentCycleIsCompleted: boolean; fromCycleNumber: number; fromNormalizedCycleNumber: number; toCycleNumber: number; toNormalizedCycleNumber: number; events: Record; description?: string | null | undefined; } | null | undefined; embeddedUpdatePaymentUrl?: string | undefined; }>; declare const schemas$6_milestoneProgressSchema: typeof milestoneProgressSchema; declare const schemas$6_subscriptionSchema: typeof subscriptionSchema; declare namespace schemas$6 { export { schemas$6_milestoneProgressSchema as milestoneProgressSchema, schemas$6_subscriptionSchema as subscriptionSchema }; } declare enum SubscriptionStatus { Active = "Active", Expired = "Expired", Cancelled = "Cancelled", Completed = "Completed" } type Subscription = z.infer; type MilestoneProgress = z.infer; declare class SubscriptionEndpoints { private readonly api; private readonly configuration; constructor(api: MoonbaseApi, configuration: MoonbaseConfiguration); get(nextUrl?: string): Promise>; getById(subscriptionId: string, options?: { toUpdatePaymentMethod?: boolean; returnUrl?: string; }): Promise; cancel(subscriptionId: string): Promise; renew(subscriptionId: string, returnUrl: string, embedded: boolean): Promise<{ location: string; }>; } declare class InventoryEndpoints { constructor(api: MoonbaseApi, configuration: MoonbaseConfiguration); licenses: LicenseEndpoints; products: ProductEndpoints; activation: ActivationEndpoints; subscriptions: SubscriptionEndpoints; } declare const openProductLineItem: z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"Product">; productId: z.ZodString; quantity: z.ZodNumber; variationId: z.ZodString; offerId: z.ZodOptional; isDefaultVariation: z.ZodOptional>; isSubcriptionPayment: z.ZodOptional>; price: z.ZodOptional>; variation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; total: z.ZodOptional; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>>>; product: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; }, { id: string; name: string; tagline: string; iconUrl: string | null; }>>; appliedDiscount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; }, { id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; }>; declare const openBundleLineItem: z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"Bundle">; bundleId: z.ZodString; quantity: z.ZodNumber; variationId: z.ZodString; offerId: z.ZodOptional; partial: z.ZodOptional; replaced: z.ZodOptional>; isDefaultVariation: z.ZodOptional>; isSubcriptionPayment: z.ZodOptional>; price: z.ZodOptional>; variation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; total: z.ZodOptional; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>>>; bundle: z.ZodOptional; products: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; }, { id: string; name: string; tagline: string; iconUrl: string | null; }>, z.ZodObject<{ included: z.ZodOptional; }, "strip", z.ZodTypeAny, { included?: boolean | undefined; }, { included?: boolean | undefined; }>>, "many">; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; }, { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; }>>; appliedDiscount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; }, { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; }>; declare const openOrderLineItem: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"Product">; productId: z.ZodString; quantity: z.ZodNumber; variationId: z.ZodString; offerId: z.ZodOptional; isDefaultVariation: z.ZodOptional>; isSubcriptionPayment: z.ZodOptional>; price: z.ZodOptional>; variation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; total: z.ZodOptional; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>>>; product: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; }, { id: string; name: string; tagline: string; iconUrl: string | null; }>>; appliedDiscount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; }, { id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"Bundle">; bundleId: z.ZodString; quantity: z.ZodNumber; variationId: z.ZodString; offerId: z.ZodOptional; partial: z.ZodOptional; replaced: z.ZodOptional>; isDefaultVariation: z.ZodOptional>; isSubcriptionPayment: z.ZodOptional>; price: z.ZodOptional>; variation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; total: z.ZodOptional; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>>>; bundle: z.ZodOptional; products: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; }, { id: string; name: string; tagline: string; iconUrl: string | null; }>, z.ZodObject<{ included: z.ZodOptional; }, "strip", z.ZodTypeAny, { included?: boolean | undefined; }, { included?: boolean | undefined; }>>, "many">; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; }, { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; }>>; appliedDiscount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; }, { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; }>]>; declare const orderTotalSchema: z.ZodObject<{ original: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; taxes: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>; declare const openOrderSchema: z.ZodObject<{ id: z.ZodString; currency: z.ZodString; total: z.ZodOptional; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; taxes: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>>>; items: z.ZodArray; productId: z.ZodString; quantity: z.ZodNumber; variationId: z.ZodString; offerId: z.ZodOptional; isDefaultVariation: z.ZodOptional>; isSubcriptionPayment: z.ZodOptional>; price: z.ZodOptional>; variation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; total: z.ZodOptional; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>>>; product: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; }, { id: string; name: string; tagline: string; iconUrl: string | null; }>>; appliedDiscount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; }, { id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"Bundle">; bundleId: z.ZodString; quantity: z.ZodNumber; variationId: z.ZodString; offerId: z.ZodOptional; partial: z.ZodOptional; replaced: z.ZodOptional>; isDefaultVariation: z.ZodOptional>; isSubcriptionPayment: z.ZodOptional>; price: z.ZodOptional>; variation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; total: z.ZodOptional; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>>>; bundle: z.ZodOptional; products: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; }, { id: string; name: string; tagline: string; iconUrl: string | null; }>, z.ZodObject<{ included: z.ZodOptional; }, "strip", z.ZodTypeAny, { included?: boolean | undefined; }, { included?: boolean | undefined; }>>, "many">; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; }, { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; }>>; appliedDiscount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; }, { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; }>]>, "many">; couponsApplied: z.ZodArray, "many">; checkoutUrl: z.ZodOptional; hostedCheckoutUrl: z.ZodOptional; embeddedCheckoutUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; currency: string; items: ({ id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; } | { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; })[]; couponsApplied: { name: string; code: string; description: string; }[]; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; checkoutUrl?: string | undefined; hostedCheckoutUrl?: string | undefined; embeddedCheckoutUrl?: string | undefined; }, { id: string; currency: string; items: ({ id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; } | { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; })[]; couponsApplied: { name: string; code: string; description: string; }[]; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; checkoutUrl?: string | undefined; hostedCheckoutUrl?: string | undefined; embeddedCheckoutUrl?: string | undefined; }>; declare const completedOrderSchema: z.ZodObject<{ id: z.ZodString; status: z.ZodLiteral; currency: z.ZodString; customer: z.ZodObject<{ name: z.ZodNullable; businessName: z.ZodNullable; taxId: z.ZodNullable; email: z.ZodNullable; phone: z.ZodNullable; address: z.ZodNullable; locality: z.ZodNullable; region: z.ZodNullable; postCode: z.ZodNullable; }, "strip", z.ZodTypeAny, { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; }, { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; }>>; }, "strip", z.ZodTypeAny, { email: string | null; name: string | null; address: { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; } | null; phone: string | null; businessName: string | null; taxId: string | null; }, { email: string | null; name: string | null; address: { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; } | null; phone: string | null; businessName: string | null; taxId: string | null; }>; total: z.ZodObject<{ original: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; taxes: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>; items: z.ZodArray; productId: z.ZodString; quantity: z.ZodNumber; variationId: z.ZodString; offerId: z.ZodOptional; isDefaultVariation: z.ZodOptional>; isSubcriptionPayment: z.ZodOptional>; price: z.ZodOptional>; variation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; total: z.ZodOptional; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>>>; product: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; }, { id: string; name: string; tagline: string; iconUrl: string | null; }>>; appliedDiscount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; }, { id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"Bundle">; bundleId: z.ZodString; quantity: z.ZodNumber; variationId: z.ZodString; offerId: z.ZodOptional; partial: z.ZodOptional; replaced: z.ZodOptional>; isDefaultVariation: z.ZodOptional>; isSubcriptionPayment: z.ZodOptional>; price: z.ZodOptional>; variation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; total: z.ZodOptional; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>>>; bundle: z.ZodOptional; products: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; }, { id: string; name: string; tagline: string; iconUrl: string | null; }>, z.ZodObject<{ included: z.ZodOptional; }, "strip", z.ZodTypeAny, { included?: boolean | undefined; }, { included?: boolean | undefined; }>>, "many">; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; }, { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; }>>; appliedDiscount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; }, { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; }>]>, "many">; couponsApplied: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { id: string; status: OrderStatus.Completed; total: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }; currency: string; items: ({ id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; } | { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; })[]; couponsApplied: { name: string; code: string; description: string; }[]; customer: { email: string | null; name: string | null; address: { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; } | null; phone: string | null; businessName: string | null; taxId: string | null; }; }, { id: string; status: OrderStatus.Completed; total: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }; currency: string; items: ({ id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; } | { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; })[]; couponsApplied: { name: string; code: string; description: string; }[]; customer: { email: string | null; name: string | null; address: { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; } | null; phone: string | null; businessName: string | null; taxId: string | null; }; }>; declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; taxes: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>>>; items: z.ZodArray; productId: z.ZodString; quantity: z.ZodNumber; variationId: z.ZodString; offerId: z.ZodOptional; isDefaultVariation: z.ZodOptional>; isSubcriptionPayment: z.ZodOptional>; price: z.ZodOptional>; variation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; total: z.ZodOptional; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>>>; product: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; }, { id: string; name: string; tagline: string; iconUrl: string | null; }>>; appliedDiscount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; }, { id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"Bundle">; bundleId: z.ZodString; quantity: z.ZodNumber; variationId: z.ZodString; offerId: z.ZodOptional; partial: z.ZodOptional; replaced: z.ZodOptional>; isDefaultVariation: z.ZodOptional>; isSubcriptionPayment: z.ZodOptional>; price: z.ZodOptional>; variation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; total: z.ZodOptional; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>>>; bundle: z.ZodOptional; products: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; }, { id: string; name: string; tagline: string; iconUrl: string | null; }>, z.ZodObject<{ included: z.ZodOptional; }, "strip", z.ZodTypeAny, { included?: boolean | undefined; }, { included?: boolean | undefined; }>>, "many">; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; }, { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; }>>; appliedDiscount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; }, { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; }>]>, "many">; couponsApplied: z.ZodArray, "many">; checkoutUrl: z.ZodOptional; hostedCheckoutUrl: z.ZodOptional; embeddedCheckoutUrl: z.ZodOptional; }, { status: z.ZodLiteral; }>, "strip", z.ZodTypeAny, { id: string; status: OrderStatus.Open; currency: string; items: ({ id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; } | { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; })[]; couponsApplied: { name: string; code: string; description: string; }[]; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; checkoutUrl?: string | undefined; hostedCheckoutUrl?: string | undefined; embeddedCheckoutUrl?: string | undefined; }, { id: string; status: OrderStatus.Open; currency: string; items: ({ id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; } | { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; })[]; couponsApplied: { name: string; code: string; description: string; }[]; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; checkoutUrl?: string | undefined; hostedCheckoutUrl?: string | undefined; embeddedCheckoutUrl?: string | undefined; }>, z.ZodObject; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; taxes: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>>>; items: z.ZodArray; productId: z.ZodString; quantity: z.ZodNumber; variationId: z.ZodString; offerId: z.ZodOptional; isDefaultVariation: z.ZodOptional>; isSubcriptionPayment: z.ZodOptional>; price: z.ZodOptional>; variation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; total: z.ZodOptional; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>>>; product: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; }, { id: string; name: string; tagline: string; iconUrl: string | null; }>>; appliedDiscount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; }, { id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"Bundle">; bundleId: z.ZodString; quantity: z.ZodNumber; variationId: z.ZodString; offerId: z.ZodOptional; partial: z.ZodOptional; replaced: z.ZodOptional>; isDefaultVariation: z.ZodOptional>; isSubcriptionPayment: z.ZodOptional>; price: z.ZodOptional>; variation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; total: z.ZodOptional; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>>>; bundle: z.ZodOptional; products: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; }, { id: string; name: string; tagline: string; iconUrl: string | null; }>, z.ZodObject<{ included: z.ZodOptional; }, "strip", z.ZodTypeAny, { included?: boolean | undefined; }, { included?: boolean | undefined; }>>, "many">; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; }, { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; }>>; appliedDiscount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; }, { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; }>]>, "many">; couponsApplied: z.ZodArray, "many">; checkoutUrl: z.ZodOptional; hostedCheckoutUrl: z.ZodOptional; embeddedCheckoutUrl: z.ZodOptional; }, { status: z.ZodLiteral; }>, "strip", z.ZodTypeAny, { id: string; status: OrderStatus.PaymentProcessing; currency: string; items: ({ id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; } | { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; })[]; couponsApplied: { name: string; code: string; description: string; }[]; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; checkoutUrl?: string | undefined; hostedCheckoutUrl?: string | undefined; embeddedCheckoutUrl?: string | undefined; }, { id: string; status: OrderStatus.PaymentProcessing; currency: string; items: ({ id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; } | { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; })[]; couponsApplied: { name: string; code: string; description: string; }[]; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; checkoutUrl?: string | undefined; hostedCheckoutUrl?: string | undefined; embeddedCheckoutUrl?: string | undefined; }>, z.ZodObject; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; taxes: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>>>; items: z.ZodArray; productId: z.ZodString; quantity: z.ZodNumber; variationId: z.ZodString; offerId: z.ZodOptional; isDefaultVariation: z.ZodOptional>; isSubcriptionPayment: z.ZodOptional>; price: z.ZodOptional>; variation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; total: z.ZodOptional; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>>>; product: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; }, { id: string; name: string; tagline: string; iconUrl: string | null; }>>; appliedDiscount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; }, { id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"Bundle">; bundleId: z.ZodString; quantity: z.ZodNumber; variationId: z.ZodString; offerId: z.ZodOptional; partial: z.ZodOptional; replaced: z.ZodOptional>; isDefaultVariation: z.ZodOptional>; isSubcriptionPayment: z.ZodOptional>; price: z.ZodOptional>; variation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; total: z.ZodOptional; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>>>; bundle: z.ZodOptional; products: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; }, { id: string; name: string; tagline: string; iconUrl: string | null; }>, z.ZodObject<{ included: z.ZodOptional; }, "strip", z.ZodTypeAny, { included?: boolean | undefined; }, { included?: boolean | undefined; }>>, "many">; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; }, { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; }>>; appliedDiscount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; }, { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; }>]>, "many">; couponsApplied: z.ZodArray, "many">; checkoutUrl: z.ZodOptional; hostedCheckoutUrl: z.ZodOptional; embeddedCheckoutUrl: z.ZodOptional; }, { status: z.ZodLiteral; }>, "strip", z.ZodTypeAny, { id: string; status: OrderStatus.Paid; currency: string; items: ({ id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; } | { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; })[]; couponsApplied: { name: string; code: string; description: string; }[]; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; checkoutUrl?: string | undefined; hostedCheckoutUrl?: string | undefined; embeddedCheckoutUrl?: string | undefined; }, { id: string; status: OrderStatus.Paid; currency: string; items: ({ id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; } | { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; })[]; couponsApplied: { name: string; code: string; description: string; }[]; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; checkoutUrl?: string | undefined; hostedCheckoutUrl?: string | undefined; embeddedCheckoutUrl?: string | undefined; }>, z.ZodObject; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; taxes: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>>>; items: z.ZodArray; productId: z.ZodString; quantity: z.ZodNumber; variationId: z.ZodString; offerId: z.ZodOptional; isDefaultVariation: z.ZodOptional>; isSubcriptionPayment: z.ZodOptional>; price: z.ZodOptional>; variation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; total: z.ZodOptional; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>>>; product: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; }, { id: string; name: string; tagline: string; iconUrl: string | null; }>>; appliedDiscount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; }, { id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"Bundle">; bundleId: z.ZodString; quantity: z.ZodNumber; variationId: z.ZodString; offerId: z.ZodOptional; partial: z.ZodOptional; replaced: z.ZodOptional>; isDefaultVariation: z.ZodOptional>; isSubcriptionPayment: z.ZodOptional>; price: z.ZodOptional>; variation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; total: z.ZodOptional; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>>>; bundle: z.ZodOptional; products: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; }, { id: string; name: string; tagline: string; iconUrl: string | null; }>, z.ZodObject<{ included: z.ZodOptional; }, "strip", z.ZodTypeAny, { included?: boolean | undefined; }, { included?: boolean | undefined; }>>, "many">; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; }, { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; }>>; appliedDiscount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; }, { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; }>]>, "many">; couponsApplied: z.ZodArray, "many">; checkoutUrl: z.ZodOptional; hostedCheckoutUrl: z.ZodOptional; embeddedCheckoutUrl: z.ZodOptional; }, { status: z.ZodLiteral; }>, "strip", z.ZodTypeAny, { id: string; status: OrderStatus.Failed; currency: string; items: ({ id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; } | { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; })[]; couponsApplied: { name: string; code: string; description: string; }[]; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; checkoutUrl?: string | undefined; hostedCheckoutUrl?: string | undefined; embeddedCheckoutUrl?: string | undefined; }, { id: string; status: OrderStatus.Failed; currency: string; items: ({ id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; } | { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; })[]; couponsApplied: { name: string; code: string; description: string; }[]; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; checkoutUrl?: string | undefined; hostedCheckoutUrl?: string | undefined; embeddedCheckoutUrl?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; status: z.ZodLiteral; currency: z.ZodString; customer: z.ZodObject<{ name: z.ZodNullable; businessName: z.ZodNullable; taxId: z.ZodNullable; email: z.ZodNullable; phone: z.ZodNullable; address: z.ZodNullable; locality: z.ZodNullable; region: z.ZodNullable; postCode: z.ZodNullable; }, "strip", z.ZodTypeAny, { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; }, { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; }>>; }, "strip", z.ZodTypeAny, { email: string | null; name: string | null; address: { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; } | null; phone: string | null; businessName: string | null; taxId: string | null; }, { email: string | null; name: string | null; address: { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; } | null; phone: string | null; businessName: string | null; taxId: string | null; }>; total: z.ZodObject<{ original: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; taxes: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>; items: z.ZodArray; productId: z.ZodString; quantity: z.ZodNumber; variationId: z.ZodString; offerId: z.ZodOptional; isDefaultVariation: z.ZodOptional>; isSubcriptionPayment: z.ZodOptional>; price: z.ZodOptional>; variation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; total: z.ZodOptional; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>>>; product: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; }, { id: string; name: string; tagline: string; iconUrl: string | null; }>>; appliedDiscount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; }, { id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; }>, z.ZodObject<{ id: z.ZodString; type: z.ZodLiteral<"Bundle">; bundleId: z.ZodString; quantity: z.ZodNumber; variationId: z.ZodString; offerId: z.ZodOptional; partial: z.ZodOptional; replaced: z.ZodOptional>; isDefaultVariation: z.ZodOptional>; isSubcriptionPayment: z.ZodOptional>; price: z.ZodOptional>; variation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; total: z.ZodOptional; discount: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; subtotal: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; due: z.ZodObject<{ currency: z.ZodString; amount: z.ZodNumber; }, "strip", z.ZodTypeAny, { currency: string; amount: number; }, { currency: string; amount: number; }>; }, "strip", z.ZodTypeAny, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }, { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }>>>; bundle: z.ZodOptional; products: z.ZodArray; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; }, { id: string; name: string; tagline: string; iconUrl: string | null; }>, z.ZodObject<{ included: z.ZodOptional; }, "strip", z.ZodTypeAny, { included?: boolean | undefined; }, { included?: boolean | undefined; }>>, "many">; }, "strip", z.ZodTypeAny, { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; }, { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; }>>; appliedDiscount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; }, "strip", z.ZodTypeAny, { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; }, { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; }>]>, "many">; couponsApplied: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { id: string; status: OrderStatus.Completed; total: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }; currency: string; items: ({ id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; } | { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; })[]; couponsApplied: { name: string; code: string; description: string; }[]; customer: { email: string | null; name: string | null; address: { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; } | null; phone: string | null; businessName: string | null; taxId: string | null; }; }, { id: string; status: OrderStatus.Completed; total: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }; currency: string; items: ({ id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; } | { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; })[]; couponsApplied: { name: string; code: string; description: string; }[]; customer: { email: string | null; name: string | null; address: { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; } | null; phone: string | null; businessName: string | null; taxId: string | null; }; }>]>; declare const schemas$5_completedOrderSchema: typeof completedOrderSchema; declare const schemas$5_openBundleLineItem: typeof openBundleLineItem; declare const schemas$5_openOrderLineItem: typeof openOrderLineItem; declare const schemas$5_openOrderSchema: typeof openOrderSchema; declare const schemas$5_openProductLineItem: typeof openProductLineItem; declare const schemas$5_orderSchema: typeof orderSchema; declare const schemas$5_orderTotalSchema: typeof orderTotalSchema; declare namespace schemas$5 { export { schemas$5_completedOrderSchema as completedOrderSchema, schemas$5_openBundleLineItem as openBundleLineItem, schemas$5_openOrderLineItem as openOrderLineItem, schemas$5_openOrderSchema as openOrderSchema, schemas$5_openProductLineItem as openProductLineItem, schemas$5_orderSchema as orderSchema, schemas$5_orderTotalSchema as orderTotalSchema }; } declare enum OrderStatus { Open = "Open", PaymentProcessing = "PaymentProcessing", Paid = "Paid", Completed = "Completed", Failed = "Failed" } type OpenOrder = z.infer; type CompletedOrder = z.infer; type Order = z.infer; type LineItem = z.infer; type ProductLineItem = z.infer; type BundleLineItem = z.infer; declare class OrderEndpoints { private api; constructor(api: MoonbaseApi); get(orderId: string, options?: { abort?: AbortSignal; finalize?: boolean; checkout?: { returnUrl?: string; }; }): Promise<{ id: string; status: OrderStatus.Completed; total: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; }; currency: string; items: ({ id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; } | { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; })[]; couponsApplied: { name: string; code: string; description: string; }[]; customer: { email: string | null; name: string | null; address: { countryCode: string; streetAddress1: string; streetAddress2: string | null; locality: string | null; region: string | null; postCode: string | null; } | null; phone: string | null; businessName: string | null; taxId: string | null; }; } | { id: string; status: OrderStatus.Open; currency: string; items: ({ id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; } | { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; })[]; couponsApplied: { name: string; code: string; description: string; }[]; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; checkoutUrl?: string | undefined; hostedCheckoutUrl?: string | undefined; embeddedCheckoutUrl?: string | undefined; } | { id: string; status: OrderStatus.PaymentProcessing; currency: string; items: ({ id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; } | { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; })[]; couponsApplied: { name: string; code: string; description: string; }[]; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; checkoutUrl?: string | undefined; hostedCheckoutUrl?: string | undefined; embeddedCheckoutUrl?: string | undefined; } | { id: string; status: OrderStatus.Paid; currency: string; items: ({ id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; } | { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; })[]; couponsApplied: { name: string; code: string; description: string; }[]; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; checkoutUrl?: string | undefined; hostedCheckoutUrl?: string | undefined; embeddedCheckoutUrl?: string | undefined; } | { id: string; status: OrderStatus.Failed; currency: string; items: ({ id: string; type: "Product"; quantity: number; productId: string; variationId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; product?: { id: string; name: string; tagline: string; iconUrl: string | null; } | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; } | { id: string; type: "Bundle"; quantity: number; variationId: string; bundleId: string; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; price?: Record | undefined; partial?: boolean | undefined; offerId?: string | undefined; isDefaultVariation?: boolean | null | undefined; isSubcriptionPayment?: boolean | null | undefined; variation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; appliedDiscount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; replaced?: string[] | undefined; bundle?: { id: string; name: string; tagline: string; iconUrl: string | null; products: ({ id: string; name: string; tagline: string; iconUrl: string | null; } & { included?: boolean | undefined; })[]; } | undefined; })[]; couponsApplied: { name: string; code: string; description: string; }[]; total?: { discount: { currency: string; amount: number; }; original: { currency: string; amount: number; }; subtotal: { currency: string; amount: number; }; taxes: { currency: string; amount: number; }; due: { currency: string; amount: number; }; } | null | undefined; checkoutUrl?: string | undefined; hostedCheckoutUrl?: string | undefined; embeddedCheckoutUrl?: string | undefined; }>; pushContent(order: { id: string; currency: string; items: ({ type: 'Product'; productId: string; variationId: string; quantity?: number; offerId?: string; } | { type: 'Bundle'; bundleId: string; variationId: string; quantity?: number; offerId?: string; replaced?: string[]; })[]; }, checkout?: { returnUrl?: string; }, utm?: UrchinTrackingModule): Promise; addBillingDetails(orderId: string, details: { name: string; email: string; businessName?: string | null; taxId?: string | null; phone?: string | null; address?: Address | null; }): Promise; removeBillingDetails(orderId: string): Promise; addCouponCode(orderId: string, code: string): Promise; removeCouponCode(orderId: string, code: string): Promise; clearCouponCodes(orderId: string): Promise; } declare class StorefrontEndpoints { private readonly api; private readonly configuration; constructor(api: MoonbaseApi, configuration: MoonbaseConfiguration); get(utm?: UrchinTrackingModule): Promise<{ products: { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }[]; suggestedCurrency: string; bundles: { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }[]; enabledCurrencies?: string[] | undefined; offers?: { targets: { item: { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } | { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; variations: string[]; }[]; id: string; discount: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }; condition: { type: "CartContainsItems"; minimumItems: number; relevantItemVariations: Record; }; }[] | undefined; estimatedTax?: { countryCode: string; mode: "Exclusive" | "Inclusive"; rate: number; region?: string | undefined; } | undefined; }>; } declare const vendorSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; logoUrl: z.ZodNullable; }, "strip", z.ZodTypeAny, { id: string; name: string; logoUrl: string | null; }, { id: string; name: string; logoUrl: string | null; }>; declare const schemas$4_vendorSchema: typeof vendorSchema; declare namespace schemas$4 { export { schemas$4_vendorSchema as vendorSchema }; } type Vendor = z.infer; declare class VendorEndpoints { private api; constructor(api: MoonbaseApi); get(): Promise; } declare const voucherSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; code: z.ZodString; redeemed: z.ZodBoolean; redeemsProducts: z.ZodArray; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>; quantity: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; quantity: number; }, { value: { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; quantity: number; }>, "many">; redeemsBundles: z.ZodArray; owned: z.ZodBoolean; partial: z.ZodBoolean; products: z.ZodArray; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>, z.ZodObject<{ included: z.ZodOptional; }, "strip", z.ZodTypeAny, { included?: boolean | undefined; }, { included?: boolean | undefined; }>>, "many">; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Bundle">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>; quantity: z.ZodNumber; }, "strip", z.ZodTypeAny, { value: { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; quantity: number; }, { value: { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; quantity: number; }>, "many">; properties: z.ZodOptional>>>; }, "strip", z.ZodTypeAny, { id: string; name: string; code: string; description: string; redeemed: boolean; redeemsProducts: { value: { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; quantity: number; }[]; redeemsBundles: { value: { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; quantity: number; }[]; properties?: Record | null | undefined; }, { id: string; name: string; code: string; description: string; redeemed: boolean; redeemsProducts: { value: { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; quantity: number; }[]; redeemsBundles: { value: { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; quantity: number; }[]; properties?: Record | null | undefined; }>; declare const schemas$3_voucherSchema: typeof voucherSchema; declare namespace schemas$3 { export { schemas$3_voucherSchema as voucherSchema }; } type Voucher = z.infer; declare class VoucherEndpoints { private api; constructor(api: MoonbaseApi); peek(code: string): Promise; redeem(code: string): Promise; } declare namespace schemas$2 { export { schemas$8 as licenses, schemas$7 as products, schemas$6 as subscriptions }; } declare const storefrontProductSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; tagline: z.ZodString; description: z.ZodString; iconUrl: z.ZodNullable; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>; declare const storefrontBundleSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; tagline: z.ZodString; description: z.ZodString; iconUrl: z.ZodNullable; owned: z.ZodBoolean; partial: z.ZodBoolean; products: z.ZodArray; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>, z.ZodObject<{ included: z.ZodOptional; }, "strip", z.ZodTypeAny, { included?: boolean | undefined; }, { included?: boolean | undefined; }>>, "many">; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Bundle">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>; declare const offerConditionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"CartContainsItems">; minimumItems: z.ZodNumber; relevantItemVariations: z.ZodRecord>; }, "strip", z.ZodTypeAny, { type: "CartContainsItems"; minimumItems: number; relevantItemVariations: Record; }, { type: "CartContainsItems"; minimumItems: number; relevantItemVariations: Record; }>]>; declare const offerTargetItemSchema: z.ZodUnion<[z.ZodObject<{ id: z.ZodString; name: z.ZodString; tagline: z.ZodString; description: z.ZodString; iconUrl: z.ZodNullable; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; tagline: z.ZodString; description: z.ZodString; iconUrl: z.ZodNullable; owned: z.ZodBoolean; partial: z.ZodBoolean; products: z.ZodArray; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>, z.ZodObject<{ included: z.ZodOptional; }, "strip", z.ZodTypeAny, { included?: boolean | undefined; }, { included?: boolean | undefined; }>>, "many">; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Bundle">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>]>; type OfferTargetItem = z.infer; declare const storefrontOfferTargetSchema: z.ZodObject<{ item: z.ZodUnion<[z.ZodObject<{ id: z.ZodString; name: z.ZodString; tagline: z.ZodString; description: z.ZodString; iconUrl: z.ZodNullable; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; tagline: z.ZodString; description: z.ZodString; iconUrl: z.ZodNullable; owned: z.ZodBoolean; partial: z.ZodBoolean; products: z.ZodArray; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>, z.ZodObject<{ included: z.ZodOptional; }, "strip", z.ZodTypeAny, { included?: boolean | undefined; }, { included?: boolean | undefined; }>>, "many">; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Bundle">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>]>; variations: z.ZodArray; }, "strip", z.ZodTypeAny, { variations: string[]; item: { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } | { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; }, { variations: string[]; item: { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } | { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; }>; declare const storefrontOfferSchema: z.ZodEffects; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; tagline: z.ZodString; description: z.ZodString; iconUrl: z.ZodNullable; owned: z.ZodBoolean; partial: z.ZodBoolean; products: z.ZodArray; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>, z.ZodObject<{ included: z.ZodOptional; }, "strip", z.ZodTypeAny, { included?: boolean | undefined; }, { included?: boolean | undefined; }>>, "many">; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Bundle">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>]>; variations: z.ZodArray; }, "strip", z.ZodTypeAny, { variations: string[]; item: { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } | { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; }, { variations: string[]; item: { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } | { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; }>, "many">>; target: z.ZodCatch; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; tagline: z.ZodString; description: z.ZodString; iconUrl: z.ZodNullable; owned: z.ZodBoolean; partial: z.ZodBoolean; products: z.ZodArray; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>, z.ZodObject<{ included: z.ZodOptional; }, "strip", z.ZodTypeAny, { included?: boolean | undefined; }, { included?: boolean | undefined; }>>, "many">; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Bundle">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>]>, z.ZodArray; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; tagline: z.ZodString; description: z.ZodString; iconUrl: z.ZodNullable; owned: z.ZodBoolean; partial: z.ZodBoolean; products: z.ZodArray; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>, z.ZodObject<{ included: z.ZodOptional; }, "strip", z.ZodTypeAny, { included?: boolean | undefined; }, { included?: boolean | undefined; }>>, "many">; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Bundle">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>]>, "many">]>>>; targetVariations: z.ZodCatch>>; condition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"CartContainsItems">; minimumItems: z.ZodNumber; relevantItemVariations: z.ZodRecord>; }, "strip", z.ZodTypeAny, { type: "CartContainsItems"; minimumItems: number; relevantItemVariations: Record; }, { type: "CartContainsItems"; minimumItems: number; relevantItemVariations: Record; }>]>; discount: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"PercentageOffDiscount">; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>; }, "strip", z.ZodTypeAny, { id: string; discount: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }; condition: { type: "CartContainsItems"; minimumItems: number; relevantItemVariations: Record; }; targets?: { variations: string[]; item: { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } | { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; }[] | undefined; target?: { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } | { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } | ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } | { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; })[] | undefined; targetVariations?: string[] | undefined; }, { id: string; discount: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }; condition: { type: "CartContainsItems"; minimumItems: number; relevantItemVariations: Record; }; targets?: { variations: string[]; item: { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } | { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; }[] | undefined; target?: unknown; targetVariations?: unknown; }>, { targets: { item: OfferTargetItem; variations: string[]; }[]; id: string; discount: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }; condition: { type: "CartContainsItems"; minimumItems: number; relevantItemVariations: Record; }; }, { id: string; discount: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }; condition: { type: "CartContainsItems"; minimumItems: number; relevantItemVariations: Record; }; targets?: { variations: string[]; item: { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } | { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; }[] | undefined; target?: unknown; targetVariations?: unknown; }>; declare const taxEstimateSchema: z.ZodObject<{ rate: z.ZodNumber; mode: z.ZodEnum<["Exclusive", "Inclusive"]>; countryCode: z.ZodString; region: z.ZodOptional; }, "strip", z.ZodTypeAny, { countryCode: string; mode: "Exclusive" | "Inclusive"; rate: number; region?: string | undefined; }, { countryCode: string; mode: "Exclusive" | "Inclusive"; rate: number; region?: string | undefined; }>; declare const storefrontSchema: z.ZodObject<{ suggestedCurrency: z.ZodString; enabledCurrencies: z.ZodOptional>; products: z.ZodArray; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>, "many">; bundles: z.ZodArray; owned: z.ZodBoolean; partial: z.ZodBoolean; products: z.ZodArray; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>, z.ZodObject<{ included: z.ZodOptional; }, "strip", z.ZodTypeAny, { included?: boolean | undefined; }, { included?: boolean | undefined; }>>, "many">; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Bundle">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>, "many">; offers: z.ZodOptional; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; tagline: z.ZodString; description: z.ZodString; iconUrl: z.ZodNullable; owned: z.ZodBoolean; partial: z.ZodBoolean; products: z.ZodArray; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>, z.ZodObject<{ included: z.ZodOptional; }, "strip", z.ZodTypeAny, { included?: boolean | undefined; }, { included?: boolean | undefined; }>>, "many">; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Bundle">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>]>; variations: z.ZodArray; }, "strip", z.ZodTypeAny, { variations: string[]; item: { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } | { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; }, { variations: string[]; item: { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } | { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; }>, "many">>; target: z.ZodCatch; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; tagline: z.ZodString; description: z.ZodString; iconUrl: z.ZodNullable; owned: z.ZodBoolean; partial: z.ZodBoolean; products: z.ZodArray; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>, z.ZodObject<{ included: z.ZodOptional; }, "strip", z.ZodTypeAny, { included?: boolean | undefined; }, { included?: boolean | undefined; }>>, "many">; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Bundle">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>]>, z.ZodArray; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; tagline: z.ZodString; description: z.ZodString; iconUrl: z.ZodNullable; owned: z.ZodBoolean; partial: z.ZodBoolean; products: z.ZodArray; website: z.ZodOptional>; owned: z.ZodBoolean; currentVersion: z.ZodOptional; downloads: z.ZodOptional; arch: z.ZodOptional>>; size: z.ZodNumber; path: z.ZodNullable; manifest: z.ZodOptional, "many">; licensePath: z.ZodNullable; }, "strip", z.ZodTypeAny, { files: { name: string; path: string; }[]; licensePath: string | null; }, { files: { name: string; path: string; }[]; licensePath: string | null; }>>; }, "strip", z.ZodTypeAny, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }, { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }>, "many">>; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Product">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>, z.ZodObject<{ included: z.ZodOptional; }, "strip", z.ZodTypeAny, { included?: boolean | undefined; }, { included?: boolean | undefined; }>>, "many">; defaultVariation: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>>; variations: z.ZodOptional; price: z.ZodRecord; hasDiscount: z.ZodBoolean; discount: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>>; recurrence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"OneOff">; }, "strip", z.ZodTypeAny, { type: "OneOff"; }, { type: "OneOff"; }>, z.ZodObject<{ type: z.ZodLiteral<"Recurring">; cycleLength: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: "Recurring"; cycleLength: CycleLength; }, { type: "Recurring"; cycleLength: CycleLength; }>]>; pricingTiers: z.ZodOptional; price: z.ZodRecord; }, "strip", z.ZodTypeAny, { originalPrice: Record; price: Record; minQuantity: number; }, { originalPrice: Record; price: Record; minQuantity: number; }>, "many">>>; }, "strip", z.ZodTypeAny, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }, { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }>, "many">>; properties: z.ZodOptional>>>; type: z.ZodPipeline>, z.ZodLiteral<"Bundle">>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }, { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }>]>, "many">]>>>; targetVariations: z.ZodCatch>>; condition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"CartContainsItems">; minimumItems: z.ZodNumber; relevantItemVariations: z.ZodRecord>; }, "strip", z.ZodTypeAny, { type: "CartContainsItems"; minimumItems: number; relevantItemVariations: Record; }, { type: "CartContainsItems"; minimumItems: number; relevantItemVariations: Record; }>]>; discount: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"PercentageOffDiscount">; name: z.ZodString; description: z.ZodOptional; percentage: z.ZodNumber; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"FlatAmountOffDiscount">; name: z.ZodString; description: z.ZodOptional; total: z.ZodOptional>; isExclusive: z.ZodBoolean; recurringPaymentUseCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }, { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }>]>; }, "strip", z.ZodTypeAny, { id: string; discount: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }; condition: { type: "CartContainsItems"; minimumItems: number; relevantItemVariations: Record; }; targets?: { variations: string[]; item: { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } | { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; }[] | undefined; target?: { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } | { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } | ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } | { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; })[] | undefined; targetVariations?: string[] | undefined; }, { id: string; discount: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }; condition: { type: "CartContainsItems"; minimumItems: number; relevantItemVariations: Record; }; targets?: { variations: string[]; item: { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } | { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; }[] | undefined; target?: unknown; targetVariations?: unknown; }>, { targets: { item: OfferTargetItem; variations: string[]; }[]; id: string; discount: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }; condition: { type: "CartContainsItems"; minimumItems: number; relevantItemVariations: Record; }; }, { id: string; discount: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }; condition: { type: "CartContainsItems"; minimumItems: number; relevantItemVariations: Record; }; targets?: { variations: string[]; item: { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } | { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; }[] | undefined; target?: unknown; targetVariations?: unknown; }>, "many">>; estimatedTax: z.ZodOptional; countryCode: z.ZodString; region: z.ZodOptional; }, "strip", z.ZodTypeAny, { countryCode: string; mode: "Exclusive" | "Inclusive"; rate: number; region?: string | undefined; }, { countryCode: string; mode: "Exclusive" | "Inclusive"; rate: number; region?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { products: { id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }[]; suggestedCurrency: string; bundles: { id: string; name: string; type: "Bundle"; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; type: "Product"; description: string; tagline: string; iconUrl: string | null; owned: boolean; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }[]; enabledCurrencies?: string[] | undefined; offers?: { targets: { item: OfferTargetItem; variations: string[]; }[]; id: string; discount: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }; condition: { type: "CartContainsItems"; minimumItems: number; relevantItemVariations: Record; }; }[] | undefined; estimatedTax?: { countryCode: string; mode: "Exclusive" | "Inclusive"; rate: number; region?: string | undefined; } | undefined; }, { products: { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }[]; suggestedCurrency: string; bundles: { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }[]; enabledCurrencies?: string[] | undefined; offers?: { id: string; discount: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; }; condition: { type: "CartContainsItems"; minimumItems: number; relevantItemVariations: Record; }; targets?: { variations: string[]; item: { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } | { id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; partial: boolean; products: ({ id: string; name: string; description: string; tagline: string; iconUrl: string | null; owned: boolean; type?: string | undefined; website?: string | null | undefined; currentVersion?: string | undefined; downloads?: { name: string; path: string | null; key: string; platform: Platform; size: number; arch?: Architecture | null | undefined; manifest?: { files: { name: string; path: string; }[]; licensePath: string | null; } | undefined; }[] | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; } & { included?: boolean | undefined; })[]; type?: string | undefined; defaultVariation?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; } | undefined; variations?: { id: string; name: string; originalPrice: Record; price: Record; hasDiscount: boolean; recurrence: { type: "OneOff"; } | { type: "Recurring"; cycleLength: CycleLength; }; discount?: { name: string; type: "PercentageOffDiscount"; percentage: number; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | { name: string; type: "FlatAmountOffDiscount"; isExclusive: boolean; description?: string | undefined; total?: Record | undefined; recurringPaymentUseCount?: number | undefined; } | undefined; pricingTiers?: { originalPrice: Record; price: Record; minQuantity: number; }[] | null | undefined; }[] | undefined; properties?: Record | null | undefined; }; }[] | undefined; target?: unknown; targetVariations?: unknown; }[] | undefined; estimatedTax?: { countryCode: string; mode: "Exclusive" | "Inclusive"; rate: number; region?: string | undefined; } | undefined; }>; declare const schemas$1_offerConditionSchema: typeof offerConditionSchema; declare const schemas$1_storefrontBundleSchema: typeof storefrontBundleSchema; declare const schemas$1_storefrontOfferSchema: typeof storefrontOfferSchema; declare const schemas$1_storefrontOfferTargetSchema: typeof storefrontOfferTargetSchema; declare const schemas$1_storefrontProductSchema: typeof storefrontProductSchema; declare const schemas$1_storefrontSchema: typeof storefrontSchema; declare const schemas$1_taxEstimateSchema: typeof taxEstimateSchema; declare namespace schemas$1 { export { schemas$1_offerConditionSchema as offerConditionSchema, schemas$1_storefrontBundleSchema as storefrontBundleSchema, schemas$1_storefrontOfferSchema as storefrontOfferSchema, schemas$1_storefrontOfferTargetSchema as storefrontOfferTargetSchema, schemas$1_storefrontProductSchema as storefrontProductSchema, schemas$1_storefrontSchema as storefrontSchema, schemas$1_taxEstimateSchema as taxEstimateSchema }; } declare namespace schemas { export { schemas$b as activationRequests, schemas$a as communications, schemas$9 as identity, schemas$2 as inventory, schemas$5 as orders, schemas$1 as storefront, schemas$4 as vendor, schemas$3 as vouchers }; } type StorefrontProduct = z.infer; type StorefrontBundle = z.infer; type OfferCondition = z.infer; type StorefrontOfferTarget = z.infer; type StorefrontOffer = z.infer; type Storefront = z.infer; type TaxEstimate = z.infer; declare class DiscountUtils { static apply(discount: Discount, price: MoneyCollection): MoneyCollection; } declare class NotAuthorizedError extends Error { constructor(); } declare class NotAuthenticatedError extends Error { constructor(); } declare class NotFoundError extends Error { constructor(message?: string); } declare class MoonbaseError extends Error { readonly title: string; readonly detail: string | undefined; readonly status?: number | undefined; readonly errors?: Record | undefined; constructor(title: string, detail: string | undefined, status?: number | undefined, errors?: Record | undefined); } declare class MoneyCollectionUtils { static sum(a: MoneyCollection, b: MoneyCollection): MoneyCollection; static subtract(a: MoneyCollection, b: MoneyCollection): MoneyCollection; } declare class OfferUtils { static eligible(offer: StorefrontOffer, order: Order): boolean; static relevantTargets(offer: StorefrontOffer, cartItems: LineItem[]): StorefrontOfferTarget[]; static targetedVariations(target: StorefrontOfferTarget): PricingVariation[]; static relevantTargetVariations(offer: StorefrontOffer, cartItems: LineItem[]): { target: StorefrontProduct | StorefrontBundle; variation: PricingVariation; }[]; static applyToVariation(offer: StorefrontOffer, variation: PricingVariation): PricingVariation; private static targetContainsBundle; } declare const problemDetailsSchema: z.ZodObject<{ type: z.ZodOptional; title: z.ZodString; detail: z.ZodOptional; status: z.ZodOptional; instance: z.ZodOptional; errors: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { title: string; type?: string | undefined; status?: number | undefined; detail?: string | undefined; instance?: string | undefined; errors?: Record | undefined; }, { title: string; type?: string | undefined; status?: number | undefined; detail?: string | undefined; instance?: string | undefined; errors?: Record | undefined; }>; type ProblemDetails = z.infer; /** * Returns the host of `rawReferrer` if it parses as a URL with a different * origin from `currentOrigin`. Returns `undefined` for same-origin (internal * navigation), empty, or unparseable referrers — these should not count as * attribution signals. */ declare function parseOffSiteReferrer(rawReferrer: string | undefined, currentOrigin: string): string | undefined; /** * Resolves the effective attribution state given the cached attribution from * a previous pageview and the freshly captured attribution on the current * page. * * Model: session-last-touch with atomic attribution events. UTM fields and * the referrer describe one and the same arrival, so they move together. * * - If the current page has any external signal — a UTM field or an off-site * referrer — that's a new attribution event and `fresh` is adopted * wholesale. No mixing with prior attribution. * - Otherwise (typically internal navigation, where same-origin referrers * are filtered to undefined upstream), the cached attribution is restored * verbatim so it carries through the session. * - With nothing fresh and nothing cached, the result is an empty * attribution (direct visit, no signal). */ declare function resolveUtm(cached: UrchinTrackingModule | undefined, fresh: UrchinTrackingModule): UrchinTrackingModule; interface MoonbaseConfiguration { endpoint: string; persistUtm?: boolean; includeManifests?: boolean; store?: IStore; logger?: ILogger; } declare class MoonbaseClient { private readonly configuration; readonly tokenStore: ITokenStore; private readonly logger; constructor(configuration: MoonbaseConfiguration); api: MoonbaseApi; storefront: StorefrontEndpoints; identity: IdentityEndpoints; communications: CommunicationsEndpoints; vouchers: VoucherEndpoints; activationRequests: ActivationRequestEndpoints; inventory: InventoryEndpoints; vendor: VendorEndpoints; orders: OrderEndpoints; } export { type Activation, ActivationMethod, type ActivationRequest, ActivationRequestFulfillmentType, ActivationRequestStatus, ActivationStatus, type Address, Architecture, type BundleLineItem, type CommunicationPreferences, type CommunicationPreferencesInput, type CommunicationPreferencesView, type CompletedOrder, ConnectableAccountProvider, type ConnectedAccount, ConsoleLogger, CycleLength, type Discount, DiscountUtils, type Download, type DownloadManifest, type ILogger, type IRecurrence, type IStore, type ITokenStore, type Identity, InMemoryStore, type License, LicenseStatus, type LineItem, LocalStorageStore, LogLevel, MarketingConsentType, type MilestoneProgress, type Money, type MoneyCollection, MoneyCollectionUtils, MoonbaseApi, MoonbaseClient, type MoonbaseConfiguration, MoonbaseError, NotAuthenticatedError, NotAuthorizedError, NotFoundError, type OfferCondition, OfferUtils, type OpenOrder, type Order, OrderStatus, type OwnedProduct, type Page, Platform, type PricingTier, type PricingVariation, type ProblemDetails, type ProductLineItem, type Quantifiable, type RawPropertyArray, type RawPropertyObject, type RawPropertyValue, type SignUpResult, type SingleOrMultiple, type Storefront, type StorefrontBundle, type StorefrontOffer, type StorefrontOfferTarget, type StorefrontProduct, type SubscribeInput, type SubscribeResponse, type Subscription, SubscriptionStatus, type TaxEstimate, TokenStore, type UrchinTrackingModule, type User, type UserAccountConfirmed, type UserAccountConfirmedStatus, type Vendor, type Voucher, objectToQuery, parseOffSiteReferrer, problemDetailsSchema, resolveUtm, schemas, utmToObject };