eventbrite
Version:
The official JavaScript SDK for the Eventbrite v3 API
20 lines (19 loc) • 394 B
TypeScript
import { BaseApi } from './baseApi';
export interface Email {
email?: string;
primary?: boolean;
}
export interface User {
id?: string;
firstName?: string;
lastName?: string;
imageId?: string;
email?: Email[];
}
/**
* API for working with Users
*/
export declare class UserApi extends BaseApi<User> {
me(): Promise<User>;
get(id: string): Promise<User>;
}