Commit Graph

8 Commits

Author SHA1 Message Date
83784bec8f Improve refresh error logging 2021-03-13 14:51:32 -07:00
30d95657cf Add RingCentral token refresh error logging. 2021-03-11 15:11:11 -07:00
1c1682fe4f Move duration column to recordings table 2021-03-11 12:52:08 -07:00
0946158005 Add FIRST_RUN_AGE variable
Allows setting the maximum age of voicemails to fetch on the first run.

Other changes:
- Refactor `from` to `age` in function parameters
- Improve README
2021-03-11 11:55:50 -07:00
39cd664b3c Modify template to indicate when a transcription is partial 2021-03-11 11:15:43 -07:00
1052dfc1b1 Adjust intervals
We still fetch voicemails from RingCentral every 60 seconds, but now we
check for missing transcriptions every 15 seconds, and poll the database
for voicemails that are ready to be ticketized every second.
2021-03-11 11:04:32 -07:00
3452cd143a Add "recordings" table, save raw audio blobs in it
Other changes:
- Move Stored(Voicemail|Recording) interfaces into knex/types/tables
module for reduced boilerplate.
- Change updateStoredVoicemail to take Partial<StoredVoicemail>,
allowing to only update only some columns
2021-03-11 10:59:08 -07:00
fd54a8e4dd Initial commit 2021-03-10 22:10:47 -07:00