@trophyso/node
Version:
NodeJS SDK for the Trophy API
19 lines (18 loc) • 653 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;
/** The user's device tokens, used for push notifications. */
deviceTokens?: string[];
/** Whether the user should receive Trophy-powered emails. If false, Trophy will not store the user's email address. */
subscribeToEmails?: boolean;
}