congresses
const congresses: { list: Promise<Event[]>; get: Promise<Event>; getAttendees: Promise<Attendee[]>; getAttendee: Promise<Attendee>; getBusinessCards: Promise<BusinessCard[]>; getBusinessCard: Promise<BusinessCard>;};Defined in: domains/congresses.ts:8
Type Declaration
Section titled “Type Declaration”list()
Section titled “list()”list(): Promise<Event[]>;List all lead retrieval events available to the current user.
Returns
Section titled “Returns”Promise<Event[]>
Array of Event objects.
Throws
Section titled “Throws”MobileLockerError on network failure or server error.
get(eventID): Promise<Event>;Get a single lead retrieval event by ID.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
eventID |
number |
The numeric ID of the event. |
Returns
Section titled “Returns”Promise<Event>
The matching Event.
Throws
Section titled “Throws”MobileLockerError on network failure or if the event is not found.
getAttendees()
Section titled “getAttendees()”getAttendees(eventID): Promise<Attendee[]>;Get all attendees for a lead retrieval event.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
eventID |
number |
The numeric ID of the event. |
Returns
Section titled “Returns”Promise<Attendee[]>
Array of Attendee objects.
Throws
Section titled “Throws”MobileLockerError on network failure or server error.
getAttendee()
Section titled “getAttendee()”getAttendee(attendeeID): Promise<Attendee>;Get a specific attendee by ID.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
attendeeID |
string |
The attendee’s string ID. |
Returns
Section titled “Returns”Promise<Attendee>
The matching Attendee.
Throws
Section titled “Throws”MobileLockerError on network failure or if not found.
getBusinessCards()
Section titled “getBusinessCards()”getBusinessCards(): Promise<BusinessCard[]>;Get all business cards scanned by the current user.
Returns
Section titled “Returns”Promise<BusinessCard[]>
Array of BusinessCard objects.
Throws
Section titled “Throws”MobileLockerError on network failure or server error.
getBusinessCard()
Section titled “getBusinessCard()”getBusinessCard(cardID): Promise<BusinessCard>;Get a specific business card by ID.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
cardID |
string |
The business card’s string ID. |
Returns
Section titled “Returns”Promise<BusinessCard>
The matching BusinessCard.
Throws
Section titled “Throws”MobileLockerError on network failure or if not found.