@dcl.ru/dtos
Version:
dcl.ru API v3 data transfer objects — types, enums and zod schemas
801 lines • 33.5 kB
TypeScript
import { z } from 'zod';
export declare enum SaleSchemas {
Free = 1,
Sale = 2,
Registration = 3,
ExternalSale = 4,
ExternalRegistration = 5,
Onsite = 6
}
export declare const SaleSchemasEnumSchema: z.ZodEnum<typeof SaleSchemas>;
export declare enum ImageTypes {
Original = 1,
Micro = 2,
Thumbnail = 3,
Card = 4,
Regular = 5,
Background = 6
}
export declare const ImageTypesEnumSchema: z.ZodEnum<typeof ImageTypes>;
export declare enum AccessTypes {
Free = 1,
Paid = 2,
Registration = 3
}
export declare const AccessTypesEnumSchema: z.ZodEnum<typeof AccessTypes>;
export declare enum ProductStatuses {
Active = 1,
Passed = 2
}
export declare const ProductStatusesEnumSchema: z.ZodEnum<typeof ProductStatuses>;
export declare enum ScheduleSlotTariffsStatuses {
Unspecified = 0,
AwaitingStart = 1,
Active = 2,
SoldOut = 3
}
export declare const ScheduleSlotTariffsStatusesEnumSchema: z.ZodEnum<typeof ScheduleSlotTariffsStatuses>;
export declare enum SoonFilter {
Today = "\u0421\u0435\u0433\u043E\u0434\u043D\u044F",
Tomorrow = "\u0417\u0430\u0432\u0442\u0440\u0430",
Weekend = "\u0412\u044B\u0445\u043E\u0434\u043D\u044B\u0435"
}
export declare const SoonFilterEnumSchema: z.ZodEnum<typeof SoonFilter>;
export declare const PeriodSchema: z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>;
export type PeriodDto = z.infer<typeof PeriodSchema>;
export declare const PeriodTimeSchema: z.ZodObject<{
from: z.ZodNullable<z.ZodString>;
until: z.ZodNullable<z.ZodString>;
}, z.core.$strip>;
export type PeriodTimeDto = z.infer<typeof PeriodTimeSchema>;
export declare const ImageSchema: z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
type: z.ZodEnum<typeof ImageTypes>;
url: z.ZodString;
altText: z.ZodString;
copyright: z.ZodNullable<z.ZodString>;
copyrightUrl: z.ZodNullable<z.ZodString>;
}, z.core.$strip>;
export type ImageDto = z.infer<typeof ImageSchema>;
export declare const GeoSchema: z.ZodObject<{
lat: z.ZodCoercedNumber<unknown>;
lon: z.ZodCoercedNumber<unknown>;
}, z.core.$strip>;
export type GeoDto = z.infer<typeof GeoSchema>;
export declare const WorkingHourBreakSchema: z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodString>;
until: z.ZodNullable<z.ZodString>;
}, z.core.$strip>;
}, z.core.$strip>;
export type WorkingHourBreakDto = z.infer<typeof WorkingHourBreakSchema>;
export declare const WorkingHourSchema: z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
dayOfWeek: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodString>;
until: z.ZodNullable<z.ZodString>;
}, z.core.$strip>;
breaks: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodString>;
until: z.ZodNullable<z.ZodString>;
}, z.core.$strip>;
}, z.core.$strip>>;
}, z.core.$strip>;
export type WorkingHourDto = z.infer<typeof WorkingHourSchema>;
export declare const OpenPeriodExclusionSchema: z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>;
}, z.core.$strip>;
export type OpenPeriodExclusionDto = z.infer<typeof OpenPeriodExclusionSchema>;
export declare const OpenPeriodSchema: z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>;
exclusions: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>;
}, z.core.$strip>>;
workingHours: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
dayOfWeek: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodString>;
until: z.ZodNullable<z.ZodString>;
}, z.core.$strip>;
breaks: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodString>;
until: z.ZodNullable<z.ZodString>;
}, z.core.$strip>;
}, z.core.$strip>>;
}, z.core.$strip>>;
}, z.core.$strip>;
export type OpenPeriodDto = z.infer<typeof OpenPeriodSchema>;
export declare const InventoryItemSchema: z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
category: z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
nameSingular: z.ZodString;
namePlural: z.ZodString;
}, z.core.$strip>;
description: z.ZodString;
accessType: z.ZodEnum<typeof AccessTypes>;
ageRating: z.ZodCoercedNumber<unknown>;
address: z.ZodString;
geo: z.ZodObject<{
lat: z.ZodCoercedNumber<unknown>;
lon: z.ZodCoercedNumber<unknown>;
}, z.core.$strip>;
mapUrl: z.ZodString;
outside: z.ZodCoercedBoolean<unknown>;
animalsAllowed: z.ZodCoercedBoolean<unknown>;
animalsRecommended: z.ZodCoercedBoolean<unknown>;
kidsAllowed: z.ZodCoercedBoolean<unknown>;
kidsRecommended: z.ZodCoercedBoolean<unknown>;
featured: z.ZodCoercedBoolean<unknown>;
images: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
type: z.ZodEnum<typeof ImageTypes>;
url: z.ZodString;
altText: z.ZodString;
copyright: z.ZodNullable<z.ZodString>;
copyrightUrl: z.ZodNullable<z.ZodString>;
}, z.core.$strip>>;
openPeriods: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>;
exclusions: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>;
}, z.core.$strip>>;
workingHours: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
dayOfWeek: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodString>;
until: z.ZodNullable<z.ZodString>;
}, z.core.$strip>;
breaks: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodString>;
until: z.ZodNullable<z.ZodString>;
}, z.core.$strip>;
}, z.core.$strip>>;
}, z.core.$strip>>;
}, z.core.$strip>>;
}, z.core.$strip>;
export type InventoryItemDto = z.infer<typeof InventoryItemSchema>;
export declare const InventoryItemFirstSchema: z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
}, z.core.$strip>;
export type InventoryItemFirstDto = z.infer<typeof InventoryItemFirstSchema>;
export declare const ProductSchema: z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
status: z.ZodEnum<typeof ProductStatuses>;
slug: z.ZodString;
name: z.ZodString;
saleSchema: z.ZodNullable<z.ZodEnum<typeof SaleSchemas>>;
externalUrl: z.ZodNullable<z.ZodString>;
categories: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
nameSingular: z.ZodString;
namePlural: z.ZodString;
}, z.core.$strip>>;
groups: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
cardType: z.ZodEnum<typeof import("./fronts.js").CardTypes>;
}, z.core.$strip>>;
tags: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
}, z.core.$strip>>;
badges: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
color: z.ZodString;
}, z.core.$strip>>;
ageRating: z.ZodCoercedNumber<unknown>;
scheduleSlotNext: z.ZodNullable<z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>>;
scheduleSlotsMulti: z.ZodNullable<z.ZodCoercedBoolean<unknown>>;
lead: z.ZodNullable<z.ZodString>;
description: z.ZodNullable<z.ZodString>;
pushka: z.ZodNullable<z.ZodCoercedBoolean<unknown>>;
paused: z.ZodNullable<z.ZodCoercedBoolean<unknown>>;
priceFrom: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
soldOut: z.ZodNullable<z.ZodCoercedBoolean<unknown>>;
images: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
type: z.ZodEnum<typeof ImageTypes>;
url: z.ZodString;
altText: z.ZodString;
copyright: z.ZodNullable<z.ZodString>;
copyrightUrl: z.ZodNullable<z.ZodString>;
}, z.core.$strip>>;
inventoryItems: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
category: z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
nameSingular: z.ZodString;
namePlural: z.ZodString;
}, z.core.$strip>;
description: z.ZodString;
accessType: z.ZodEnum<typeof AccessTypes>;
ageRating: z.ZodCoercedNumber<unknown>;
address: z.ZodString;
geo: z.ZodObject<{
lat: z.ZodCoercedNumber<unknown>;
lon: z.ZodCoercedNumber<unknown>;
}, z.core.$strip>;
mapUrl: z.ZodString;
outside: z.ZodCoercedBoolean<unknown>;
animalsAllowed: z.ZodCoercedBoolean<unknown>;
animalsRecommended: z.ZodCoercedBoolean<unknown>;
kidsAllowed: z.ZodCoercedBoolean<unknown>;
kidsRecommended: z.ZodCoercedBoolean<unknown>;
featured: z.ZodCoercedBoolean<unknown>;
images: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
type: z.ZodEnum<typeof ImageTypes>;
url: z.ZodString;
altText: z.ZodString;
copyright: z.ZodNullable<z.ZodString>;
copyrightUrl: z.ZodNullable<z.ZodString>;
}, z.core.$strip>>;
openPeriods: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>;
exclusions: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>;
}, z.core.$strip>>;
workingHours: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
dayOfWeek: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodString>;
until: z.ZodNullable<z.ZodString>;
}, z.core.$strip>;
breaks: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodString>;
until: z.ZodNullable<z.ZodString>;
}, z.core.$strip>;
}, z.core.$strip>>;
}, z.core.$strip>>;
}, z.core.$strip>>;
}, z.core.$strip>>;
}, z.core.$strip>;
export type ProductDto = z.infer<typeof ProductSchema>;
export declare const ProductCardSchema: z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
ageRating: z.ZodCoercedNumber<unknown>;
saleSchema: z.ZodEnum<typeof SaleSchemas>;
featured: z.ZodCoercedBoolean<unknown>;
banner: z.ZodCoercedBoolean<unknown>;
pushka: z.ZodCoercedBoolean<unknown>;
paused: z.ZodCoercedBoolean<unknown>;
priceFrom: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
soldOut: z.ZodNullable<z.ZodCoercedBoolean<unknown>>;
scheduleSlotNext: z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>;
scheduleSlotsMulti: z.ZodCoercedBoolean<unknown>;
image: z.ZodNullable<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
type: z.ZodEnum<typeof ImageTypes>;
url: z.ZodString;
altText: z.ZodString;
copyright: z.ZodNullable<z.ZodString>;
copyrightUrl: z.ZodNullable<z.ZodString>;
}, z.core.$strip>>;
inventoryItemFirst: z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
}, z.core.$strip>;
inventoryItemsMulti: z.ZodCoercedBoolean<unknown>;
categories: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
nameSingular: z.ZodString;
namePlural: z.ZodString;
}, z.core.$strip>>;
groups: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
cardType: z.ZodEnum<typeof import("./fronts.js").CardTypes>;
}, z.core.$strip>>;
tags: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
}, z.core.$strip>>;
badges: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
color: z.ZodString;
}, z.core.$strip>>;
}, z.core.$strip>;
export type ProductCardDto = z.infer<typeof ProductCardSchema>;
export declare const ProductCardPassedSchema: z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
ageRating: z.ZodCoercedNumber<unknown>;
image: z.ZodNullable<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
type: z.ZodEnum<typeof ImageTypes>;
url: z.ZodString;
altText: z.ZodString;
copyright: z.ZodNullable<z.ZodString>;
copyrightUrl: z.ZodNullable<z.ZodString>;
}, z.core.$strip>>;
inventoryItemFirst: z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
}, z.core.$strip>;
inventoryItemsMulti: z.ZodCoercedBoolean<unknown>;
categories: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
nameSingular: z.ZodString;
namePlural: z.ZodString;
}, z.core.$strip>>;
groups: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
cardType: z.ZodEnum<typeof import("./fronts.js").CardTypes>;
}, z.core.$strip>>;
tags: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
}, z.core.$strip>>;
badges: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
color: z.ZodString;
}, z.core.$strip>>;
}, z.core.$strip>;
export type ProductCardPassedDto = z.infer<typeof ProductCardPassedSchema>;
export declare const ProductCardOnHomepageSchema: z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
ageRating: z.ZodCoercedNumber<unknown>;
saleSchema: z.ZodEnum<typeof SaleSchemas>;
featured: z.ZodCoercedBoolean<unknown>;
banner: z.ZodCoercedBoolean<unknown>;
pushka: z.ZodCoercedBoolean<unknown>;
paused: z.ZodCoercedBoolean<unknown>;
priceFrom: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
soldOut: z.ZodCoercedBoolean<unknown>;
image: z.ZodNullable<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
type: z.ZodEnum<typeof ImageTypes>;
url: z.ZodString;
altText: z.ZodString;
copyright: z.ZodNullable<z.ZodString>;
copyrightUrl: z.ZodNullable<z.ZodString>;
}, z.core.$strip>>;
inventoryItemFirst: z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
}, z.core.$strip>;
inventoryItemsMulti: z.ZodCoercedBoolean<unknown>;
categories: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
nameSingular: z.ZodString;
namePlural: z.ZodString;
}, z.core.$strip>>;
groups: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
cardType: z.ZodEnum<typeof import("./fronts.js").CardTypes>;
}, z.core.$strip>>;
tags: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
}, z.core.$strip>>;
badges: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
color: z.ZodString;
}, z.core.$strip>>;
scheduleSlotNext: z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>;
scheduleSlotsMulti: z.ZodCoercedBoolean<unknown>;
scheduleSlotToday: z.ZodNullable<z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>>;
scheduleSlotsTodayMulti: z.ZodNullable<z.ZodCoercedBoolean<unknown>>;
scheduleSlotTomorrow: z.ZodNullable<z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>>;
scheduleSlotsTomorrowMulti: z.ZodNullable<z.ZodCoercedBoolean<unknown>>;
scheduleSlotWeekend: z.ZodNullable<z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>>;
scheduleSlotsWeekendMulti: z.ZodNullable<z.ZodCoercedBoolean<unknown>>;
}, z.core.$strip>;
export type ProductCardOnHomepageDto = z.infer<typeof ProductCardOnHomepageSchema>;
export declare const ScheduleSlotSchema: z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slot: z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>;
capacityAvailable: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
soldOut: z.ZodNullable<z.ZodCoercedBoolean<unknown>>;
}, z.core.$strip>;
export type ScheduleSlotDto = z.infer<typeof ScheduleSlotSchema>;
export declare const TariffSchema: z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
name: z.ZodString;
nameShort: z.ZodString;
nameFiscal: z.ZodString;
description: z.ZodNullable<z.ZodString>;
price: z.ZodCoercedNumber<unknown>;
vatName: z.ZodNullable<z.ZodString>;
vatValue: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
multiplier: z.ZodCoercedNumber<unknown>;
firstEnterWindow: z.ZodNullable<z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>>;
lifetimeWindowAfterFirstEnter: z.ZodNullable<z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>>;
exitEnterAllowed: z.ZodCoercedBoolean<unknown>;
ticketGrouping: z.ZodCoercedBoolean<unknown>;
limitPerPerson: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
quotaAvailable: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
soldOut: z.ZodCoercedBoolean<unknown>;
inventoryItems: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
category: z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
nameSingular: z.ZodString;
namePlural: z.ZodString;
}, z.core.$strip>;
description: z.ZodString;
accessType: z.ZodEnum<typeof AccessTypes>;
ageRating: z.ZodCoercedNumber<unknown>;
address: z.ZodString;
geo: z.ZodObject<{
lat: z.ZodCoercedNumber<unknown>;
lon: z.ZodCoercedNumber<unknown>;
}, z.core.$strip>;
mapUrl: z.ZodString;
outside: z.ZodCoercedBoolean<unknown>;
animalsAllowed: z.ZodCoercedBoolean<unknown>;
animalsRecommended: z.ZodCoercedBoolean<unknown>;
kidsAllowed: z.ZodCoercedBoolean<unknown>;
kidsRecommended: z.ZodCoercedBoolean<unknown>;
featured: z.ZodCoercedBoolean<unknown>;
images: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
type: z.ZodEnum<typeof ImageTypes>;
url: z.ZodString;
altText: z.ZodString;
copyright: z.ZodNullable<z.ZodString>;
copyrightUrl: z.ZodNullable<z.ZodString>;
}, z.core.$strip>>;
openPeriods: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>;
exclusions: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>;
}, z.core.$strip>>;
workingHours: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
dayOfWeek: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodString>;
until: z.ZodNullable<z.ZodString>;
}, z.core.$strip>;
breaks: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodString>;
until: z.ZodNullable<z.ZodString>;
}, z.core.$strip>;
}, z.core.$strip>>;
}, z.core.$strip>>;
}, z.core.$strip>>;
}, z.core.$strip>>;
}, z.core.$strip>;
export type TariffDto = z.infer<typeof TariffSchema>;
export declare const TariffGroupSchema: z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
name: z.ZodString;
slug: z.ZodString;
tariffs: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
name: z.ZodString;
nameShort: z.ZodString;
nameFiscal: z.ZodString;
description: z.ZodNullable<z.ZodString>;
price: z.ZodCoercedNumber<unknown>;
vatName: z.ZodNullable<z.ZodString>;
vatValue: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
multiplier: z.ZodCoercedNumber<unknown>;
firstEnterWindow: z.ZodNullable<z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>>;
lifetimeWindowAfterFirstEnter: z.ZodNullable<z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>>;
exitEnterAllowed: z.ZodCoercedBoolean<unknown>;
ticketGrouping: z.ZodCoercedBoolean<unknown>;
limitPerPerson: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
quotaAvailable: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
soldOut: z.ZodCoercedBoolean<unknown>;
inventoryItems: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
category: z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
nameSingular: z.ZodString;
namePlural: z.ZodString;
}, z.core.$strip>;
description: z.ZodString;
accessType: z.ZodEnum<typeof AccessTypes>;
ageRating: z.ZodCoercedNumber<unknown>;
address: z.ZodString;
geo: z.ZodObject<{
lat: z.ZodCoercedNumber<unknown>;
lon: z.ZodCoercedNumber<unknown>;
}, z.core.$strip>;
mapUrl: z.ZodString;
outside: z.ZodCoercedBoolean<unknown>;
animalsAllowed: z.ZodCoercedBoolean<unknown>;
animalsRecommended: z.ZodCoercedBoolean<unknown>;
kidsAllowed: z.ZodCoercedBoolean<unknown>;
kidsRecommended: z.ZodCoercedBoolean<unknown>;
featured: z.ZodCoercedBoolean<unknown>;
images: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
type: z.ZodEnum<typeof ImageTypes>;
url: z.ZodString;
altText: z.ZodString;
copyright: z.ZodNullable<z.ZodString>;
copyrightUrl: z.ZodNullable<z.ZodString>;
}, z.core.$strip>>;
openPeriods: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>;
exclusions: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>;
}, z.core.$strip>>;
workingHours: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
dayOfWeek: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodString>;
until: z.ZodNullable<z.ZodString>;
}, z.core.$strip>;
breaks: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodString>;
until: z.ZodNullable<z.ZodString>;
}, z.core.$strip>;
}, z.core.$strip>>;
}, z.core.$strip>>;
}, z.core.$strip>>;
}, z.core.$strip>>;
}, z.core.$strip>>;
}, z.core.$strip>;
export type TariffGroupDto = z.infer<typeof TariffGroupSchema>;
export declare const ScheduleSlotTariffsSchema: z.ZodObject<{
status: z.ZodEnum<typeof ScheduleSlotTariffsStatuses>;
startOn: z.ZodNullable<z.ZodCoercedDate<unknown>>;
groups: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
name: z.ZodString;
slug: z.ZodString;
tariffs: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
name: z.ZodString;
nameShort: z.ZodString;
nameFiscal: z.ZodString;
description: z.ZodNullable<z.ZodString>;
price: z.ZodCoercedNumber<unknown>;
vatName: z.ZodNullable<z.ZodString>;
vatValue: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
multiplier: z.ZodCoercedNumber<unknown>;
firstEnterWindow: z.ZodNullable<z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>>;
lifetimeWindowAfterFirstEnter: z.ZodNullable<z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>>;
exitEnterAllowed: z.ZodCoercedBoolean<unknown>;
ticketGrouping: z.ZodCoercedBoolean<unknown>;
limitPerPerson: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
quotaAvailable: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
soldOut: z.ZodCoercedBoolean<unknown>;
inventoryItems: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
name: z.ZodString;
category: z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
slug: z.ZodString;
nameSingular: z.ZodString;
namePlural: z.ZodString;
}, z.core.$strip>;
description: z.ZodString;
accessType: z.ZodEnum<typeof AccessTypes>;
ageRating: z.ZodCoercedNumber<unknown>;
address: z.ZodString;
geo: z.ZodObject<{
lat: z.ZodCoercedNumber<unknown>;
lon: z.ZodCoercedNumber<unknown>;
}, z.core.$strip>;
mapUrl: z.ZodString;
outside: z.ZodCoercedBoolean<unknown>;
animalsAllowed: z.ZodCoercedBoolean<unknown>;
animalsRecommended: z.ZodCoercedBoolean<unknown>;
kidsAllowed: z.ZodCoercedBoolean<unknown>;
kidsRecommended: z.ZodCoercedBoolean<unknown>;
featured: z.ZodCoercedBoolean<unknown>;
images: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
type: z.ZodEnum<typeof ImageTypes>;
url: z.ZodString;
altText: z.ZodString;
copyright: z.ZodNullable<z.ZodString>;
copyrightUrl: z.ZodNullable<z.ZodString>;
}, z.core.$strip>>;
openPeriods: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>;
exclusions: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodCoercedDate<unknown>>;
until: z.ZodNullable<z.ZodCoercedDate<unknown>>;
}, z.core.$strip>;
}, z.core.$strip>>;
workingHours: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
dayOfWeek: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodString>;
until: z.ZodNullable<z.ZodString>;
}, z.core.$strip>;
breaks: z.ZodArray<z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
period: z.ZodObject<{
from: z.ZodNullable<z.ZodString>;
until: z.ZodNullable<z.ZodString>;
}, z.core.$strip>;
}, z.core.$strip>>;
}, z.core.$strip>>;
}, z.core.$strip>>;
}, z.core.$strip>>;
}, z.core.$strip>>;
}, z.core.$strip>>;
}, z.core.$strip>;
export type ScheduleSlotTariffsDto = z.infer<typeof ScheduleSlotTariffsSchema>;
export declare const PromocodeSchema: z.ZodObject<{
id: z.ZodCoercedNumber<unknown>;
promocode: z.ZodString;
tariffIds: z.ZodArray<z.ZodCoercedNumber<unknown>>;
fixedDiscount: z.ZodCoercedNumber<unknown>;
proportionalDiscount: z.ZodCoercedNumber<unknown>;
}, z.core.$strip>;
export type PromocodeDto = z.infer<typeof PromocodeSchema>;
export declare const KzhnoBenefitSchema: z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
dateTo: z.ZodCoercedDate<unknown>;
}, z.core.$strip>;
export type KzhnoBenefitDto = z.infer<typeof KzhnoBenefitSchema>;
export declare const KzhnoSchema: z.ZodObject<{
cardNumber: z.ZodString;
isKzhnoCard: z.ZodCoercedBoolean<unknown>;
isActive: z.ZodCoercedBoolean<unknown>;
cardType: z.ZodString;
variant: z.ZodString;
benefits: z.ZodArray<z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
dateTo: z.ZodCoercedDate<unknown>;
}, z.core.$strip>>;
}, z.core.$strip>;
export type KzhnoDto = z.infer<typeof KzhnoSchema>;
//# sourceMappingURL=products.d.ts.map