import * as R from './Resource'; import * as P from './Presentation'; declare type Weekday = 'MO' | 'TU' | 'WE' | 'TH' | 'FR' | 'SA' | 'SU'; export declare enum Frequency { weekly = "weekly", monthly = "monthly" } export declare type RecurrenceRule = { byday?: Weekday[]; bymonthday?: number[]; dtstart: string; freq: Frequency; interval: number; }; export declare type Playlist = { id: string; name: string; description: string; tzid: string | null; startDatetime: string | null; endDatetime: string | null; recurrenceRule: RecurrenceRule | null; items: PlaylistItem[]; resource: R.Resource; }; export declare type PlaylistItem = { presentationId: string | null; presentation?: P.Presentation | null; playlistId: string | null; playlist?: Playlist | null; }; export declare type PlaylistItemResponse = { presentation_id: string | null; presentation: P.PresentationResponse | null; playlist_id: string | null; playlist: PlaylistResponse | null; }; export declare type PlaylistResponse = { id: string; name: string; description: string; tzid: string | null; start_datetime: string | null; end_datetime: string | null; recurrence_rule: RecurrenceRule | null; items: PlaylistItemResponse[] | null; resource: R.ResourceResponse; }; export declare type PlaylistItemRequest = { presentation_id: string | null; playlist_id: string | null; }; export declare type PlaylistRequest = { id: string; name: string; description: string; tzid: string | null; start_datetime: string | null; end_datetime: string | null; recurrence_rule: RecurrenceRule | null; items: PlaylistItemRequest[] | null; }; export declare type GetPlaylistsRequest = undefined; export declare type GetPlaylistsResponse = PlaylistResponse[]; export declare type CreatePlaylistRequest = PlaylistRequest; export declare type CreatePlaylistResponse = PlaylistResponse; export declare type UpdatePlaylistRequest = Partial; export declare type UpdatePlaylistResponse = PlaylistResponse; export declare type DeletePlaylistRequest = undefined; export declare type DeletePlaylistResponse = string; export {};