node-calendly
Version:
Node module to access calendly api.
44 lines • 1.24 kB
TypeScript
/******************************************
* Author : Dr. Sebastian Herden
* Created On : Fri Sep 16 2022
* File : EventTypes.ts
*******************************************/
export declare type UserType = {
uri: string;
name: string;
slug: string;
email: string;
scheduling_url: string;
timezone: string;
avatar_url: string | null;
created_at: Date;
updated_at: Date;
current_organization: string;
};
/**
* Information about the user. Extends the user type definition by two more methods:
* - fromJson: Creates a user object from a json object.
* - getUUID: Returns the uuid of the user.
*
* @export default
* @interface User
* @implements {UserType}
* @see https://developer.calendly.com/api-docs/647961f90c0dd-user
*/
export default class User implements UserType {
uri: string;
name: string;
slug: string;
email: string;
scheduling_url: string;
timezone: string;
avatar_url: string | null;
created_at: Date;
updated_at: Date;
current_organization: string;
uuid: string | undefined;
private constructor();
static fromJson(data: UserType): User;
getUuid(uri: string): string | undefined;
}
//# sourceMappingURL=User.d.ts.map