import type { ApiClient } from "@promobase/sdk-runtime"; import { Cursor } from "@promobase/sdk-runtime"; import type { ChildEventFields } from "./child-event.ts"; import type { CoverPhotoFields } from "./cover-photo.ts"; import type { EventRegistrationSettingFields } from "./event-registration-setting.ts"; import type { EventTicketSettingFields } from "./event-ticket-setting.ts"; import type { EventTicketTierFields } from "./event-ticket-tier.ts"; import type { GroupFields } from "./group.ts"; import type { LiveVideoFields } from "./live-video.ts"; import type { NullNodeFields } from "./null-node.ts"; import type { PlaceFields } from "./place.ts"; import type { ProfileFields } from "./profile.ts"; import type { EventCategory, EventOnlineEventFormat, EventType } from "../enums.ts"; export interface EventFields { attending_count: number; can_guests_invite: boolean; category: EventCategory; cover: CoverPhotoFields; created_time: string; declined_count: number; description: string; discount_code_enabled: boolean; end_time: string; event_times: ChildEventFields[]; guest_list_enabled: boolean; id: string; interested_count: number; is_canceled: boolean; is_draft: boolean; is_online: boolean; is_page_owned: boolean; maybe_count: number; name: string; noreply_count: number; online_event_format: EventOnlineEventFormat; online_event_third_party_url: string; owner: Record; parent_group: GroupFields; place: PlaceFields; registration_setting: EventRegistrationSettingFields; scheduled_publish_time: string; start_time: string; ticket_setting: EventTicketSettingFields; ticket_uri: string; ticket_uri_start_sales_time: string; ticketing_privacy_uri: string; ticketing_terms_uri: string; timezone: string; type: EventType; updated_time: string; } export interface EventCreateLiveVideosParams { content_tags?: string[]; description?: string; enable_backup_ingest?: boolean; encoding_settings?: string; event_params?: Record; fisheye_video_cropped?: boolean; front_z_rotation?: number; is_audio_only?: boolean; is_spherical?: boolean; original_fov?: number; privacy?: string; projection?: string; published?: boolean; schedule_custom_profile_image?: File | Blob | ReadableStream; spatial_audio_format?: string; status?: string; stereoscopic_mode?: string; stop_on_delete_stream?: boolean; stream_type?: string; title?: string; [key: string]: unknown; } export declare function eventNode(client: ApiClient, id: string): { __path: string; __brand: EventFields; get: (opts: { fields: F; params?: Record; }) => Promise>; comments: (opts: { fields: F; params?: Record; }) => Cursor>; feed: (opts: { fields: F; params?: Record; }) => Cursor>; liveVideos: { __path: string; __brand: NullNodeFields; list: (opts: { fields: F; params?: Record; }) => Cursor>; create: (params: EventCreateLiveVideosParams) => Promise; }; photos: (opts: { fields: F; params?: Record; }) => Cursor>; picture: (opts: { fields: F; params?: Record; }) => Cursor>; posts: (opts: { fields: F; params?: Record; }) => Cursor>; roles: (opts: { fields: F; params?: Record; }) => Cursor>; ticketTiers: (opts: { fields: F; params?: Record; }) => Cursor>; videos: (opts: { fields: F; params?: Record; }) => Cursor>; }; //# sourceMappingURL=event.d.ts.map