event-app-api
Version:
Package for easy access to Event App API
44 lines (43 loc) • 4.41 kB
TypeScript
import { Response } from "../../types/base";
import { Answer } from "../event/types";
import { AttendeeReport } from "../types";
import { Attendee, AttendeeInput, AttendeeProfile, Note, NoteUpdateInput, UserNotification } from "./types";
export declare const _fetchAttendeeProfile: (basePath: string, token: string, attendeeId: string) => Promise<AttendeeProfile>;
export declare const _fetchAttendees: (basePath: string, token: string, eventId: string) => Promise<AttendeeProfile[]>;
export declare const _fetchMyUser: (basePath: string, token: string) => Promise<AttendeeProfile>;
export declare const _updateAttendeeImage: (basePath: string, token: string, file: any, param: string, attendeeId: string) => Promise<AttendeeProfile>;
export declare const _updateAttendee: (basePath: string, token: string, updatedAttendee: AttendeeInput, attendeeId: string) => Promise<AttendeeProfile>;
export declare const _updateGlobalAttendeeImage: (basePath: string, token: string, file: any, param: string) => Promise<AttendeeProfile>;
export declare const _updateGlobalAttendee: (basePath: string, token: string, updatedAttendee: AttendeeInput) => Promise<AttendeeProfile>;
export declare const _fetchMyConnections: (basePath: string, token: string) => Promise<Attendee[]>;
export declare const _addConnection: (basePath: string, token: string, profile: string, leadsToken: string) => Promise<void>;
export declare const _removeConnection: (basePath: string, token: string, profile: string) => Promise<void>;
export declare const _pinAttendee: (basePath: string, token: string, attendeeId: string, pinAttendeeId: string) => Promise<Response>;
export declare const _unpinAttendee: (basePath: string, token: string, attendeeId: string, pinAttendeeId: string) => Promise<Response>;
export declare const _confirmMyEventInvitation: (basePath: string, token: string, attendeeId: string) => Promise<Response>;
export declare const _checkIn: (basePath: string, token: string, attendeeId: string) => Promise<Response>;
export declare const _checkout: (basePath: string, token: string, attendeeId: string) => Promise<Response>;
export declare const _sendAttendeeOnboardingAnswers: (basePath: string, token: string, attendeeId: string, body: {
[key: string]: Answer;
}) => Promise<Response>;
export declare const _createAttendee: (basePath: string, token: string, eventId: string, type: string, body: Attendee) => Promise<Response>;
export declare const _importProfileFromLinkedIn: (basePath: string, token: string, body: {
event?: string | undefined;
callback_url: string;
}) => Promise<string>;
export declare const _reportAttendeeAction: (basePath: string, token: string, requestData: AttendeeReport) => Promise<Response>;
export declare const _fetchMyNotes: (basePath: string, token: string) => Promise<Note[]>;
export declare const _createNote: (basePath: string, token: string, note: Note) => Promise<Response>;
export declare const _updateNote: (basePath: string, token: string, noteId: string, note: NoteUpdateInput) => Promise<Response>;
export declare const _deleteNote: (basePath: string, token: string, noteId: string) => Promise<Response>;
export declare const _fetchUserNotifications: (basePath: string, token: string) => Promise<UserNotification[]>;
export declare const _markUserNotificationAsRead: (basePath: string, token: string, notificationId: string) => Promise<Response>;
export declare const _deleteUserNotification: (basePath: string, token: string, notificationId: string) => Promise<Response>;
export declare const _deleteAllUserNotifications: (basePath: string, token: string) => Promise<Response>;
export declare const _resendConfirmationEmail: (basePath: string, token: string, attendeeId: string) => Promise<any>;
export declare const _checkAvailabilityAttendee: (basePath: string, token: string, attendeeId: string) => Promise<any>;
export declare const _removeOnsiteAttendee: (basePath: string, token: string, attendeeId: string) => Promise<any>;
export declare const _addOnsiteAttendee: (basePath: string, token: string, attendeeId: string) => Promise<any>;
export declare const _resendWelcomeEmail: (basePath: string, token: string, attendeeId: string) => Promise<any>;
export declare const _hideAttendee: (basePath: string, token: string, attendeeId: string) => Promise<any>;
export declare const _showAttendee: (basePath: string, token: string, attendeeId: string) => Promise<any>;