1 | import SummaryItem from "./entity/summary-item";
|
2 | interface TempoDailyEmailOptions {
|
3 | tempoApiKey: string;
|
4 | jiraUsername: string;
|
5 | jiraApiKey: string;
|
6 | jiraDomain: string;
|
7 | }
|
8 | export default class TempoSummaryEmail {
|
9 | private readonly tempoApiKey;
|
10 | private readonly jiraUsername;
|
11 | private readonly jiraApiKey;
|
12 | private readonly jiraDomain;
|
13 | private user?;
|
14 | constructor(options: TempoDailyEmailOptions);
|
15 | generateEmailForRange(fromDate: string, toDate: string): Promise<string>;
|
16 | retrieveSummaryItems(from: string, to: string): Promise<SummaryItem[]>;
|
17 | private createTempoClient;
|
18 | private createJiraClient;
|
19 | private getUser;
|
20 | }
|
21 | export {};
|