Files
jackiettran 5d3c124d3e text changes
2026-01-21 19:20:07 -05:00
..
2026-01-21 19:20:07 -05:00
2026-01-13 17:14:19 -05:00
2026-01-21 19:20:07 -05:00
2026-01-21 19:20:07 -05:00
2026-01-13 17:14:19 -05:00
2026-01-21 17:48:50 -05:00
2026-01-21 17:48:50 -05:00

Condition Check Reminder Lambda

Sends email reminders to owners and renters to complete condition checks at key points in the rental lifecycle.

Check Types

Check Type Recipient Timing
pre_rental_owner Owner 24 hours before rental start
rental_start_renter Renter At rental start
rental_end_renter Renter At rental end
post_rental_owner Owner 24 hours after rental end

Local Development

Install Dependencies

cd lambdas/shared && npm install
cd ../conditionCheckReminder && npm install

Set Up Environment

Run Locally

# Default: rental ID 1, check type pre_rental_owner
npm run local

# Specify rental ID and check type
node -r dotenv/config test-local.js dotenv_config_path=.env.dev 123 rental_start_renter