Update definitions in https://github.com/storjrd/backup/blob/main/src/api.ts. Then factor out errors until none.