@trophyso/node
Version:
NodeJS SDK for the Trophy API
17 lines (16 loc) • 541 B
TypeScript
/**
* This file was auto-generated by Fern from our API Definition.
*/
/**
* An object with editable user fields.
*/
export interface UpdatedUser {
/** The user's email address. Required if subscribeToEmails is true. */
email?: string;
/** The name to refer to the user by in emails. */
name?: string;
/** The user's timezone (used for email scheduling). */
tz?: string;
/** Whether the user should receive Trophy-powered emails. Cannot be false if an email is provided. */
subscribeToEmails?: boolean;
}