/* tslint:disable */ /* eslint-disable */ /** * This file was automatically generated by Payload. * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * and re-run `payload generate:types` to regenerate this file. */ /** * Supported timezones in IANA format. * * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "supportedTimezones". */ export type SupportedTimezones = | 'Pacific/Midway' | 'Pacific/Niue' | 'Pacific/Honolulu' | 'Pacific/Rarotonga' | 'America/Anchorage' | 'Pacific/Gambier' | 'America/Los_Angeles' | 'America/Tijuana' | 'America/Denver' | 'America/Phoenix' | 'America/Chicago' | 'America/Guatemala' | 'America/New_York' | 'America/Bogota' | 'America/Caracas' | 'America/Santiago' | 'America/Buenos_Aires' | 'America/Sao_Paulo' | 'Atlantic/South_Georgia' | 'Atlantic/Azores' | 'Atlantic/Cape_Verde' | 'Europe/London' | 'Europe/Berlin' | 'Africa/Lagos' | 'Europe/Athens' | 'Africa/Cairo' | 'Europe/Moscow' | 'Asia/Riyadh' | 'Asia/Dubai' | 'Asia/Baku' | 'Asia/Karachi' | 'Asia/Tashkent' | 'Asia/Calcutta' | 'Asia/Dhaka' | 'Asia/Almaty' | 'Asia/Jakarta' | 'Asia/Bangkok' | 'Asia/Shanghai' | 'Asia/Singapore' | 'Asia/Tokyo' | 'Asia/Seoul' | 'Australia/Brisbane' | 'Australia/Sydney' | 'Pacific/Guam' | 'Pacific/Noumea' | 'Pacific/Auckland' | 'Pacific/Fiji'; export interface Config { auth: { users: UserAuthOperations; 'payload-mcp-api-keys': PayloadMcpApiKeyAuthOperations; }; blocks: {}; collections: { users: User; media: Media; pages: Page; 'payload-mcp-api-keys': PayloadMcpApiKey; 'payload-kv': PayloadKv; 'payload-locked-documents': PayloadLockedDocument; 'payload-preferences': PayloadPreference; 'payload-migrations': PayloadMigration; }; collectionsJoins: {}; collectionsSelect: { users: UsersSelect | UsersSelect; media: MediaSelect | MediaSelect; pages: PagesSelect | PagesSelect; 'payload-mcp-api-keys': PayloadMcpApiKeysSelect | PayloadMcpApiKeysSelect; 'payload-kv': PayloadKvSelect | PayloadKvSelect; 'payload-locked-documents': PayloadLockedDocumentsSelect | PayloadLockedDocumentsSelect; 'payload-preferences': PayloadPreferencesSelect | PayloadPreferencesSelect; 'payload-migrations': PayloadMigrationsSelect | PayloadMigrationsSelect; }; db: { defaultIDType: number; }; fallbackLocale: ('false' | 'none' | 'null') | false | null | ('pl' | 'de') | ('pl' | 'de')[]; globals: { company: Company; header: Header; footer: Footer; 'site-settings': SiteSetting; 'site-integrations': SiteIntegration; 'cookie-settings': CookieSetting; notifications: Notification; }; globalsSelect: { company: CompanySelect | CompanySelect; header: HeaderSelect | HeaderSelect; footer: FooterSelect | FooterSelect; 'site-settings': SiteSettingsSelect | SiteSettingsSelect; 'site-integrations': SiteIntegrationsSelect | SiteIntegrationsSelect; 'cookie-settings': CookieSettingsSelect | CookieSettingsSelect; notifications: NotificationsSelect | NotificationsSelect; }; locale: 'pl' | 'de'; widgets: { collections: CollectionsWidget; }; user: User | PayloadMcpApiKey; jobs: { tasks: unknown; workflows: unknown; }; } export interface UserAuthOperations { forgotPassword: { email: string; password: string; }; login: { email: string; password: string; }; registerFirstUser: { email: string; password: string; }; unlock: { email: string; password: string; }; } export interface PayloadMcpApiKeyAuthOperations { forgotPassword: { email: string; password: string; }; login: { email: string; password: string; }; registerFirstUser: { email: string; password: string; }; unlock: { email: string; password: string; }; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "users". */ export interface User { id: number; updatedAt: string; createdAt: string; email: string; resetPasswordToken?: string | null; resetPasswordExpiration?: string | null; salt?: string | null; hash?: string | null; loginAttempts?: number | null; lockUntil?: string | null; sessions?: | { id: string; createdAt?: string | null; expiresAt: string; }[] | null; password?: string | null; collection: 'users'; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "media". */ export interface Media { id: number; alt: string; updatedAt: string; createdAt: string; url?: string | null; thumbnailURL?: string | null; filename?: string | null; mimeType?: string | null; filesize?: number | null; width?: number | null; height?: number | null; focalX?: number | null; focalY?: number | null; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "pages". */ export interface Page { id: number; title: string; /** * Auto-generated from the title when left empty. You can override it. */ slug: string; layout?: | ( | { title: string; subtitle?: string | null; id?: string | null; blockName?: string | null; blockType: 'pageHeader'; } | { address?: string | null; phone?: string | null; email?: string | null; hours?: string | null; id?: string | null; blockName?: string | null; blockType: 'contactInfo'; } | { title: string; subtitle?: string | null; services: { title: string; description: string; icon?: ('fileText' | 'calculator' | 'shieldCheck' | 'scale' | 'helpCircle' | 'users' | 'coins') | null; id?: string | null; }[]; id?: string | null; blockName?: string | null; blockType: 'servicesDetailed'; } | { title: string; subtitle?: string | null; eligibleTitle: string; eligibleItems: { text: string; id?: string | null; }[]; limitationsTitle: string; limitationsText: string; excludedTitle: string; excludedItems: { text: string; id?: string | null; }[]; legalNotice?: string | null; id?: string | null; blockName?: string | null; blockType: 'eligibility'; } | { title: string; titleAccent: string; subtitle: string; primaryCta: string; secondaryCta?: { text?: string | null; url?: string | null; }; floatingStat?: { value?: string | null; label?: string | null; }; image: number | Media; imageSecondary?: (number | null) | Media; id?: string | null; blockName?: string | null; blockType: 'hero'; } | { title?: string | null; subtitle?: string | null; items: { stat: string; label: string; description?: string | null; id?: string | null; }[]; id?: string | null; blockName?: string | null; blockType: 'stats'; } | { items?: | { text: string; icon?: ('shield' | 'check' | 'message' | 'star') | null; id?: string | null; }[] | null; id?: string | null; blockName?: string | null; blockType: 'trustBar'; } | { eyebrow?: string | null; title: string; description: string; image: number | Media; features?: | { text: string; id?: string | null; }[] | null; id?: string | null; blockName?: string | null; blockType: 'uniqueValue'; } | { eyebrow?: string | null; title: string; services?: | { title: string; description: string; linkText: string; id?: string | null; }[] | null; id?: string | null; blockName?: string | null; blockType: 'servicesList'; } | { eyebrow?: string | null; title: string; subtitle?: string | null; steps?: | { title: string; description: string; id?: string | null; }[] | null; ctaText?: string | null; image: number | Media; id?: string | null; blockName?: string | null; blockType: 'process'; } | { eyebrow?: string | null; title: string; description: string; logo?: (number | null) | Media; trustPoints?: | { icon: 'shield' | 'scale' | 'landmark'; title: string; description: string; id?: string | null; }[] | null; linkText?: string | null; id?: string | null; blockName?: string | null; blockType: 'affiliation'; } | { title: string; testimonials?: | { quote: string; author: string; id?: string | null; }[] | null; id?: string | null; blockName?: string | null; blockType: 'testimonials'; } | { eyebrow?: string | null; title: string; questions?: | { question: string; answer: string; id?: string | null; }[] | null; linkText?: string | null; id?: string | null; blockName?: string | null; blockType: 'faqTeaser'; } | { eyebrow?: string | null; title: string; subtitle?: string | null; buttonText: string; id?: string | null; blockName?: string | null; blockType: 'finalCta'; } | { text?: string | null; id?: string | null; blockName?: string | null; blockType: 'TextSection'; } )[] | null; updatedAt: string; createdAt: string; } /** * API keys control which collections, resources, tools, and prompts MCP clients can access * * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "payload-mcp-api-keys". */ export interface PayloadMcpApiKey { id: number; /** * The user that the API key is associated with. */ user: number | User; /** * A useful label for the API key. */ label?: string | null; /** * The purpose of the API key. */ description?: string | null; updatedAt: string; createdAt: string; enableAPIKey?: boolean | null; apiKey?: string | null; apiKeyIndex?: string | null; collection: 'payload-mcp-api-keys'; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "payload-kv". */ export interface PayloadKv { id: number; key: string; data: | { [k: string]: unknown; } | unknown[] | string | number | boolean | null; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "payload-locked-documents". */ export interface PayloadLockedDocument { id: number; document?: | ({ relationTo: 'users'; value: number | User; } | null) | ({ relationTo: 'media'; value: number | Media; } | null) | ({ relationTo: 'pages'; value: number | Page; } | null) | ({ relationTo: 'payload-mcp-api-keys'; value: number | PayloadMcpApiKey; } | null); globalSlug?: string | null; user: | { relationTo: 'users'; value: number | User; } | { relationTo: 'payload-mcp-api-keys'; value: number | PayloadMcpApiKey; }; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "payload-preferences". */ export interface PayloadPreference { id: number; user: | { relationTo: 'users'; value: number | User; } | { relationTo: 'payload-mcp-api-keys'; value: number | PayloadMcpApiKey; }; key?: string | null; value?: | { [k: string]: unknown; } | unknown[] | string | number | boolean | null; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "payload-migrations". */ export interface PayloadMigration { id: number; name?: string | null; batch?: number | null; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "users_select". */ export interface UsersSelect { updatedAt?: T; createdAt?: T; email?: T; resetPasswordToken?: T; resetPasswordExpiration?: T; salt?: T; hash?: T; loginAttempts?: T; lockUntil?: T; sessions?: | T | { id?: T; createdAt?: T; expiresAt?: T; }; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "media_select". */ export interface MediaSelect { alt?: T; updatedAt?: T; createdAt?: T; url?: T; thumbnailURL?: T; filename?: T; mimeType?: T; filesize?: T; width?: T; height?: T; focalX?: T; focalY?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "pages_select". */ export interface PagesSelect { title?: T; slug?: T; layout?: | T | { pageHeader?: | T | { title?: T; subtitle?: T; id?: T; blockName?: T; }; contactInfo?: | T | { address?: T; phone?: T; email?: T; hours?: T; id?: T; blockName?: T; }; servicesDetailed?: | T | { title?: T; subtitle?: T; services?: | T | { title?: T; description?: T; icon?: T; id?: T; }; id?: T; blockName?: T; }; eligibility?: | T | { title?: T; subtitle?: T; eligibleTitle?: T; eligibleItems?: | T | { text?: T; id?: T; }; limitationsTitle?: T; limitationsText?: T; excludedTitle?: T; excludedItems?: | T | { text?: T; id?: T; }; legalNotice?: T; id?: T; blockName?: T; }; hero?: | T | { title?: T; titleAccent?: T; subtitle?: T; primaryCta?: T; secondaryCta?: | T | { text?: T; url?: T; }; floatingStat?: | T | { value?: T; label?: T; }; image?: T; imageSecondary?: T; id?: T; blockName?: T; }; stats?: | T | { title?: T; subtitle?: T; items?: | T | { stat?: T; label?: T; description?: T; id?: T; }; id?: T; blockName?: T; }; trustBar?: | T | { items?: | T | { text?: T; icon?: T; id?: T; }; id?: T; blockName?: T; }; uniqueValue?: | T | { eyebrow?: T; title?: T; description?: T; image?: T; features?: | T | { text?: T; id?: T; }; id?: T; blockName?: T; }; servicesList?: | T | { eyebrow?: T; title?: T; services?: | T | { title?: T; description?: T; linkText?: T; id?: T; }; id?: T; blockName?: T; }; process?: | T | { eyebrow?: T; title?: T; subtitle?: T; steps?: | T | { title?: T; description?: T; id?: T; }; ctaText?: T; image?: T; id?: T; blockName?: T; }; affiliation?: | T | { eyebrow?: T; title?: T; description?: T; logo?: T; trustPoints?: | T | { icon?: T; title?: T; description?: T; id?: T; }; linkText?: T; id?: T; blockName?: T; }; testimonials?: | T | { title?: T; testimonials?: | T | { quote?: T; author?: T; id?: T; }; id?: T; blockName?: T; }; faqTeaser?: | T | { eyebrow?: T; title?: T; questions?: | T | { question?: T; answer?: T; id?: T; }; linkText?: T; id?: T; blockName?: T; }; finalCta?: | T | { eyebrow?: T; title?: T; subtitle?: T; buttonText?: T; id?: T; blockName?: T; }; TextSection?: | T | { text?: T; id?: T; blockName?: T; }; }; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "payload-mcp-api-keys_select". */ export interface PayloadMcpApiKeysSelect { user?: T; label?: T; description?: T; updatedAt?: T; createdAt?: T; enableAPIKey?: T; apiKey?: T; apiKeyIndex?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "payload-kv_select". */ export interface PayloadKvSelect { key?: T; data?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "payload-locked-documents_select". */ export interface PayloadLockedDocumentsSelect { document?: T; globalSlug?: T; user?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "payload-preferences_select". */ export interface PayloadPreferencesSelect { user?: T; key?: T; value?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "payload-migrations_select". */ export interface PayloadMigrationsSelect { name?: T; batch?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "company". */ export interface Company { id: number; address?: string | null; phone?: string | null; email?: string | null; hours?: string | null; whatsappNumber?: string | null; updatedAt?: string | null; createdAt?: string | null; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "header". */ export interface Header { id: number; navigation?: | { page: number | Page; id?: string | null; }[] | null; updatedAt?: string | null; createdAt?: string | null; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "footer". */ export interface Footer { id: number; navigation?: | { page: number | Page; id?: string | null; }[] | null; association?: { title?: string | null; logo?: (number | null) | Media; link?: string | null; }; copyright: string; creator: { label?: string | null; name: string; url: string; }; updatedAt?: string | null; createdAt?: string | null; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "site-settings". */ export interface SiteSetting { id: number; /** * Used in page titles and Open Graph metadata. */ siteName: string; /** * Which comes first in browser tabs. */ titleOrder?: ('page-first' | 'site-first') | null; /** * Separates the page title from the site name in browser tabs. */ titleSeparator?: ('|' | '–' | '-' | '·' | '/') | null; /** * Primary site logo. Also used for Organization structured data (buildOrganizationJsonLd). */ logo?: (number | null) | Media; /** * Fallback Open Graph image when a page has none. */ defaultShareImage?: (number | null) | Media; /** * Square icon, PNG or SVG, min. 48×48px (Google requires this to show it in search). Rendered via buildIconsMetadata. */ favicon?: (number | null) | Media; /** * Theme applied on a visitor’s first visit. */ defaultTheme: 'light' | 'dark'; /** * Show a light/dark switch on the site. */ allowThemeToggle?: boolean | null; /** * Page served at the locale root (e.g. /pl, /en). */ homepage?: (number | null) | Page; /** * Page linked as the privacy policy. */ privacyPolicy?: (number | null) | Page; /** * Page linked from the cookie consent banner. */ cookiePolicy?: (number | null) | Page; /** * Page linked as the terms of service / site regulations. */ termsOfService?: (number | null) | Page; updatedAt?: string | null; createdAt?: string | null; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "site-integrations". */ export interface SiteIntegration { id: number; /** * Google Analytics 4 Measurement ID. */ ga4MeasurementId?: string | null; /** * Google Tag Manager container ID. */ gtmContainerId?: string | null; /** * Public site key rendered in the Turnstile widget. */ turnstileSiteKey?: string | null; /** * Secret key used for server-side verification. */ turnstileSecretKey?: string | null; /** * How outbound email is sent. "Microsoft Graph" is only available when configured by the administrator (Intecion). */ emailTransport?: ('smtp' | 'graph') | null; smtpHost?: string | null; smtpPort?: number | null; /** * SMTP account username. */ smtpUser?: string | null; /** * SMTP account password. */ smtpPassword?: string | null; /** * Default "from" address for outgoing mail. */ smtpFromAddress?: string | null; /** * Default "from" display name. */ smtpFromName?: string | null; updatedAt?: string | null; createdAt?: string | null; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "cookie-settings". */ export interface CookieSetting { id: number; /** * Main consent message shown in the banner. */ message?: string | null; /** * Heading for the detailed settings panel. */ settingsTitle?: string | null; /** * Button labels. */ buttons?: { acceptAll?: string | null; reject?: string | null; settings?: string | null; save?: string | null; back?: string | null; }; /** * Per-category titles and descriptions. */ categories?: | { key: 'necessary' | 'functional' | 'analytics' | 'marketing'; title?: string | null; description?: string | null; id?: string | null; }[] | null; updatedAt?: string | null; createdAt?: string | null; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "notifications". */ export interface Notification { id: number; /** * Messages shown after a form is submitted. Leave a field empty to use the built-in default. */ form?: { success?: string | null; error?: string | null; rateLimited?: string | null; turnstile?: string | null; /** * Shown on a validation error. Use {field} to insert the offending field name. */ validation?: string | null; /** * Shown when the GDPR consent checkbox is left unchecked. */ consent?: string | null; notFound?: string | null; }; updatedAt?: string | null; createdAt?: string | null; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "company_select". */ export interface CompanySelect { address?: T; phone?: T; email?: T; hours?: T; whatsappNumber?: T; updatedAt?: T; createdAt?: T; globalType?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "header_select". */ export interface HeaderSelect { navigation?: | T | { page?: T; id?: T; }; updatedAt?: T; createdAt?: T; globalType?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "footer_select". */ export interface FooterSelect { navigation?: | T | { page?: T; id?: T; }; association?: | T | { title?: T; logo?: T; link?: T; }; copyright?: T; creator?: | T | { label?: T; name?: T; url?: T; }; updatedAt?: T; createdAt?: T; globalType?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "site-settings_select". */ export interface SiteSettingsSelect { siteName?: T; titleOrder?: T; titleSeparator?: T; logo?: T; defaultShareImage?: T; favicon?: T; defaultTheme?: T; allowThemeToggle?: T; homepage?: T; privacyPolicy?: T; cookiePolicy?: T; termsOfService?: T; updatedAt?: T; createdAt?: T; globalType?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "site-integrations_select". */ export interface SiteIntegrationsSelect { ga4MeasurementId?: T; gtmContainerId?: T; turnstileSiteKey?: T; turnstileSecretKey?: T; emailTransport?: T; smtpHost?: T; smtpPort?: T; smtpUser?: T; smtpPassword?: T; smtpFromAddress?: T; smtpFromName?: T; updatedAt?: T; createdAt?: T; globalType?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "cookie-settings_select". */ export interface CookieSettingsSelect { message?: T; settingsTitle?: T; buttons?: | T | { acceptAll?: T; reject?: T; settings?: T; save?: T; back?: T; }; categories?: | T | { key?: T; title?: T; description?: T; id?: T; }; updatedAt?: T; createdAt?: T; globalType?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "notifications_select". */ export interface NotificationsSelect { form?: | T | { success?: T; error?: T; rateLimited?: T; turnstile?: T; validation?: T; consent?: T; notFound?: T; }; updatedAt?: T; createdAt?: T; globalType?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "collections_widget". */ export interface CollectionsWidget { data?: { [k: string]: unknown; }; width: 'full'; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "auth". */ export interface Auth { [k: string]: unknown; } declare module 'payload' { export interface GeneratedTypes extends Config {} }