Function: getEmailTypes()
ts
function getEmailTypes(client, options?): Promise<{
[key: string]: unknown;
emailTypes?: object[];
userEmailAddress?: string;
}>;Defined in: src/server/api/emailTemplates.ts:60
Returns a list of root templates mapped with Event Types. The list can be used to decide which test emails to send.
Parameters
| Parameter | Type |
|---|---|
client | Client |
options? | RequestOptions |
Returns
Promise<{ [key: string]: unknown; emailTypes?: object[]; userEmailAddress?: string; }>