- accessToken and refreshToken methods from interface
- accessToken param from transactionsPastDay
- Unused env variables from config.ts

Added
- Initial Refresh token to env
- Dayjs library for working with dates

Implemented
- getAccessToken
- getRefreshToken
- fetchNewRefreshToken
- transactionsPastDay

Signed-off-by: Martin Berg Alstad <git@martials.no>
This commit is contained in:
Martin Berg Alstad
2024-12-25 21:06:42 +01:00
committed by Martin Berg Alstad
parent 480c0356f9
commit 6650e2cd2b
7 changed files with 127 additions and 49 deletions

View File

@ -15,6 +15,7 @@
"@actual-app/api": "^24.12.0",
"@dotenvx/dotenvx": "^1.31.3",
"cron": "^3.3.1",
"dayjs": "^1.11.13",
"dotenv": "^16.4.7",
"pino": "^9.5.0",
"prettier": "^3.4.2"