• Get available tasks of specific target

    Needs namespaces[namespaceId].tasks-get-_targets-email-tasks permission

    Parameters

    • email: string

      The email of the target

    • Optional namespaces: string[]

    Returns Promise<{
        content: {
            createdAt: Date;
            enabled: boolean;
            id: string;
            lastRun?: Date;
            name: string;
            namespaceId: string;
            nextRun: Date;
            recurrence: Recurrence;
            tags: {
                color?: string;
                name: string;
            }[];
            updatedAt?: Date;
        }[];
        status: {
            code: number;
            message: string;
        };
    }>

    Tasks where given email is a target

Generated using TypeDoc