• Get all templates accessible by the caller, with optional filters.

    import {Templates} from '@verdocs/js-sdk/Templates';

    await Templates.getTemplates((VerdocsEndpoint.getDefault());
    await Templates.getTemplates((VerdocsEndpoint.getDefault(), { is_starred: true });
    await Templates.getTemplates((VerdocsEndpoint.getDefault(), { is_creator: true });
    await Templates.getTemplates((VerdocsEndpoint.getDefault(), { is_organization: true });

    Parameters

    Returns Promise<ITemplate[]>