Exported API client function that performs a bearer-authenticated GET request to /emails and returns a typed request result.
// Source: https://github.com/mperkins0155/temps | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
export const listEmails = <ThrowOnError extends boolean = false>(options?: Options<ListEmailsData, ThrowOnError>): RequestResult<ListEmailsResponses, ListEmailsErrors, ThrowOnError> => (options?.client ?? client).get<ListEmailsResponses, ListEmailsErrors, ThrowOnError>({
security: [{ scheme: 'bearer', type: 'http' }],
url: '/emails',
...options
});
See the full source, get the GitHub permalink, and search 40K more like it.
Get a free API key