UNPKG

event-app-api

Version:

Package for easy access to Event App API

80 lines (79 loc) 8.93 kB
import { ResponsePaginationType } from "../public/types"; import { ExhibitionReport } from "../types"; import { Account, AccountInput, Booking, DocumentType, Event, EventLocation, EventRegistration, EventServerResponse, EventStream, Exhibition, ExhibitionInput, GroupServerResponse, OptionServerResponse, Stream, StreamInput, TicketServerResponse, UserRegistrationsEvent, ZoomParams } from "./types"; export declare const _fetchEventRegistrations: (basePath: string, token: string, eventId: string) => Promise<EventRegistration[]>; export declare const _fetchAccounts: (basePath: string, token: string) => Promise<Account[]>; export declare const _fetchEventsForAccount: (basePath: string, token: string, accountId: string) => Promise<Event[]>; export declare const _fetchExhibitions: (basePath: string, token: string, eventId: string) => Promise<Exhibition[]>; export declare const _fetchEventDetails: (basePath: string, token: string, eventId: string) => Promise<Event>; export declare const _sendNotification: (basePath: string, token: string, eventId: string, message: string, date: string, url: string) => Promise<any>; export declare const _sendSingleNotification: (basePath: string, token: string, attendeeId: string, message: string, date?: string, url?: string) => Promise<any>; export declare const _fetchEventNotifications: (basePath: string, token: string, eventId: string) => Promise<any>; export declare const _fetchEventTemplates: (basePath: string, token: string, eventId: string) => Promise<any>; export declare const _updateEventTemplates: (basePath: string, token: string, templateId: string, eventId: string, data: any) => Promise<any>; export declare const _fetchAttendeesAvailabilities: (basePath: string, token: string, eventId: string, date: string) => Promise<any>; export declare const _importAgenda: (basePath: string, token: string, eventId: string, eventSource: string) => Promise<any>; export declare const _createGroup: (basePath: string, token: string, data: any) => Promise<any>; export declare const _updateGroup: (basePath: string, token: string, groupId: string, data: any) => Promise<any>; export declare const _deleteGroup: (basePath: string, token: string, groupId: string) => Promise<any>; export declare const _createOption: (basePath: string, token: string, data: any) => Promise<any>; export declare const _updateOption: (basePath: string, token: string, optionId: string, data: any) => Promise<any>; export declare const _deleteOption: (basePath: string, token: string, optionId: string) => Promise<any>; export declare const _createTicket: (basePath: string, token: string, data: any) => Promise<any>; export declare const _updateTicket: (basePath: string, token: string, ticketId: string, data: any) => Promise<any>; export declare const _deleteTicket: (basePath: string, token: string, ticketId: string) => Promise<any>; export declare const _fetchEventDiscounts: (basePath: string, token: string, eventId: string) => Promise<any>; export declare const _createDiscount: (basePath: string, token: string, data: any) => Promise<any>; export declare const _updateDiscount: (basePath: string, token: string, discountId: string, data: any) => Promise<any>; export declare const _deleteDiscount: (basePath: string, token: string, discountId: string) => Promise<any>; export declare const _fetchExhibitionDetails: (basePath: string, token: string, exhibitionId: string) => Promise<Exhibition>; export declare const _createLocation: (basePath: string, token: string, files: any, data: any) => Promise<any>; export declare const _updateLocation: (basePath: string, token: string, locationId: string, data: any) => Promise<any>; export declare const _deleteLocation: (basePath: string, token: string, locationId: string) => Promise<any>; export declare const _fetchEventLocations: (basePath: string, token: string, eventId: string) => Promise<EventLocation[]>; export declare const _fetchEventStreams: (basePath: string, token: string, eventId: string) => Promise<EventStream[]>; export declare const _fetchUserRegistrationsEvents: (basePath: string, token: string) => Promise<UserRegistrationsEvent[]>; export declare const _fetchEventDocuments: (basePath: string, token: string, eventId: string) => Promise<DocumentType[]>; export declare const _assignDocumentToEvent: (basePath: string, token: string, eventId: string, documentId: string) => Promise<any>; export declare const _createDocument: (basePath: string, token: string, files: any, data: any) => Promise<any>; export declare const _updateDocument: (basePath: string, token: string, documentId: string, data: any) => Promise<any>; export declare const _deleteDocument: (basePath: string, token: string, documentId: string) => Promise<any>; export declare const _reportExhibitionAction: (basePath: string, token: string, exhibitionId: string, requestData: ExhibitionReport) => Promise<void>; export declare const _pinDocument: (basePath: string, token: string, eventId: string, documentId: string) => Promise<boolean>; export declare const _unpinDocument: (basePath: string, token: string, eventId: string, documentId: string) => Promise<boolean>; export declare const _pinExhibition: (basePath: string, token: string, exhibitionId: string) => Promise<boolean>; export declare const _unpinExhibition: (basePath: string, token: string, exhibitionId: string) => Promise<boolean>; export declare const _fetchEventGroups: (basePath: string, token: string, eventId: string) => Promise<GroupServerResponse[]>; export declare const _fetchEventBookings: (basePath: string, token: string, eventId: string) => Promise<ResponsePaginationType<Booking>>; export declare const _createFreeTrialAccount: (basePath: string, token: string, data: any) => Promise<any>; export declare const _eventInvitationRegistration: (basePath: string, token: string, userId: string, data: any) => Promise<any>; export declare const _fetchAccountDetails: (basePath: string, token: string, accountId: string) => Promise<any>; export declare const _fetchSpeakers: (basePath: string, token: string, url: string) => Promise<any>; export declare const _fetchEditableEvents: (basePath: string, token: string, url: string) => Promise<any>; export declare const _fetchMySessions: (basePath: string, token: string, url: string) => Promise<any>; export declare const _updateAccountWithFiles: (basePath: string, token: string, accountId: string, updatedMyAccount: AccountInput, files: any) => Promise<any>; export declare const _fetchEventPages: (basePath: string, token: string, eventId: string) => Promise<any[]>; export declare const _createPage: (basePath: string, token: string, data: any) => Promise<any>; export declare const _updatePage: (basePath: string, token: string, pageId: string, data: any) => Promise<any>; export declare const _deletePage: (basePath: string, token: string, eventId: string, pageId: string) => Promise<any>; export declare const _updateEvent: (basePath: string, token: string, eventId: string, data: any, files: any) => Promise<EventServerResponse>; export declare const _fetchEventTickets: (basePath: string, token: string, eventId: string) => Promise<TicketServerResponse[]>; export declare const _fetchEventOptions: (basePath: string, token: string, eventId: string) => Promise<OptionServerResponse[]>; export declare const _assignPaymentAccount: (basePath: string, token: string, eventId: string, requestData: { payment_account: string; }) => Promise<any>; export declare const _createEvent: (basePath: string, token: string, data: any, files: { name: string; value: File; }[]) => Promise<any>; export declare const _fetchZoomContent: (basePath: string, token: string, body: ZoomParams) => Promise<string>; export declare const _fetchYoutubeContent: (basePath: string, token: string, reference: string) => Promise<string>; export declare const _createStream: (basePath: string, token: string, data: StreamInput) => Promise<Stream>; export declare const _updateStream: (basePath: string, token: string, streamId: string, data: StreamInput) => Promise<Stream>; export declare const _deleteStream: (basePath: string, token: string, streamId: string) => Promise<Response>; export declare const _fetchAllExhibitions: (basePath: string, token: string, eventId: string) => Promise<Exhibition[]>; export declare const _fetchMyExhibitions: (basePath: string, token: string) => Promise<Exhibition[]>; export declare const _createExhibition: (basePath: string, token: string, files: any, data: ExhibitionInput) => Promise<Exhibition>; export declare const _importExhibition: (basePath: string, token: string, eventId: string, eventSource: string) => Promise<Response>; export declare const _updateExhibition: (basePath: string, token: string, exhibitionId: string, files: any, data: ExhibitionInput) => Promise<Exhibition>; export declare const _deleteExhibition: (basePath: string, token: string, exhibitionId: string) => Promise<Response>;